19 #ifndef QGSVECTORFILEWRITER_H 20 #define QGSVECTORFILEWRITER_H 57 : docString( docString )
70 , values( values.toSet() )
71 , defaultValue( defaultValue )
72 , allowNone( allowNone )
84 :
Option( docString, String )
85 , defaultValue( defaultValue )
96 , defaultValue( defaultValue )
127 : longName( longName )
128 , trLongName( trLongName )
131 , driverOptions( driverOptions )
132 , layerOptions( layerOptions )
187 const QString& driverName =
"ESRI Shapefile",
188 bool onlySelected =
false,
189 QString *errorMessage =
nullptr,
192 bool skipAttributeCreation =
false,
193 QString *newFilename =
nullptr,
195 double symbologyScale = 1.0,
198 bool forceMulti =
false,
199 bool includeZ =
false 227 const QString& driverName =
"ESRI Shapefile",
228 bool onlySelected =
false,
229 QString *errorMessage =
nullptr,
232 bool skipAttributeCreation =
false,
233 QString *newFilename =
nullptr,
235 double symbologyScale = 1.0,
238 bool forceMulti =
false,
239 bool includeZ =
false 248 const QString& driverName =
"ESRI Shapefile",
251 QString *newFilename =
nullptr,
261 const QString& driverName =
"ESRI Shapefile",
264 QString *newFilename =
nullptr,
278 static QString fileFilterString();
284 static QString convertCodecNameForEncodingOption(
const QString &codecName );
305 static bool deleteShapeFile(
const QString& theFileName );
311 void setSymbologyScaleDenominator(
double d );
313 static bool driverMetadata(
const QString& driverName,
MetaData& driverMetadata );
348 #if defined(GDAL_VERSION_NUM) && GDAL_VERSION_NUM >= 1700 368 OGRFeatureH createFeature(
QgsFeature& feature );
369 bool writeFeature( OGRLayerH layer, OGRFeatureH feature );
Wrapper for iterator of features from vector data provider or vector layer.
BoolOption(const QString &docString, bool defaultValue)
A rectangle specified with double values.
SymbologyExport symbologyExport() const
OutputUnit
The unit of the output.
QMap< int, int > attrIdxToOgrIdx()
WriterError mError
Contains error value if construction was not successful.
SymbologyExport mSymbologyExport
double mSymbologyScaleDenominator
Scale for symbology export (e.g.
Container of fields for a vector layer.
WkbType
Used for symbology operations.
StringOption(const QString &docString, const QString &defaultValue=QString())
A convenience class for writing vector files to disk.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
IntOption(const QString &docString, int defaultValue)
SetOption(const QString &docString, const QStringList &values, const QString &defaultValue, bool allowNone=false)
QgsWKBTypes::Type mWkbType
Geometry type which is being used.
QMap< int, int > mAttrIdxToOgrIdx
Map attribute indizes to OGR field indexes.
OGRSpatialReferenceH mOgrRef
double symbologyScaleDenominator() const
void setSymbologyExport(SymbologyExport symExport)
Contains information about the context of a rendering operation.
HiddenOption(const QString &value)
Class for storing a coordinate reference system (CRS)
Option(const QString &docString, OptionType type)
UnitType
Map units that qgis supports.
Represents a vector layer which manages a vector based data sets.
void * OGRSpatialReferenceH