[mapserver-users] Continuing problem with WCS and ENVI Multi-band files

Peter Willis pwillis at aslenv.com
Mon Feb 8 13:37:13 EST 2010


Hello,

I continue to have a problem selecting
a single band from a multi-band (563 bands)
ENVI format BSQ file.

Using the following URL mapserver gives me a FLOAT32 GTiff
file but it is always filled with zeros.

http://wcs.foo.com/cgi-bin/wcs?REQUEST=GetCoverage&SERVICE=WCS&VERSION=1.0.0&COVERAGE=NDVI&CRS=EPSG:4326&BBOX=-135,55,-121,46&WIDTH=256&HEIGHT=256&FORMAT=GEOTIFF_FLOAT&Band=122

Is there any documentation that clearly
shows how WCS can be set up to do this?

My current LAYER definition is as follows:

LAYER
   NAME VegetationIndex
   STATUS OFF
   DEBUG ON
   TYPE RASTER
   METADATA
     "wcs_label"           "Data/NDVI"
     "wcs_rangeset_name"   'bands'
     "wcs_rangeset_label"  "NDVI"
     "ows_extent" '-135 55 -121 46'
     "wcs_resolution" '0.08333333333333332 -0.083333333333333332'
     "ows_srs" 'EPSG:4326'
     "wcs_srs" 'EPSG:4326'
     "wcs_formats" 'GEOTIFF_FLOAT,GEOTIFF_INT16'
     "wcs_nativeformat" 'ENVI'

   END
   DATA /NDVI/ndvi.img
   PROJECTION
     "init=epsg:4623"
   END
   DUMP TRUE
END



More information about the mapserver-users mailing list