<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">DFE</b> <span dir="ltr"><<a href="mailto:mimmopasticcio@gmail.com">mimmopasticcio@gmail.com</a>></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't a "standard" value like 0°, 90° etc. the inner shape isn't centered inside the bigger, see [2].<br>


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


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


        'ellps=WGS84'<br>        'datum=WGS84'<br>        'no_defs'<br>        END<br>        CLASS<br>          NAME 'IS_SHT'<br>          EXPRESSION ( '[IS_SHT]' eq 'Y' ) )<br>


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


            STYLE<br>                SYMBOL "triangle3"<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>