12 lines
283 B
Python
12 lines
283 B
Python
# -> Prinzip der Trennung von Daten und Logik!
|
|
|
|
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;
|
|
""" |