Task 5: split bbox, store .json to disk
This commit is contained in:
1 parent
b1ac6032d1
commit
4f5b5d8dd3
7 files changed
+67
-34
No files matched your search
Whitespace-only changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -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;
|
||||
"""
|
||||
@@ -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;
|
||||
"""
|
||||
Reference in new issue
Block a user