[mapserver-users] show only classes in legend within current extent

Mike Saunt mikesaunt at gmail.com
Mon Jun 18 08:03:05 PDT 2012


Could be a nice feature say with mode=legendextent

Steve, what time would it take to develop?
On Jun 18, 2012 3:39 PM, "Lime, Steve D (DNR)" <Steve.Lime at state.mn.us>
wrote:

> Nope. It's not a very hard problem, but it's computationally expensive. My
> thought is that we'd have to add class counters to the legendObj and
> populate them during a map draw. That means for mode=legend you'd also have
> to draw a map or at least mimic it.
>
> Steve
>
> -----Original Message-----
> From: mapserver-users-bounces at lists.osgeo.org [mailto:
> mapserver-users-bounces at lists.osgeo.org] On Behalf Of Richard Greenwood
> Sent: Sunday, June 17, 2012 10:49 PM
> To: mapserver
> Subject: [mapserver-users] show only classes in legend within current
> extent
>
> I'm pretty sure the answer to my question is "No" but just in case - is it
> possible to restrict the classes show in a simple legend (CGI
> mode=legend) to only those classes within the current extent?
>
> Thanks,
> Rich
>
> --
> Richard Greenwood
> richard.greenwood at gmail.com
> www.greenwoodmap.com
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120618/f947a9e6/attachment.html>


More information about the mapserver-users mailing list