Skip to main content
Question

How to convert extract from OpenStreetMap into a routable dataset?

  • March 4, 2019
  • 2 replies
  • 52 views

nicholas
Contributor
Forum|alt.badge.img+14

I have downloaded the OpenStreetMap file for Australia and successfully extracted the road geometry (tagged as "highway").

I want to use this as the Network input for the ShortestPathFinder transformer.

What other transformations should I do to clean up the dataset? For example, the line geometries are typically not broken at intersections, but I think that they should be.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

fmelizard
Safer
Forum|alt.badge.img+20
  • Safer
  • 3719 replies
  • March 4, 2019

Hi @nicholas You can check the topology with a TopologyBuilder or use an Intersector to check for nodes which have only one element in the list - meaning that they're dangles. An Intersector also creates intersections, of course. You might also want to use the LineExtender, Snapper, and/or the AnchoredSnapper to fix any gaps in the network.


david_r
Celebrity
  • 8394 replies
  • March 4, 2019

If you end up using the TopologyBuilder or Intersector to break up geometries at intersections, just be careful when considering e.g. bridges and tunnels, otherwise the ShortestPathFinder may give you some improbable results.