[mapserver-users] Set LABELANGLE [attribute] via Mapscript (6.41)

Fergus McDonald mapserver at schartz.net
Fri Jan 16 06:54:07 PST 2015


I might be missing something in the docs, but how does one set the
labelangle for a mapscript labelObj to an attribute name, the
equivalent of ANGLE [attribute] in the LABEL declaration of the MAP
file?

The angle property of labelObj can only be a float value.

The layer object has a labelangleitem property mentioned in the main
docs, but the "PHP Mapscript Migration Guide" says that this property
was removed as of version 6.


More information about the mapserver-users mailing list