Ciao, when you make a getmap request asking for a PNG, GeoServer tries to perform a rendering of the input data.
A 16 bits geotiff (grayscale) is turned into an 8 bit PNG by applying a rescale operation on the dynamic. If you want to get access to the original data you need to use the WCS protocol, if you insist with WMS you'll always get a rendered version of your data. You might want to experiment with the rastesymbolizer support to turn number in to colors. See http://docs.geoserver.org/latest/en/user/styling/sld-reference/rastersymbolizer.html Regards, Simone Giannecchini == GeoServer Professional Services from the experts! Visit http://goo.gl/NWWaa2 for more information. == Ing. Simone Giannecchini @simogeo Founder/Director GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 333 8128928 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- On Mon, Jun 9, 2014 at 9:38 AM, fanxing926 <[email protected]> wrote: > I published a geotiff which is 16 bit, but I get a 8 bit png by GetMap > request. > Why? Or where should I set? > > > > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > Find What Matters Most in Your Big Data with HPCC Systems > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > http://www.hpccsystems.com > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
