Skip to content
Permalink
Browse files

Merge pull request #755 from ddanielvaz/fix-4189

Fix #4189
  • Loading branch information
alexbruy committed Aug 8, 2013
2 parents 6fe077c + 25c4337 commit b88b76b510d6e07cb0f3262bb0407257d8a4417a
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/qgsgeometry.cpp
@@ -143,7 +143,7 @@ static GEOSInit geosinit;
#define GEOSIntersection(g0,g1) GEOSIntersection( (GEOSGeometry*) g0, (GEOSGeometry*)g1 )
#define GEOSBuffer(g, d, s) GEOSBuffer( (GEOSGeometry*) g, d, s )
#define GEOSArea(g, a) GEOSArea( (GEOSGeometry*) g, a )
#define GEOSSimplify(g, t) GEOSSimplify( (GEOSGeometry*) g, t )
#define GEOSTopologyPreserveSimplify(g, t) GEOSTopologyPreserveSimplify( (GEOSGeometry*) g, t )
#define GEOSGetCentroid(g) GEOSGetCentroid( (GEOSGeometry*) g )

#define GEOSCoordSeq_getSize(cs,n) GEOSCoordSeq_getSize( (GEOSCoordSequence *) cs, n )
@@ -6449,7 +6449,7 @@ QgsGeometry* QgsGeometry::simplify( double tolerance )
}
try
{
return fromGeosGeom( GEOSSimplify( mGeos, tolerance ) );
return fromGeosGeom( GEOSTopologyPreserveSimplify( mGeos, tolerance ) );
}
CATCH_GEOS( 0 )
}

0 comments on commit b88b76b

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