[josm-dev] Generating new dataset
Malcolm Herring
malcolm.herring at btinternet.com
Tue Feb 18 14:41:21 UTC 2014
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 mentioned that this is a JOSM plugin doing the operation.
The plugin has created the data set with "DataSet data = new DataSet()”
and needs to add primitives with “data.addPrimitive()”. It is the
creation of these primitives that I am unclear of & how to maintain IDs
that are cross-referenced by other primitives in this new datset.
More information about the josm-dev
mailing list