On Wed, Apr 17, 2013 at 2:11 PM, markusin <[email protected]>wrote:

> Hi,
>
> Since Geoserver does not support the GetLegend for SLD with transformation
> functions, I want to take care about this.
>
> My suggestion is to create the legend as following image:
>
> For each specified color-value pair,
> e.g.
>
> I will produce an image with the symbol in the corresponding color followed
> by the numeric value.
> Finally these images are merged in a single image that represents the
> legend.
>
> Interpolated values (like in the raster colormap) will not be displayed.
>
> Any feedback or different suggestion is welcome
>

The above seems reasonable. For the interpolate function, I wonder if you
could just reuse the code building the raster colormap legend?

Cheers
Andrea


-- 
==
GeoServer training in Milan, 6th & 7th June 2013!  Visit
http://geoserver.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

-------------------------------------------------------
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to