[mapserver-users] LABELANGLEITEM in MS 5.0 using OGR:LabelAngle for annotation layer

Mike Saunt mikesaunt at gmail.com
Wed Jun 18 07:35:28 EDT 2008


Hi All

We're trying to get an annotation layer from MapInfo format (text only now
lines, points etc to follow) to render but to use the angle stored in the
MapInfo feature (not from an attribute column) - we used to be able to use
LABELANGLEITEM "OGR:LabelAngle" in v4 but v5 seems to have us stumped as the
bindings seem to only work against fields names

We also found the below in the OGR help but I can't seem to find the correct
syntax

 Special OGR:Label* attributes  Posted by Daniel Morissette at 2007-09-13
07:40
This should probably be added to the docs:

When using CONNECTIONTYPE OGR, there are special attributes called
OGR:LabelText, OGR:LabelAngle and OGR:LabelSize that can be used as
LABELITEM, ANGLE and SIZE in the label definition for your annotation layer.
You can use that as an alternative to using STYLEITEM AUTO.H




Anyone able to help us?

Cheers
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080618/dc52a6ce/attachment-0001.html


More information about the mapserver-users mailing list