is it possible to extract only the waypoints of a buildung, like shop=supermarket and name=Lidl ?
At the moment i use a script for eleminate the tracks arround the buildng and make a waypoint for that. I only need the waypoint for my navigation app.
Here the code from the wizard:
/*
This has been generated by the overpass-turbo wizard.
The original search was:
“shop=supermarket and name=Lidl”
*/
[out:json][timeout:25];
// gather results
(
// query part for: “shop=supermarket and name=Lidl”
node["shop"="supermarket"]["name"="Lidl"]({{bbox}});
way["shop"="supermarket"]["name"="Lidl"]({{bbox}});
relation["shop"="supermarket"]["name"="Lidl"]({{bbox}});
);
// print results
out body;
>;
out skel qt;
asked
03 Apr '22, 12:12
elmstop
11●1●1●3
accept rate:
0%
Please post the query that you already have.
(You can edit your original question or add a comment, not an answer, please)
out center; may suit you
http://overpass-turbo.eu/s/sgj
note spelling: American center and not English centre
Ok, it works. Thank you