'\" -*- coding: UTF-8 -*- .if \n(.g .ds T< \\FC .if \n(.g .ds T> \\F[\n[.fam]] .de URL \\$2 \(la\\$1\(ra\\$3 .. .if \n(.g .mso www.tmac .TH osm2pgrouting 1 "05 June 2021" "" "" .SH NAME osm2pgrouting \- import OpenStreetMap data into a pgRouting database .SH SYNOPSIS 'nh .fi .ad l \fBosm2pgrouting\fR \kx .if (\nx>(\n(.l/2)) .nr x (\n(.l/5) 'in \n(.iu+\nxu \fB-f\fR \fIfile\fR [\fIOPTIONS\fR] 'in \n(.iu-\nxu .ad b 'hy .SH DESCRIPTION \fBosm2pgrouting\fR 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. .SH OPTIONS Help: .TP \*(T<\fB\-\-help\fR\*(T> Produce help message for this version .TP \*(T<\fB\-v\fR\*(T>, \*(T<\fB\-\-version\fR\*(T> Print version string .PP General: .TP \*(T<\fB\-f\fR\*(T> \fIfile\fR, \*(T<\fB\-\-file\fR\*(T> \fIfile\fR Name of the OSM file (Required). .TP \*(T<\fB\-c\fR\*(T> \fIfile\fR, \*(T<\fB\-\-conf\fR\*(T> \fIfile\fR Name of the configuration XML file. (default: /usr/share/osm2pgrouting/mapconfig.xml) .TP \*(T<\fB\-\-schema\fR\*(T> \fIschema\fR Database schema to put tables. blank: defaults to default schema dictated by PostgreSQL search_path. .TP \*(T<\fB\-\-prefix\fR\*(T> \fIprefix\fR Prefix added at the beginning of the table names. .TP \*(T<\fB\-\-suffix\fR\*(T> \fIsuffix\fR Suffix added at the end of the table names. .TP \*(T<\fB\-\-addnodes\fR\*(T> Import the osm_nodes table. .TP \*(T<\fB\-\-clean\fR\*(T> Drop previously created tables. .PP Database options: .TP \*(T<\fB\-d\fR\*(T> \fIname\fR, \*(T<\fB\-\-dbname\fR\*(T> \fIname\fR Name of your database (Required). .TP \*(T<\fB\-U\fR\*(T> \fIname\fR, \*(T<\fB\-\-username\fR\*(T> \fIname\fR Name of the user, which have write access to the database. (default: postgres) .TP \*(T<\fB\-h\fR\*(T> \fIhost\fR, \*(T<\fB\-\-host\fR\*(T> \fIhost\fR Host of your PostgreSQL database. (default: localhost) .TP \*(T<\fB\-p\fR\*(T> \fIport\fR, \*(T<\fB\-\-port\fR\*(T> \fIport\fR Port of your database. (default: 5432) .TP \*(T<\fB\-W\fR\*(T> \fIpassword\fR, \*(T<\fB\-\-password\fR\*(T> \fIpassword\fR Password for database access.