QGIS/python/core/qgsgml.sip

26 lines
522 B
Plaintext
Raw Normal View History

2013-03-26 14:15:12 +01:00
class QgsGml: QObject
{
%TypeHeaderCode
#include <qgsgml.h>
%End
public:
QgsGml(
const QString& typeName,
const QString& geometryAttribute,
const QgsFields & fields );
~QgsGml();
/** Read from GML data. */
int getFeatures( const QByteArray &data, QGis::WkbType* wkbType, QgsRectangle* extent = 0 );
2014-01-26 18:35:21 +01:00
/** Get parsed features for given type name */
QMap<qint64, QgsFeature* > featuresMap() const;
2014-01-26 18:35:21 +01:00
/** Get feature ids map */
QMap<qint64, QString > idsMap() const;
};