[mapserver-commits] r7518 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Mon Apr 14 09:31:43 EDT 2008
Author: assefa
Date: 2008-04-14 09:31:42 -0400 (Mon, 14 Apr 2008)
New Revision: 7518
Modified:
trunk/mapserver/mapgml.c
Log:
Correct Envelpe element output to be SF compliant (#2575)
Modified: trunk/mapserver/mapgml.c
===================================================================
--- trunk/mapserver/mapgml.c 2008-04-12 16:28:55 UTC (rev 7517)
+++ trunk/mapserver/mapgml.c 2008-04-14 13:31:42 UTC (rev 7518)
@@ -1,5 +1,5 @@
/******************************************************************************
- * $Id:$
+ * $Id$
*
* Project: MapServer
* Purpose: shapeObj to GML output via MapServer queries.
@@ -86,8 +86,8 @@
} else
msIO_fprintf(stream, "%s\t<gml:Envelope>\n", tab);
- msIO_fprintf(stream, "%s\t\t<gml:pos>%.6f %.6f</gml:pos>\n", tab, rect->minx, rect->miny);
- msIO_fprintf(stream, "%s\t\t<gml:pos>%.6f %.6f</gml:pos>\n", tab, rect->maxx, rect->maxy);
+ msIO_fprintf(stream, "%s\t\t<gml:lowerCorner>%.6f %.6f</gml:lowerCorner>\n", tab, rect->minx, rect->miny);
+ msIO_fprintf(stream, "%s\t\t<gml:upperCorner>%.6f %.6f</gml:upperCorner>\n", tab, rect->maxx, rect->maxy);
msIO_fprintf(stream, "%s\t</gml:Envelope>\n", tab);
msIO_fprintf(stream, "%s</gml:boundedBy>\n", tab);
More information about the mapserver-commits
mailing list