<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2883" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=072382508-15062006>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=072382508-15062006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=072382508-15062006>I suppose LABELMAXSCALE in the LAYER object should do 
this for you.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=072382508-15062006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=072382508-15062006>-Jukka-</SPAN></FONT></DIV><FONT face=Arial 
color=#0000ff size=2></FONT><BR>
<DIV class=OutlookMessageHeader lang=fi dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Lähettäjä:</B> UMN MapServer Users List 
[mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>Puolesta </B>Tim 
Badtke<BR><B>Lähetetty:</B> 14. kesäkuuta 2006 23:59<BR><B>Vastaanottaja:</B> 
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Aihe:</B> [UMN_MAPSERVER-USERS] Class 
Labels<BR></FONT><BR></DIV>
<DIV></DIV>I'm developing an application and would like the ability to turn a 
class on at a certain scale, but have it's labels turn on as a user zooms in 
further.&nbsp; Is this possible with one layer defition and two classes (one for 
the data and one for it's labels - both come from the same dataset.) <BR><BR>I 
set it up how I think it should work but I only get the data drawn without the 
labels.&nbsp; Can someone point me in the right direction?&nbsp; It works with 
two layers (one as polygon and one as annotation), but I think it should be able 
to be done with just one layer and two classes. Am I wrong?&nbsp; <BR><BR>Thanks 
for your help,<BR>Tim<BR><BR>This is what the layer looks like in the map 
file:<BR>
<P class=MsoPlainText>LAYER<BR><SPAN>&nbsp; </SPAN>NAME "MCD 
Boundaries"<BR><SPAN>&nbsp; </SPAN>STATUS default<BR><SPAN>&nbsp; </SPAN>DATA 
basedata/cdreg_ms<BR><SPAN>&nbsp; </SPAN>GROUP MCDs<BR><SPAN>&nbsp; </SPAN>TYPE 
POLYGON<BR><SPAN>&nbsp; </SPAN>CLASSITEM "Ctv"<BR><SPAN>&nbsp; </SPAN>LABELITEM 
"Mcd_name"<BR><SPAN>&nbsp; </SPAN>CLASS<BR><SPAN>&nbsp;&nbsp;&nbsp; 
</SPAN>MAXSCALE 600000<BR><SPAN>&nbsp;&nbsp;&nbsp; </SPAN>EXPRESSION ('[Ctv]' eq 
'T')<BR><SPAN>&nbsp;&nbsp;&nbsp; </SPAN>OUTLINECOLOR 19 54 
234<BR><SPAN>&nbsp;&nbsp;&nbsp; 
</SPAN>STYLE<BR><SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>SYMBOL 
'line'<BR><SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>SIZE 
1<BR><SPAN>&nbsp;&nbsp;&nbsp; </SPAN>END<BR><SPAN>&nbsp; 
</SPAN>END<BR><SPAN>&nbsp; </SPAN>CLASS<BR><SPAN>&nbsp;&nbsp;&nbsp; 
</SPAN>MAXSCALE 400000<BR><SPAN>&nbsp;&nbsp;&nbsp; </SPAN>EXPRESSION ('[Ctv]' eq 
'T')<BR><SPAN>&nbsp;&nbsp;&nbsp; </SPAN>LABEL #Town 
label<BR><SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>COLOR 19 54 
234<BR><SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>OUTLINECOLOR 255 255 
255<BR><SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>TYPE 
Bitmap<SPAN></SPAN><BR><SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>SIZE 
Tiny<BR><SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>POSITION 
CC<BR><SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>PARTIALS 
False<SPAN></SPAN><BR><SPAN>&nbsp;&nbsp;&nbsp; </SPAN>END<BR><SPAN>&nbsp; 
</SPAN>END<BR><SPAN>&nbsp; </SPAN>METADATA<BR><SPAN>&nbsp;&nbsp;&nbsp; 
</SPAN>CLASSES "no"<BR><SPAN>&nbsp;</SPAN><SPAN>&nbsp;&nbsp; </SPAN>SHOWINLEGEND 
"nope"<BR><SPAN>&nbsp; </SPAN>END<BR>END&nbsp; <BR></P></BODY></HTML>