[OSM-dev] Objects with the same key multiple times?

Robert (Jamie) Munro rjmunro at arjam.net
Tue Oct 2 12:55:30 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Frederik Ramm wrote:
> Hi,
> 
>> The API supports multiple tags with the same key. 
> 
> And always did.

My opinion is that the current state of putting a ";" in a tag name or
value causing the system to break is a serious bug that should be fixed
with some sort of escaping urgently. Alternatively, if a tag value has a
";" in it, the api could turn it into 2 tags internally, then turn it
back when downloaded by JOSM.

I'm of the opinion that multiple tags with the same key is not to be
encouraged. If the API didn't support it and converted them all to ;
separated lists on download, I don't think many things would break.

Robert (Jamie) Munro
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHAjGwz+aYVHdncI0RAgFKAKD9vhJnXg0KCv6Rd6ahSBK+uuoM9wCcD2no
vz8WGdYTE/iHokJy/n6AvKM=
=AUoT
-----END PGP SIGNATURE-----




More information about the dev mailing list