From f3bb52e820a0350de562c5027cddc65c50999c0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Tue, 4 Oct 2022 10:59:17 +0200 Subject: [PATCH] feat: we may want to eat fast food on tuesdays --- .bin/tuesday-1800 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.bin/tuesday-1800 b/.bin/tuesday-1800 index 91133e7..081319f 100755 --- a/.bin/tuesday-1800 +++ b/.bin/tuesday-1800 @@ -1,10 +1,11 @@ #!/bin/sh +set -efux expected_max_results=1024 # the upper bound on the number of restaurants -radius=500 +radius=250 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]; );out;' \ | curl -sSL -d @- -X POST http://overpass-api.de/api/interpreter \