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

0
1

Hi all,

first of all, I am not expecting a complete solution to my following problem but for someone to point me in the right direction would be much appreciated as I am new to OSM and programming in general.

What I am trying to do, is calculating the distance from one given node to several nodes around that one (e.g. The routing distance from point A to all pubs within a 1000m radius)

I do not need a graphical display on a map, but only the data of what nodes are in the area and distances to each.

Identifying the relevant nodes I did on http://overpass-turbo.eu with a <around radius="xxx"/> command. So the next step would be to use the data found with the "around" command to calculate distances.

If anyone could point me toward a program which makes this possible it would really help me a lot!

Thanks in advance!

asked 08 Apr '14, 08:36

qotsa's gravatar image

qotsa
1111
accept rate: 0%

1

Do you want a routed distance or are you happy with a crow's flight distance. The answers are significantly different, with the former being more complex.

(08 Apr '14, 10:53) SK53 ♦

If you want to calculate distances by goinmg via existing ways in the OSM data, see Routing in the OSM wiki.

permanent link

answered 08 Apr '14, 15:55

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

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:

×305
×63

question asked: 08 Apr '14, 08:36

question was seen: 8,659 times

last updated: 08 Apr '14, 15:55

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