Opened 4 years ago
Closed 15 months ago
#1912 closed enhancement (fixed)
Feature to download from mirrors
| Reported by: | avar | Owned by: | framm |
|---|---|---|---|
| Priority: | minor | 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 Changed 4 years ago by anonymous
- Resolution set to wontfix
- Status changed from new to closed
comment:2 Changed 4 years ago by framm
- Resolution wontfix deleted
- Status changed from closed to reopened
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 Changed 4 years ago by framm
- Summary changed from Feature to automatically divide download areas bigger than 0.25 into smaller areas to Feature to download from mirrors
comment:4 Changed 4 years ago by stoecker
- Status changed from reopened to new
comment:5 follow-up: ↓ 6 Changed 4 years ago by xeen
Are there any mirrors to test this with?
comment:6 in reply to: ↑ 5 Changed 4 years ago by avar
comment:7 Changed 2 years ago by dunnadam@…
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 Changed 15 months ago by Don-vip
- Description modified (diff)
- Resolution set to fixed
- Status changed from new to closed
The new "mirrored download" plugin allows it: http://wiki.openstreetmap.org/wiki/JOSM/Plugins/mirrored_download



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.