Modify

Opened 8 years ago

Last modified 8 years ago

#4203 reopened enhancement

Download a full relation/way when downloading members of a relation

Reported by: delta_foxtrot2 Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

Instead of requesting individual nodes/ways etc wouldn't it be better to just request a full request instead?

eg

http://www.openstreetmap.org/api/0.6/relation/xxxxxxxx/full

Attachments (0)

Change History (6)

comment:1 Changed 8 years ago by bastiK

Resolution: wontfix
Status: newclosed

Why is it better?

When you already have some of the members, this would produce more traffic. Additionally you can get conflicts for these "updated" members, which might be distracting.

Btw. currently you can get a full request by right click on the relation in relation dialog and selecting download members. However I think this will change to download missing members soon.

comment:2 in reply to:  1 ; Changed 8 years ago by delta_foxtrot2

Resolution: wontfix
Status: closedreopened

Replying to bastiK:

Why is it better?

That depends if you are download a few objects or a LOT of objects.

When you already have some of the members, this would produce more traffic.

Actually I'm downloading some big relations at present adding postcode areas and it would produce substantially less traffic and a lot less requests.

Additionally you can get conflicts for these "updated" members, which might be distracting.

You might also get conflicts if you make a change and then upload, it's going to be distracting no matter what, although instead of creating a conflict issue it might be better to prompt the user:

Your action has generated a conflict, do you want to cancel the download, use the information from the server or update the server with your current version?

The conflict resolution at present is horrible, so the confusing part isn't due to conflicts.

Btw. currently you can get a full request by right click on the relation in relation dialog and selecting download members. However I think this will change to download missing members soon.

It already has changed, I'm using the latest version and it no longer seems to have an option to download full.

comment:3 in reply to:  2 ; Changed 8 years ago by anonymous

Btw. currently you can get a full request by right click on the relation in relation dialog and selecting download members. However I think this will change to download missing members soon.

It already has changed, I'm using the latest version and it no longer seems to have an option to download full.

It hasn't changed. See right click menu of the relation list.

Actually I'm downloading some big relations at present adding postcode areas and it would produce substantially less traffic and a lot less requests.

You are right, so maybe we should keep this option. (And put it in the relation edit dialog, as well.)

comment:4 in reply to:  3 Changed 8 years ago by delta_foxtrot2

Replying to anonymous:

It hasn't changed. See right click menu of the relation list.

Sorry, I was talking about the relation editor dialog.

You are right, so maybe we should keep this option. (And put it in the relation edit dialog, as well.)

This is what I thought you meant because it was an option in the relation edit dialog and now it's gone.

comment:5 Changed 8 years ago by delta_foxtrot2

Resolution: worksforme
Status: reopenedclosed

This seems to be fixed

comment:6 Changed 8 years ago by bastiK

Resolution: worksforme
Status: closedreopened

I don't see it is fixed.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as reopened The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to delta_foxtrot2
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.