[OSM-talk] capitols

Martijn van Oosterhout kleptog at gmail.com
Wed Jun 13 07:46:55 BST 2007


On 6/13/07, Dirk-Lüder Kreie <osm-list at deelkar.net> wrote:
> > name=Austin
> > is_in=USA;Texas
> > capital_of=Texas
> >
> > that way you wouldn't need special keys for every different thing that
> > can have a capital, like provinces, states, countries, districts,
> > counties etc.
>
> 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...).

Have a nice day,
-- 
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/




More information about the talk mailing list