mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
- fixes for handling Polygon25D - add QgsAbstractGeometryV2::convertTo( QgsWKBTypes::Type type ) for easy conversion between geometry types - fix crash when calculating perimeter with no exterior ring - ensure that added rings respect dimensionality of polygon (avoids issues such as polygons with z having a ring without z, or a Polygon25D with LineStringZ rings) - if a curved ring is added to a polygon then a segmentized version of the ring is used (can't have a Polygon with a CircularString ring) - when calling setInteriorRings, make sure empty rings are skipped and that all rings are converted to correct type for polygon - don't crash when requesting or removing interior ring with index < 0