get_osm_way_data: Function to scrape OpenStreetMap's way XML documents for...

View source: R/get_osm_node_data.R

get_osm_way_dataR Documentation

Function to scrape OpenStreetMap's way XML documents for data.

Description

Function to scrape OpenStreetMap's way XML documents for data.

Usage

get_osm_way_data(id, progress = "none")

Arguments

id

A vector os OpenStreetMap way IDs.

progress

Type of progress bar to display.

Value

Named list or a list of named lists.

Author(s)

Stuart K. Grange

Examples

## Not run: 

# Get data for York Minster
get_osm_way_data(28750371)

# Get data for two ways within a walking route (a relation)
get_osm_way_data(c(52461049, 233498222))


## End(Not run)


skgrange/gissr documentation built on June 20, 2024, 12:02 a.m.