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? 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.

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.
-- 
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

Reply via email to