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

general question to travel_time_matrix? and reverseSearch #291

Open
LeLunZ opened this issue Aug 24, 2022 · 6 comments
Open

general question to travel_time_matrix? and reverseSearch #291

LeLunZ opened this issue Aug 24, 2022 · 6 comments

Comments

@LeLunZ
Copy link

LeLunZ commented Aug 24, 2022

Hello :)

i browsed through the actual R5 Repository and found out that there is a ReverseSearch attribute in the ProfileRequest.

Is it possible to use that attribute with the travel time matrix function?

For calculating the travel time as arrive by matrix and not departure by? With arrive by, I mean Instead of departing at a point, I want an isochrone where I can see how reachable the end point is. So from where (in how much time) I can go to the center of the isochrone.

@LeLunZ
Copy link
Author

LeLunZ commented Aug 25, 2022

After talking with a colleague of mine, I have tried a thing.

I found this guide: https://cran.r-project.org/web/packages/r5r/vignettes/calculating_isochrones.html
and I just reversed origin and destination points, which also gave me the result I wanted (I think)

The thing is instead of doing just one iterations, I know have N iterations :) which isn't that nice
Would it be somehow possible to reverse edge direction? and do it with one iteration?

For more context:
I would like to be able to get a isochrone for up to a 200 kilometer radius area (with max time of 120 minutes).

I actually first found the R5 analysis endpoint which gives me nice isochrones if I use the Header Accept: image/tiff

So, R5 can't do the reverse thing. That's when I found the R5R package.
Is the travel_time_matrix function even the correct function if I want to do this for such a big area?

I would appreciate any help :)

@LeLunZ LeLunZ changed the title possible to use ReverseSearch from R5 in travel_time_matrix? general question to travel_time_matrix? and reverseSearch Aug 25, 2022
@rafapereirabr
Copy link
Member

Hi @LeLunZ . I'm sorry for my late reply. I'm not entirely certain yet, but I believe it might be possible to implement reverseSearch in r5r, so that users can input an arrial_time instead of a departure_time. We will be looking into this in the next few months. Please keep in mind this is not top priority at the moment, it might take some time before we are able to investigate this further

@Torskelgen
Copy link

Hi @rafapereirabr! Any worthwhile status update on using arrival_time instead of departure_time? And keep up with the amazing work you do with this package!

@rafapereirabr
Copy link
Member

Hi @Torskelgen . Thanks for asking. We are currently prioritizing other issues, so it might take a few months before we can tackle this one. Sorry we have our hands tight at the moment. If you have any experience with Jave and feel like you could contribute with this, we would be glad to accept contributions.

@Torskelgen
Copy link

I'm afraid I don't have any experience with Java, otherwise I would have loved to contribute. And I do understand that you prioritize other issues.

@rafapereirabr
Copy link
Member

If there are any potential contributors who know Java and who might want to have a look at this, we would appreciate PR from collaborators

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

3 participants