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. > > [email protected]> wrote: > > Hello, > > > > I have trouble in having my roads properly drawn. [...] > > I want smaller roads (like streets) being drawn before larger roads > > (like highways).
If you use a SQL datasource and you are using the same style for all relevant kinds of roads (as you seem to do, later discerning them by filters inside the one style), then it might also be possible (and maybe easier/clearer) to use an "order by" clause in the SQL statement. The roads are drawn in the order they are returned from the database. Regards, Holger _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

