#3209 closed enhancement (worksforme)
There should be a way to do a full download of selected objects
Reported by: | Daeron | Owned by: | team |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
When downloading all relation members through the relation dialog, the members are downloaded, but any relation they are member of and wasn't already downloaded, is not downloaded. Thus, it would be nice if josm had a feature to download selected object "fully", to get also the relations.
Other uses for this are if you download something from eg. the XAPI, and want also all the relations that the ways are member of. Also if you have broken data (missing nodes in ways, missing objects in relations) this feature could be used to "update" those and making it possible to edit the data without data loss.
Attachments (0)
Change History (9)
follow-up: 2 comment:1 by , 15 years ago
comment:2 by , 15 years ago
Replying to Gubaer:
You can switch to the "Child relations" tab in the relation editor and download all children recursively. In my opinion, this is exactly what you are asking for, isn't it?
Not quite, as that can only be done for one relation at a time. I've sometimes downloaded hundreds of boudnaries from XAPI, and downloading each separately to get the relations associated with them is a pain.
comment:3 by , 15 years ago
Actually, no that feature isn't what I mean, as it only works for relations. What I want is something similiar to ways and nodes, that can be done en masse.
follow-up: 5 comment:4 by , 15 years ago
You can select any primitive you want and then invoke File->Update Selection which will the respective primitives from the server.
What's the difference to what you are looking for?
comment:5 by , 15 years ago
Replying to Gubaer:
You can select any primitive you want and then invoke File->Update Selection which will the respective primitives from the server.
What's the difference to what you are looking for?
The update doesn't do FULL download, ie. it doesn't download the relations that the selected objects are member of.
follow-up: 7 comment:6 by , 15 years ago
Ah, I see: to me FULL download means downloads with the API parameter full
, i.e. GET /api/0.6/nodes/12345678/full
.
These API calls always load children of a primitive, i.e. nodes of a way or members of a
relation.
What you are looking for is an action which loads the parent relations of an arbitrary set of primtives, similar to what you can do in the tab "Parent relations" in the relation editor:
- select primtives
- invoke the action "Download parent relations for primtives"
What is different from File->Download referrers then? This action loads the parent relations of any primtive.
comment:7 by , 15 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Replying to Gubaer:
Ah, I see: to me FULL download means downloads with the API parameter
full
, i.e.GET /api/0.6/nodes/12345678/full
.
These API calls always load children of a primitive, i.e. nodes of a way or members of a
relation.
What you are looking for is an action which loads the parent relations of an arbitrary set of primtives, similar to what you can do in the tab "Parent relations" in the relation editor:
- select primtives
- invoke the action "Download parent relations for primtives"
What is different from File->Download referrers then? This action loads the parent relations of any primtive.
Ah, yes, I had mixed up the /full and /relations in the api, sorry. And yes, the Download referrers (btw, the name is a bit confusing) is what I wanted.
follow-up: 9 comment:8 by , 15 years ago
Do you have a suggestion for a better name?
"Download parent ways and relations?"
comment:9 by , 15 years ago
Replying to Gubaer:
Do you have a suggestion for a better name?
"Download parent ways and relations?"
That would be clearer, yes.
You can switch to the "Child relations" tab in the relation editor and download all children recursively. In my opinion, this is exactly what you are asking for, isn't it?