Thanks for the trick Jeff, unfortunatelly i still get a 8-bits png and
obviously uint16 is not a valid mapserver imagemode...
Johannes
Le mer. 5 févr. 2020 à 16:52, Jeff McKenna
a écrit :
> Hi Johannes,
>
> I just wanted to mention that what I always test OUTPUTFORMAT with is
> through the shp2i
Hi Johannes,
I just wanted to mention that what I always test OUTPUTFORMAT with is
through the shp2img commandline utility, with the "-i" switch, such as:
shp2img -m test.map -o ttt.png -i PNG16 -all_debug 5
PS. in the future MapServer v8.0 I hope to help change that utility name
to "map2i
rver-users@lists.osgeo.org
Betreff: Re: [mapserver-users] OUTPUTFORMAT png 16-bits
Hi,
But it is GDAL that is supposed to write the png because of
DRIVER GDAL/PNG
GDAL does support UInt16 fot png but it does not support int16. Perhaps this
has something to do with the problem.
-Jukk
: keskiviikko 5. helmikuuta 2020 13.05
Vastaanottaja: Johannes Paul ; Rahkonen Jukka (MML)
Kopio: mapserver-users@lists.osgeo.org
Aihe: AW: [mapserver-users] OUTPUTFORMAT png 16-bits
Hello Johannes,
16bit-PNGs are IMHO not supported by MapServer. Although libPNG supports 16bit
depth (see http
kko 5. helmikuuta 2020 12.03
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: [mapserver-users] OUTPUTFORMAT png 16-bits
Hello,
I'm using Mapserver to output PNG 16-bits DEM raster from .HGT
elevation data.
I'm using the below output fo
ta
> *Johannes Paul
> *Lähetetty:* keskiviikko 5. helmikuuta 2020 12.03
> *Vastaanottaja:* mapserver-users@lists.osgeo.org
> *Aihe:* [mapserver-users] OUTPUTFORMAT png 16-bits
>
>
>
> Hello,
>
> I'm using Mapserver to output PNG 16-bits DEM raster from .HGT elevation
Paul
Lähetetty: keskiviikko 5. helmikuuta 2020 12.03
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: [mapserver-users] OUTPUTFORMAT png 16-bits
Hello,
I'm using Mapserver to output PNG 16-bits DEM raster from .HGT elevation data.
I'm using the below output format definition :
OU
Hello,
I'm using Mapserver to output PNG 16-bits DEM raster from .HGT elevation
data.
I'm using the below output format definition :
OUTPUTFORMAT
NAME PNG16
DRIVER GDAL/PNG
MIMETYPE image/png
IMAGEMODE INT16
EXTENSION "png"
END
However I keep on getting the standard PNG 8-bits out of ma