On Wed, Dec 17, 2008 at 4:33 PM, Scott Atwood <span dir="ltr"><<a href="mailto:scott.roy.atwood@gmail.com">scott.roy.atwood@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="gmail_quote">On Wed, Dec 17, 2008 at 4:20 PM, Karl Newman <span dir="ltr"><<a href="mailto:siliconfiend@gmail.com" target="_blank">siliconfiend@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

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

</blockquote></div><div><span style="color: rgb(136, 136, 136);"><br></span></div>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.<div>

<br></div><div>-Scott<br clear="all"></div></blockquote></div><br>That's the sort of thing automated renderers have difficulty sorting out. Maybe we need a tag for cultural value :-P<br><br>(I would hazard a guess that San Jose has a larger economic impact, though.)<br>
<br>Karl<br>