split two labels

percy percyd at PDX.EDU
Tue Nov 14 09:50:17 EST 2006


Can you use that same keyword to label something with "boilerplate" 
text, like 
TEXT ("Route number: "[route_num])

One of my students was trying to get something like this working 
yesterday, and I thought it should be possible...
Thx,
Percy

Michael Schulz wrote:
> Hi,
>
> not sure, if I understood the question correctly, but you can label
> one point with several attribute values, using the TEXT keyword in the
> class section of your mapfile:
> TEXT ([ATTRIBUTE1] - [ATTRIBUTE2])
>
> I don't think you can actually define 2 labelpositions within one
> layer. But you could use one layer to show the geometry with one label
> and e.g. an annotation layer for the other attribute label.
>
> HTH, Michael
>
>
> On 11/14/06, Humberto Cereser Ibanez 
> <humberto at pastoraldacrianca.org.br> wrote:
>> Hi,
>>
>> I want to show two labels, one to the left (LL) and another one to 
>> the right (LR), separate for a hyphen.
>>
>> Is there a way to visually split two labels?
>>
>> example 123 - 4
>>
>> Thanks
>>
>> Humberto Cereser Ibanez
>> Pastoral da Criança
>> Curitiba - PR
>>
>
>



More information about the mapserver-users mailing list