Matt Fair wrote:
  OUTPUTFORMAT
    NAME "GEOTIFFINT16"
    DRIVER "GDAL/GTiff"
    MIMETYPE "image/tiff"
    IMAGEMODE "INT16"
    EXTENSION "tif"
  END
...
This produces a white image, meaning it is probably only reading 8 bits. If I add PROCESSING "SCALE=AUTO", then the values are not maxed out at 255, but vary based on the size of data I am requesting. So this won't work either because in my mapping software, as I request smaller and smaller patches, the elevation data is scaled really weird and is not consistent.

Is there anything I am missing to get 16 bit USGS DEM data to be distributed via Mapserver?

Matt,

Your setup seems reasonable.  Can you provide me an example of an output
file produced by MapServer?  I'd like to examine it to ensure it is being
produced matching the output format declaration.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

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

Reply via email to