mappymatch icon indicating copy to clipboard operation
mappymatch copied to clipboard

Unit test for nearest road

Open nreinicke opened this issue 3 years ago • 0 comments

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.

nreinicke avatar Jun 16 '22 15:06 nreinicke