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