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

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Tue Feb 9 10:57:33 PST 2010


Any chance of getting a test dataset?

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Peter Willis
Sent: Monday, February 08, 2010 12:37 PM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Continuing problem with WCS and ENVI Multi-band files

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

_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the MapServer-users mailing list