Skip to content
Vicky Vergara edited this page Mar 18, 2016 · 13 revisions

Welcome to the osm2pgrouting wiki!

Get help

osm2pgrouting --help

Execution starts at: Fri Mar 18 09:33:54 2016

the option '--dbname' is required but missing Allowed options:

Help: --help Produce help message for this version.

General: -f [ --file ] arg Name of your osm file (Required). -c [ --conf ] arg (=/usr/share/osm2pgrouting/mapconfig.xml) Name of your configuration xml file. --schema arg Database schema to put tables. If left blank, defaults to default schema dictated by Postgresql search_path. --prefix arg Prefix added at the beginning of table names. --suffix arg Suffix added at the end of table names. -s [ --skipnodes ] arg (=1) When true: don't import the osm_nodes table. --clean arg (=0) When true: Drop previously created tables.

Database options: -d [ --dbname ] arg Name of your database (Required). -u [ --user ] arg (=postgres) Name of the user, which have write access to the database. -h [ --host ] arg (=localhost) Host of your postgresql database. -p [ --db_port ] arg (=5432) db_port of your database. --passwd arg Password for database access.

Link to OSM tags wiki