#6542 closed enhancement (fixed)
[Patch] option to download relation without its members for "Download object" dialog
Reported by: | Zverikk | Owned by: | team |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | relation, download, related | Cc: |
Description (last modified by )
- Open "Download object" (Ctrl+Shift+O) dialog.
- For example, enter relation id 1439589 and uncheck all checkboxes (including "download related").
- Download.
What's expected: one downloaded relation
What's happened: one downloaded relation + 16 child relations + all ways in those 16 relations + all nodes for all ways in those relations.
Seems like "download related" checkbox does not work.
Also, is there a way for this example to download only parent relation + 16 child relations, without their members? It was the default behaviour about 400 builds ago with checked "download related".
Attachments (1)
Change History (10)
comment:1 by , 14 years ago
comment:2 by , 13 years ago
Same opinion as Zverikk - when I want only one relation and no members I should get only what I wanr. What is the purpose of the checkbox if the behavior of the programm is always the same - when the checkbox is checked and when iy is not... Try to work with relation that groups the borders of the regions of Russian Federation (83 relations with hundreds of members) and you will understand that it is hard to do it now, when I have to download ALL that stuff.
follow-up: 4 comment:3 by , 13 years ago
Summary: | Download object -> download related checkbox does not work → option to download relation without its members for "Download object" dialog |
---|---|
Type: | defect → enhancement |
The checkbox does change the program behaviour, but simply not in the way you expect. This option decides, whether parent ways and relations should be downloaded. Relation members and way nodes are always included, there is no checkbox for this.
Maybe there is a problem with the translation?
comment:4 by , 13 years ago
Replying to bastiK:
Maybe there is a problem with the translation?
What about:
- renaming "Download Referrers" to "Download Parent Relations" and
- adding "Download Members" as additional option?
by , 13 years ago
Attachment: | 6542.patch added |
---|
comment:5 by , 13 years ago
Summary: | option to download relation without its members for "Download object" dialog → [Patch] option to download relation without its members for "Download object" dialog |
---|
Patch attached:
- renames "Download Referrers" to "Download referrers (parent relations and ways)"
- introduces checkbox "Download relation members"
Please take a look at the patch!
comment:6 by , 13 years ago
Description: | modified (diff) |
---|
"downloadprimitive.full" is not saved to preferences, but otherwise I see nothing wrong with this.
comment:9 by , 13 years ago
I saw the result of this patch, and I now agree that I made an incorrect ticket: the downloaded relation is useless. It should be: "What's expected: one downloaded relation and 16 relations it references, without their members". In other words, there should be a single "download members" on that relation.
Replying to Zverikk:
What is "download related"? Do you mean "download referrers"? Checking this option downloads parent relations / ways. Usually we get complains, when members are missing, so I think the current behaviour is best as default. We could add more option, but it gets a little complicated.
Ctrl+L >
http://api.openstreetmap.org/api/0.6/relation/1439589
then in Relationlist: Right click > Download members.