[mapserver-users] Mapserver serving up DEM
Matt Fair
matt.fair at gmail.com
Thu Sep 16 17:23:24 PDT 2010
Here are two files it generated, one with auto scale and one without auto
scale.
Matt
On Thu, Sep 16, 2010 at 12:04 PM, Matt Fair <matt.fair at gmail.com> wrote:
> 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/8502db00/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mapserv_no_auto.jpeg
Type: image/jpeg
Size: 1253 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100916/8502db00/attachment.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mapserv_auto.jpeg
Type: image/jpeg
Size: 3850 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100916/8502db00/attachment-0001.jpeg>
More information about the MapServer-users
mailing list