Why not ask your question on the new OpenStreetMap Community Forum?


I am trying to develop a query that returns the nearest bounding way of a node.

For example, I pass in Node 5212949758, and get back Way 30612528.

Is this possible with OSM?

Thank you!

asked 01 Jul '19, 06:30

newto_osm's gravatar image

accept rate: 0%

edited 01 Jul '19, 06:39

let's assume that the nearest building is closer than 40, the first one should be the best one. ( node(4190985791); way(around:40.0); ); out geom;

permanent link

answered 20 Mar '20, 14:30

bendoSK's gravatar image

accept rate: 0%

edited 20 Mar '20, 14:31

Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 01 Jul '19, 06:30

question was seen: 1,051 times

last updated: 20 Mar '20, 14:31

powered by OSQA