[mapserver-users] Mapserver serving up DEM

Matt Fair matt.fair at gmail.com
Thu Sep 16 14:04:35 EDT 2010


Frank,
Would this be the jpeg or png image generated via the WMS query or a tiff
file generated on the server?
Matt

On Thu, Sep 16, 2010 at 11:41 AM, Frank Warmerdam <warmerdam at pobox.com>wrote:

> 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,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam<http://pobox.com/%7Ewarmerdam>
> and watch the world go round - Rush    | Geospatial Programmer for Rent
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100916/a1509b01/attachment.html


More information about the mapserver-users mailing list