diff --git a/engine.py b/engine.py index 1b2f492..d843e26 100755 --- a/engine.py +++ b/engine.py @@ -42,7 +42,7 @@ def fetch_data(brand: str, cache: bool = True) -> list[tuple[float, float]]: api = overpy.Overpass() filters = BRANDS[brand] - query = api.query(f"nwr{filters}; out center;") + query = api.query(f"area[\"name\"=\"Great Britain\"]->.searchArea;nwr{filters}(area.searchArea); out center;") result = []