Help:
--help Produce help message for this version
-v, --version
Print version string
General:
-ffile, --filefile
Name of the OSM file (Required).
-cfile, --conffile
Name of the configuration XML file. (default: /usr/share/osm2pgrouting/mapconfig.xml)
--schemaschema
Database schema to put tables. blank: defaults to default schema dictated by PostgreSQL
search_path.
--prefixprefix
Prefix added at the beginning of the table names.
--suffixsuffix
Suffix added at the end of the table names.
--addnodes
Import the osm_nodes table.
--clean
Drop previously created tables.
Database options:
-dname, --dbnamename
Name of your database (Required).
-Uname, --usernamename
Name of the user, which have write access to the database. (default: postgres)
-hhost, --hosthost
Host of your PostgreSQL database. (default: localhost)
-pport, --portport
Port of your database. (default: 5432)
-Wpassword, --passwordpassword
Password for database access.
06 March 2025 osm2pgrouting(1)