[Geoserver-users] Dynamic legend based on mapextent

Hi,

Is there any method to generate dynamic legend based on map extent?

We are developing an application which has thematic layers with more than 15 classes in a layer. But at a specific zoom level and extent, only 4 to 8 classes might be displayed, hence in the legend displaying only the classes visible at an extent will be more meaningful. We need to make map print outs at different scales. Due to large no of classes, it becomes clumsy in the legend.

Thanks

Girish

On Fri, Sep 6, 2013 at 1:20 PM, girish kumar <girish.isro@anonymised.com> wrote:

Hi,
Is there any method to generate dynamic legend based on map extent?
We are developing an application which has thematic layers with more than
15 classes in a layer. But at a specific zoom level and extent, only 4 to 8
classes might be displayed, hence in the legend displaying only the classes
visible at an extent will be more meaningful. We need to make map print
outs at different scales. Due to large no of classes, it becomes clumsy in
the legend.

There was some discussion about implementing it on the devel list some time
ago, but then nothing
happened, at least as far as I remember. Jody (cc'ed) was it you, or
someone from Lisasoft?

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

-------------------------------------------------------