[Mapserver-dev] Label rotation...

Steve Lime steve.lime at dnr.state.mn.us
Wed Aug 4 01:23:48 EDT 2004


Just ran into an issue with GD. I probably knew about it but never
really considered it a problem until working on a specific issue
recently. Anyway, GD interprets angles in a counter-clockwise fashion.
So, if you take the letter 'A' and rotate it 90 degrees it points west
instead of east. That's counter intuitive if you're used to compass
bearings or if you're using labels for "pointing". The fix, for labels
at least, is to simply negate the angle before passing to GD. What do
folks think?

Note the docs are do not specify a rotation direction...

Steve



More information about the mapserver-dev mailing list