Hello, thanks a lot for that hint.
Wouldn't label_position_tolerance also be good to use? I fear when allowing overlap, the map would be crowded and no background would be visible any more. Best regards, Torsten. Am Montag, 1. Juni 2009 19:39:48 schrieb Dane Springmeyer: > Hey Torsten, > > See the allow_overlap parameter for the TextSymbolizer: > https://trac.mapnik.org/wiki/TextSymbolizer > > Also z-ordering is another way to make sure that capitols are rendered > first. To do this you would essentially play around with sorting your > postgis table records based on state/federal capitols. For more > details see the 'Ordering Matters' section here: > http://mike.teczno.com/notes/mapnik.html > > Dane > > On Jun 1, 2009, at 10:09 AM, Torsten Mohr wrote: > > Hello, > > > > i try to render a map of the world with country names and the > > capitol names > > rendered. > > > > I always understood it that way that mapnik calculates based on some > > rules > > if a name should be shown and then places/renders it if it does not > > overlap > > anything else. Is that correct? > > > > I now try to render it like this (denominator matching and > > TextSymbolizer > > skipped): > > > > # country names > > <Filter>[place] = 'country'</Filter> > > > > # city names > > <Filter>[place] = 'city' and [capital]='yes'</Filter> > > > > > > I now wonder why in USA only Washington is rendered and in Great > > Britain i > > can see Cardiff and Edingurgh but not London? > > In Australia the capitols of the single territories are rendered, > > not just > > Canberra. > > Is the "capitol" attribute handled inconsistently? > > Should there be one for state_capitol and one for federal_capitol? > > > > > > > > In Europe, most capitol names are skipped because they'd overlap the > > country > > names. > > Is there a clever way to render them? Maybe close to where they > > should be > > rendered? And connected with a thin line or an arrow? > > > > > > The map of the world looks really cool, just the names of some > > countries and > > of most capitols are missing, it would be great to get this rendered > > somehow. > > > > > > Thanks for any hints, > > Torsten. > > > > > > _______________________________________________ > > 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

