Read this:
http://mapserver.org/input/raster.html
You need to add to your highres layer
PROCESSING "SCALE=AUTO"
Or per band scaling. I done thing most browsers know what to do with 16
bits per channel.
-Steve W
On 4/11/2017 8:22 PM, David wrote:
Hi there,
iam having some trouble to serve 48 bit geotiff images with a mapserver
7 wms. I created to layers for speed purposes with scale limiters. The
lowres layer is served well and looks good, it is 24bit geotiff
data(8bit per channel). But if the layer changes to the highres, 48bit
geotiff data(16bit per channel), the data is shown wrong.
I searched for some hints regarding a similar issue but could not find
something.
This is a screenshot of the loaded highres layer. It does not matter if
i load a bbox inside the browser, qgis or another wms client. The
highres data looks always the same.
image loaded from highres layer:
http://imgur.com/a/B65cp
the mapfile:
https://pastebin.com/4G2DZErZ
the gdalinfo for one 16bit 3-band tile:
https://pastebin.com/kfS0BjmE
Best Regards,
David
_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users