Class: QgsReferencedGeometryBase¶
-
class
qgis.core.
QgsReferencedGeometryBase
(crs: QgsCoordinateReferenceSystem = QgsCoordinateReferenceSystem())¶ Bases:
sip.wrapper
Constructor for QgsReferencedGeometryBase, with the specified
crs
.QgsReferencedGeometryBase(QgsReferencedGeometryBase)
A base class for geometry primitives which are stored with an associated reference system.
QgsReferencedGeometryBase classes represent some form of geometry primitive (such as rectangles) which have an optional coordinate reference system associated with them.
See also
New in version 3.0: Enums
Methods
Returns the associated coordinate reference system, or an invalid CRS if no reference system is set.
Sets the associated
crs
.Signals
Attributes
-
crs
(self) → QgsCoordinateReferenceSystem¶ Returns the associated coordinate reference system, or an invalid CRS if no reference system is set.
See also
-