Skip to content
Permalink
Browse files

Fixed #1605.

git-svn-id: http://svn.osgeo.org/qgis/trunk@10448 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Mar 31, 2009
1 parent 11658f6 commit 7ecaa9bcbea3386e8a2571e0fe1d6861b380dae3
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 7ecaa9b

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