Hello,<br>I have been trying to serve USGS DEM data from a geotiff and have been getting mixed results.  I have been reading some past discussions and documentation on this subject, and I seem to be missing something.<br>The documentation is <a href="http://mapserver.org/ogc/wcs_format.html#dem">http://mapserver.org/ogc/wcs_format.html#dem</a><br>
<br>In my map file I have:<br><br>MAP<br>    NAME "USGS"<br>    STATUS ON<br>    UNITS DD<br><br>PROJECTION<br>   "init=epsg:4326"<br>END<br><br>  OUTPUTFORMAT<br>    NAME "GEOTIFFINT16"<br>    DRIVER "GDAL/GTiff"<br>
    MIMETYPE "image/tiff"<br>    IMAGEMODE "INT16"<br>    EXTENSION "tif"<br>  END<br><br>LAYER<br>  NAME "usgs_ned"<br>  STATUS OFF<br>  TYPE RASTER<br>  DUMP TRUE<br>  DATA "layers/usgs_ned/-108_34_-102_36.tif"<br>
  PROJECTION<br>    "init=epsg:4326"<br>  END<br>END<br><br>END<br><br>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.<br>
<br>Is there anything I am missing to get 16 bit USGS DEM data to be distributed via Mapserver?<br><br>Any help would be greatly appreciated.<br><br>Thanks,<br>Matt<br><br>