[mapserver-users] geotiff 48bit with mapserver 7 wms

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Wed Apr 19 13:13:51 PDT 2017


Hi Cora,

Could you prepare a small sample image and put it somewhere for downloading? Or did you already do it in some earlier mail?

-Jukka Rahkonen-

________________________________________
Lähettäjä: mapserver-users <mapserver-users-bounces at lists.osgeo.org> käyttäjän  puolestaBerger, Cora <cora.berger at bezreg-koeln.nrw.de>
Lähetetty: 19. huhtikuuta 2017 17:45
Vastaanottaja: 'mapserver-users at lists.osgeo.org'
Aihe: Re: [mapserver-users] geotiff 48bit with mapserver 7 wms

Hi David,
Thanks for your help. I tried PROCESSING "SCALE=AUTO". This method results in a red/white image. All the labels in the map are drawn red (originally black). The whole topographic information in the background is just white (originally many different colors). I tried it with a combination of different outputformat-declarations and processings. Unfortunately I didn't get a correct result.

Cheers Cora


>Message: 2
>Date: Tue, 18 Apr 2017 14:07:04 +0000
>From: David <david at impstyle.com>
>To: "'mapserver-users at lists.osgeo.org'"
>       <mapserver-users at lists.osgeo.org>
>Subject: Re: [mapserver-users] geotiff 48bit with mapserver 7 wms
>Message-ID: <em2654a657-d1b7-4616-b1ae-3b1d6f8122f3 at laptop-dfriedrich>
>Content-Type: text/plain; format=flowed; charset=utf-8
>
>Hi Cora,
>
>do you use PROCESSING "SCALE=AUTO" with you LAYER definition?
>
>SCALE[_n]=AUTO or min,max
>This directive instructs the GDAL reader to pre-scale the incoming
>raster data. It is primarily used to scale 16bit or floating point data
>to the range 0-255, but can also be used to constrast stretch 8bit data.
>
>http://mapserver.org/input/raster.html#special-processing-directives
>
>Cheers David
>
>
>------ Original Message ------
>From: "Berger, Cora" <cora.berger at bezreg-koeln.nrw.de>
>To: "'mapserver-users at lists.osgeo.org'"
><mapserver-users at lists.osgeo.org>
>Sent: 4/18/2017 10:47:42 AM
>Subject: Re: [mapserver-users] geotiff 48bit with mapserver 7 wms
>
>>Dear David, Steve, Ben, etc.
>>I am working with MapServer-WCS. I still have problems defining the
>>correct output formats. Input to most of our WCS are 8bit Geotiffs. The
>>MapServer WCS-output is either tiff, png or jpeg with 24bit or
>>Png;mode=8bit with 8 bit (if no output format is defined). The
>>png;mode=8bit-format changes the imagecolours, so it isn't really
>>useful. I can't get a colored 8bit Geotiff as output (a 8bit-definition
>>always results in greyscale images). I tried different output
>>format-definitions, none of them worked. I can define a palette for the
>>png-format, but unfortunately not for any other format.
>>For our WCS it is important that the output-data looks the same like
>>the input-data. It seems that at the moment MapServer can't just pass
>>the input-data through... This might be a GDAL issue...
>>
>>So if you find a way to define your wished output-format, please share
>>it, maybe it helps me, too. Maybe anybody else has an idea?
>>
>>Cora
>>
>>

_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list