<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">DFE</b> <span dir="ltr">&lt;<a href="mailto:mimmopasticcio@gmail.com">mimmopasticcio@gmail.com</a>&gt;</span><br>

Date: 2010/9/3<br>Subject: rotation issue using mores symbols for a class<br>To: <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br><br><br>Hi all,<br>using a POINT Layer, I need to use a CLASS with two symbols: i.e. two triangles one inside the other.<br>

<br>I followed the reference [1] and everything work as aspected excepet when I applied a rotation using the ANGLE property: if the ANGLE value isn&#39;t a &quot;standard&quot; value like 0°, 90° etc. the inner shape isn&#39;t centered inside the bigger, see [2].<br>


<br>I&#39;m using Mapserver 5.6.3,<br>following the mapfile part.<br><br>    LAYER<br>        NAME &#39;layer_sht&#39;<br>        TYPE POINT<br>        DUMP true<br>        TEMPLATE fooOnlyForWMSGetFeatureInfo<br>        EXTENT 5 35 25 50<br>


        DATA &#39;../tracks.shp|layerid=0&#39;<br>        METADATA<br>          &#39;ows_title&#39; &#39;layer_sht&#39;<br>        END<br>        STATUS OFF<br>        TRANSPARENCY 100<br>        PROJECTION<br>        &#39;proj=longlat&#39;<br>


        &#39;ellps=WGS84&#39;<br>        &#39;datum=WGS84&#39;<br>        &#39;no_defs&#39;<br>        END<br>        CLASS<br>          NAME &#39;IS_SHT&#39;<br>          EXPRESSION ( &#39;[IS_SHT]&#39; eq &#39;Y&#39; ) )<br>


            STYLE<br>                SYMBOL &quot;triangle3&quot;<br>                #SIZE 16<br>                COLOR 255 0 0<br>                #OUTLINECOLOR 0 0 0<br>                ANGLE [COURSE]<br>            END<br>


            STYLE<br>                SYMBOL &quot;triangle3&quot;<br>                SIZE 8.0 <br>                #OUTLINECOLOR 0 0 0<br>                COLOR 0 0 0<br>                ANGLE [COURSE]<br>            END<br>


        END<br>    END<br><br>What is the best way to paint that symbols?<br>Thanks in advance,<br>Domenico.<br>[1] <a href="http://mapserver.org/mapfile/symbology/construction.html#sym-construction" target="_blank">http://mapserver.org/mapfile/symbology/construction.html#sym-construction</a><br>


[2] <a href="http://shareimage.org/images/jc2mjqtm5mumqrlkvd2u.png" target="_blank">http://shareimage.org/images/jc2mjqtm5mumqrlkvd2u.png</a><br>
</div><br>