osm2pgrouting1
Import openstreetmap data into a pgrouting database
Usage
FCosm2pgroutingF [0]
FC-fF
[0]
file
[OPTIONS]
Overview
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:
FC
|
Produce help message for this version |
|---|---|
FC
|
Print version string |
General:
- FC
-fF[0] file, FC--fileF[0] file -
Name of the OSM file (Required).
- FC
-cF[0] file, FC--confF[0] file -
Name of the configuration XML file. (default: /usr/share/osm2pgrouting/mapconfig.xml)
- FC
--schemaF[0] schema -
Database schema to put tables. blank: defaults to default schema dictated by PostgreSQL search_path.
- FC
--prefixF[0] prefix -
Prefix added at the beginning of the table names.
- FC
--suffixF[0] suffix -
Suffix added at the end of the table names.
- FC
--addnodesF[0] -
Import the osm_nodes table.
- FC
--cleanF[0] -
Drop previously created tables.
Database options:
FC
|
Name of your database (Required). |
|---|---|
FC
|
Name of the user, which have write access to the database. (default: postgres) |
FC
|
Host of your PostgreSQL database. (default: localhost) |
FC
|
Port of your database. (default: 5432) |
FC
|
Password for database access. |
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.