I want to add some nodes, ways, relations into downloaded osm xml. Are there any hierarchie? asked 14 Jun '17, 13:36 Edd1337 |
If you're adding objects that are not present in database, you want to use negative integers for them. That's the convention for "object does not exist in database, is to be created". answered 14 Jun '17, 14:14 Piskvor 1
This is also explained here: https://wiki.openstreetmap.org/wiki/OSM_XML#placeholders
(14 Jun '17, 14:20)
scai ♦
But what about generating ids by myself, without sending to the server?
(14 Jun '17, 15:06)
Edd1337
1
Indeed. You generate the negative IDs yourself. You don't need to send them to server at all, if you don't want to add them to OSM.
(14 Jun '17, 15:11)
Piskvor
|