-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
The error is raised with any code I've tested, including the basic example,
ERROR:
Traceback (most recent call last):
File "<input>", line 6, in <module>
File "D:\Python\Python314\Lib\site-packages\overpy\__init__.py", line 189, in query
raise current_exception
overpy.exception.OverpassGatewayTimeout: Server load too high
Code used:
import overpy
api = overpy.Overpass()
# fetch all ways and nodes
result = api.query("""
way(50.746,7.154,50.748,7.157) ["highway"];
(._;>;);
out body;
""")
for way in result.ways:
print("Name: %s" % way.tags.get("name", "n/a"))
print(" Highway: %s" % way.tags.get("highway", "n/a"))
print(" Nodes:")
for node in way.nodes:
print(" Lat: %f, Lon: %f" % (node.lat, node.lon))
Windows 11, Python 3.14
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels