[OSM-dev] JOSM: Several tags with same key
zerebubuth at gmail.com
Thu Apr 2 23:52:50 BST 2009
On Thu, Apr 2, 2009 at 11:35 PM, Stefan de Konink <stefan at konink.de> wrote:
> Matt Amos wrote:
>> 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.
the Node.from_xml method appends tags into an array:
the way and relation from_xml methods call add_tag_keyval, which makes
a Hash container:
hope that helps,
More information about the dev