powered by
find_nearest_node(object, id, condition)
osmar
find
NA
find_down
find_up
data("muc", package = "osmar") id <- find(muc, node(tags(v == "Marienplatz")))[1] find_nearest_node(muc, id, way(tags(k == "highway" & v == "pedestrian")))
Run the code above in your browser using DataLab