Skip to content
Permalink
Browse files

ported fix for #1605 from trunk

git-svn-id: http://svn.osgeo.org/qgis/branches/Version-1_0@10449 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Mar 31, 2009
1 parent 5810a22 commit a9b5429b3511af7e9f438f6050488360e7125c11
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/qgsgeometry.cpp
@@ -310,6 +310,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 a9b5429

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