[mapserver-users] LABEL/LEADER examples??
Basques, Bob (CI-StPaul)
bob.basques at ci.stpaul.mn.us
Tue Jun 11 12:44:21 PDT 2013
Tb,
OK, good to know. I’ll see what I can come up with as far as making something work then.
Bobb
From: thomas bonfort [mailto:thomas.bonfort at gmail.com]
Sent: Tuesday, June 11, 2013 2:42 PM
To: Basques, Bob (CI-StPaul)
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] LABEL/LEADER examples??
I have no idea why this was documented this way. afaik there's no such limitation in the code.
--
tb
On 11 June 2013 21:30, Basques, Bob (CI-StPaul) <bob.basques at ci.stpaul.mn.us<mailto:bob.basques at ci.stpaul.mn.us>> wrote:
Tb,
This page says only POLYGON layer types are supported:
mapserver.org/mapfile/leader.html<http://mapserver.org/mapfile/leader.html>
Is this old info??
bobb
From: mapserver-users-bounces at lists.osgeo.org<mailto:mapserver-users-bounces at lists.osgeo.org> [mailto:mapserver-users-bounces at lists.osgeo.org<mailto:mapserver-users-bounces at lists.osgeo.org>] On Behalf Of thomas bonfort
Sent: Tuesday, June 11, 2013 2:26 PM
To: Basques, Bob (CI-StPaul)
Cc: mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
Subject: Re: [mapserver-users] LABEL/LEADER examples??
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<mailto: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> [mailto: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<mailto: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<mailto:mapserver-users at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org<mailto: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/8bfdae29/attachment.htm>
More information about the MapServer-users
mailing list