Skip to content
Permalink
Browse files
fix convertToCurve not converting CURVEPOLYGON
  • Loading branch information
olivierdalang committed Jun 1, 2021
1 parent e38abf7 commit 9558ecfbd406f82eacbe789f6c68f963d73baa1c
Showing with 0 additions and 7 deletions.
  1. +0 −7 src/core/geometry/qgsinternalgeometryengine.cpp
@@ -1553,13 +1553,6 @@ QgsGeometry QgsInternalGeometryEngine::convertToCurves( double distanceTolerance
return QgsGeometry( mGeometry->clone() ); // point geometry, nothing to do
}

if ( QgsWkbTypes::isCurvedType( mGeometry->wkbType() ) )
{
// already curved. In future we may want to allow this, and convert additional candidate segments
// in an already curved geometry to curves
return QgsGeometry( mGeometry->clone() );
}

if ( const QgsGeometryCollection *gc = qgsgeometry_cast< const QgsGeometryCollection *>( mGeometry ) )
{
int numGeom = gc->numGeometries();

0 comments on commit 9558ecf

Please sign in to comment.