Hi,
I notice also that the dcumentiation
say of element TEXT on the CLASS section but don't speak anything about the
choice to put the TEXT element in the LABEL section.
Instead it is possible on the mapserver 6.2 and is necessary to have
multiple labels on the same class.
CLASS
NAME 'class-name'
LABEL
TEXT '[field-1]'
..
END
LABEL
TEXT '[field-2]'
..
END
END
Regards,
2012/10/30 Havard Tveite <[email protected]>
> Dear Steve,
>
> FYI, I have now documented the possibility for multiple labels
> in a class (updated the class document in master).
>
> Håvard
>
>
> On 10/30/2012 3:37 PM, Andrea Peri wrote:
>
>> Hi Steve,
>>
>> It work greatly.
>>
>> I was not understand that on a class can put more than one LABEL.
>>
>> Andrea.
>>
>>
>> 2012/10/30 Lime, Steve D (DNR) <[email protected] <mailto:
>> [email protected]**>>
>>
>>
>> A feature can only match 1 class... 6.2 supports multiple labels per
>> class though.
>>
>> Steve
>>
>> ______________________________**__________
>> From:
>> mapserver-users-bounces@lists.**osgeo.org<[email protected]><mailto:
>> mapserver-users-**[email protected]<[email protected]>>
>> [mapserver-users-bounces@**lists.osgeo.org<[email protected]><mailto:
>> mapserver-users-**[email protected]<[email protected]>>]
>> on behalf of Andrea Peri [[email protected] <mailto:[email protected]
>> >]
>>
>> Sent: Tuesday, October 30, 2012 6:20 AM
>> To:
>> [email protected].**org<[email protected]><mailto:
>> mapserver-users@lists.**osgeo.org <[email protected]>>
>>
>> Subject: [mapserver-users] More Labels on a layer
>>
>> Hi,
>> I'm trying to have more distinct label on a single layer,.
>> To do this I try to set
>>
>> a classgroup and three class in that group every class use a distinct
>> label.
>>
>> LAYER
>> ...
>> CLASSGROUP "aaa"
>> ..
>> CLASS
>> GROUP "aaa"
>> LABEL
>> ..
>> TEXT "[FIELD1]"
>> ..
>> END
>> END
>> CLASS
>> GROUP "aaa"
>> LABEL
>> ..
>> TEXT "[FIELD2]"
>> ..
>> END
>> END
>>
>> But seem that mapserver only apply the first class. I see only the
>> FIELD1 label.
>>
>> Perhaps mapserver allow only a label for layer ?
>>
>> Thx,
>>
>>
>> --
>> -----------------
>> Andrea Peri
>> . . . . . . . . .
>> qwerty àèìòù
>> -----------------
>>
>>
>>
>>
>>
>> --
>> -----------------
>> Andrea Peri
>> . . . . . . . . .
>> qwerty àèìòù
>> -----------------
>>
>>
>>
>> ______________________________**_________________
>> mapserver-users mailing list
>> [email protected].**org <[email protected]>
>> http://lists.osgeo.org/**mailman/listinfo/mapserver-**users<http://lists.osgeo.org/mailman/listinfo/mapserver-users>
>>
>
> --
> Håvard Tveite
> Department of Mathematical Sciences and Technology, UMB
> Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY
> Phone: +47 64965483 Fax: +47 64965401 http://www.umb.no/imt/
>
--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users