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

For example: I have the way(52360447). It is the building. The are several nodes (organisations) into this building. I was tried to get this nodes by next query: [timeout:10][out:json]; (way(52360447)->.x;node(around.x:10)['name'];); out tags geom;

But, result this query has one wrong organisation from a neighboring building. And I understand why! How can I get those nodes (organisations) only from this buildings(way)?

asked 14 Nov '16, 10:16

Denis_giswork's gravatar image

Denis_giswork
11112
accept rate: 0%

take a look at https://help.openstreetmap.org/questions/47548/overpass-ql-return-all-parks-with-playgrounds-within-polygon

I guess the feature is still not available on the main public servers, I didn't check if it is still available on the dev server mentioned in the answer.

(14 Nov '16, 18:35) maxerickson

Thanks maxerickson! I had seen this link. But those variants don't work for my example. I don't know why( This variant must be working (in my opinion): [bbox:{{bbox}}] [out:json][timeout:1800];

way(52360447); map_to_area->.a; ( node(area.a); ); out; But no((( Maybe you're right! It's not available yet...

(15 Nov '16, 06:24) Denis_giswork

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

question asked: 14 Nov '16, 10:16

question was seen: 1,966 times

last updated: 15 Nov '16, 06:24

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