[mapserver-commits] r9419 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Thu Oct 8 14:04:12 EDT 2009


Author: dmorissette
Date: 2009-10-08 14:04:12 -0400 (Thu, 08 Oct 2009)
New Revision: 9419

Modified:
   trunk/mapserver/mapgml.c
Log:
Restore previous behavior of outputing a bounding box by default in GML GetFeatureInfo output (#2989)

Modified: trunk/mapserver/mapgml.c
===================================================================
--- trunk/mapserver/mapgml.c	2009-10-08 16:57:59 UTC (rev 9418)
+++ trunk/mapserver/mapgml.c	2009-10-08 18:04:12 UTC (rev 9419)
@@ -1286,7 +1286,8 @@
         msFree(value);
 
         /* write the feature geometry and bounding box */
-        if(geometryList && geometryList->numgeometries > 0 && strcasecmp(geometryList->geometries[0].name, "none") != 0) {
+        if(!(geometryList && geometryList->numgeometries == 1 && strcasecmp(geometryList->geometries[0].name, "none") == 0)) { 
+//        if(geometryList && geometryList->numgeometries > 0 && strcasecmp(geometryList->geometries[0].name, "none") != 0) {
 
 #ifdef USE_PROJ
           if(msOWSGetEPSGProj(&(map->projection), &(map->web.metadata), namespaces, MS_TRUE)) { /* use the map projection first */



More information about the mapserver-commits mailing list