[mapserver-commits] r7281 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Fri Jan 18 13:57:38 EST 2008


Author: tomkralidis
Date: 2008-01-18 13:57:38 -0500 (Fri, 18 Jan 2008)
New Revision: 7281

Modified:
   trunk/mapserver/mapwcs.c
Log:
s/WGS84(DD)/EPSG:4326/ when outputing lonLatEnvelope


Modified: trunk/mapserver/mapwcs.c
===================================================================
--- trunk/mapserver/mapwcs.c	2008-01-18 14:09:11 UTC (rev 7280)
+++ trunk/mapserver/mapwcs.c	2008-01-18 18:57:38 UTC (rev 7281)
@@ -596,7 +596,7 @@
   msOWSPrintEncodeMetadata(stdout, &(layer->metadata), "COM", "label", OWS_WARN, "  <label>%s</label>\n", NULL);
 
   /* TODO: add elevation and temporal ranges to lonLatEnvelope (optional) */
-  msIO_printf("    <lonLatEnvelope srsName=\"WGS84(DD)\">\n");
+  msIO_printf("    <lonLatEnvelope srsName=\"EPSG:4326\">\n");
   msIO_printf("      <gml:pos>%.15g %.15g</gml:pos>\n", cm.llextent.minx, cm.llextent.miny); /* TODO: don't know if this is right */
   msIO_printf("      <gml:pos>%.15g %.15g</gml:pos>\n", cm.llextent.maxx, cm.llextent.maxy);
   msIO_printf("    </lonLatEnvelope>\n");
@@ -802,7 +802,7 @@
   msOWSPrintEncodeMetadata(stdout, &(layer->metadata), "COM", "label", OWS_WARN, "  <label>%s</label>\n", NULL);
 
   /* TODO: add elevation and temporal ranges to lonLatEnvelope (optional) */
-  msIO_printf("    <lonLatEnvelope srsName=\"WGS84(DD)\">\n");
+  msIO_printf("    <lonLatEnvelope srsName=\"EPSG:4326\">\n");
   msIO_printf("      <gml:pos>%.15g %.15g</gml:pos>\n", cm.llextent.minx, cm.llextent.miny);
   msIO_printf("      <gml:pos>%.15g %.15g</gml:pos>\n", cm.llextent.maxx, cm.llextent.maxy);
   msIO_printf("    </lonLatEnvelope>\n");
@@ -817,7 +817,7 @@
   msIO_printf("      <spatialDomain>\n");
   
   /* envelope in lat/lon */
-  msIO_printf("        <gml:Envelope srsName=\"WGS84(DD)\">\n");
+  msIO_printf("        <gml:Envelope srsName=\"EPSG:4326\">\n");
   msIO_printf("          <gml:pos>%.15g %.15g</gml:pos>\n", cm.llextent.minx, cm.llextent.miny);
   msIO_printf("          <gml:pos>%.15g %.15g</gml:pos>\n", cm.llextent.maxx, cm.llextent.maxy);
   msIO_printf("        </gml:Envelope>\n");



More information about the mapserver-commits mailing list