23QString QgsDropGeometryAlgorithm::name()
const
25 return QStringLiteral(
"dropgeometries" );
28QString QgsDropGeometryAlgorithm::displayName()
const
30 return QObject::tr(
"Drop geometries" );
33QStringList QgsDropGeometryAlgorithm::tags()
const
35 return QObject::tr(
"remove,drop,delete,geometry,objects" ).split(
',' );
38QString QgsDropGeometryAlgorithm::group()
const
40 return QObject::tr(
"Vector general" );
43QString QgsDropGeometryAlgorithm::groupId()
const
45 return QStringLiteral(
"vectorgeneral" );
48QString QgsDropGeometryAlgorithm::outputName()
const
50 return QObject::tr(
"Dropped geometries" );
53QString QgsDropGeometryAlgorithm::shortHelpString()
const
55 return QObject::tr(
"This algorithm removes any geometries from an input layer and returns a layer containing only the feature attributes." );
58QgsDropGeometryAlgorithm *QgsDropGeometryAlgorithm::createInstance()
const
60 return new QgsDropGeometryAlgorithm();
68bool QgsDropGeometryAlgorithm::supportInPlaceEdit(
const QgsMapLayer *l )
const
70 return qobject_cast< const QgsVectorLayer * >( l );
@ NoGeometry
Geometry is not required. It may still be returned if e.g. required for a filter condition.
@ SkipGeometryValidityChecks
Invalid geometry checks should always be skipped. This flag can be useful for algorithms which always...
WkbType
The WKB type describes the number of dimensions a geometry has.
QFlags< ProcessingFeatureSourceFlag > ProcessingFeatureSourceFlags
Flags which control how QgsProcessingFeatureSource fetches features.
This class represents a coordinate reference system (CRS).
This class wraps a request for features to a vector layer (or directly its vector data provider).
QgsFeatureRequest & setFlags(Qgis::FeatureRequestFlags flags)
Sets flags that affect how features will be fetched.
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
void clearGeometry()
Removes any geometry associated with the feature.
Base class for all map layer types.
Contains information about the context in which a processing algorithm is executed.
Base class for providing feedback from a processing algorithm.
QList< QgsFeature > QgsFeatureList