Modify

Opened 15 years ago

Closed 12 years ago

#1912 closed enhancement (fixed)

Feature to download from mirrors

Reported by: avarab@… Owned by: framm
Priority: minor Milestone:
Component: Core Version: latest
Keywords: Cc:

Description (last modified by Don-vip)

The OSM server will whine if I request a bbox bigger than 0.25. It would be nice if JOSM could optionally take the action of dividing the selected download areas into smaller areas when this is the case & automatically download and merge them.

The GPX "download are around track" feature may be of interest as related already existing functionality.

Attachments (0)

Change History (8)

comment:1 by anonymous, 15 years ago

Resolution: wontfix
Status: newclosed

The reason for restricting downloads of large data sets from server is to reduce server load. JOSM will not work against the interests of the server maintainers.

comment:2 by framm, 15 years ago

Resolution: wontfix
Status: closedreopened

When we have opportunistic locking with API 0.6 though, it would be a good idea though to add support for read-only download servers so that you can choose to download from a mirror and not from the main server, which will then allow requesting larger areas.

I'll re-open the ticket so that we have a reminder of that. It would require splitting the configuration to allow any number of download servers and only one upload server.

comment:3 by framm, 15 years ago

Summary: Feature to automatically divide download areas bigger than 0.25 into smaller areasFeature to download from mirrors

comment:4 by stoecker, 15 years ago

Status: reopenednew

comment:5 by xeen, 15 years ago

Are there any mirrors to test this with?

in reply to:  5 comment:6 by avarab@…, 15 years ago

Replying to xeen:

Are there any mirrors to test this with?

The XAPI doesn't have a 0.25 bbox restriction and is up now. There are probably other servers as well.

comment:7 by Adam Dunn, 13 years ago

I'm not familiar with the internals of JOSM, but this sounds like a really good idea, especially when it comes to reducing load on the main api server. I think it would be a good idea to have xapi mirrors in Europe, US, and Asia, then JOSM and Potlatch could do all their downloading from these read-only servers, thereby reducing load for the upload api server, and downloading could be sped up simply by adding another mirror server. Add on geolocating dns balancing, and editor software could download from xapi.openstreetmap.org, which would redirect to a local server automatically. It'll be a while before OSMF gets around to something like this though.

In the mean time, is there any way to set up downloads from a different server than uploads in JOSM, such as what's mentioned above?

comment:8 by Don-vip, 12 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed

The new "mirrored download" plugin allows it: http://wiki.openstreetmap.org/wiki/JOSM/Plugins/mirrored_download

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
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.