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

postgis-commits at postgis.refractions.net postgis-commits at postgis.refractions.net
Thu Nov 20 02:10:12 PST 2008


Author: mcayland
Date: 2008-11-20 02:10:11 -0800 (Thu, 20 Nov 2008)
New Revision: 3303

Modified:
   branches/1.3/lwgeom/lwpostgis.sql.in
Log:
Move remaining _ST_AsKML() definition into the #if...#endif section just like the others. Per report from Dylan Beaudette.


Modified: branches/1.3/lwgeom/lwpostgis.sql.in
===================================================================
--- branches/1.3/lwgeom/lwpostgis.sql.in	2008-11-19 13:48:47 UTC (rev 3302)
+++ branches/1.3/lwgeom/lwpostgis.sql.in	2008-11-20 10:10:11 UTC (rev 3303)
@@ -4798,13 +4798,14 @@
 -----------------------------------------------------------------------
 -- KML OUTPUT
 -----------------------------------------------------------------------
+
+#ifdef USE_PROJ
 -- _ST_AsKML(version, geom, precision)
 CREATEFUNCTION _ST_AsKML(int4, geometry, int4)
 	RETURNS TEXT
 	AS '@MODULE_FILENAME@','LWGEOM_asKML'
 	LANGUAGE 'C' _IMMUTABLE_STRICT; -- WITH (isstrict,iscachable);
 
-#ifdef USE_PROJ
 -- AsKML(geom, precision) / version=2
 -- Deprecation in 1.2.3
 CREATEFUNCTION AsKML(geometry, int4)



More information about the postgis-commits mailing list