I need to generate a new JOSM dataset from data that has arbitrary node,
way relation IDs. What is the correct procedure for creating
primitives with IDs that do not collide with the OSM DB IDs? I tried
making the IDs negative, but this causes an exception.
Thanks in advance for any help.
Hi!
What is the correct procedure for creating
primitives with IDs that do not collide with the OSM DB IDs?
Maybe the quickest way is to open the dataset in JOSM, select all
objects with Ctrl+A, copy them with Ctrl+C, create a new dataset with
Ctrl+N, and paste the copied objects with
On 18/02/2014 14:07, Simon Legner wrote:
Maybe the quickest way is to open the dataset in JOSM, select all
objects with Ctrl+A, copy them with Ctrl+C, create a new dataset with
Ctrl+N, and paste the copied objects with Ctrl+V. Then, to all objects
should be assigned a new ID.
I should have
On 18/02/14 15:41, Malcolm Herring wrote:
I should have mentioned that this is a JOSM plugin doing the operation.
You might find the method
org.openstreetmap.josm.actions.DuplicateAction#actionPerformed helpful
as starting point for further analysis to see how this is done in JOSM core.