Michal,

Andy on the osm list provided a nice explanation that helped me get my mind around mapnik's approach to labeling priority:

http://www.nabble.com/Re%3A-What-about-sharing-basic-rendering-rules-and-using-SLD--p17597502.html
http://www.nabble.com/Re%3A-What-about-sharing-basic-rendering-rules-and-using-SLD--p17599054.html

- dane


On Jun 19, 2008, at 7:54 PM, Michal Migurski wrote:

Hi,

Anyone here have a sense for how Mapnik prioritizes the rendering of
text labels that may conflict with one another?

I have a map with a series of towns on it, some of them major and some
minor. I would like for the major town labels to generally crowd out
the minors town labels, but I'm often seeing situations where the
reverse occurs.

The major town labels are drawn with a larger font size than the minor
town labels. I've tried adjusting layer order so that majors come
before minors, and vice versa, but I still see cases where a crowd of
small labels are drawn in place of one big one.

Is there a way to explicitly or implicitly set rendering priority for
crowds of text labels?

I'm using Mapnik 0.5, build on Debian, and all of my data is coming
from PostGIS.

-mike.

----------------------------------------------------------------
michal migurski- [EMAIL PROTECTED]
                 415.558.1610



_______________________________________________
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

Reply via email to