Hi, I believe you can configure Mapserver to create also compressed tiffs. There are many alternatives to choose on the gdal driver page http://gdal.org/frmt_gtiff.html
-Jukka Rahkonen- ________________________________ Ragi Burhum wrote: > Hello Jukka and Stephan, > Thank you a lot for the pointer. Yes, version 1.0.0 definitely does the trick > and I will use that instead. I got a big confused with the documentation and > it was not too clear to me that was the behavior. Thank you! > As far as my original question for 16bit png (or jpeg) output, is there > something that can be done about that? > The tiff output files I get are too big for such a small area and it makes > unusable for mobile devices. Thanks again, - Ragi Date: Thu, 19 Jan 2012 18:46:37 +0100 From: Stephan Mei?l <[email protected]<mailto:[email protected]>> Subject: Re: [mapserver-users] 16 bit PNG or 16 bit jpeg output To: Rahkonen Jukka <[email protected]<mailto:[email protected]>> Cc: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Message-ID: <1326995197.2995.49.camel@io> Content-Type: text/plain; charset="UTF-8" Hi, if you omit the mediatype parameter with version 2.0 you definitely get back only the binary output as requested in the format parameter. In WCS 1.1 afaik you always get back a multipart response and in WCS 1.0 always only the binary. cu Stephan On Thu, 2012-01-19 at 17:16 +0000, Rahkonen Jukka wrote: > Hi, > > No way, I mean the WCS version 1.0 as described in the very same document > http://www.mapserver.org/ogc/wcs_server.html > > -Jukka Rahkonen- > > > ________________________________ > LƤhettƤjƤ: Ragi Burhum [[email protected]<mailto:[email protected]>] > LƤhetetty: 19. tammikuuta 2012 19:02 > Vastaanottaja: > [email protected]<mailto:[email protected]>; > Rahkonen Jukka > Aihe: Re: [mapserver-users] 16 bit PNG or 16 bit jpeg output > > Hi Jukka, > > I assume you mean WCS 2.0 and that you are referring to the MEDIATYPE > directive. The documentation at > http://mapserver.org/ogc/wcs_server.html#test-your-wcs-1-0-server said that > only "multipart/mixed" was allowed. Am I mistaken? > > Date: Thu, 19 Jan 2012 08:13:54 +0000 > From: Rahkonen Jukka > <[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>> > Subject: Re: [mapserver-users] 16 bit PNG or 16 bit jpeg output > To: > "'[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>'" > > <[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>> > Message-ID: > > <[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>> > Content-Type: text/plain; charset="us-ascii" > > Hi, > > Could it be possible for you to use WCS 1.0.0 for avoiding the multipart > thing? > > -Jukka Rahkonen- > > ________________________________ > Ragi Burhum wrote: > Hello, > > I am trying to output a single band 16bit png (or jpeg) output from a > Mapserver WCS service. > > I have tried the following output formats: > > OUTPUTFORMAT > NAME jpeg > DRIVER "GDAL/JPEG" > MIMETYPE "image/jpeg" > IMAGEMODE INT16 > EXTENSION "jpg" > FORMATOPTION "QUALITY=85" > END > > OUTPUTFORMAT > NAME GDALPNG > DRIVER "GDAL/PNG" > MIMETYPE "image/png" > IMAGEMODE INT16 > EXTENSION "png" > FORMATOPTION "FILENAME=result.png" > END > > When I try different IMAGEMODEs, I get the correct results, but for some > reason, INT16 does not work. I looked through the mailing list and I noticed > that this question has been asked before: > > http://osgeo-org.1803224.n2.nabble.com/16-Bit-PNG-Output-td6249725.html > http://osgeo-org.1803224.n2.nabble.com/Using-a-16-bit-per-band-PNG-image-td2490088.html > > I tried looking for a ticket in Trac, but I had no luck. Am I doing something > wrong? Perhaps I could accomplish this somehow with a custom gdal driver? > > Also, a side question, if I wanted to make sure the replies from my WCS > getcoverage calls were not multipart (I am just interested in the binary > output), is there some mapserver-specific setting I can use to just get that > image as a reply instead of the accompanying xml files? > > Thanks! > > - Ragi
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
