-
Notifications
You must be signed in to change notification settings - Fork 51
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
Error during calculation of transition probabilities #21
Comments
Hi, this error will be raised during the calculations of the transitions, where the direction between the two candidates (the start end end point of the transition) on the network will be compared to the direction between corresponding trajectory points. Also the distance on the network between the candidates and the the euclidean distance of the trajectory points are calculated and compared. It can be, that the routing between the candidates is not successful, because they are not connected on the network. If the trajectory is not at the boundary of the network, you could try to decrease the maximum search distance. It could be possible, that at the boundary of the network are some line strings, that are not properly connected to the rest of the network. You can also provide me the data, if possible and allowed, so that I can try to figure out the problem and debug the plugin with you data. Or you could share a screenshot of you trajectory and network in this issue to get some feeling for your data and possible problems. Sincerely, |
20190722043818-56173-data.zip Thank you for your answer. These are the data. |
Hi, thank you for providing the data. The next days I will have a look on it. I hope I can find an answer for your problem until the weekend. Sincerely, |
Hi Christoph, |
How did you reproject your layers? Using the save to-function or via the retroject-function in the toolbox. I am not sure if there are differences for the reprojection, but it could be a good idea to avoid mistakes. I used the function from the toolbox. To create a clean network, I am using the PostGIS-function createTopology(...), i.e. you need a PostgreSQL-/PostGIS-installation. I do not know any similar function in QGIS. But I asked in the QGIS-mailing list about it. I hope somebody knows the solution 😄 |
I got answers from the mailing list. But no plugin or build-in function mentioned in there has the same functionality like the described PostGIS function, sorry 😿 But it is really strange that the same network is working for me, but not for you... |
Yes, it is strange. Basically i have the same problem of @love-freedom777: with the update of the plugin now i don't receive an error message anymore, but the calculation stuck and qgis freeze and crash. I notice that i have no problem if the network is composed of an unique line with just one segment, like this: while the data downloaded directly from OSM have multiple segments, and this in my case creates problems: |
Hi, Please see my last commend in issue #24. I also think, that this is the same problem. The plugin searches possible points (so called candidates) on the network for each feature/dataset/edge of the network for each trajectory point. If your network contains just one single line, the plugin finds only one candidate for each trajectory point. These candidates will be the vertices of the matched trajectory. With such a network, the computation will be fast, but the result will not be very good. Please download the processing model I provided in issue #24 to reduce your network. A description of this model is provided in #issue24. Sincerely, |
I released a new version of the plugin. Now it offers a new function to reduce your network by buffering the trajectory and clip the network using this buffer. With a reduced network the calculations should be faster. Maybe this helps you... Sincerely, |
closed because of inactivity, please reopen this issue if necessary |
Hi, i'm trying to use this plugin, but i keep getting error message.
I have as a network layer an Open Street Map exported from their web site, and a series of GPS points as track layer.
The tool start map matching, but then suddenly stops, giving me this error: "Error during calculation of transition probabilities".
Any suggestion?
The text was updated successfully, but these errors were encountered: