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

Hi everyone,

I'm testing in Overpass Turbo with following command:

[out:json];
(node["amenity"="fast_food"](area:3600062484);
rel["amenity"="fast_food"](area:3600062484);
way["amenity"="fast_food"](area:3600062484);
);
out;

I do get results, but not all I'd expect from looking at the map. For example, I'd expect this node - which fulfills the amenity fast_food condition - to be in the area 3600062484 and therefore in the result set amongst others, which unfortunately it isn't.

What am I doing wrong?

Thankful for any help I can get here.

asked 10 Jul '17, 13:49

robmso's gravatar image

robmso
21112
accept rate: 0%


Running your query on the public overpass-turbo instance gives the expected results for me (Kebab TURM is returned).

I have a screen shot if necessary.

permanent link

answered 10 Jul '17, 20:18

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

No need for a screen shot, I believe you - I just cannot replicate the result after testing again now. I assume by "the public overpass-turbo instance" you mean overpass-turbo.eu, which I also use (new to the topic in general, might be wrong here).

Interestingly, when I'm loading the same query as an URI against overpass-api.de ( http://overpass-api.de/api/interpreter?data=[out:json];(node%22amenity%22=%22fast_food%22;rel%22amenity%22=%22fast_food%22;way%22amenity%22=%22fast_food%22;);out; ), I do get a more complete result, as it seems (contains the node used as example, at least).

Since I'll be using that way to access the data for my task, the behavior is acceptable to me - I just would have liked to test queries in Overpass Turbo and do not quite understand what makes my results different to e.g. yours.

(10 Jul '17, 20:33) robmso

yes, overpass-turbo.eu

Really didn't do anything special, just a C&P of your query and then "run".

(10 Jul '17, 20:50) SimonPoole ♦

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:

×483
×290
×213

question asked: 10 Jul '17, 13:49

question was seen: 1,922 times

last updated: 10 Jul '17, 20:50

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