NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the 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

mel
16225
accept rate: 0%


permanent link

answered 28 Mar '18, 13:53

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
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

mel
16225
accept rate: 0%

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:

×362
×142
×49

question asked: 28 Mar '18, 13:03

question was seen: 3,311 times

last updated: 28 Mar '18, 13:55

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