22 QString QgsDropGeometryAlgorithm::name()
const 24 return QStringLiteral(
"dropgeometries" );
27 QString QgsDropGeometryAlgorithm::displayName()
const 29 return QObject::tr(
"Drop geometries" );
32 QStringList QgsDropGeometryAlgorithm::tags()
const 34 return QObject::tr(
"remove,drop,delete,geometry,objects" ).split(
',' );
37 QString QgsDropGeometryAlgorithm::group()
const 39 return QObject::tr(
"Vector general" );
42 QString QgsDropGeometryAlgorithm::groupId()
const 44 return QStringLiteral(
"vectorgeneral" );
47 QString QgsDropGeometryAlgorithm::outputName()
const 49 return QObject::tr(
"Dropped geometries" );
52 QString QgsDropGeometryAlgorithm::shortHelpString()
const 54 return QObject::tr(
"This algorithm removes any geometries from an input layer and returns a layer containing only the feature attributes." );
57 QgsDropGeometryAlgorithm *QgsDropGeometryAlgorithm::createInstance()
const 59 return new QgsDropGeometryAlgorithm();
Base class for providing feedback from a processing algorithm.
Invalid geometry checks should always be skipped. This flag can be useful for algorithms which always...
QList< QgsFeature > QgsFeatureList
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
Type
The WKB type describes the number of dimensions a geometry has.
This class wraps a request for features to a vector layer (or directly its vector data provider)...
Flag
Flags controlling how QgsProcessingFeatureSource fetches features.
void clearGeometry()
Removes any geometry associated with the feature.
This class represents a coordinate reference system (CRS).
Geometry is not required. It may still be returned if e.g. required for a filter condition.
Contains information about the context in which a processing algorithm is executed.
QgsFeatureRequest & setFlags(QgsFeatureRequest::Flags flags)
Set flags that affect how features will be fetched.