From: Sandro Santilli Date: Tue, 4 May 2010 21:19:51 +0000 (+0000) Subject: Oops, was using GEOS types instead of LWGEOM ones.. X-Git-Tag: 2.0.0alpha1~2998 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f48a85d4978cdecd610dc05458349131aa14bbc6;p=postgis Oops, was using GEOS types instead of LWGEOM ones.. git-svn-id: http://svn.osgeo.org/postgis/trunk@5614 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/postgis/lwgeom_geos_clean.c b/postgis/lwgeom_geos_clean.c index 94b8d085b..beaca1e1c 100644 --- a/postgis/lwgeom_geos_clean.c +++ b/postgis/lwgeom_geos_clean.c @@ -996,10 +996,10 @@ Datum ST_MakeValid(PG_FUNCTION_ARGS) switch ( TYPE_GETTYPE(lwgeom_in->type) ) { - case GEOS_LINESTRING: - case GEOS_POLYGON: - case GEOS_MULTILINESTRING: - case GEOS_MULTIPOLYGON: + case LINETYPE: + case POLYGONTYPE: + case MULTILINETYPE: + case MULTIPOLYGONTYPE: break; default: