I have some routable data for testing my pgRouting functions, and everything is fine. Now I have to download some more countries from OSM. I downloaded Germany shape files, but OSM maps are not routable. OK, next step, I found osm2pgrouting Import Tool but it works only on Linux, I need Windows version. Is there any possibility to make OSM map routable on Windows?
|
You may want to take a look at the OSM chapter of the pgRouting workshop: http://workshop.pgrouting.org/chapters/osm2pgrouting.html To import your data on Windows you could try osm2po (http://osm2po.de). It's written in Java, so it may work. |
|||||
|
|
You can also use our OSM converter. It turns the OSM files into SHP, which you can then import into PostGIS (or even better use it with our routing products). In any case the converter is aimed at making OSM routable and highlight errors in the data. Find it at http://www.routeware.dk |
|||||||||||
|
|
I have used OSM2PostGIS for Windows without issue "OSM2PostGIS is a new tool for importing data from the OpenStreetMap XML (.osm) files to a PostgreSQL database with the correct geometry projection, spatial reference (PostGIS), and directed topology for routing (pgRouting). Routing cost calculation is aware of one-way roads, speed limits, etc." http://www.pgrouting.org/docs/tools/osm2PostGIS.html Underdark has made a very good beginners guide. http://underdark.wordpress.com/2011/02/07/a-beginners-guide-to-pgrouting/ |
|||||||||
|
