Hi Josh,<br><br>The UNION layer doen't remove the source layers it refers to, so those would be displayed in the legend as well. Would this provide the expected result even so?<br><br>Best regards,<br><br>Tamas<br><br>
<br><br><div class="gmail_quote">2011/5/15 Josh Hevenor <span dir="ltr"><<a href="mailto:jhevenor@rogers.com">jhevenor@rogers.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
Thanks Tamas, <br>
<br>
The legend is custom build by mapscript and it's a feature of the
app that it shows the out of scale layers. I could customize it to
group layers that are essentially the same thing if there was a need
for it, but I figured I'd see if this new feature would do that for
me for free when I upgrade to ms6. <br>
<br>
If the UNION layer respected the source layers {min|max}scaledenom
settings that would work for me. Are there any other ways to have a
single layer provide more detail when zoomed in? Just curious. <br>
<br>
Josh<div><div></div><div class="h5"><br>
<br>
On 5/14/2011 3:21 PM, Tamas Szekeres wrote:
</div></div><blockquote type="cite"><div><div></div><div class="h5">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: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); 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>
</div></div><pre><fieldset></fieldset>
No virus found in this incoming message.
Checked by AVG - <a href="http://www.avg.com" target="_blank">www.avg.com</a>
Version: 8.5.449 / Virus Database: 271.1.1/3637 - Release Date: 05/14/11 06:34:00
</pre>
</blockquote>
</div>
</blockquote></div><br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div>