[Mapserver-users] rotating labels
Jon Shorie
jshorie@medinaco.org
Fri, 24 Jan 2003 14:26:32 -0500
I have a project where I am trying to get the roadnames to follow the road (in
other words be rotated in the same direction as the road). Is such a thing
possible. Here is the relevant section of my .map file
LAYER
NAME medcocel
TYPE LINE
STATUS DEFAULT
DATA medcocel
GROUP roads
CLASS
NAME "Medina County Centerlines"
TEMPLATE "medcocel.html"
COLOR 208 159 145
END
HEADER "medcocel_header.html"
FOOTER "medcocel_footer.html"
TOLERANCE 5
DUMP TRUE # allow GML export
METADATA
WMS_TITLE "Centerlines"
WMS_ABSTRACT "Medina County Centerlines"
WMS_SRS "EPSG:26915"
END
END # medcocel
LAYER
NAME medcocel_anno
GROUP roads
MAXSCALE 300000
STATUS DEFAULT
DATA medcocel
TYPE ANNOTATION
LABELITEM "ROADNAME"
CLASS
COLOR 255 255 255
LABEL
POSITION cc
WRAP " "
SIZE MEDIUM
COLOR 0 0 0
END
END
METADATA
WMS_TITLE "County Roads"
WMS_ABSTRACT "County roads. (shields only) Derived from MNDOT roads
layer, see http://deli.dnr.state.mn.us/metadata/full/dotrdln2.html for more
information."
WMS_SRS "EPSG:26915"
END
END # county road annotation
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users