2009/1/19 Robert Helvie <[email protected]>: > Hey Sages of OSM, > > Have a look here ... > http://www.openstreetmap.org/?lat=37.1091&lon=127.0778&zoom=12&layers=B000FTF > > Notice how Osan is rendered (under Mapnik) directly behind the Korean text, > yet Songtan is rendered under the Korean text. > > Other than the first is a city and the second a town, there appears to be no > difference in the tagging. Is this multi-line rendering on purpose? Why not > for larger cities too?
It's just the way the map style sheet has been written. The cities are set to never wrap. For towns the name will wrap if the caption gets larger than 20 pixels. I don't know the reason behind this styling. You can see the stylesheet here if you want: http://trac.openstreetmap.org/browser/applications/rendering/mapnik/osm.xml search for the [place] = 'city' part. The wrap_width variable controls whether multiple lines are used. There's no way to actually force a line break though. Dave _______________________________________________ newbies mailing list [email protected] http://lists.openstreetmap.org/listinfo/newbies

