class rendering order...
Steve Lime
Steve.Lime at DNR.STATE.MN.US
Fri Sep 29 10:47:34 PDT 2006
Classes are not used to group features and then render. Instead features
are rendered in the order they are encountered in the data. You have a
couple of options:
1) Sort the data somehow base on road type so that the features you
want drawn last are encountered last in the data (perhaps using
sortshp)
2) separate the data into class specific datasets ahead of time (e.g.
highway shapefile, interstate shapefile)
3) use separate layers
The last case requires multiple passes through the data which can be
expensive. However, it's easy to do so you can check the rendering
effect before committing to the pre-processing options...
Steve
>>> John Cole <john.cole at UAI.COM> 9/29/2006 12:12:06 PM >>>
Hello,
I'm drawing roads with multiple symbols, for example, interstates:
CLASS
EXPRESSION /A1[0-9]/
NAME "Interstate"
STYLE
SYMBOL "circle"
SIZE 19
COLOR
168 137 31
END
STYLE
SYMBOL "circle"
SIZE 15
COLOR 206 228 192
END
END
My issue is that the interstates weave above and below the lower
streets
(see attached image). The street classes are above the interstate
class in
this layer. Is there a way to get all of the styles to render above
the
other classes?
Thanks,
John
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please notify the
sender. This message contains confidential information and is intended
only for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.
More information about the MapServer-users
mailing list