[mapserver-users] Starting label from start-line
Andrea Peri
aperi2007 at gmail.com
Thu Sep 27 08:05:17 PDT 2012
I'm using trunk version 6.2
This is my mapfile:
LAYER
NAME "rt_ofc.disclaimer_sita"
STATUS DEFAULT
TYPE LINE
UNITS percentages
METADATA
....
END
TRANSFORM LL
FEATURE
POINTS 0.02 -0.5 0.98 -0.50 END
TEXT 'blah blah blah'
END
CLASS
NAME "DISCLAIMER"
LABEL
TYPE TRUETYPE
FORCE true
BUFFER 1
COLOR "#FFFFFF25"
ANTIALIAS false
PRIORITY 10
SIZE 130
ANGLE auto
OFFSET 0 -140
FONT "LiberationSansNarrow-Bold"
POSITION LR
REPEATDISTANCE 1000
STYLE
COLOR "#FF0000"
SIZE 10
GEOMTRANSFORM "labelpnt"
END # STYLE
END
END
END
2012/9/27 Stephen Woodbridge <woodbri at swoodbridge.com>
> 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 <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>
>>
>> <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<mapserver-users at lists.osgeo.org>
>> >
>> http://lists.osgeo.org/__**mailman/listinfo/mapserver-__**users<http://lists.osgeo.org/__mailman/listinfo/mapserver-__users>
>>
>> <http://lists.osgeo.org/**mailman/listinfo/mapserver-**users<http://lists.osgeo.org/mailman/listinfo/mapserver-users>
>> >
>>
>>
>>
>>
>> --
>> -----------------
>> Andrea Peri
>> . . . . . . . . .
>> qwerty אטלעש
>> -----------------
>>
>>
>
--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120927/50e9487b/attachment.htm>
More information about the MapServer-users
mailing list