I'm looking at building a simple routing application using pgRouting. I'm running on Windows 10 at the moment but could migrate to Windows Server at some point. I'm trying to figure out how best to import the data for the state of South Australia, Australia.
It seems there are two options to import the data:
- There is an official ESRI shapefile of the road network available from an SA government website. Import this using shp2pgsql.exe, and then build the routing topology using pgr_createTopology().
- Export an OSM file for SA (or perhaps Australia) from OpenStreetMap (downloadfabrik has one). Import this using osm2pgrouting.
Which of these is best?
As far as I can tell, the OSM data for South Australia is actually derived from (or at least incorporates) the official shapefile.
Are there good reasons to go straight to the source (seems slightly easier to import)?
Or has the OSM data been "massaged" in a way that makes it a worthwhile "value-add"?