[mapserver-users] single CLASS object to label all polygons?

Dylan Keon keon at nacse.org
Wed Apr 17 20:37:04 EDT 2002


I have a polygon layer that I've classified using CLASSITEM and a set of
CLASS objects.  I also want to display labels for each polygon.  Do I need
to use a separate LABEL within each class object (I know this will work), or
is it possible to apply a single class object to label all polygons (I'm
having trouble getting this to work)?  I can successfully use an expression
to label all polygons from one class object, but if I put that class object
before the rest of the class objects, it disables the color rendering of
those polygons.  If I put it at the end of the other class objects, the
labels are hidden beneath the rendered colors.

Thanks,
Dylan




More information about the mapserver-users mailing list