[OSM-dev] Restrict key names on order to retain reusability of OSM

SteveC steve at asklater.com
Tue Feb 12 14:33:47 GMT 2008


On 12 Feb 2008, at 01:23, Frederik Ramm wrote:

> Hi,
>
>>> I just have finished a converter of OSM xml format to GML and I
>>> *BOLDLY*suggest to constrain the allowed characters of tags (=
>>> key-names) to the
>>> following XML related set:
>>> 'aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ_' in order  
>>> to retain
>>> reusability.
>
> There is a reason why our data format has
>
> <tag k="keyname" v="value" />
>
> instead of
>
> <keyname>value</keyname>
>
> and that reason is allowing non-XML stuff in the key names. Or at
> least it seems like that could have been a reason. I hope nobody's
> going to come forward and tell me it was just decided over a few beers
> ;-)

Yes. Sorry.

have fun,

SteveC | steve at asklater.com | http://www.asklater.com/steve/






More information about the dev mailing list