[mapserver-users] LABEL/LEADER examples??

Basques, Bob (CI-StPaul) bob.basques at ci.stpaul.mn.us
Tue Jun 11 12:27:50 PDT 2013


Steve,

A little more research . . . it looks like the correct way to approach this is with a Voronoi Polygon set like:

http://www.bostongis.com/PrinterFriendly.aspx?content_name=postgresql_plr_tut02

The problem there though, it that the LEADER function looks like it will auto-anchor at the polygon centroid, not what I was looking for, instead of the actual point I want it to grab.

Hmm, I wonder how a simple bounding box approach to each point would work.  There would be overlapping polygons with this approach, but it might work ok . . .

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





More information about the MapServer-users mailing list