[openstreetmap/openstreetmap-website] Use settings for hardcoded URLs in Export (Issue #7215)

Lee Kindness notifications at github.com
Tue Jul 7 20:37:28 UTC 2026


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/7215 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260707/0ec4bedc/attachment.htm>


More information about the rails-dev mailing list