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

First, I'm using the BasicOSMParser by Panier Avide to obtain the info in Java.

After that, I followed this solution to get all the nodes. I also did some additional testing for triple intersections and unnamed stuff such as roundabouts.

Now, I need to obtain adjacent/precedent intersections, to sort of make a graph of how the intersections connect. Is this possible? After digging, I found this question from 2014, but it does not have answers.

How can I make this graph (not necessarily a graph chart, but the precedence relations) or obtaining/linking intersections?

asked 28 Mar '18, 13:03

mel's gravatar image

accept rate: 0%

permanent link

answered 28 Mar '18, 13:53

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

I also just found this tool: http://osm-traffic.com/index.html It provides information on top of OSM, and can generate the graph in JSON format directly.

permanent link

answered 28 Mar '18, 13:55

mel's gravatar image

accept rate: 0%

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: 28 Mar '18, 13:03

question was seen: 3,000 times

last updated: 28 Mar '18, 13:55

powered by OSQA