We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent ee7bb21 commit a94d57fCopy full SHA for a94d57f
src/core/qgsgeometry.cpp
@@ -2659,11 +2659,15 @@ int QgsGeometry::addRing( const QList<QgsPoint>& ring )
2659
{
2660
newRing = createGeosLinearRing( ring.toVector() );
2661
if ( !GEOSisValid( newRing ) )
2662
- throw GEOSException( "ring is invalid" );
+ {
2663
+ throwGEOSException("ring is invalid");
2664
+ }
2665
2666
newRingPolygon = createGeosPolygon( newRing );
2667
if ( !GEOSisValid( newRingPolygon ) )
- throw GEOSException( "ring polygon is invalid" );
2668
2669
2670
2671
}
2672
catch ( GEOSException &e )
2673
0 commit comments