<div dir="ltr"><a href="http://mapserver.org/mapfile/symbol.html">http://mapserver.org/mapfile/symbol.html</a> => anchorpoint<br><div><a href="https://github.com/mapserver/msautotest/blob/master/renderers/marker_anchorpoint.map">https://github.com/mapserver/msautotest/blob/master/renderers/marker_anchorpoint.map</a><br>
</div><div><a href="https://github.com/mapserver/msautotest/blob/master/renderers/expected/marker_anchorpoint.png">https://github.com/mapserver/msautotest/blob/master/renderers/expected/marker_anchorpoint.png</a><br></div>
<div><br></div><div>available from version 6.2 onwards.</div><div><br></div><div>--</div><div>thomas</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 1 April 2014 17:38, Dorian CONSTANT <span dir="ltr"><<a href="mailto:dconstant@siig.fr" target="_blank">dconstant@siig.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="FR" link="blue" vlink="purple"><div><p class="MsoNormal" style="margin-bottom:12.0pt"><span><span lang="EN">Hello everyone,</span></span><span lang="EN"> <u></u><u></u></span></p><p class="MsoNormal"><span><span lang="EN">First, excuse</span></span><span><span lang="EN"> </span></span><span><span lang="EN">me for my</span></span><span><span lang="EN"> </span></span><span><span lang="EN">bad</span></span><span><span lang="EN"> </span></span><span><span lang="EN">English. </span></span><span><span lang="EN" style="font-family:Wingdings">J</span></span><span lang="EN"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN"><br><span>I</span> <span>have long</span> <span>identified a problem</span> <span>of rotation of</span> <span>symbols in</span> <span>MapServer</span> <span>when</span> <span>these symbols</span> <span>come from</span> <span>a TrueType font</span> <span>and</span> <span>they</span> <span>are configured</span> <span>as such</span> <span>in the "</span>SYMBOLS.SYM" file. </span><span><u></u><u></u></span></p>
<p class="MsoNormal"><span><span lang="EN">Example</span></span><span lang="EN"> <span>of</span> <span>symbols</span> <span>used in the</span> <span>crosswalks (the font file</span><span> </span><span>is</span><span> </span><span>attached to this message) </span>:</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt;text-autospace:none"><span lang="EN-US" style="font-family:"Courier New"">SYMBOL<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:35.4pt;text-autospace:none"><span lang="EN-US" style="font-family:"Courier New"">  NAME 'voirie_signal_horiz_ponct_pass_pieton'<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt;text-autospace:none">
<span lang="EN-US" style="font-family:"Courier New"">  TYPE TRUETYPE<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt;text-autospace:none"><span lang="EN-US" style="font-family:"Courier New"">  </span><span style="font-family:"Courier New"">FONT siig-voirie<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:35.4pt;text-autospace:none"><span style="font-family:"Courier New"">  ANTIALIAS true<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt;text-autospace:none">
<span style="font-family:"Courier New"">  CHARACTER "f"<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt"><span style="font-family:"Courier New"">END<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span><span lang="EN">The corresponding layer</span></span><span><span lang="EN"> </span></span><span><span lang="EN">is</span></span><span><span lang="EN"> </span></span><span><span lang="EN">defined as</span></span><span><span lang="EN"> </span></span><span><span lang="EN">below under</span></span><span><span lang="EN"> </span></span><span><span lang="EN">MapServer :</span></span><span lang="EN-US" style="color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-family:"Courier New"">LAYER<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-family:"Courier New"">     NAME " Voirie_signal_horizontale_ponct"<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt">
<span lang="EN-US" style="font-family:"Courier New"">     TYPE POINT<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-family:"Courier New"">     STATUS DEFAULT<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-family:"Courier New"">     Postgis<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-family:"Courier New"">     PROCESSING "CLOSE_CONNECTION=DEFER"<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-family:"Courier New"">     DATA "geom from voirie.v_voirie_signal_horiz_ponct USING SRID=2154 USING UNIQUE oid"<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-family:"Courier New"">     [QUERIABLE]<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-family:"Courier New"">     Lambert 93<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-family:"Courier New"">     CLASSITEM "type_signal"<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt">
<span lang="EN-US" style="font-family:"Courier New"">     UNITS meters<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-family:"Courier New"">     SIZEUNITS pixels<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-family:"Courier New"">     MAXSCALEDENOM 1010<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt;text-indent:35.4pt">
<span lang="EN-US" style="font-family:"Courier New"">CLASS<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-family:"Courier New"">          NAME "Passages piétons"<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:70.8pt;text-indent:35.4pt"><span lang="EN-US" style="font-family:"Courier New"">TEXT 'f'<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-family:"Courier New"">          STYLE<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-family:"Courier New"">                SYMBOL "voirie_signal_horiz_ponct_pass_pieton"<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt">
<span lang="EN-US" style="font-family:"Courier New"">                COLOR 1 1 1<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-family:"Courier New"">                OUTLINECOLOR 255 255 255<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-family:"Courier New"">                SIZE 15<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:106.2pt;text-indent:35.4pt">
<span lang="EN-US" style="font-family:"Courier New"">ANGLE45<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-family:"Courier New"">          END<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-family:"Courier New"">     END<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-family:"Courier New"">END<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span><span lang="EN">The problem</span></span><span lang="EN"> <span>is when</span> <span>a</span> <span>rotation</span> <span>is applied to the</span> <span>symbol,</span> <span>MapServer</span> <span>applies</span> <span>rotation</span> <span>from the lower</span> <span>left point of the</span> <span>symbol</span> <span>and not</span> <span>from the central</span> <span>attachment point.</span><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span><span lang="EN">Accordingly</span></span><span lang="EN">, would <span>you know of</span> <span>a specific configuration</span> <span>to be done under</span> <span>MapServer</span> <span>to ensure</span> <span>that</span> <span>it uses</span> <span>the hang</span> <span>central point</span> <span>symbols</span> <span>TRUETYPE</span> <span>as</span> <span>pivot point</span> <span>and not</span> <span>the lower left</span> <span>point of the</span> <span>symbol </span>?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span><span lang="EN">Thank you</span></span><span><span lang="EN"> </span></span><span><span lang="EN">in advance.</span></span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">----------------------------------------------------------------------</span><span><u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Dorian CONSTANT</span></b><span style="font-size:10.0pt;font-family:"Arial","sans-serif""> – Responsable SIG<br>
<b><span style="color:red">SiiG</span></b> (<b><span style="color:red">S</span></b>yndicat <b><span style="color:red">I</span></b>ntercommunal d’<b><span style="color:red">I</span></b>nformation <b><span style="color:red">G</span></b>éographique)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">1005 route de Vénéjan – 30200 Saint-Nazaire<u></u><u></u></span></p><p class="MsoNormal"><u><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Tél</span></u><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">: <a href="tel:04.66.90.58.00" value="+33466905800" target="_blank">04.66.90.58.00</a> – <u>Fax</u>: <a href="tel:04.66.82.98.35" value="+33466829835" target="_blank">04.66.82.98.35</a> – <u>Mail</u>: <u><span style="color:blue"><a href="mailto:dconstant@siig.fr" target="_blank">dconstant@siig.fr</a></span></u> – <u>Web</u>: <span style="color:blue"><a href="http://www.siig.fr/" target="_blank">http://www.siig.fr</a></span><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><img border="0" width="69" height="80" src="cid:image029.jpg@01CF4DCF.089D4F90" alt="Description : Description : Description : logo_siig2"></span><span><u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:18.0pt;font-family:Webdings;color:green">P</span></b><b><span style="font-size:7.5pt;color:yellow">     </span></b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:green">Avant d'imprimer, ayez une pensée pour notre environnement</span><span><u></u><u></u></span></p>
</div></div><br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">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>