[mapserver-users] Starting label from start-line
Lime, Steve D (DNR)
Steve.Lime at state.mn.us
Thu Sep 27 07:50:41 PDT 2012
Steve, I don't think this is possible. The GEOMTRANSFORM is a style-level option geared towards adding arrow heads and stuff like that. It has no bearing on labeling. We'd need a label origin or something like that and I don't know of a way to do that.
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.
Steve
-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Stephen Woodbridge
Sent: Thursday, September 27, 2012 9:37 AM
To: Andrea Peri
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Starting label from start-line
What version of mapserver are you using?
What does your LAYER ... END block look like?
On 9/27/2012 9:55 AM, Andrea Peri wrote:
> Thx for hint.
>
> I try it but seem the LABEL allow only the "labelpnt" and "labelpoly"
> options.
> The "start" option is not allowed for Labels.
>
>
> 2012/9/27 Stephen Woodbridge <woodbri at swoodbridge.com
> <mailto:woodbri at swoodbridge.com>>
>
> On 9/27/2012 4:16 AM, Andrea Peri wrote:
>
> Hi,
>
> try-ing to set labels,
> seem that the labels start always from centerline, and with position
> command is possible draw to left, or to right, or leave center.
> But always from centerline.
> Is possible instead say to mapserver to start the label from
> first point
> of the lines instead of centerpoint ?
>
>
> See this
> http://mapserver.org/mapfile/__symbology/construction.html#__tricks
> <http://mapserver.org/mapfile/symbology/construction.html#tricks>
> geomtransform start/end is what you are looking for.
>
> -Steve W
> _________________________________________________
> 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
> <http://lists.osgeo.org/mailman/listinfo/mapserver-users>
>
>
>
>
> --
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------
>
_______________________________________________
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