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 &quot;USGS&quot;<br>    STATUS ON<br>    UNITS DD<br><br>PROJECTION<br>   &quot;init=epsg:4326&quot;<br>END<br><br>  OUTPUTFORMAT<br>    NAME &quot;GEOTIFFINT16&quot;<br>    DRIVER &quot;GDAL/GTiff&quot;<br>
    MIMETYPE &quot;image/tiff&quot;<br>    IMAGEMODE &quot;INT16&quot;<br>    EXTENSION &quot;tif&quot;<br>  END<br><br>LAYER<br>  NAME &quot;usgs_ned&quot;<br>  STATUS OFF<br>  TYPE RASTER<br>  DUMP TRUE<br>  DATA &quot;layers/usgs_ned/-108_34_-102_36.tif&quot;<br>
  PROJECTION<br>    &quot;init=epsg:4326&quot;<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 &quot;SCALE=AUTO&quot;, then the values are not maxed out at 255, but vary based on the size of data I am requesting.  So this won&#39;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>