[mapserver-users] Apply a single label to all the classes in a layer
Mark Volz
MarkVolz at co.lyon.mn.us
Thu Jun 10 07:56:19 PDT 2010
Thank you for your reply.
I should have clarified my needs better. I want the same label to apply to
all classes. I could copy and paste the LABEL section to each class, however
since I plan to deal with many classes that would make it more difficult If I
wanted to modify my label.
Mark Volz
GIS Specialist
Lyon County, MN
507-532-8218
From: TC Haddad [mailto:tchaddad at gmail.com]
Sent: Thursday, June 10, 2010 9:43 AM
To: Mark Volz
Subject: Re: [mapserver-users] Apply a single label to all the classes in a
layer
Mark
I think you can do
EXPRESSION /./
in a single CLASS and it will work for all values in that field. Technically
it works for all "remaining" values in a field not previously specified, so
you could define a few specific classes to be unique, and then use the above
to symbolize the rest, if that was something you wanted.
hope that helps,
Tanya
On Thu, Jun 10, 2010 at 7:21 AM, Mark Volz <MarkVolz at co.lyon.mn.us> wrote:
Hello,
I have a layer that contains many different classes. Can we apply a single
label to all the classes in a layer?
For Example can we make a map file like this:
LAYER
CLASS
EXPRESSION
STYLE
CLASS
EXPRESSION
STYLE
....
LABEL #for all classes
COLOR
...
END #Layer
As opposed to making a layer file like this:
LAYER
CLASS
EXPRESSION
STYLE
LABEL
CLASS
EXPRESSION
STYLE
LABEL
...
END #Layer
Thanks
Mark Volz
GIS Specialist
Lyon County, MN
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100610/465cacb7/attachment.htm>
More information about the MapServer-users
mailing list