WCS Black image.

José Ramón López joseramonlopez at GMAIL.COM
Wed Apr 11 05:32:36 EDT 2007


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070411/56c31949/attachment.html


More information about the mapserver-users mailing list