[OSM-talk] Rendering of Place Names in Mapnik

Karl Newman siliconfiend at gmail.com
Thu Dec 18 00:37:19 GMT 2008


On Wed, Dec 17, 2008 at 4:33 PM, Scott Atwood <scott.roy.atwood at gmail.com>wrote:

> On Wed, Dec 17, 2008 at 4:20 PM, Karl Newman <siliconfiend at gmail.com>wrote:
>>
>> I looked a bit at the osm.xml file for Mapnik. It currently orders them by
>> the place tag hierarchy (city, town, suburb, village, hamlet/locality), but
>> there doesn't seem to be any sorting within equal hierarchies (which is
>> probably why you see Daly City instead of San Francisco at certain zooms).
>> Ideally it could do this by population, with a bonus for capitals. The
>> documentation for Mapnik indicates that it supports value comparisons, but
>> it looks like the population would have to be stored in a column. Anyway,
>> that seems like it would be the way to go.
>>
>
> I don't think simple population ranking is necessarily the best option.
>  There are other, more subjective factors that are important as well.  For
> instance, San Francisco is smaller in terms of both population and land area
> than San Jose, and both are the county seat of their respective counties,
> yet due its economic, cultural, and historical importance, San Francisco
> should trump San Jose in case of a rendering collision.
> -Scott
>

That's the sort of thing automated renderers have difficulty sorting out.
Maybe we need a tag for cultural value :-P

(I would hazard a guess that San Jose has a larger economic impact, though.)

Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20081217/90af846f/attachment.html>


More information about the talk mailing list