Task 5: split bbox, store .json to disk

This commit is contained in:
schmidmarco committed 2026-04-21 20:42:38 +02:00
1 parent b1ac6032d1
commit 4f5b5d8dd3
7 files changed
+67 -34

No files matched your search

View File
Whitespace-only changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+12
View File
@@ -0,0 +1,12 @@
BERGBAHN_QUERY = """
[out:json][timeout:10][maxsize:500000];
(
node["aerialway"="station"]({bbox});
way["aerialway"="station"]({bbox});
node["railway"="funicular"]({bbox});
way["railway"="funicular"]({bbox});
node["railway"="station"]["funicular"="yes"]({bbox});
);
out center body;
"""
+11
View File
@@ -0,0 +1,11 @@
RESTAURANT_QUERY = """
[out:json][timeout:10][maxsize:500000];
(
node["amenity"="restaurant"]({bbox});
way["amenity"="restaurant"]({bbox});
node["amenity"="cafe"]({bbox});
way["amenity"="cafe"]({bbox});
);
out center body;
"""