Skip to content
Permalink
Browse files

Better annotation of vector file writer api changes

  • Loading branch information
timlinux committed Nov 22, 2012
1 parent 2f3243d commit 7dd8a2ec5eae788bfa6bf9a5d407e01c8d7a523d
Showing with 9 additions and 8 deletions.
  1. +9 −8 python/core/qgsvectorfilewriter.sip
@@ -48,22 +48,23 @@ class QgsVectorFileWriter
const QString& driverName = "ESRI Shapefile",
bool onlySelected = false,
QString *errorMessage = 0,
const QStringList &datasourceOptions = QStringList(),
const QStringList &layerOptions = QStringList(),
bool skipAttributeCreation = false, // added in 1.7
QString *newFilename = 0
const QStringList &datasourceOptions = QStringList(), // added in 1.6
const QStringList &layerOptions = QStringList(), // added in 1.6
bool skipAttributeCreation = false, // added in 1.6
QString *newFilename = 0 // added in 1.9
);

/** create shapefile and initialize it */
QgsVectorFileWriter( const QString& vectorFileName,
const QString& fileEncoding,
const QMap<int, QgsField>& fields,
const QgsFieldMap& fields,
QGis::WkbType geometryType,
const QgsCoordinateReferenceSystem* srs,
const QString& driverName = "ESRI Shapefile",
const QStringList &datasourceOptions = QStringList(),
const QStringList &layerOptions = QStringList(),
QString *newFilename = 0 );
const QStringList &datasourceOptions = QStringList(), // added in 1.6
const QStringList &layerOptions = QStringList(), // added in 1.6
QString *newFilename = 0 // added in 1.9
);

/**Returns map with format filter string as key and OGR format key as value*/
static QMap< QString, QString> supportedFiltersAndFormats();

0 comments on commit 7dd8a2e

Please sign in to comment.
You can’t perform that action at this time.