[mapserver-commits] r7596 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Fri May 16 00:28:43 EDT 2008


Author: sdlime
Date: 2008-05-16 00:28:42 -0400 (Fri, 16 May 2008)
New Revision: 7596

Modified:
   trunk/mapserver/mapwcs.c
Log:
Fix for bug #2036 identified. Still commented out since I can't test WCS on my home box at the moment.

Modified: trunk/mapserver/mapwcs.c
===================================================================
--- trunk/mapserver/mapwcs.c	2008-05-15 14:36:14 UTC (rev 7595)
+++ trunk/mapserver/mapwcs.c	2008-05-16 04:28:42 UTC (rev 7596)
@@ -1362,9 +1362,12 @@
       msFreeProjection( &proj );
   }
   
-  /* find the layer we are working with.  */
+  /* find the layer we are working with */
   lp = NULL;
   for(i=0; i<map->numlayers; i++) {
+    /* char *name;
+       name = msOWSGetEncodeMetadata(GET_LAYER(map, i)->metadata, "COM", "name", GET_LAYER(map, i)->name); */
+
     if( EQUAL(GET_LAYER(map, i)->name, params->coverages[0]) ) {
       lp = GET_LAYER(map, i);
       break;



More information about the mapserver-commits mailing list