Subgroup: Multi
Class: QgsMultiLineString¶
-
class
qgis.core.
QgsMultiLineString
¶ Bases:
qgis._core.QgsMultiCurve
Multi line string geometry collection.
New in version 2.10: Methods
addGeometry
asGml2
asGml3
asJson
calculateBoundingBox
childCount
childGeometry
childPoint
clear
clearCache
clone
createEmptyWithSameType
fromCollectionWkt
fromWkt
geometryType
hasChildGeometries
insertGeometry
setZMTypeFromSubGeometry
toCurveType
Returns the geometry converted to the more generic curve type QgsMultiCurve
wktOmitChildType
Signals
Attributes
-
addGeometry
(self, g: QgsAbstractGeometry) → bool¶
-
asGml2
(self, doc: QDomDocument, precision: int = 17, ns: str = '', axisOrder: QgsAbstractGeometry.AxisOrder = QgsAbstractGeometry.AxisOrder.XY) → QDomElement¶
-
asGml3
(self, doc: QDomDocument, precision: int = 17, ns: str = '', axisOrder: QgsAbstractGeometry.AxisOrder = QgsAbstractGeometry.AxisOrder.XY) → QDomElement¶
-
asJson
(self, precision: int = 17) → str¶
-
calculateBoundingBox
()¶
-
childCount
()¶
-
childGeometry
()¶
-
childPoint
()¶
-
clear
(self)¶
-
clearCache
()¶
-
clone
(self) → QgsMultiLineString¶
-
createEmptyWithSameType
(self) → QgsMultiLineString¶
-
fromCollectionWkt
()¶
-
fromWkt
(self, wkt: str) → bool¶
-
geometryType
(self) → str¶
-
hasChildGeometries
()¶
-
insertGeometry
(self, g: QgsAbstractGeometry, index: int) → bool¶
-
setZMTypeFromSubGeometry
()¶
-
toCurveType
(self) → QgsMultiCurve¶ Returns the geometry converted to the more generic curve type
QgsMultiCurve
Returns: the converted geometry. Caller takes ownership*
-
wktOmitChildType
(self) → bool¶
-