NREL / mappymatch

Pure-python package for map matching
http://mappymatch.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
57 stars 19 forks source link

Unit test for nearest road #131

Open nreinicke opened 2 years ago

nreinicke commented 2 years ago

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.