---------- Forwarded message ----------
From: DFE <[email protected]>
Date: 2010/9/3
Subject: rotation issue using mores symbols for a class
To: [email protected]
Hi all,
using a POINT Layer, I need to use a CLASS with two symbols: i.e. two
triangles one inside the other.
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].
I'm using Mapserver 5.6.3,
following the mapfile part.
LAYER
NAME 'layer_sht'
TYPE POINT
DUMP true
TEMPLATE fooOnlyForWMSGetFeatureInfo
EXTENT 5 35 25 50
DATA '../tracks.shp|layerid=0'
METADATA
'ows_title' 'layer_sht'
END
STATUS OFF
TRANSPARENCY 100
PROJECTION
'proj=longlat'
'ellps=WGS84'
'datum=WGS84'
'no_defs'
END
CLASS
NAME 'IS_SHT'
EXPRESSION ( '[IS_SHT]' eq 'Y' ) )
STYLE
SYMBOL "triangle3"
#SIZE 16
COLOR 255 0 0
#OUTLINECOLOR 0 0 0
ANGLE [COURSE]
END
STYLE
SYMBOL "triangle3"
SIZE 8.0
#OUTLINECOLOR 0 0 0
COLOR 0 0 0
ANGLE [COURSE]
END
END
END
What is the best way to paint that symbols?
Thanks in advance,
Domenico.
[1]
http://mapserver.org/mapfile/symbology/construction.html#sym-construction
[2] http://shareimage.org/images/jc2mjqtm5mumqrlkvd2u.png
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users