[mapserver-commits] r11006 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Thu Feb 24 23:46:16 EST 2011


Author: sdlime
Date: 2011-02-24 20:46:16 -0800 (Thu, 24 Feb 2011)
New Revision: 11006

Modified:
   trunk/mapserver/mapwcs20.c
Log:
Applied patch for #3684...

Modified: trunk/mapserver/mapwcs20.c
===================================================================
--- trunk/mapserver/mapwcs20.c	2011-02-25 04:44:30 UTC (rev 11005)
+++ trunk/mapserver/mapwcs20.c	2011-02-25 04:46:16 UTC (rev 11006)
@@ -3443,7 +3443,7 @@
     msFree(bandlist);
 
     /* check for the interpolation */
-    /* TODO: defaults to what? do we need a default? */
+    /* Defaults to NEAREST */
     if(params->interpolation != NULL)
     {
         if(EQUALN(params->interpolation,"NEAREST",7))
@@ -3464,6 +3464,8 @@
                     "msWCSGetCoverage20()", params->interpolation );
             return msWCSException(map, "InvalidParameterValue", "interpolation", params->version);
         }
+    } else { 
+        msLayerSetProcessingKey(layer, "RESAMPLE", "NEAREST");
     }
 
     /* since the dataset is only used in one layer, set it to be    */



More information about the mapserver-commits mailing list