On Tue, Feb 25, 2014 at 3:47 PM, Jeremy Lindsey <lind...@mosaicatm.com>wrote:
> Thank you so much, Simone. The polygon styling link is very helpful. I
> copied their sample and edited it a bit for my needs and it actually gave
> me different colors. This is great and I could probably just use this to
> get what I need. If I had a magic wand though, I might go one step further
> and figure out how to get a true gradient for my range of values. I
> suppose I could always have 100 different ranges that get colored in my
> rules, but its a bit tedious - and I worry that it might evaluate a bit
> more slowly. That concern may not be valid though.
>
Look for the interpolate function then:
http://docs.geoserver.org/latest/en/user/styling/sld-tipstricks/transformation-func.html#interpolate
It has a gotcha though, the GetLegendGraphics code does not recognize it,
so you won't get a nice legend out of it (assuming
you even need to call onto GetLegendGraphics, that is).
Cheers
Andrea
--
== Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information ==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users