powered by
"subset" (x, node_ids = NULL, way_ids = NULL, relation_ids = NULL, ids = list(node_ids = node_ids, way_ids = way_ids, relation_ids = relation_ids), ...)
osmar
node_ids
way_ids
relation_ids
find_up
find_down
data("muc", package = "osmar") id <- find(muc, node(tags(v == "Marienplatz"))) subset(muc, node_ids = id) subset(muc, ids = find_up(muc, node(id)))
Run the code above in your browser using DataLab