Dear Jukka, you can find the original input-image of the wcs, an output image without any processing and an output image with processing scale=auto here: https://www.bscw.nrw.de/pub/bscw.cgi/7035084
Cora >-----Ursprüngliche Nachricht----- >Von: Rahkonen Jukka (MML) [mailto:[email protected]] >Gesendet: Mittwoch, 19. April 2017 22:14 >An: Berger, Cora; '[email protected]' >Betreff: Re: [mapserver-users] geotiff 48bit with mapserver 7 wms > >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 <[email protected]> käyttäjän >puolestaBerger, Cora <[email protected]> >Lähetetty: 19. huhtikuuta 2017 17:45 >Vastaanottaja: '[email protected]' >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 <[email protected]> >>To: "'[email protected]'" >> <[email protected]> >>Subject: Re: [mapserver-users] geotiff 48bit with mapserver 7 wms >>Message-ID: <em2654a657-d1b7-4616-b1ae-3b1d6f8122f3@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" <[email protected]> >>To: "'[email protected]'" >><[email protected]> >>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 >[email protected] >https://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-users
