Wei-Meng Lee
Feb 17, 2023

--

Hi David, I have updated the code to reflect the changes in OSMnx 1.3.0. The ox.get_nearest_node() is removed in the latest version. In place of it, you should use distance.nearest_nodes() . An example is: ox.distance.nearest_nodes(graph, start_latlng[1],start_latlng[0]).

--

--

Wei-Meng Lee
Wei-Meng Lee

Written by Wei-Meng Lee

ACLP Certified Trainer | Blockchain, Smart Contract, Data Analytics, Machine Learning, Deep Learning, and all things tech (http://calendar.learn2develop.net).

No responses yet