Scroll to navigation

osm2pgrouting(1) osm2pgrouting(1)

NAME

osm2pgrouting - import OpenStreetMap data into a pgRouting database

SYNOPSIS


osm2pgrouting
-f file [OPTIONS]

DESCRIPTION

osm2pgrouting is a command line tool that makes it easy to import OpenStreetMap data into a pgRouting database. It builds the routing network topology automatically and creates tables for feature types and road classes.

OPTIONS

Help:

Produce help message for this version
Print version string

General:

Name of the OSM file (Required).
Name of the configuration XML file. (default: /usr/share/osm2pgrouting/mapconfig.xml)
Database schema to put tables. blank: defaults to default schema dictated by PostgreSQL search_path.
Prefix added at the beginning of the table names.
Suffix added at the end of the table names.
Import the osm_nodes table.
Drop previously created tables.

Database options:

Name of your database (Required).
Name of the user, which have write access to the database. (default: postgres)
Host of your PostgreSQL database. (default: localhost)
Port of your database. (default: 5432)
Password for database access.
15 August 2021