Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can someone please put their working example? #29

Open
timevariant opened this issue May 19, 2022 · 5 comments
Open

Can someone please put their working example? #29

timevariant opened this issue May 19, 2022 · 5 comments

Comments

@timevariant
Copy link

No description provided.

@ghost
Copy link

ghost commented Jun 18, 2022

that would be nice :)

@wannesm
Copy link
Owner

wannesm commented Jun 20, 2022

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?

@ghost
Copy link

ghost commented Jun 21, 2022

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.

@wannesm
Copy link
Owner

wannesm commented Jun 21, 2022

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.

@ghost
Copy link

ghost commented Jun 28, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants