[mapserver-users] LABEL/LEADER examples??

thomas bonfort thomas.bonfort at gmail.com
Tue Jun 11 12:26:22 PDT 2013


There is no limit on layer types. However a leader line/offseted label is
rejected if the line intersects a label-cached feature.

--
tb


On 11 June 2013 20:39, Basques, Bob (CI-StPaul) <bob.basques at ci.stpaul.mn.us
> wrote:

> All,
>
> Oops,nevermind, I figured out my problem, they are only supported on
> POLYGON layers (huh??? Why the limit?).  Hmm, I suppose I could fake a
> POLYGON type in the output.  The data is all point based in PostGIS, So I
> could use an Envelope query of some sort I suppose, but I expect a
> performance hit there of some sort.
>
> Hmm, I'll need to think about this some more . . . I wonder why only
> POLYGONS are supported?  Seems odd.
>
> Bobb
>
>
>
> -----Original Message-----
> From: mapserver-users-bounces at lists.osgeo.org [mailto:
> mapserver-users-bounces at lists.osgeo.org] On Behalf Of Stephen Woodbridge
> Sent: Tuesday, June 11, 2013 1:18 PM
> To: mapserver-users at lists.osgeo.org
> Subject: Re: [mapserver-users] LABEL/LEADER examples??
>
> Bob,
>
> The offset lable with a leader will only be attempted if there is a
> collision with and existing label that requires moving the label to place
> it on the image.
>
> -Steve W
>
> On 6/11/2013 2:14 PM, Basques, Bob (CI-StPaul) wrote:
> > All,
> >
> > Hello, I've been reading up a bit on 6.2.? and was wondering if anyone
> > had a sample of the LABEL/LEADER line mapfile that I could start
> > experimenting from.
> >
> > I want to do something like a billboard label with a leader line to
> > some POINT locations.
> >
> > I tried some real quick tests based on the docs for LEADER, but didn't
> > get any leader lines to appear.  I suspect this might need some
> > tweaking of many mapfile VARs to get it looking the way I want.
> > Longer term, I may need to do some muli-line billboard labels  (if
> possible).
> >
> > I would be glad to put my results back out somewhere public if there
> > is interest.
> >
> > Thanks
> >
> > Bobb
> >
> >
> >
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
> _______________________________________________
> 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/20130611/8b481c8f/attachment.html>


More information about the mapserver-users mailing list