get_osm_node_data: Function to scrape OpenStreetMap's node XML documents for...

Description Usage Arguments Value Author(s) Examples

View source: R/get_osm_node_data.R

Description

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

Usage

1

Arguments

id

OpenStreetMap node ID.

Value

Named list.

Author(s)

Stuart K. Grange

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 

# Get data for a peak in the Yorkshire Dales
get_osm_node_data(312154686)

# Get same data but for another peak in the North York Moors
get_osm_node_data(c(312154686, 1018516271))


## End(Not run)

skgrange/gissr documentation built on Nov. 5, 2019, 2:58 p.m.