Frank,<br>Would this be the jpeg or png image generated via the WMS query or a tiff file generated on the server?<br>Matt<br><br><div class="gmail_quote">On Thu, Sep 16, 2010 at 11:41 AM, Frank Warmerdam <span dir="ltr">&lt;<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">Matt Fair wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
  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>
</blockquote></div>
...<div class="im"><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
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>
</blockquote>
<br></div>
Matt,<br>
<br>
Your setup seems reasonable.  Can you provide me an example of an output<br>
file produced by MapServer?  I&#39;d like to examine it to ensure it is being<br>
produced matching the output format declaration.<br>
<br>
Best regards,<br><font color="#888888">
-- <br>
---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up   | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush    | Geospatial Programmer for Rent<br>
<br>
</font></blockquote></div><br>