-
Notifications
You must be signed in to change notification settings - Fork 44
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
I can plot the match results using mmviz.plot_map, but matcher.path_pred_onlynodes is empty. #46
Comments
That sounds odd, yes. Do you have a minimal working example that shows this behavior? Is matcher.path_pred also empty? |
Sorry, I checked later and found that mmviz.plot_map only draws the latitude and longitude of the trip, but does not match the route network information. This code is from a post on the web that I refer to. First set the boundary according to the latitude and longitude
Then get the coordinates of the road center point
Convert the coordinate system of the road network
Convert the road network into a network
Build the network
Introduce the package
where "tmp_gdf" is a table with latitude and longitude, and finally "path" is a list with a tuple of travel latitude and longitude
Matching
mmviz.plot_map only draws the latitude and longitude of the trip, but does not match the route network information. |
You can activate debug output to see (and share) what is happening: https://leuvenmapmatching.readthedocs.io/en/latest/usage/debug.html |
After using mmviz.plot_map, the route matching result map is already drawn.
However, when I want to further observe which routes are matched to the road network, I found that matcher.path_pred_onlynodes is empty.
How can I check which routes of the network are matched?
The text was updated successfully, but these errors were encountered: