Skip to main content
Question

How to convert extract from OpenStreetMap into a routable dataset?


nicholas
Contributor
Forum|alt.badge.img+13

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.

2 replies

fmelizard
Safer
Forum|alt.badge.img+19
  • Safer
  • 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
  • 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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings