[OSM-talk] capitols
Ben Laenen
benlaenen at gmail.com
Wed Jun 13 11:55:35 BST 2007
On Wednesday 13 June 2007, Martijn van Oosterhout wrote:
> > A renderer would need a hint of the importancy of "Texas" so it can
> > display it differently than, say, Washington.
>
> Two options:
>
> Define country_capital, regional_capital, local_capital and let each
> country work out what maps to where.
>
> Do like HTML and have capital1 as the biggest, capital2 for the next
> level, all the way to capital6 (which would probably never get
> used...).
Or: get the importance of the capital from the importance of what it's
capital of. I guess Texas would have a tag "place=state" so you can use
that info when you have "capital_of=Texas". The same with all other
kinds of divisions. Sure, you need to query the database once more for
that info, but that wouldn't be a problem, right? Having the duplicate
info for each capital would be much worse in a database.
Greetings
Ben
More information about the talk
mailing list