[mapserver-users] Rotate labels based on angle defined in attribute field

Gregor Mosheh gregor at hostgis.com
Tue Mar 18 04:50:34 EDT 2008


Steven De Vriendt wrote:
>   I'd like to rotate my labels based on an angle defined in an attribute field.
>   But I don't know if it's possible to do that in mapserver ?

Sure, it's called "binding" and is all the rage in 5.0  :)

LABEL
   ..blah..
   ANGLE [field]
END

This replaces the old ANGLEITEM keyword from 4.8, so if you're using 4.8 
search the docs for ANGLEITEM.

-- 
Gregor Mosheh / Greg Allensworth, BS, A+
System Administrator
HostGIS cartographic development & hosting services
http://www.HostGIS.com/

"Remember that no one cares if you can back up,
  only if you can restore." - AMANDA


More information about the mapserver-users mailing list