Learn R Programming

osmar (version 1.1-7)

c.osmar: Combine osmar objects

Description

Combine two or more osmar objects.

Usage

"c" (...)

Arguments

...
osmar objects to be concatenated

Value

An osmar object based on the provided objects

Examples

Run this code
## Not run: 
#     muc <- get_osm(center_bbox(11.575278, 48.137222, 200, 200))
#     o1 <- subset(muc, node_ids = find(muc, node(tags(v == "Marienplatz"))))
#     o2 <- subset(muc, ids = find_down(muc, way(c(96619179, 105071000))))
# 
#     o1
#     o2
#     c(o1, o2)
#   ## End(Not run)

Run the code above in your browser using DataLab