FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

OverpassGatewayTimeout: Server load too high · Issue #132 · DinoTools/python-overpy · GitHub

OverpassGatewayTimeout: Server load too high #132

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL