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

1.0.5 NULL Values for "OD Matrix from Layers as Lines" #68

Open
jrbarnard01 opened this issue Aug 8, 2024 · 6 comments
Open

1.0.5 NULL Values for "OD Matrix from Layers as Lines" #68

jrbarnard01 opened this issue Aug 8, 2024 · 6 comments

Comments

@jrbarnard01
Copy link

jrbarnard01 commented Aug 8, 2024

Hello @root676, hoping you could assist me with this. I am trying to use "OD Matrix from Layers as lines" tool to create a shapefile of the fastest optimal routes between each mexican capital.
image
When I run the tool with red_vial (EPSG 6365 - shape file of road system across mexico) as the network layer and the points of each state capital as the start and destination locations, I get a result that has one or two lines displayed with the optimal route, but the rest is NULL. This has worked in the past with the same dataset, so it must be something weird. Could you help me with this? I am using 1.0.5 version of QNEAT but I don't see where I can adjust the tolerance (as mentioned in a previous thread). Here is what my results look like...
image
image

@root676
Copy link
Owner

root676 commented Aug 8, 2024

Hi!
The codebase of QNEAT3 did not change since january 2023. Did you use another version of the road network? This usually happens with mismatching coordinate systems of points and the graph. Other solutions might be to use the builtin QGIS network analysis algorithms (from the processing toolbox) to test if the routing is possible. QNEAT3 and QGIS use the same network analysis library in the background.

@jrbarnard01
Copy link
Author

I reprojected my red_vial layer to EPSG: 4326 and had my point layer to also be EPSG: 4326 and it still didn't not work as intended. Any thoughts as to why this is the case? Interestingly, it worked a couple days ago, but not now. I don't recall changing anything. I will test the "bulletin QGIS network".

@jrbarnard01
Copy link
Author

jrbarnard01 commented Aug 8, 2024

@root676 The issue is with the topology: when I increase the topology, while there a more values that are calculated, the routes are les precise. How can I adjust the settings so it incorporates every state in the calculation while remaining precise in following the red_vial route? Thank you for your time.

@root676
Copy link
Owner

root676 commented Aug 8, 2024

If that is so, then you have an issue with your graph topology. I suggest checking connectivity between graph edges.

@jrbarnard01
Copy link
Author

Would I check the connectivity of the graph edges for the network layer?

@jrbarnard01
Copy link
Author

jrbarnard01 commented Aug 8, 2024

@root676 You are definitely right, I did some more testing and got the same result. However, what's interesting that I did this a few days ago with no systematic changes and it worked perfectly.
image
I wonder what could have changed... Do you have any suggestions of how I can fix this?
Again, I really appreciate you taking the time to look at this. It means a lot.

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