-
Notifications
You must be signed in to change notification settings - Fork 181
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
Not reaching the exact origin/destination locations #1190
Comments
Can't say if there is anybody who can answer this in detail. In principle, the code looks for the nearest link. It does that (I think) by looking for the nearest node and from there going to a link. In your case, it depends a bit on which of the white links can be used by the involved mode ... if all the white links can be used by the mode that you are using, then it should do the right thing (i.e. use the blue path). If this is not the case, I would need more info on what you are doing. Also, the "facility" data structure has a "link" reference. It might be possible to set this by hand. Typically, MATSim will then try to leave the facility via that link. However, it can happen that that link does not treat the necessary mode (e.g. a bicycle cannot enter a motorway). In this case, it falls back on the above approach. There is also a bit of an issue that re the "access point" from the activity location to the network is solved by different mobsims in different ways. The QSim has the access (and egress) point for any link towards the downstream end of the link. This often makes it look weird since travellers first go to the end of the link and then jump "back". A useful reminder is that MATSim's resolution is not higher than the "links" level ... if you need a higher resolution, you need to divide up your links into shorter segments. |
I will try to add links with the facilities and see how that goes. |
Hi
I found that MATSim is not reaching the exact origin/destination locations but stops close by. Sometimes, it stops the other side of a river or an inaccessible obstacle between the locations. Why is that? Is the some kind of tolerance distance involve here?
For example: in this picture, the red route is MATSim. There is an airfield between locations and the route should be the blue one. But MATSim stopped the other side of the airfield. Is there anything to do to solve this?
The text was updated successfully, but these errors were encountered: