Hi list!

I'm trying to configure mapsever to show images with float32 (NDVI) through
WCS Server.
The source images is an .img file. I had configured the map file like this.

MAP
 NAME TEST
 STATUS ON
 SIZE 400 300
 EXTENT 154590 4062740 579080 4300000
 UNITS DD
 SHAPEPATH "../data"
 IMAGETYPE gtiff
 FONTSET "../etc/fonts.txt"
 SYMBOLSET "../etc/symbols.sym"
 DEBUG ON

PROJECTION
 "init=epsg:23030"
END

OUTPUTFORMAT
   NAME GEOTIFF_FLOAT32
   DRIVER "GDAL/GTiff"
   IMAGEMODE FLOAT32
   MIMETYPE "image/tiff"
   EXTENSION "tif"
END

LAYER
 NAME "Test"
 STATUS ON
 PROCESSING "SCALE=AUTO"
 DUMP TRUE
 DATA "D:\Raster\MODIS\NDVI\NDVI_BN\NDVI2006_BN\test.img"
 TYPE RASTER
 METADATA
   "wcs_description"     "test"
   "wcs_name"             "test"
   "wcs_label"         "test"
   "ocs_srs"           "epsg:23030"
   "ows_extent"         "165338.03 4066203.70 572211.36 4289103.56"
   "wcs_size"            "7500 9000"
   "wcs_resolution"     "231.7 231.7"
   "wcs_nativeformat"     "raw binary"
   "wcs_bandcount"     "1"
   "wcs_formats"         "GEOTIFF_FLOAT32"
  END
END

END

I have checked the pixel values and they are the same that the source image,
but WCS only shows me a black image.

Does anybody know how to resolv this problem?

Thanks

Reply via email to