osm2pgrouting is a tool for importing OpenStreetMap data into a PostGIS database for use with pgRouting.