From: Mark Cave-Ayland Date: Wed, 17 Dec 2008 15:01:50 +0000 (+0000) Subject: Fix for one of Regina's torture failures as posted to the -devel list here: http... X-Git-Tag: 1.4.0b1~398 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b78c5c500d5f007e81659a5f9cd5651aa7d0415d;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/trunk@3431 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/lwgunparse.c b/liblwgeom/lwgunparse.c index 82a1e3475..968a71f6e 100644 --- a/liblwgeom/lwgunparse.c +++ b/liblwgeom/lwgunparse.c @@ -529,7 +529,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 )