Opened 13 years ago

Last modified 13 years ago

#6542 closed enhancement

[Patch] option to download relation without its members for "Download object" dialog — at Version 6

Reported by: Zverikk Owned by: team
Priority: major Milestone:
Component: Core Version: latest
Keywords: relation, download, related Cc:

Description (last modified by bastiK)

  1. Open "Download object" (Ctrl+Shift+O) dialog.
  2. For example, enter relation id 1439589 and uncheck all checkboxes (including "download related").
  3. 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.

r4201

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".

Change History (7)

in reply to:  description comment:1 by bastiK, 13 years ago

Replying to Zverikk:

  1. Open "Download object" (Ctrl+Shift+O) dialog.
  2. For example, enter relation id 1439589 and uncheck all checkboxes (including "download related").
  3. 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.

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.

r4201

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".

Ctrl+L > http://api.openstreetmap.org/api/0.6/relation/1439589

then in Relationlist: Right click > Download members.

comment:2 by anonymous, 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.

comment:3 by bastiK, 13 years ago

Summary: Download object -> download related checkbox does not workoption to download relation without its members for "Download object" dialog
Type: defectenhancement

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?

in reply to:  3 comment:4 by simon04, 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 simon04, 13 years ago

Attachment: 6542.patch added

comment:5 by simon04, 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 bastiK, 13 years ago

Description: modified (diff)

"downloadprimitive.full" is not saved to preferences, but otherwise I see nothing wrong with this.

Note: See TracTickets for help on using tickets.