Options to pass to writeAsVectorFormat()
More...
#include <qgsvectorfilewriter.h>
Options to pass to writeAsVectorFormat()
- Since
- QGIS 3.0
Definition at line 458 of file qgsvectorfilewriter.h.
◆ SaveVectorOptions()
QgsVectorFileWriter::SaveVectorOptions::SaveVectorOptions |
( |
| ) |
|
◆ ~SaveVectorOptions()
virtual QgsVectorFileWriter::SaveVectorOptions::~SaveVectorOptions |
( |
| ) |
|
|
virtualdefault |
◆ actionOnExistingFile
◆ attributes
Attributes to export (empty means all unless skipAttributeCreation is set)
Definition at line 497 of file qgsvectorfilewriter.h.
◆ attributesExportNames
QStringList QgsVectorFileWriter::SaveVectorOptions::attributesExportNames |
◆ ct
Transform to reproject exported geometries with, or invalid transform for no transformation.
Definition at line 482 of file qgsvectorfilewriter.h.
◆ datasourceOptions
QStringList QgsVectorFileWriter::SaveVectorOptions::datasourceOptions |
◆ driverName
QString QgsVectorFileWriter::SaveVectorOptions::driverName |
◆ feedback
QgsFeedback* QgsVectorFileWriter::SaveVectorOptions::feedback = nullptr |
◆ fieldNameSource
◆ fieldValueConverter
Field value converter.
Ownership is not transferred and callers must ensure that the lifetime of fieldValueConverter exceeds the lifetime of the QgsVectorFileWriter object.
Definition at line 529 of file qgsvectorfilewriter.h.
◆ fileEncoding
QString QgsVectorFileWriter::SaveVectorOptions::fileEncoding |
◆ filterExtent
QgsRectangle QgsVectorFileWriter::SaveVectorOptions::filterExtent |
If not empty, only features intersecting the extent will be saved.
Definition at line 509 of file qgsvectorfilewriter.h.
◆ forceMulti
bool QgsVectorFileWriter::SaveVectorOptions::forceMulti = false |
◆ includeZ
bool QgsVectorFileWriter::SaveVectorOptions::includeZ = false |
Sets to true
to include z dimension in output. This option is only valid if overrideGeometryType is set.
Definition at line 521 of file qgsvectorfilewriter.h.
◆ layerMetadata
Layer metadata to save for the exported vector file.
This will only be used if saveMetadata is true
.
- See also
- saveMetadata
- Since
- QGIS 3.20
Definition at line 555 of file qgsvectorfilewriter.h.
◆ layerName
QString QgsVectorFileWriter::SaveVectorOptions::layerName |
◆ layerOptions
QStringList QgsVectorFileWriter::SaveVectorOptions::layerOptions |
◆ onlySelectedFeatures
bool QgsVectorFileWriter::SaveVectorOptions::onlySelectedFeatures = false |
◆ overrideGeometryType
Set to a valid geometry type to override the default geometry type for the layer.
This parameter allows for conversion of geometryless tables to null geometries, etc.
Definition at line 515 of file qgsvectorfilewriter.h.
◆ saveMetadata
bool QgsVectorFileWriter::SaveVectorOptions::saveMetadata = false |
◆ skipAttributeCreation
bool QgsVectorFileWriter::SaveVectorOptions::skipAttributeCreation = false |
◆ symbologyExport
◆ symbologyScale
double QgsVectorFileWriter::SaveVectorOptions::symbologyScale = 1.0 |
The documentation for this class was generated from the following files: