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

Mike Saunt mikesaunt at gmail.com
Wed Jun 18 10:31:39 EDT 2008


Hi Tamas

Thanks for the reply - that causes MapServer to bomb out with a GPF - I'm
running 5.0.0 on Windows (MS4W compilation but through IIS)

Anyone else any ideas?

Kind regards
Mike

2008/6/18 Tamas Szekeres <szekerest at gmail.com>:

> Hi,
>
> According to
>
> http://trac.osgeo.org/mapserver/browser/branches/branch-5-0/mapserver/MIGRATION_GUIDE.TXT
>
> You have to use in your mapfile something like:
>
> LABEL
>  ...
>  ANGLE [OGR:LabelAngle]
> END
>
> Best regards,
>
> Tamas
>
> 2008/6/18 Mike Saunt <mikesaunt at gmail.com>:
> > 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
> >
> >
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080618/91ed6946/attachment-0001.html


More information about the mapserver-users mailing list