NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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's gravatar image

elmstop
11113
accept rate: 0%

edited 04 Apr '22, 08:21

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866

1

Please post the query that you already have.

(You can edit your original question or add a comment, not an answer, please)

(03 Apr '22, 20:59) TZorn
2

out center; may suit you
http://overpass-turbo.eu/s/sgj
note spelling: American center and not English centre

(04 Apr '22, 13:11) nevw

Ok, it works. Thank you

(04 Apr '22, 17:22) elmstop

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×71

question asked: 03 Apr '22, 12:12

question was seen: 969 times

last updated: 05 Apr '22, 08:22

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum