[Mapserver-users] Point display question

Amit S BEHERE abehere at cs.ucsd.edu
Wed Feb 4 20:08:13 EST 2004


Hi all,

I have a mapfile that shows points on a map using a symbol. The points are
in a shapfile which among other things has a field for the rotation angle
for the symbol (i.e the dbf database associated with the shapefile has a
column for rotation angle). Is there a way by which I could display the
symbol rotated at the angle given in the table.

Here is my layer definition:

LAYER
NAME "sewerstructures"
TITLEINDEX vernon_global_index
TITLEITEM FILES
CLASSITEM "Style"
DATA "sewerstructures"
STATUS ON
TYPE POINT
MAXSCALE 32000
MINSCALE 1

CLASS
EXPRESSION ('[STYLE]' eq 'Manhole-Vernon')
COLOR 0 0 0
OUTLINECOLOR 0 0 0
size 9
symbol 1
END
END

Amit Behere.
UCSD.
"Technology doesn't make your life more difficult or easy, it just changes
the rules"......Vishwanathan Anand





More information about the mapserver-users mailing list