oi_get: Get OSM data associated with a particular type of...

Description Usage Arguments Examples

View source: R/get.R

Description

Get OSM data associated with a particular type of infrastructure

Usage

1
oi_get(place, infra_type = NULL, query = NULL, extra_tags = et, ...)

Arguments

place

Description of the geographical area that should be matched with a .osm.pbf file

infra_type

Type of infrastructure, e.g. cycle_infrastructure

query

A character string representing an SQL query to send to oe_get()

extra_tags

Which additional columns, corresponding to OSM tags, should be in the resulting dataset?

...

Arguments passed to oe_get()

Examples

1
2
3
4
highways = oi_get("isle of wight", infra_type = "highway")
cycleways = oi_get("isle of wight", infra_type = "cycle_infrastructure")
plot(cycleways)
cycleways_minimal = oi_get("isle of wight", infra_type = "cycle_infrastructure_minimal")

Robinlovelace/osminfra documentation built on Dec. 18, 2021, 10:56 a.m.