[OSM-dev] JOSM: Several tags with same key

Stefan de Konink stefan at konink.de
Thu Apr 2 23:35:38 BST 2009


Matt Amos wrote:
> On Thu, Apr 2, 2009 at 10:33 PM, Stefan de Konink <stefan at konink.de> wrote:
>> Dave Stubbs wrote:
>>> And while currently possible in the database, it doesn't work in the
>>> current API, so you can't actually enter them  :-)
>> Just download an object, duplicate the tag and reupload. Sounds pretty
>> possible to me :)
> 
> ah, if only it were that simple :-)
> 
> the API uses a hash and disallows repeated tags on ways and relations.
> but it uses a list for nodes, so you can easily get duplicate tags by
> the method you describe.

Interesting; I am not convinced but I'll look into it.

>>> In a few weeks time it just becomes official, and any existing ones
>>> will be removed.
>> Hopefully first backupped/renamed for the useful tags.
> 
> duplicate keys are made unique by adding a postfix number. an extra
> tag is also added, so that the modification is documented and can be
> searched for.

Great you don't throw away wikipedia style.


Stefan




More information about the dev mailing list