Skip to content
Permalink
Browse files

Fixed #1605.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10448 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Mar 31, 2009
1 parent 9d2bcc9 commit 6f14abe418f62108f99ad7e57689c16a916a9a54
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/qgsgeometry.cpp
@@ -312,6 +312,9 @@ static GEOSGeometry *createGeosLineString( const QgsPolyline& polyline )
static GEOSGeometry *createGeosLinearRing( const QgsPolyline& polyline )
{
GEOSCoordSequence *coord = 0;

if (polyline.count() == 0)
return 0;

try
{

0 comments on commit 6f14abe

Please sign in to comment.
You can’t perform that action at this time.