convertOSM: convertOSM

Description Usage Arguments Value Author(s) Examples

View source: R/getOSM.R

Description

Basic Interface to osmconvert.

Usage

1
2
3
convertOSM(destfin, ext = "osm", cm = FALSE, cb = FALSE,
  cw = FALSE, bbox = NULL, fname = NULL, poly = NULL,
  osmconvert = "osmconvert")

Arguments

destfin

The input file path

ext

Output format

cm

Include –complete-multipolygons

cb

Include –complete-boundaries

cw

Include –complete-ways

bbox

Cut out the result via bbox

fname

Output file name

poly

Cut out the result via a .poly-file

osmconvert

Name of the executable. Default is 'osmconvert'

Value

The osmconvert call.

Author(s)

Sebastian Gatscha

Examples

1
2
dest <- getOSM(filterby="osm", exclude = "md5", r1 = 2, r2 =13, dest="")
convertOSM(dest, cm=T, cb = F, cw = F, fname = "capverde4", ext = "pbf")

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