nearest_node | R Documentation |
Find the node in a network that is closest to a target geometry.
nearest_node(network, target)
network |
A network object |
target |
The target geometry |
A node in the network as a simple feature geometry
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.