Closed Virtakuono closed 9 years ago
Thanks for your contribution but there is no need to add an additional hardcoded value for the url. Just set the url variable of the Overpass() class to your preferred server as shown in the example below.
import overpy
api = overpy.Overpass()
api.url = "http://overpass.osm.rambler.ru/cgi/interpreter"
result = api.query("... your query ...")
Since the primary overpass instance has been down for some time now, I made a workaround to use overpass.osm.rambler.ru that still seems to be online