Modify

Opened 8 years ago

Closed 2 years ago

#13265 closed enhancement (worksforme)

Auto split changesets with over 10,000 changes

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

Description

In preparation for possible API change https://github.com/openstreetmap/openstreetmap-website/pull/1259 that could impact ongoing imports.

JOSM should automatically create multiple changesets when uploading more than 10k changes. This avoids unnecessarily big changesets.

Attachments (0)

Change History (4)

comment:1 by maning, 8 years ago

JOSM already does this: https://josm.openstreetmap.de/wiki/Help/Action/Upload#ChangesetFull
Should this more obvious in the UI?

maning

comment:2 by planemad, 8 years ago

Current behavior is to show this dialog https://josm.openstreetmap.de/wiki/Help/Action/Upload#ChangesetFull

Any reason why continue upload is not the default behaviour? What are the use cases to use any of the other options, seems like an unnecessary step for the user?

comment:3 by naoliv, 8 years ago

There is already an option to configure the behavior at https://josm.openstreetmap.de/wiki/Help/Action/Upload#Runningaverylargeupload
I don't think that it's necessary to change anything in https://josm.openstreetmap.de/wiki/Help/Action/Upload#ChangesetFull

comment:4 by taylor.smock, 2 years ago

Resolution: worksforme
Status: newclosed

I don't think this is an issue since we do have the ability to split into multiple changesets. In fact, I think we have a ticket somewhere about splitting into multiple changesets more intelligently, i.e.

while (changesetElements.size() < apiMax) {
    Relation next = changedRelations.pop();
    if (getDifferentElements(getRecursiveElements(next)).size() + changesetElements.size() < apiMax) {
        addRecursive(next);
    } else {
        closeCurrentChangeset();
        openNewChangeset();
    }
}

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.