[postgis-devel] Review of AsGML() patch - change of AsGML() parameters

Olivier Courtin olivier.courtin at camptocamp.com
Tue Sep 18 23:58:12 PDT 2007


On Thu, 06 Sep 2007 17:07:56 +0100
Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk> wrote:

Hi,

> Committed. 

Many thanks !

> Could any of the people who noticed the issues with GML
> output please re-test using the latest SVN?

I've began some tests on it, so first of all a typo patch:

Index: lwgeom_gml.c
===================================================================
--- lwgeom_gml.c	(revision 2707)
+++ lwgeom_gml.c	(working copy)
@@ -103,7 +103,7 @@
 	else
 	  gml = geometry_to_gml3(SERIALIZED_FORM(geom), srs);
 	
-	PG_FREE_IF_COPY(geom, 0);
+	PG_FREE_IF_COPY(geom, 1);
 
 	len = strlen(gml) + VARHDRSZ;

-- 
Olivier



More information about the postgis-devel mailing list