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 <[email protected]> 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 <[email protected]>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, >> [email protected] >> 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 >> >> >
<<attachment: mapserv_no_auto.jpeg>>
<<attachment: mapserv_auto.jpeg>>
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
