Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new URLs for overpass API #1638

Closed
Zkir opened this issue Nov 11, 2019 · 9 comments
Closed

Add new URLs for overpass API #1638

Zkir opened this issue Nov 11, 2019 · 9 comments
Labels

Comments

@Zkir
Copy link

Zkir commented Nov 11, 2019

There are two urls for overpass api in the app, but both are blocked in Russia currently.

Please add the other ones, listed in https://wiki.openstreetmap.org/wiki/Overpass_API#Public_Overpass_API_instances

especially:
http://overpass.openstreetmap.fr/api/

it is still accessible in Russian Federation.

Also it would be nice to display some error message that web api is not accessible.
Now quests are just not loaded for no apparent reason, so users are confused.

@Zkir Zkir added the bug label Nov 11, 2019
@matkoniecz
Copy link
Member

matkoniecz commented Nov 11, 2019

Note that you can go to settings, advanced section (second entry from the bottom) to switch to alternative overpass server that should be bypassing Russian censorship.

Let me know if more detailed info is needed to find it.

See #1389 for Russia specific issue and for #1523 that proposes a better interface.

It seems that this issue is a duplicate of #1523

#1523 waits for someone to implement this. I plan to do this at some point but first I will finish what I have half-written. So it would be great if someone would make PR for that one.


And for specific http://overpass.openstreetmap.fr/api/ - we are not allowed to use it due to its usage policy. I asked and they are not granting exceptions for OpenStreetMap projects like editors.

And we have no way to limit total usage across all users to

1000 queries per day per "project" (By "project" I mean if you use this API in a smartphone app and you have 10,000 customer querying once per day then you are above the limit).

@Zkir
Copy link
Author

Zkir commented Nov 11, 2019

Hi Mateusz,
Thank you for the quick reply.
I see. So I am not the first and not the last who are reporting this :)
So i guess you can close this one.

So it would be great if someone would make PR for that one.

I will think how I can help here.

Kirill

@mmd-osm
Copy link

mmd-osm commented Nov 19, 2019

What about //overpass.openstreetmap.ru/cgi/ ? This should be usable from Russia, right?

Ignore the error message you're seeing in overpass turbo, there's some issue with multiple Access-Control-Allow-Origin headers that need fixing. Nevertheless, I'm getting results via curl, and they look up to date:

curl -g "https://overpass.openstreetmap.ru/cgi/interpreter?data=%2F*%0AThis%20is%20an%20example%20Overpass%20query.%0ATry%20it%20out%20by%20pressing%20the%20Run%20button%20above%21%0AYou%20can%20find%20more%20examples%20with%20the%20Load%20tool.%0A*%2F%0Anode%0A%20%20%5Bamenity%3Ddrinking_water%5D%0A%20%20%2844.78963254761407%2C-68.5931396484375%2C46.25774588045686%2C-65.9124755859375%29%3B%0Aout%3B"

@westnordost
Copy link
Member

Is it documented somewhere who maintains the server and who may use it?

@mmd-osm
Copy link

mmd-osm commented Nov 19, 2019

I think Roland maintains it, like in the old days with the rambler instance. Try to ping him to get more details. Afair there was some announcement earlier this year, but I don’t recall where I’ve seen it.

@matkoniecz
Copy link
Member

I pinged him (via [email protected])

@mmd-osm
Copy link

mmd-osm commented Nov 20, 2019

It was also announced in weeklyosm 470, probably based on this post: https://forum.openstreetmap.org/viewtopic.php?pid=756811#p756811

@westnordost
Copy link
Member

Any answer, @matkoniecz ?

@matkoniecz
Copy link
Member

No.

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

No branches or pull requests

4 participants