Class: QgsFeatureStore¶
A container for features with the same fields and crs.
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
An interface for objects which accept features via addFeature(s) methods. |
Methods
Returns the number of features contained in the store. |
|
Returns the store's coordinate reference system. |
|
Returns the list of features contained in the store. |
|
Returns the store's field list. |
|
Returns the map of optional parameters. |
|
Sets the store's crs. |
|
Sets the store's fields. |
|
Sets a map of optional parameters for the store. |
- class qgis.core.QgsFeatureStore[source]¶
Bases:
QgsFeatureSink- __init__()
- __init__(fields: QgsFields, crs: QgsCoordinateReferenceSystem)
Constructor
- Parameters:
fields (QgsFields)
- __init__(a0: QgsFeatureStore)
- Parameters:
a0 (QgsFeatureStore)
- crs(self) QgsCoordinateReferenceSystem[source]¶
Returns the store’s coordinate reference system.
See also
- Return type:
- features(self) list[QgsFeature][source]¶
Returns the list of features contained in the store.
- Return type:
list[QgsFeature]
- params(self) dict[str, Any]¶
Returns the map of optional parameters.
See also
- Return type:
dict[str, Any]
- setCrs(self, crs: QgsCoordinateReferenceSystem)[source]¶
Sets the store’s
crs.See also
- Parameters: