[mapserver-users] Starting label from start-line

Daniel Morissette dmorissette at mapgears.com
Thu Sep 27 07:55:46 PDT 2012


On 12-09-27 10:50 AM, Lime, Steve D (DNR) wrote:
>
> One thing to try would be using the REPEATDISTANCE parameter and giving it a ridiculously large value (in pixels). That might place just a single label at the beginning of a line and no others.
>

IIRC repeatdistance will start from the center of the line anyway, to 
give precedence in the labelcache to the labels closer to the middle of 
the line over those at the ends, so that won't work.

See 
http://trac.osgeo.org/mapserver/attachment/ticket/3030/label_algorithm.gif

-- 
Daniel Morissette
http://www.mapgears.com/
Provider of Professional MapServer Support since 2000



More information about the mapserver-users mailing list