Hi Nicolas, One way to do this would be to create two layers:
- one layer for larger roads. - another layer for streets. Layers are drawn in the order they appear in the xml file. Simply add your 'large road' layer last in the xml file to have it drawn the last. --MB. On Fri, Sep 11, 2009 at 9:01 AM, Nicolas Gillet < [email protected]> wrote: > > Hello, > > I have trouble in having my roads properly drawn. > > I was working at first directly in C++ and I found out how to make it but > with XML I have some troubles. > (especially because depending on where I am in the Globe I have to set > datasource dynamically and defines only styles in XML) > > I want smaller roads (like streets) being drawn before larger roads (like > highways). > Is there a way to set the order in rules inside a style ? > <Style name="raods"> > <Rule> > <Filter>[size] = small</Filter> > <LineSymbolizer>...</LineSymbolizer> > </Rule> > <Rule> > <Filter>[size] = large</Filter> > <LineSymbolizer>...</LineSymbolizer> > </Rule> > </Style> > -> here nothing ensures that larger roads will be drawn last ... > > any tips ? > > thank you > > Nicolas. > > -- > View this message in context: > http://www.nabble.com/roads-are-dripping-tp25403701p25403701.html > Sent from the Mapnik - Users mailing list archive at Nabble.com. > > _______________________________________________ > Mapnik-users mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/mapnik-users > -- Tired of reading blogs? Listen to your favorite blogs at http://www.blogbard.com !!!!
_______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

