Closed babu-shanmugam closed 4 years ago
Making libosrmc depend on Python is not a way I want us to go.
libosrmc can and is used in other languages, for example from Rust, Haskell. There is no need to depend on Python when using libosrmc from these languages.
I understand Daniel. Thanks for your time.
Modified the osrmc_route in the library to accept a python dictionary object which eases the usage of the route service from the python binding.
Also added a C++ class to parse the json return value to python dictionary so that it is easy use in the python binding.
Tested against py2 as well py3