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

# How can I find the nearest node from my point in OSM

 0 I want to get the distance of the nearest node for each amenity such as hospital and bank. Now, I'm using around to get every node in a specific radius. But I don't know how far the nearest hospital or bank is. It can be 5 km, 10 km or more than 100 km. I decide to set it to be infinity if there are no any amenity in the area. This affects my valuation model to have less accuracy. So, I want to get the number of distance no matter how far it is. How can I do that? asked 28 Feb '19, 10:22 Krawan 11●2●2●3 accept rate: 0% Hey did you find a solution to this? I am also trying to do something similar although I can have a set radius instead of infinity. I simply want to find the distance to the nearest hospital from a specific co-ordinate with a given radius. As for your valuation model, Surely over a particular distance, the presence of a hospital or bank does not really have an impact? You could simply set the radius as very high? But you may be going for something completely different here and I may be mistaken. (08 Apr '23, 13:36) Rosh1

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• 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
×205
×85
×63

question asked: 28 Feb '19, 10:22

question was seen: 2,088 times

last updated: 08 Apr '23, 13:47

### Related questions

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