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

LTS and bike #160

Closed
xtimbeau opened this issue Apr 7, 2021 · 11 comments
Closed

LTS and bike #160

xtimbeau opened this issue Apr 7, 2021 · 11 comments

Comments

@xtimbeau
Copy link

xtimbeau commented Apr 7, 2021

Hi guys,

Have you any idea on how it would be possible to calculate distances and time travel using the option of LTS (Level of Traffic Stress) for bike transit. It possible in (the current version of) r5, and can be used for regional analysis in the conveyal GUI.

All the best,

XT

@rafapereirabr
Copy link
Member

Hi @xtimbeau . Only recently I saw this info on Conveyal Analysis documentation, so we have to look a bit further into this.

@mvpsaraiva
Copy link
Collaborator

Hi @xtimbeau. Thanks for the tip, it actually is quite easy to include this feature in r5r. I've did a quick proof of concept, and you can see how setting different values to LTS changes the results in cycle routing:

lts

We are preparing an update to the package for the next few days, to upgrade to R5 6.2, and we'll include this feature.

@xtimbeau
Copy link
Author

xtimbeau commented Apr 8, 2021 via email

@rafapereirabr
Copy link
Member

For the record, there are two posts by the Conveyal team that bring more info on how Bicycle Comfort is addressed by R5: Part 1 and Part 2.

@mvpsaraiva
Copy link
Collaborator

It works for detailed_itineraries() as well:

Screenshot 2021-04-08 at 17 04 27

LTS has an impact on travel times and distances:

LTS Time (min) Distance (km)
1 100 7.4
2 61 8.3
3 53 8.1
4 42 7.2

@mvpsaraiva
Copy link
Collaborator

I've added a max_lts parameter to travel_time_matrix() and detailed_itineraries() functions in the current development version of the package.

Rough examples of how to use them are here: travel time matrix and detailed itineraries

@rafapereirabr
Copy link
Member

@mvpsaraiva , what is the default LTS used by R5 in Conveyal analysis ?

@mvpsaraiva
Copy link
Collaborator

@mvpsaraiva , what is the default LTS used by R5 in Conveyal analysis ?

4, which is the maximum, and means that any road can be used to ride. In other words, a value of 4 means the LTS parameter has no effect.

@rafapereirabr
Copy link
Member

Hmmm. I see. I'm wondering it we should use LST 2 as default. This is the description they included in their post:

  • LTS 1: Tolerable for children. This includes low-speed, low-volume streets, as well as those with separated bicycle facilities (such as parking-protected lanes or cycle tracks).
  • LTS 2: Tolerable for the mainstream adult population. This includes streets where cyclists have dedicated lanes and only have to interact with traffic at formal crossing.
  • LTS 3: Tolerable for “enthused and confident” cyclists. This includes streets which may involve close proximity to moderate- or high-speed vehicular traffic.
  • LTS 4: Tolerable for only “strong and fearless” cyclists. This includes streets where cyclists are required to mix with moderate- to high-speed vehicular traffic.

@mvpsaraiva
Copy link
Collaborator

That's interesting... LTS 2 seems to be much more realistic for regular analyses.
I agree with the change in the default, I think it makes more sense. The only issue is that we will be changing the behaviour of existing code.

@rafapereirabr
Copy link
Member

Closed with commit 7871ea1.

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