mirror of
https://github.com/kmein/niveum
synced 2026-03-21 20:31:07 +01:00
feat: we may want to eat fast food on tuesdays
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
set -efux
|
||||||
expected_max_results=1024 # the upper bound on the number of restaurants
|
expected_max_results=1024 # the upper bound on the number of restaurants
|
||||||
radius=500
|
radius=250
|
||||||
|
|
||||||
echo '[out:json];node(id:260050809)->.cbase;
|
echo '[out:json];node(id:260050809)->.cbase;
|
||||||
(
|
(
|
||||||
way(around.cbase:'$radius')[amenity=restaurant];
|
node(around.cbase:'$radius')[amenity=fast_food];
|
||||||
node(around.cbase:'$radius')[amenity=restaurant];
|
node(around.cbase:'$radius')[amenity=restaurant];
|
||||||
);out;' \
|
);out;' \
|
||||||
| curl -sSL -d @- -X POST http://overpass-api.de/api/interpreter \
|
| curl -sSL -d @- -X POST http://overpass-api.de/api/interpreter \
|
||||||
|
|||||||
Reference in New Issue
Block a user