I have now tried to update the mapfile documentation according
to RFC77.  LABEL EXPRESSION and LABEL TEXT have been added.
Se https://github.com/mapserver/mapserver/issues/4127

Håvard

On 10/30/2012 4:00 PM, Andrea Peri wrote:
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] <mailto:[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]> 
<mailto:[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 <mailto:[email protected]> 
<mailto:[email protected] <mailto:[email protected]>> 
[mapserver-users-bounces@__lists.osgeo.org <mailto:[email protected]> 
<mailto:[email protected] <mailto:[email protected]>>] on behalf of Andrea 
Peri [[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>]

        Sent: Tuesday, October 30, 2012 6:20 AM
        To: [email protected].__org <mailto:[email protected]> 
<mailto:mapserver-users@lists.__osgeo.org <mailto:[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 
<mailto:[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 <tel:%2B47%2064965483> Fax: +47 64965401 
<tel:%2B47%2064965401> http://www.umb.no/imt/




--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------


--
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/
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to