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

accuracy of calculated agent-travel distance (and time)? #39

Open
yosimor opened this issue Nov 17, 2016 · 1 comment
Open

accuracy of calculated agent-travel distance (and time)? #39

yosimor opened this issue Nov 17, 2016 · 1 comment

Comments

@yosimor
Copy link

yosimor commented Nov 17, 2016

If I understand correctly, the distance between a given pair of portals (which indirectly also determines the amount of required travel time) is calculated based upon the simple line-of-sight route, and does not take into account the real-world walking/driving route.

If it were somehow possible to utilize the Google Maps knowledge of the latter [via the Distance Matrix API?] in order to make the calculations more meaningful, that would be most wonderful!

Also, it would be nice if each step of the Agent's plan, in traveling from one link-origin to the next, could show the calculated travel distance (and time) from the previous step.

@jpeterbaker
Copy link
Owner

You are correct about how distances are calculated. I'm not nearly good enough of a programmer to incorporate Google Maps info, but printing travel distance/time to the next portal is certainly possible. I haven't been actively developing this for a while, but I'll leave this on my list of ideas for future improvements.

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

No branches or pull requests

2 participants