Is there any way to get GeoServer to render more than 255 colors for my geotiff? I can create a .sld with over 500 ‘colorMapEntries’, add it to GeoServer, and even add it as the default style for my layer. However, GeoServer throws an error when I subsequently do a ‘GetMap’ request on the WMS. Maybe there’s a way to embed a large colormap into my tiff that I’m not aware of?
Thanks for any help.
Don
···
Don Brown
U.S. Geological Survey
Fort Collins Science Center
2150 Centre Ave. Bldg. C
Fort Collins, CO 80526
(970) 226-9155
brownd@anonymised.com
Hi Don,
have you tried the “extended” attribute of the element?
extended
The extended
attribute specifies whether the color map gradient uses 256 (8-bit) or 65536 (16-bit) colors. The value false
(the default) specifies that the color scale is calculated using 8-bit color, and true
specifies using 16-bit color.
http://docs.geoserver.org/latest/en/user/styling/sld-reference/rastersymbolizer.html
Cheers
···
On 22. 7. 2016 0:48, Brown, Donald wrote:
Is there any way to get GeoServer to render more than 255 colors for my geotiff? I can create a .sld with over 500 ‘colorMapEntries’, add it to GeoServer, and even add it as the default style for my layer. However, GeoServer throws an error when I subsequently do a ‘GetMap’ request on the WMS. Maybe there’s a way to embed a large colormap into my tiff that I’m not aware of?
Thanks for any help.
Don
–
Don Brown
U.S. Geological Survey
Fort Collins Science Center
2150 Centre Ave. Bldg. C
Fort Collins, CO 80526
(970) 226-9155
brownd@anonymised.com
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Geoserver-users mailing list
[Geoserver-users@lists.sourceforge.net](mailto:Geoserver-users@lists.sourceforge.net)
[https://lists.sourceforge.net/lists/listinfo/geoserver-users](https://lists.sourceforge.net/lists/listinfo/geoserver-users)
--
Peter Kovac
IMS Programmer
MicroStep-MIS
[peter.kovac@anonymised.com](mailto:peter.kovac@anonymised.com)
I think the 'extended' parameter worked. Thanks, Peter!
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Raster-symbology-tp5277673p5280098.html
Sent from the GeoServer - User mailing list archive at Nabble.com.