23 QString QgsDropGeometryAlgorithm::name()
const 25 return QStringLiteral(
"dropgeometries" );
28 QString QgsDropGeometryAlgorithm::displayName()
const 30 return QObject::tr(
"Drop geometries" );
33 QStringList QgsDropGeometryAlgorithm::tags()
const 35 return QObject::tr(
"remove,drop,delete,geometry,objects" ).split(
',' );
38 QString QgsDropGeometryAlgorithm::group()
const 40 return QObject::tr(
"Vector general" );
43 QString QgsDropGeometryAlgorithm::groupId()
const 45 return QStringLiteral(
"vectorgeneral" );
48 QString QgsDropGeometryAlgorithm::outputName()
const 50 return QObject::tr(
"Dropped geometries" );
53 QString 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." );
58 QgsDropGeometryAlgorithm *QgsDropGeometryAlgorithm::createInstance()
const 60 return new QgsDropGeometryAlgorithm();
68 bool QgsDropGeometryAlgorithm::supportInPlaceEdit(
const QgsMapLayer *l )
const Base class for all map layer types.
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).
const QgsCoordinateReferenceSystem & outputCrs
Geometry is not required. It may still be returned if e.g. required for a filter condition.
Represents a vector layer which manages a vector based data sets.
Contains information about the context in which a processing algorithm is executed.
QgsFeatureRequest & setFlags(QgsFeatureRequest::Flags flags)
Sets flags that affect how features will be fetched.