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 
   70   return qobject_cast< const QgsVectorLayer * >( l );
 
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(QgsFeatureRequest::Flags flags)
Sets flags that affect how features will be fetched.
@ NoGeometry
Geometry is not required. It may still be returned if e.g. required for a filter condition.
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.
Flag
Flags controlling how QgsProcessingFeatureSource fetches features.
@ FlagSkipGeometryValidityChecks
Invalid geometry checks should always be skipped. This flag can be useful for algorithms which always...
Base class for providing feedback from a processing algorithm.
Type
The WKB type describes the number of dimensions a geometry has.
QList< QgsFeature > QgsFeatureList
const QgsCoordinateReferenceSystem & outputCrs