LeuvenMapMatching icon indicating copy to clipboard operation
LeuvenMapMatching copied to clipboard

Can someone please put their working example?

Open timevariant opened this issue 2 years ago • 5 comments

timevariant avatar May 19 '22 00:05 timevariant

that would be nice :)

dashSIA avatar Jun 18 '22 10:06 dashSIA

If the examples in the docs are not self contained enough. There are fully functional examples, with GPS traces in files, in the tests in ‘test_path_latlon.py’ and ‘test_bugs.py’. These tests also work as functions outside the testing framework. Maybe those help?

wannesm avatar Jun 20 '22 22:06 wannesm

Thank you for your answer. I have tried ‘test_path_latlon.py’ and receive this error: grafik there is no "long" in python 3 as you know. How can I solve this Problem?

I have also another question. I am working with your newsonkrumm-example. Can you please explain, what the function read_map(map_fn) actually does? and how can I see the results of Map-Matching in a plot on an openstreet-Map?

Thanks a lot.

dashSIA avatar Jun 21 '22 14:06 dashSIA

That's an error in the osmread package. You can file an issue for that package. Or maybe set long = int in the referenced file. But not sure that there are not any other error. On our system it works fine.

The OpenStreetMap and various visualisations for the matching can be plotted using plot_map.

wannesm avatar Jun 21 '22 21:06 wannesm

it works. thank you. I have another question: What does the function interpolate_path do? is the Function there to make more data available to work with?

dashSIA avatar Jun 28 '22 12:06 dashSIA