[postgis-commits] svn - r3432 - branches/1.3/lwgeom

postgis-commits at postgis.refractions.net postgis-commits at postgis.refractions.net
Wed Dec 17 07:05:29 PST 2008


Author: mcayland
Date: 2008-12-17 07:05:29 -0800 (Wed, 17 Dec 2008)
New Revision: 3432

Modified:
   branches/1.3/lwgeom/wktunparse.c
Log:
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.


Modified: branches/1.3/lwgeom/wktunparse.c
===================================================================
--- branches/1.3/lwgeom/wktunparse.c	2008-12-17 15:01:50 UTC (rev 3431)
+++ branches/1.3/lwgeom/wktunparse.c	2008-12-17 15:05:29 UTC (rev 3432)
@@ -357,7 +357,7 @@
                                 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 )



More information about the postgis-commits mailing list