Ok, so was referring to custom code solution.

Not an option for us now, so will have to look at a client-side solution,
unless there's another server-side option.

Perhaps this could be an future enhancement to Coverage Views (if that's
the right place for it).

On Tue, Nov 24, 2015 at 9:59 AM, Andrea Aime <andrea.a...@geo-solutions.it>
wrote:

> On Tue, Nov 24, 2015 at 6:52 PM, Martin Davis <mtncl...@gmail.com> wrote:
>
>> Thanks, Andrea.
>>
>> Being a bit of a raster newb, I realized after i posted that as you
>> suggest an SLD is needed to provide a legend.  This will help with map
>> comprehension, but we'd really like a point identify capability as well.
>>
>> It's not clear how to "add the label in the output feature".  Will the
>> SLD do this?
>>
>
> No, but you have the the Style object in params.getStyle(), from there
> getting the color map is not difficult (assuming
> there is only one) and then you just have to check which rules applies to
> the extracted value, get its label, and add it to the
> feature being built.
>
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to