Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Trying to export from api.openstreetmap.org rather than api06.dev. #1398

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

Comments

@openstreetmap-trac
Copy link

Reporter: amm
[Submitted to the original trac issue database at 7.36pm, Thursday, 11th December 2008]

When trying to export XML from the api06.dev. test server, it redirects to api.openstreetmap.org, which then fails, as the main server does not support api 0.6 bbox calls yet.

I guess the problem is that the redirect_to in export_controler.rb is hardcoded?

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 9.23pm, Thursday, 11th December 2008]

Yes - it is deliberately hard coded.

I guess we could add an extra constant to the environment to allow the name configured but I'm not sure there's huge amount of point. Clearly this will work when we're live.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant