<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<STYLE type=text/css>DIV {
MARGIN: 0px
}
</STYLE>
<META content="MSHTML 6.00.2900.3268" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=108442912-21022008><FONT face=Verdana color=#0000ff size=2>Try
this, work's fine for me </FONT></SPAN></DIV>
<DIV><SPAN class=108442912-21022008><FONT face=Verdana color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=108442912-21022008><FONT color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=108442912-21022008><FONT face="Courier New" color=#0000ff
size=2> LAYER</FONT></SPAN></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><SPAN class=108442912-21022008><FONT face="Courier New" color=#0000ff
size=2> PROJECTION<BR>
"init=epsg:42105"<BR> END<BR>
METADATA<BR>
wms_title
"Interdictions aux camions"<BR> END</FONT></SPAN></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><SPAN class=108442912-21022008><FONT face="Courier New" color=#0000ff
size=2>
NAME
"ert_camns"<BR>
STATUS
ON<BR>
DUMP
TRUE</FONT></SPAN></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><SPAN class=108442912-21022008><FONT face="Courier New" color=#0000ff
size=2>
EXTENT
30000 75000 1700000 2120000<BR>
MAXSCALE
500000<BR>
MINSCALE
1<BR>
TYPE
ANNOTATION</FONT></SPAN></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><SPAN class=108442912-21022008><FONT face="Courier New" color=#0000ff
size=2>
DATA
"ert_camns/ert_camns"</FONT></SPAN></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><SPAN class=108442912-21022008><FONT face="Courier New" color=#0000ff
size=2> CLASS<BR>
SYMBOL
"ert_camns"<BR>
TEXT
" "</FONT></SPAN></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><SPAN class=108442912-21022008><FONT face="Courier New" color=#0000ff
size=2>
LABEL<BR>
TYPE
TRUETYPE<BR>
FONT
"arial"<BR>
POSITION
CC<BR>
COLOR
255 255 255<BR>
MINDISTANCE
500<BR>
FORCE
TRUE<BR>
PARTIALS
FALSE<BR> END</FONT></SPAN></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><SPAN class=108442912-21022008><FONT face="Courier New" color=#0000ff
size=2> END<BR> END<BR></FONT></SPAN></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV class=Section1>
<P align=left><SPAN lang=FR-CA
style="COLOR: navy; FONT-FAMILY: 'Arial Black'; mso-ansi-language: FR-CA">______________________________________________________</SPAN></P>
<P><SPAN lang=FR-CA
style="COLOR: navy; FONT-FAMILY: 'Arial Black'; mso-ansi-language: FR-CA"><FONT
size=2><FONT face=Verdana><FONT size=4><STRONG>JAMES
LÉVEILLÉ<BR></STRONG></FONT>Service des systèmes de Mission<BR>Direction des
technologies de l'information<BR>Ministère des Transports du
Québec</FONT></FONT></SPAN></P>
<P><SPAN lang=FR-CA
style="COLOR: navy; FONT-FAMILY: 'Arial Black'; mso-ansi-language: FR-CA"><FONT
face=Verdana size=2>5833, boul. Pierre-Bertrand, 2ième étage<BR>Québec (Québec)
G2K 1K7<BR>Téléphone: (418) 380-2005 poste 227<BR>Télécopieur: (418)
644-6653<BR><A href="mailto:james.leveille@mtq.gouv.qc.ca"><FONT
color=#000080>james.leveille@mtq.gouv.qc.ca</FONT></A><BR></FONT></SPAN></P>
<P><FONT color=#000080></FONT> </P></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left><FONT face=Tahoma
size=2>-----Message d'origine-----<BR><B>De :</B>
mapserver-users-bounces@lists.osgeo.org
[mailto:mapserver-users-bounces@lists.osgeo.org] <B>De la part de</B> Hans
Castorp<BR><B>Envoyé :</B> 21 février 2008 05:58<BR><B>À :</B>
guillaume.sueur@neogeo-online.net;
mapserver-users@lists.osgeo.org<BR><B>Objet :</B> RE: [mapserver-users]
annotation layer<BR><BR></FONT></DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV>There is a problem. The layer I want to give symbols to is a line layer,
so I cannot use point layer.<BR><BR>Thanks.<BR><BR>-----Mensaje
original-----<BR>De: Guillaume Sueur
[mailto:guillaume.sueur@neogeo-online.net] <BR>Enviado el: jueves, 21 de
febrero de 2008 11:47<BR>Para: Hans Castorp;
mapserver-users@lists.osgeo.org<BR>Asunto: Re: [mapserver-users] annotation
layer<BR><BR>I think you should just use a POINT layer then. Annotation is
dedicated <BR>to labels, it's a way to have labels displayed WITHOUT the
anchor point.<BR><BR><BR>Hans Castorp a écrit :<BR>> Hi to all,<BR>>
<BR>> <BR>> <BR>> It is possible to have an annotation layer
with symbol but without label??<BR>> <BR>> <BR>> <BR>> I
will try to explain it: I have an ANNOTATION layer in order to place <BR>>
SYMBOLS depending on some EXPRESSION values. The problem is that I’m not
<BR>> capable to place SYMBOLS without place LABELS, and what I need is to
<BR>> place only symbols.<BR>> <BR>> <BR>> <BR>> Here is
my mapfile:<BR>> <BR>> <BR>> <BR>> <BR>> <BR>>
This configuration shows both symbol and label<BR>> <BR>> <BR>>
<BR>> LAYER<BR>> <BR>> NAME
'road_sym'<BR>> <BR>> GROUP
'cartografia'<BR>> <BR>> DATA
'carreteras2'<BR>> <BR>> STATUS DEFAULT<BR>>
<BR>> TYPE ANNOTATION<BR>>
<BR>> CLASSITEM 'MATRICULA'<BR>>
<BR>>
LABELITEM 'MATRICULA'<BR>>
<BR>>
<BR>> <BR>> CLASS<BR>>
<BR>> EXPRESSION 'AP-53'<BR>>
<BR>> STYLE<BR>>
<BR>> SYMBOL
'AP-53'<BR>>
<BR>>
SIZE 15<BR>>
<BR>>
OUTLINECOLOR 254 254 254<BR>> <BR>>
END<BR>>
<BR>>
LABEL<BR>>
<BR>>
ANTIALIAS true<BR>>
<BR>>
POSITION AUTO<BR>>
<BR>>
ANGLE FOLLOW<BR>>
<BR>>
FONT "arial"<BR>>
<BR>>
TYPE truetype <BR>>
<BR>>
COLOR 0 0 0<BR>> <BR>>
MINDISTANCE 300<BR>>
<BR>> MINFEATURESIZE
10<BR>> <BR>> OFFSET 0
0<BR>> <BR>> PARTIALS
FALSE<BR>>
<BR>>
SIZE 6<BR>>
<BR>>
OUTLINECOLOR 255 255 255<BR>>
<BR>>
END<BR>> <BR>> END<BR>> <BR>> END<BR>>
<BR>> <BR>> <BR>> <BR>> <BR>> This configuration
shows nothing (neither symbol nor label)<BR>> <BR>> <BR>>
<BR>> LAYER<BR>> <BR>> NAME
'road_sym'<BR>> <BR>> GROUP
'cartografia'<BR>> <BR>> DATA
'carreteras2'<BR>> <BR>> STATUS DEFAULT<BR>>
<BR>> TYPE ANNOTATION<BR>>
<BR>> CLASSITEM 'MATRICULA'<BR>>
<BR>>
LABELITEM 'MATRICULA'<BR>>
<BR>>
<BR>> <BR>> CLASS<BR>>
<BR>> EXPRESSION 'AP-53'<BR>>
<BR>> STYLE<BR>>
<BR>>
SYMBOL 'AP-53'<BR>>
<BR>>
SIZE 15<BR>>
<BR>>
OUTLINECOLOR 254 254 254<BR>>
<BR>>
END#end symbol<BR>> <BR>> END #end
style<BR>> <BR>> END #end class<BR>> <BR>>
END #end layer<BR>> <BR>> <BR>> <BR>> <BR>>
<BR>> <BR>> <BR>> Thanks in advance.<BR>> <BR>>
<BR>> <BR>> <BR>> <BR>> <BR>> <BR>>
<BR>> <BR>> Hans Castorp<BR>> <BR>> <BR>>
------------------------------------------------------------------------<BR>>
<BR>> ¿Con Mascota por primera vez? - Sé un mejor Amigo<BR>> Entra en
Yahoo! Respuestas <BR><SPAN>> <<A
href="http://es.rd.yahoo.com/evt:51361/*http://es.answers.yahoo.com/dir/index;_ylc=X3oDMTE4ZWhyZjU0BF9TAzIxMTQ3MTQzMjIEc2VjA0Jhbm5lcgRzbGsDQWNxdWlzaXRpb24-?link=over&sid=XXXXXXXX"
target=_blank>http://es.rd.yahoo.com/evt:51361/*http://es.answers.yahoo.com/dir/index;_ylc=X3oDMTE4ZWhyZjU0BF9TAzIxMTQ3MTQzMjIEc2VjA0Jhbm5lcgRzbGsDQWNxdWlzaXRpb24-?link=over&sid=XXXXXXXX</A>>.</SPAN><BR>>
<BR>> <BR>>
------------------------------------------------------------------------<BR>>
<BR>> _______________________________________________<BR>>
mapserver-users mailing list<BR>>
mapserver-users@lists.osgeo.org<BR><SPAN>> <A
href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"
target=_blank>http://lists.osgeo.org/mailman/listinfo/mapserver-users</A></SPAN><BR><BR>--
<BR>Guillaume SUEUR<BR>Expert SIG et OpenSource<BR>NEOGEO<BR>46 RUE
MATABIAU<BR>31000 TOULOUSE<BR>06 74 91 95 20<BR><SPAN>Site web : <A
href="http://www.neogeo-online.net"
target=_blank>http://www.neogeo-online.net</A></SPAN><BR><BR></DIV></DIV><BR>
<HR SIZE=1>
<BR><FONT face=Verdana size=-2>¿Con Mascota por primera vez? - Sé un mejor
Amigo<BR><A
href="http://es.rd.yahoo.com/evt:51361/*http://es.answers.yahoo.com/dir/index;_ylc=X3oDMTE4ZWhyZjU0BF9TAzIxMTQ3MTQzMjIEc2VjA0Jhbm5lcgRzbGsDQWNxdWlzaXRpb24-?link=over&sid=XXXXXXXX">Entra
en Yahoo! Respuestas</A>.<BR></BLOCKQUOTE></FONT></BODY></HTML>