[mapserver-users] More Labels on a layer

Andrea Peri aperi2007 at gmail.com
Tue Oct 30 07:37:53 PDT 2012


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) <Steve.Lime at state.mn.us>

> A feature can only match 1 class... 6.2 supports multiple labels per class
> though.
>
> Steve
>
> ________________________________________
> From: mapserver-users-bounces at lists.osgeo.org [
> mapserver-users-bounces at lists.osgeo.org] on behalf of Andrea Peri [
> aperi2007 at gmail.com]
> Sent: Tuesday, October 30, 2012 6:20 AM
> To: mapserver-users at lists.osgeo.org
> 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 àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20121030/bee0364e/attachment.html>


More information about the mapserver-users mailing list