Josh,<br><br>The union layer always retrieve all features from the source layers regardless of their visibility. This is because the source layers are hidden in most cases (STATUS OFF) to avoid the duplication of the features drawn.<br>
However the desired scale range (MINSCALEDENOM, MAXSCALEDENOM) could indeed be taken into account when accessing the source layers, by using a minor change.<br><br>BTW: How the legend is drawn in your case? As far as I know mapserver draws only the layers in the scale range by default.<br>
<br>Best regards,<br><br>Tamas<br><br><br><br><div class="gmail_quote">2011/5/14 Josh Hevenor <span dir="ltr"><<a href="mailto:jhevenor@rogers.com" target="_blank">jhevenor@rogers.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This may or may not be relevant but reading RFC 68 got me wondering.<br>
<br>
I have an application that has shape file data for lakes. There are<br>
different shapefiles for data with higher accuracy that are used with<br>
scale ranges so that only one is drawn at a time. Specifically<br>
something like lakes_1_1m, lakes_1_250k, lakes_1_50k.<br>
<br>
I'm really looking for a way to show one LAKES layer in the application<br>
legend instead of 3 layers, two of which are always out of scale. Can or<br>
should I use a UNION layer to connect these layers? What other approach<br>
should I consider?<br>
<br>
Thanks for the advice,<br>
<br>
Josh<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">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><br>