19 #ifndef _QGSVECTORLAYERIMPORT_H_
20 #define _QGSVECTORLAYERIMPORT_H_
25 class QProgressDialog;
59 const QString& providerKey,
61 bool onlySelected =
false,
62 QString *errorMessage = 0,
63 bool skipAttributeCreation =
false,
64 QMap<QString, QVariant> *options = 0,
65 QProgressDialog *progress = 0
70 const QString &provider,
74 bool overwrite =
false,
75 const QMap<QString, QVariant> *options = 0,
76 QProgressDialog *progress = 0
80 ImportError hasError();
83 QString errorMessage();
98 bool createSpatialIndex();
QMap< int, int > mOldToNewAttrIdx
map attribute indexes to new field indexes
QList< QgsFeature > QgsFeatureList
QgsVectorDataProvider * mProvider
Container of fields for a vector layer.
WkbType
Used for symbology operations.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
A convenience class for writing vector files to disk.
ImportError mError
contains error value
Class for storing a coordinate reference system (CRS)
This is the base class for vector data providers.
Represents a vector layer which manages a vector based data sets.
QProgressDialog * mProgress
QgsFeatureList mFeatureBuffer