mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-08 00:02:35 -05:00
Iterates over the geometries in the collection, allowing this type of code: gc = QgsGeometryCollection() gc.fromWkt('GeometryCollection( Point(1 2), Point(11 12), LineString(33 34, 44 45))') for part in gc: print(part.asWkt())