mappymatch
mappymatch copied to clipboard
Unit test for nearest road
PR #130 implemented a bugfix for the NxMap.nearest_road method. It would be nice to include a set of unit tests testing this method to make sure that it's returning the nearest road each time.
One idea would be to create a "dummy" road map and then find the nearest to a point using some kind of GIS software.