engine: filter all searched to Great Britain only
This commit is contained in:
parent
cc02dd122b
commit
23c71ac642
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ def fetch_data(brand: str, cache: bool = True) -> list[tuple[float, float]]:
|
||||||
api = overpy.Overpass()
|
api = overpy.Overpass()
|
||||||
|
|
||||||
filters = BRANDS[brand]
|
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 = []
|
result = []
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue