<p>Could be a nice feature say with mode=legendextent </p>
<p>Steve, what time would it take to develop? </p>
<div class="gmail_quote">On Jun 18, 2012 3:39 PM, "Lime, Steve D (DNR)" <<a href="mailto:Steve.Lime@state.mn.us">Steve.Lime@state.mn.us</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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.<br>

<br>
Steve<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>] On Behalf Of Richard Greenwood<br>

Sent: Sunday, June 17, 2012 10:49 PM<br>
To: mapserver<br>
Subject: [mapserver-users] show only classes in legend within current extent<br>
<br>
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<br>
mode=legend) to only those classes within the current extent?<br>
<br>
Thanks,<br>
Rich<br>
<br>
--<br>
Richard Greenwood<br>
<a href="mailto:richard.greenwood@gmail.com">richard.greenwood@gmail.com</a><br>
<a href="http://www.greenwoodmap.com" target="_blank">www.greenwoodmap.com</a><br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div>