Search for restaurants around a distance
Hi,
I need the following:
I'm searching for restaurants around "95448 Bayreuth" (Germany) 1000 meters.
This is what I got so far, it works nearly, but it shows also restaurants outside the 1000 meters radius:
[out:json][timeout:25];
// fetch area "Bonn" to search in
{{geocodeArea:95448 Bayreuth}}->.searchArea;
// gather results
(
// query part for: "restaurant"
node(around:1000)["amenity"="restaurant"](area.searchArea);
way["amenity"="restaurant"](area.searchArea);
relation["amenity"="restaurant"](area.searchArea);
);
// print results
out body;
>;
out skel qt;
May you help me with that, please?