Hey Jürgen, Nice summary. Sounds about right to me, with the addition that text labeling can take some extra mapnik-fu.
I'd suggest registering for trac and contributing your knowledge. This will be the easiest way for others to review and improve. What about creating this page: http://trac.mapnik.org/wiki/RenderingPriority Cheers, Dane On Oct 9, 2008, at 10:42 PM, spillocaster wrote: > > OK, I rearranged my XML-config again and now it works! Mmmhh, I'm > sure I had > this config already tested. Sorry, Artem, but I'm still a newbie... > > Summary (also for other users): > > Important for the rendering priority is the arrangement of the three > main > elements in your XML-config: > > - Layers: The first layer in the config is rendered first, the > following > layers are rendered on top of the first. Layers are listed at the > bottom of > your config. > - Styles: The ordering of your styles is unimportant for the rendering > priority. > - Rules: Same as layers. The first rule is applied first, the > following > rules are applied next. > > This concerns labels and geometry. Unlike other software, MapNik > makes no > difference between both. > > Correct me, if I understood something wrong. > > thanks > Jürgen > > > Artem Pavlenko-3 wrote: >> >> >> On 9 Oct 2008, at 11:48, spillocaster wrote: >> >>> >>> I also have problems with placing my labels in the correct way. >>> >>> I understand the function of the painter model, but I don't get the >>> desired >>> result. I want a simple map with labeled streets and city names on >>> top of >>> it. But some city names are missing. I first draw the street layer >>> as lines >>> without labeling, the next layer is the city names pointlayer >>> without >>> styling of the geometry, only labels. Then I load again the street >>> layer >>> with a style only for the labels. According to the painters model, >>> the >>> streetnames should have a lower prority as the city names, because >>> they are >>> drawn last. But this isn't true. Some city names are missing. Does >>> MapNik >>> load the geometry in a cache? >> >> Nope. >> >>> In this case the streetnames are having a >>> higher priority although they are drawn last. >>> >>> Only when I load the city names layer as the first layer, all cities >>> are >>> labeled and some street names are not. Then the labeling is correct, >>> but the >>> map looks horrible, because the street vectors are laying above my >>> city >>> names. >>> >> You shouldn't have to do this. Can you post your *.xml (or Python) >> and >> resulting map so we can investigate further. >> >>> I decided to load the pointlayer with the city names as the first >>> layer with >>> a transparent point style. I wanted to give him a higher priority, >>> because >>> he is loaded first in the cache, but that didn't helped me. >>> >>> Is there any solution or workaround? >>> >>> I hope that I described it clearly. >> >> Please, consider subscribing to this mailing list. >> Cheers >> Artem >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Text-Rendering-Priority-tp18022102p19896448.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 >>> >> >> _______________________________________________ >> Mapnik-users mailing list >> [email protected] >> https://lists.berlios.de/mailman/listinfo/mapnik-users >> >> > -- > View this message in context: > http://www.nabble.com/Text-Rendering-Priority-tp18022102p19912349.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 _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

