wangi created an issue (openstreetmap/openstreetmap-website#7215)
### Problem
The "too large" export functionality recommends alternative download methods,
currently these URLs are hardcoded in the code. Is there any desire in moving
these to settings?
### Description
In #7208 I had changed just the Overpass URL to use the `overpass_url` setting,
unaware of the split operational reality (dedicated server for queries, using
that setting, another one linked to for exports).
The following settings could be added, and then used in `export.html.erb` in
place of the hardcoded URLs:
- `export_overpass_url`: `https://overpass-api.de/api/map`
- `export_planet_url`: `https://planet.openstreetmap.org/`
- `export_geofabrik_url`: `https://download.geofabrik.de/`
- `export_other_url`: `https://wiki.openstreetmap.org/wiki/Download`
I can work on this if it is seen as a useful enhancement, but wanted to check
if that was the consensus before spending time on it.
### Screenshots
_No response_
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/7215
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev