postgresOSM: postgresOSM

Description Usage Arguments Value Author(s) Examples

View source: R/getOSM.R

Description

Import OSM/PBF file to PostgreSQL.

Usage

1
postgresOSM(input, dblist)

Arguments

input

The input file path (Must be in .osm or .pbf format)

dblist

A list with database credentials.

Value

The osmosis call

Author(s)

Sebastian Gatscha

Examples

1
2
3
4
dest <- getOSM(filterby="osm", exclude = "md5", r1 = 2, r2 =13, dest="")
dblist <- list(dbname="test", dbuser="postgres", dbhost="localhost",
               dbport="5432", dbpwd="postgres")
cmd <- postgresOSM(dest, dblist)

YsoSirius/getOSM documentation built on May 28, 2019, 8:59 p.m.