Ciao Albert, first thing off, which version of GeoServer are you using? That said the output will distribute as many as 65k colors withing the breakpoints of the colormaps. Not sure what you mean by " I don't see where the 16 bits interpolation is on my output image"
Regards, Simone Giannecchini ------------------------------------------------------- Ing. Simone Giannecchini GeoSolutions S.A.S. Founder Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 333 8128928 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/simonegiannecchini http://twitter.com/simogeo ------------------------------------------------------- On Mon, Jun 27, 2011 at 5:01 PM, ALBERT Aurélien <[email protected]> wrote: > My GeoTiff files are fine, they contains float 32 bit data. > > > > My only problem "how to raster this to RGB values with a maximum of > precision". > > > > However, I don't understand how the "extended" attribute works… > > I tried this (all valid values in my GeoTiff are between -100 and 100): > > > > <ColorMap extended="true"> > > <ColorMapEntry color="#000000" quantity="-500" label="nodata" > opacity="0.0" /> > > <ColorMapEntry color="#000000" quantity="-100" label="values" > opacity="1.0" /> > > <ColorMapEntry color="#FFFFFF" quantity="100" label="values" > opacity="1.0" /> > > </ColorMap> > > > > But I don't see where the 16 bits interpolation is on my output image. > > > > > > > > De : Mike [mailto:[email protected]] > Envoyé : lundi 27 juin 2011 16:22 > À : ALBERT Aurélien > Cc : [email protected] > Objet : Re: [Geoserver-users] GeoServer with elevation data > > > > Not sure it's related, but similar issue on the QGIS users list. > > http://lists.osgeo.org/pipermail/qgis-user/2011-June/012636.html > > Problem relating to gdal. So if you created your data originally came from > .flt, and gdal was used, that might be the issue. > > But if you geotiffs are fine, then ignore this email. > > On Mon, Jun 27, 2011 at 8:10 AM, ALBERT Aurélien > <[email protected]> wrote: > > Thanks a lot ! > > This is not 2^24 values, but 2^16 is better than 2^8 ! > > > > -----Message d'origine----- > De : [email protected] [mailto:[email protected]] De la part de Simone > Giannecchini > Envoyé : lundi 27 juin 2011 15:53 > À : ALBERT Aurélien > Cc : [email protected] > Objet : Re: [Geoserver-users] GeoServer with elevation data > > Ciao Albert, > you can go up to 65k colors using the extended colormap type as shown here: > http://docs.geoserver.org/latest/en/user/styling/sld-reference/rastersymbolizer.html > > Regards, > Simone Giannecchini > ------------------------------------------------------- > Ing. Simone Giannecchini > GeoSolutions S.A.S. > Founder > > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > > phone: +39 0584 962313 > fax: +39 0584 962313 > mob: +39 333 8128928 > > http://www.geo-solutions.it > http://geo-solutions.blogspot.com/ > http://www.youtube.com/user/GeoSolutionsIT > http://www.linkedin.com/in/simonegiannecchini > http://twitter.com/simogeo > > ------------------------------------------------------- > > > > On Mon, Jun 27, 2011 at 3:42 PM, ALBERT Aurélien > <[email protected]> wrote: >> Hi, >> >> >> >> I'm using GeoServer to manage texture and elevation data : >> >> - Textures are GeoTiff bitmap files. >> >> - Elevation data are GeoTiff float files >> >> >> >> For the moment, I use the "DTED" style for my elevation data : >> >> >> >> <RasterSymbolizer> >> >> <Opacity>1.0</Opacity> >> >> <ColorMap> >> >> <ColorMapEntry color="#000000" quantity="-500" >> label="nodata" >> opacity="0.0" /> >> >> <ColorMapEntry color="#000000" quantity="0" label="values" >> /> >> >> <ColorMapEntry color="#111111" quantity="1" label="values" >> /> >> >> <ColorMapEntry color="#FFFFFF" quantity="500" label="values" >> /> >> >> </ColorMap> >> >> </RasterSymbolizer> >> >> >> >> So when I ask GeoServer for elevation data within an area, I get a >> greyscale >> image with only 256 (2^8) different elevation values. >> >> >> >> Is there any way to use the full "#000000" to "#FFFFFF" color range to get >> 2^24 different elevation values ? >> >> >> >> Thanks. >> >> >> ------------------------------------------------------------------------------ >> All of the data generated in your IT infrastructure is seriously valuable. >> Why? It contains a definitive record of application performance, security >> threats, fraudulent activity, and more. Splunk takes this data and makes >> sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-d2d-c2 >> _______________________________________________ >> Geoserver-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geoserver-users >> >> > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
