For a given ID, find nearest node (geographical distance)
with given conditions.
find_nearest_node(object, id, condition)
An osmar object
An node ID
Condition for the element to find; see
A node ID or NA
Other finding: find_down,
data("muc", package = "osmar")
id <- find(muc, node(tags(v == "Marienplatz")))
find_nearest_node(muc, id, way(tags(k == "highway" & v == "pedestrian")))
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.