[mapserver-commits] r7285 - branches/branch-5-0/mapserver

svn at osgeo.org svn at osgeo.org
Mon Jan 21 12:09:01 EST 2008


Author: tomkralidis
Date: 2008-01-21 12:09:01 -0500 (Mon, 21 Jan 2008)
New Revision: 7285

Modified:
   branches/branch-5-0/mapserver/mapwcs.c
Log:
s/WGS84(DD)/EPSG:4326/ when outputing lonLatEnvelope (#2472)


Modified: branches/branch-5-0/mapserver/mapwcs.c
===================================================================
--- branches/branch-5-0/mapserver/mapwcs.c	2008-01-21 16:52:27 UTC (rev 7284)
+++ branches/branch-5-0/mapserver/mapwcs.c	2008-01-21 17:09:01 UTC (rev 7285)
@@ -594,7 +594,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");
@@ -793,7 +793,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");
@@ -808,7 +808,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