From f48a85d4978cdecd610dc05458349131aa14bbc6 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 4 May 2010 21:19:51 +0000 Subject: [PATCH] Oops, was using GEOS types instead of LWGEOM ones.. git-svn-id: http://svn.osgeo.org/postgis/trunk@5614 b70326c6-7e19-0410-871a-916f4a2858ee --- postgis/lwgeom_geos_clean.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: -- 2.40.0