osm2pgrouting tool makes it easy to import OpenStreetMap data and use it with pgRouting. It creates topology automatically and creates tables for feature types and road classes. Features: * Uses XML configuration file to select road types and classes to import. * Creates types and classes tables, which can help to create sophisticated cost functions.