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

Hello,

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

newto_osm
11112
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

bendoSK
1
accept rate: 0%

edited 20 Mar '20, 14:31

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:

×202
×11
×11
×6
×3

question asked: 01 Jul '19, 06:30

question was seen: 1,377 times

last updated: 20 Mar '20, 14:31

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