<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div><p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-GB">Very thanks,
James<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-GB">This works great, I was
wrong.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-GB"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-GB"><o:p> </o:p></span></font></p>
<div>
<div class="MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr tabindex="-1" align="center" size="2" width="100%">
</span></font></div>
<p class="MsoNormal"><b><font face="Tahoma" size="2"><span style="font-weight: bold; font-size: 10pt; font-family: Tahoma;">De:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> Léveillé,
James [mailto:James.Leveille@mtq.gouv.qc.ca] <br><b><span style="font-weight: bold;">Enviado el:</span></b> jueves, 21 de febrero de 2008
14:45<br><b><span style="font-weight: bold;">Para:</span></b> Hans
Castorp<br><b><span style="font-weight: bold;">Asunto:</span></b> RE :
[mapserver-users] annotation layer</span></font><o:p></o:p></p></div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><o:p> </o:p></span></font></p>
<div>
<p class="MsoNormal"><font color="blue" face="Verdana" size="2"><span style="font-size: 10pt; color: blue; font-family: Verdana;">Hans,</span></font><o:p></o:p></p></div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> <o:p></o:p></span></font></p></div>
<div>
<p class="MsoNormal"><font color="blue" face="Verdana" size="2"><span style="font-size: 10pt; color: blue; font-family: Verdana;">Give it a try
..</span></font><o:p></o:p></p></div>
<div>
<p class="MsoNormal"><font color="blue" face="Verdana" size="2"><span style="font-size: 10pt; color: blue; font-family: Verdana;">It
works.</span></font><o:p></o:p></p></div>
<div>
<p class="MsoNormal"><font color="blue" face="Verdana" size="2"><span style="font-size: 10pt; color: blue; font-family: Verdana;">The LABEL is there
only to force the display of the symbol.</span></font><o:p></o:p></p></div>
<div>
<p class="MsoNormal"><font color="blue" face="Verdana" size="2"><span style="font-size: 10pt; color: blue; font-family: Verdana;">Since the TEXT is
empty (and there is no LABELITEM defined), there will be no label displayed,
only a symbol.</span></font><o:p></o:p></p></div>
<div>
<p class="MsoNormal"><font color="blue" face="Verdana" size="2"><span style="font-size: 10pt; color: blue; font-family: Verdana;">Here is an
example</span></font><o:p></o:p></p></div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> <o:p></o:p></span></font></p></div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> <o:p></o:p></span></font></p></div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><img id="_x0000_i1025" src="cid:image001.jpg@01C874AB.E091A490" height="138" width="181"><o:p></o:p></span></font></p></div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> <o:p></o:p></span></font></p></div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> <o:p></o:p></span></font></p></div>
<div>
<p><font color="navy" face="Arial Black" size="3"><span style="font-size: 12pt; color: navy; font-family: 'Arial Black';" lang="FR-CA">______________________________________________________</span></font><o:p></o:p></p>
<p><strong><b><font color="navy" face="Verdana" size="4"><span style="font-size: 13.5pt; color: navy; font-family: Verdana;" lang="FR-CA">JAMES
LÉVEILLÉ</span></font></b></strong><b><font color="navy" face="Verdana" size="4"><span style="font-weight: bold; font-size: 13.5pt; color: navy; font-family: Verdana;" lang="FR-CA"><br></span></font></b><font color="navy" face="Verdana" size="2"><span style="font-size: 10pt; color: navy; font-family: Verdana;" lang="FR-CA">Service des systèmes
de Mission<br>Direction des technologies de l'information<br>Ministère des
Transports du Québec</span></font><o:p></o:p></p>
<p><font color="navy" face="Verdana" size="2"><span style="font-size: 10pt; color: navy; font-family: Verdana;" lang="FR-CA">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 title="mailto:james.leveille@mtq.gouv.qc.ca" href="mailto:james.leveille@mtq.gouv.qc.ca"><font title="mailto:james.leveille@mtq.gouv.qc.ca" color="navy"><span title="mailto:james.leveille@mtq.gouv.qc.ca" style="color: navy;">james.leveille@mtq.gouv.qc.ca</span></font></a></span></font><o:p></o:p></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> <o:p></o:p></span></font></p></div>
<blockquote style="margin-top: 5pt; margin-bottom: 5pt; margin-right: 0cm;">
<p class="MsoNormal" style="margin-bottom: 12pt;"><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;" lang="FR">-----Message
d'origine-----<br><b><span style="font-weight: bold;">De :</span></b> Hans
Castorp [mailto:hanscastorp76@yahoo.es] <br><b><span style="font-weight: bold;">Envoyé :</span></b> 21 février 2008 07:53<br><b><span style="font-weight: bold;">À :</span></b> Léveillé, James;
guillaume.sueur@neogeo-online.net; mapserver-users@lists.osgeo.org<br><b><span style="font-weight: bold;">Objet :</span></b> RE: [mapserver-users] annotation
layer</span></font><span lang="FR"><o:p></o:p></span></p>
<div>
<div>
<p class="MsoNormal" style=""><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;">Hi,
James<O:P></O:P></span></font><o:p></o:p></p>
<p class="MsoNormal" style=""><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-GB"><O:P></O:P>Thank you
for trying to help me. I think my question was not very clear; what I want is to
get ONLY symbols, not labels.<O:P></O:P></span></font><o:p></o:p></p>
<p class="MsoNormal" style=""><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-GB">I can get only labels
or both labels and symbols, but not only symbols; and this is what I
need.<O:P></O:P></span></font><o:p></o:p></p>
<p class="MsoNormal" style=""><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;" lang="EN-GB"><O:P></O:P>Thanks<O:P></O:P></span></font><o:p></o:p></p><font face="Times New Roman" size="3"><span style="font-size: 12pt; font-family: 'Times New Roman';"><O:P></O:P></span></font>
<div>
<div class="MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr tabindex="-1" align="center" size="2" width="100%">
</span></font></div>
<p class="MsoNormal" style=""><b><font face="Tahoma" size="2"><span style="font-weight: bold; font-size: 10pt; font-family: Tahoma;">De:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> Léveillé,
James [mailto:James.Leveille@mtq.gouv.qc.ca] <br><b><span style="font-weight: bold;">Enviado el:</span></b> jueves, 21 de febrero de 2008
13:31<br><b><span style="font-weight: bold;">Para:</span></b> Hans Castorp;
<ST1:PERSONNAME u1:st="on">guillaume.sueur@neogeo-online.net</ST1:PERSONNAME>;
mapserver-users@lists.osgeo.org<br><b><span style="font-weight: bold;">Asunto:</span></b> RE : [mapserver-users] annotation
layer</span></font><O:P></O:P><o:p></o:p></p></div>
<div>
<p class="MsoNormal" style=""><font color="blue" face="Verdana" size="2"><span style="font-size: 10pt; color: blue; font-family: Verdana;"><O:P></O:P>Try this,
work's fine for me </span></font><O:P></O:P><o:p></o:p></p></div>
<div>
<p class="MsoNormal" style=""><font color="blue" face="Courier New" size="2"><span style="font-size: 10pt; color: blue; font-family: 'Courier New';"><O:P></O:P><O:P></O:P>
LAYER</span></font><O:P></O:P><o:p></o:p></p></div>
<div>
<p class="MsoNormal" style=""><font color="blue" face="Courier New" size="2"><span style="font-size: 10pt; color: blue; font-family: 'Courier New';"><O:P></O:P>
PROJECTION<br> "init=epsg:42105"<br> END<br> METADATA<br>
wms_title "Interdictions aux camions"<br>
END</span></font><O:P></O:P><o:p></o:p></p></div>
<div>
<p class="MsoNormal" style=""><font color="blue" face="Courier New" size="2"><span style="font-size: 10pt; color: blue; font-family: 'Courier New';"><O:P></O:P>
NAME "ert_camns"<br> STATUS ON<br>
DUMP TRUE</span></font><O:P></O:P><o:p></o:p></p></div>
<div>
<p class="MsoNormal" style=""><font color="blue" face="Courier New" size="2"><span style="font-size: 10pt; color: blue; font-family: 'Courier New';"><O:P></O:P>
EXTENT 30000 75000 1700000 2120000<br> MAXSCALE
500000<br> MINSCALE 1<br> TYPE
ANNOTATION</span></font><O:P></O:P><o:p></o:p></p></div>
<div>
<p class="MsoNormal" style=""><font color="blue" face="Courier New" size="2"><span style="font-size: 10pt; color: blue; font-family: 'Courier New';"><O:P></O:P>
DATA
"ert_camns/ert_camns"</span></font><O:P></O:P><o:p></o:p></p></div>
<div>
<p class="MsoNormal" style=""><font color="blue" face="Courier New" size="2"><span style="font-size: 10pt; color: blue; font-family: 'Courier New';"><O:P></O:P>
CLASS<br> SYMBOL "ert_camns"<br> TEXT "
"</span></font><O:P></O:P><o:p></o:p></p></div>
<div>
<p class="MsoNormal" style=""><font color="blue" face="Courier New" size="2"><span style="font-size: 10pt; color: blue; font-family: 'Courier New';"><O:P></O:P>
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</span></font><O:P></O:P><o:p></o:p></p></div>
<div>
<p class="MsoNormal" style=""><font color="blue" face="Courier New" size="2"><span style="font-size: 10pt; color: blue; font-family: 'Courier New';"><O:P></O:P>
END<br> END</span></font><O:P></O:P><o:p></o:p></p></div>
<div>
<p><font color="navy" face="Arial Black" size="3"><span style="font-size: 12pt; color: navy; font-family: 'Arial Black';" lang="FR-CA"><O:P></O:P><O:P></O:P>______________________________________________________</span></font><O:P></O:P><o:p></o:p></p>
<p><strong><b><font color="navy" face="Verdana" size="4"><span style="font-size: 13.5pt; color: navy; font-family: Verdana;" lang="FR-CA">JAMES
LÉVEILLÉ</span></font></b></strong><b><font color="navy" face="Verdana" size="4"><span style="font-weight: bold; font-size: 13.5pt; color: navy; font-family: Verdana;" lang="FR-CA"><br></span></font></b><font color="navy" face="Verdana" size="2"><span style="font-size: 10pt; color: navy; font-family: Verdana;" lang="FR-CA">Service des systèmes
de Mission<br>Direction des technologies de l'information<br>Ministère des
Transports du Québec</span></font><O:P></O:P><o:p></o:p></p>
<p><font color="navy" face="Verdana" size="2"><span style="font-size: 10pt; color: navy; font-family: Verdana;" lang="FR-CA">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 title="mailto:james.leveille@mtq.gouv.qc.ca" href="mailto:james.leveille@mtq.gouv.qc.ca"><font title="mailto:james.leveille@mtq.gouv.qc.ca" color="navy"><span title="mailto:james.leveille@mtq.gouv.qc.ca"><span title="mailto:james.leveille@mtq.gouv.qc.ca" style="color: navy;">james.leveille@mtq.gouv.qc.ca</span></span></font></a></span></font><O:P></O:P><o:p></o:p></p></div>
<blockquote style="margin-top: 5pt; margin-bottom: 5pt; margin-right: 0cm;">
<p class="MsoNormal" style="margin-bottom: 12pt;"><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;" lang="FR"><O:P></O:P>-----Message
d'origine-----<br><b><span style="font-weight: bold;">De :</span></b>
mapserver-users-bounces@lists.osgeo.org
[mailto:mapserver-users-bounces@lists.osgeo.org] <b><span style="font-weight: bold;">De la part de</span></b> Hans Castorp<br><b><span style="font-weight: bold;">Envoyé :</span></b> 21 février 2008 05:58<br><b><span style="font-weight: bold;">À :</span></b> <ST1:PERSONNAME u1:st="on">guillaume.sueur@neogeo-online.net</ST1:PERSONNAME>;
mapserver-users@lists.osgeo.org<br><b><span style="font-weight: bold;">Objet :</span></b> RE: [mapserver-users] annotation
layer</span></font><o:p></o:p></p><O:P></O:P>
<div>
<div>
<p class="MsoNormal" style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">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:<ST1:PERSONNAME u1:st="on">guillaume.sueur@neogeo-online.net</ST1:PERSONNAME>] <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>> <<a title="http://es.rd.yahoo.com/evt:51361/*http:/es.answers.yahoo.com/dir/index;_ylc=X3oDMTE4ZWhyZjU0BF9TAzIxMTQ3MTQzMjIEc2VjA0Jhbm5lcgRzbGsDQWNxdWlzaXRpb24-?link=over&sid=XXXXXXXX" 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>>.<br>>
<br>> <br>>
------------------------------------------------------------------------<br>>
<br>> _______________________________________________<br>> mapserver-users
mailing list<br>> mapserver-users@lists.osgeo.org<br>> <a title="http://lists.osgeo.org/mailman/listinfo/mapserver-users" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><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>Site web : <a title="http://www.neogeo-online.net/" href="http://www.neogeo-online.net/" target="_blank">http://www.neogeo-online.net</a><O:P></O:P><o:p></o:p></span></font></p></div></div></blockquote></div></div></blockquote></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></font> </body></html>