daniel-j-h / libosrmc

Pure C bindings for libosrm
MIT License
18 stars 8 forks source link

Complete request and response parsing for Route service #18

Closed babu-shanmugam closed 4 years ago

babu-shanmugam commented 4 years ago

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

daniel-j-h commented 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.

babu-shanmugam commented 4 years ago

I understand Daniel. Thanks for your time.