From: Mark Cave-Ayland Date: Wed, 17 Dec 2008 15:05:29 +0000 (+0000) Subject: Fix for one of Regina's torture failures as posted to the -devel list here: http... X-Git-Tag: 1.3.6rc1~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8476477d5d5f4c94f672ae707d5b5e09f3119f99;p=postgis Fix for one of Regina's torture failures as posted to the -devel list here: http://postgis.refractions.net/pipermail/postgis-devel/2008-December/004362.html. A CurvePolygon has a "standard header" and so must be passed through a function that understands the optional existence of SRIDs/BBOXes etc. in the header. git-svn-id: http://svn.osgeo.org/postgis/branches/1.3@3432 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/lwgeom/wktunparse.c b/lwgeom/wktunparse.c index 152fa7f49..06370d9b0 100644 --- a/lwgeom/wktunparse.c +++ b/lwgeom/wktunparse.c @@ -357,7 +357,7 @@ output_wkt(uchar* geom, int supress) if(writeM) write_str("CURVEPOLYGONM"); else write_str("CURVEPOLYGON"); } - geom = output_collection(geom, output_compound,0); + geom = output_collection(geom, output_wkt,0); break; case MULTIPOINTTYPE: if ( supress < 2 )