nearest_node function

Find the node in a network that is closest to a target geometry.