[postgis-commits] svn - r3431 - trunk/liblwgeom

postgis-commits at postgis.refractions.net postgis-commits at postgis.refractions.net
Wed Dec 17 07:01:51 PST 2008


Author: mcayland
Date: 2008-12-17 07:01:50 -0800 (Wed, 17 Dec 2008)
New Revision: 3431

Modified:
   trunk/liblwgeom/lwgunparse.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: trunk/liblwgeom/lwgunparse.c
===================================================================
--- trunk/liblwgeom/lwgunparse.c	2008-12-17 05:36:18 UTC (rev 3430)
+++ trunk/liblwgeom/lwgunparse.c	2008-12-17 15:01:50 UTC (rev 3431)
@@ -529,7 +529,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