/************************************************************************ * This file has been generated automatically from * * * * src/core/qgsgmlschema.h * * * * Do not edit manually ! Edit header and run scripts/sipify.py again * ************************************************************************/ class QgsGmlFeatureClass { %Docstring(signature="appended") Description of feature class in GML %End %TypeHeaderCode #include "qgsgmlschema.h" %End public: QgsGmlFeatureClass(); QgsGmlFeatureClass( const QString &name, const QString &path ); QList &fields(); int fieldIndex( const QString &name ); QString path() const; QStringList &geometryAttributes(); }; class QgsGmlSchema : QObject { %TypeHeaderCode #include "qgsgmlschema.h" %End public: QgsGmlSchema(); bool parseXSD( const QByteArray &xml ); %Docstring Gets fields info from XSD %End bool guessSchema( const QByteArray &data ); %Docstring Guess GML schema from data if XSD does not exist. Currently only recognizes UMN Mapserver GetFeatureInfo GML response. Supports only UTF-8, UTF-16, ISO-8859-1, US-ASCII XML encodings. :param data: GML data :return: ``True`` in case of success %End QStringList typeNames() const; %Docstring Gets list of dot separated paths to feature classes parsed from GML or XSD %End QList fields( const QString &typeName ); %Docstring Gets fields for type/class name parsed from GML or XSD %End QStringList geometryAttributes( const QString &typeName ); %Docstring Gets list of geometry attributes for type/class name %End QgsError error() const; %Docstring Gets error if :py:func:`~QgsGmlSchema.parseXSD` or :py:func:`~QgsGmlSchema.guessSchema` failed %End }; /************************************************************************ * This file has been generated automatically from * * * * src/core/qgsgmlschema.h * * * * Do not edit manually ! Edit header and run scripts/sipify.py again * ************************************************************************/