This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Overpass API: Local interpreter?

0

I’ve installed openstreetmaps API onto a sever and have static requests working as well as http://my_address/api/status giving the correct information. But from here it makes it sound as if I should be able to go to http://my_address/api/ and have an interpreter I can type into, is that supposed to be the case? When I navigate to http://my_address/api/ apache gives an error of “attempt to invoke directory as script /opt/overpass/cgi-bin/" and the web page says "403... You don't have permission to access this resource."

asked 10 Jun '21, 14:21

nbreden's gravatar image

nbreden
266610
accept rate: 0%


One Answer:

1

You don't get a local "Overpass Turbo" instance or any sort of web frontend. But as the document you linked to explains, you can instruct the public Overpass Turbo instance to use your local interpreter: "Go to settings and enter the server as follows: http://{SERVER_ADDRESS}/api/" - SERVER_ADDRESS is your own Overpass server's address.

answered 10 Jun '21, 14:31

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Thank makes so much more sense, thank you!

(10 Jun '21, 14:34) nbreden

Source code available on GitHub .