<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=895270310-15052011>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=895270310-15052011></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=895270310-15052011>Have you tried GROUP?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=895270310-15052011></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=895270310-15052011>LAYER<BR> GROUP
"group_layer" <BR> NAME
"level_1"<BR> STATUS
ON<BR> TILEINDEX
"d:/data/...."<BR> MAXSCALEDENOM
14000<BR>...... </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=895270310-15052011>
LAYER<BR> GROUP
"group_layer"<BR> NAME
"level_2"<BR> STATUS
ON<BR> TILEINDEX
"d:/data/....."<BR> MINSCALEDENOM
14000<BR> MAXSCALEDENOM
100000<BR> </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=895270310-15052011>WMS clients will show all the layers in a tree with
level_1 and level_2 as members of group_layer. However, all your users
need to do is to add group_layer into their WMS client.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=895270310-15052011></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=895270310-15052011>-Jukka Rahkonen-</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=895270310-15052011></SPAN></FONT> </DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr align=left><FONT size=2 face=Tahoma><B>Lähettäjä:</B> <A
href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</A>
[mailto:mapserver-users-bounces@lists.osgeo.org] <B>Puolesta </B>Josh
Hevenor<BR><B>Lähetetty:</B> 15. toukokuuta 2011 5:02<BR><B>Vastaanottaja:</B>
Tamas Szekeres<BR><B>Kopio:</B> mapserver-users@lists.osgeo.org<BR><B>Aihe:</B>
Re: [mapserver-users] Question on rfc 86<BR></FONT><BR></DIV>
<DIV></DIV>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<BR><BR>On 5/14/2011 3:21 PM, Tamas Szekeres wrote:
<BLOCKQUOTE cite=mid:BANLkTikWq6hEjUMMi0J8PCaXoh33rcBPSQ@mail.gmail.com
type="cite">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
moz-do-not-send="true">jhevenor@rogers.com</A>></SPAN><BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>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
moz-do-not-send="true">mapserver-users@lists.osgeo.org</A><BR><A
href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target=_blank
moz-do-not-send="true">http://lists.osgeo.org/mailman/listinfo/mapserver-users</A><BR></BLOCKQUOTE></DIV><BR><PRE wrap=""><FIELDSET class=mimeAttachmentHeader></FIELDSET>
No virus found in this incoming message.
Checked by AVG - <A class=moz-txt-link-abbreviated href="http://www.avg.com">www.avg.com</A>
Version: 8.5.449 / Virus Database: 271.1.1/3637 - Release Date: 05/14/11 06:34:00
</PRE></BLOCKQUOTE></BODY></HTML>