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 11658f6 commit 7ecaa9bCopy full SHA for 7ecaa9b
src/core/qgsgeometry.cpp
@@ -312,6 +312,9 @@ static GEOSGeometry *createGeosLineString( const QgsPolyline& polyline )
312
static GEOSGeometry *createGeosLinearRing( const QgsPolyline& polyline )
313
{
314
GEOSCoordSequence *coord = 0;
315
+
316
+ if (polyline.count() == 0)
317
+ return 0;
318
319
try
320
0 commit comments