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

New measure: Bicycle infrastructure #10

Closed
mpadge opened this issue Apr 25, 2023 · 3 comments
Closed

New measure: Bicycle infrastructure #10

mpadge opened this issue Apr 25, 2023 · 3 comments

Comments

@mpadge
Copy link
Member

mpadge commented Apr 25, 2023

Use dodgr::dodgr_dists_categorical() calculation with edges in 3 categories of:

  1. Perfect for bicycles (green, parks, separated bicycle ways);
  2. Okay for bicycles (bicycle lanes alongside traffic); or
  3. Unsuited (in vehicular traffic without bicycle lanes).

Weight those respectively 1, 0.5, and 0, add the categorical weights along all ways from each point out to distances of 5 and 10 km, and convert to proportional distances. Average over all to get metric of local bicycle infrastructure. That will then simply need to be converted to metric of "bicycle unsuitability", as 1 - metric, so that lower values are good like all other UTA stats.

@mpadge
Copy link
Member Author

mpadge commented Apr 26, 2023

tag weight
highway=cycleway 1
cycleway=track/lane/opposite_lane 1
cycleway:left=track/lane/opposite_lane 1
cycleway:right=track/lane/opposite_lane 1
bicycle=use_sidepath 1
bicycle=designated 1
cycleway=share_busway 0.5
highway=living_street/residential/path 0.5
cycleway=shared/shoulder 0

@mpadge
Copy link
Member Author

mpadge commented Apr 27, 2023

dodgr::weight_streetnet() has now been updated to return all bicycle-relevant columns, ready to use to address this issue.

@mpadge
Copy link
Member Author

mpadge commented May 2, 2023

Re-opening to include this statistic in the output of uta_export()

@mpadge mpadge reopened this May 2, 2023
mpadge added a commit that referenced this issue May 2, 2023
@mpadge mpadge closed this as completed in 7e8efbb May 3, 2023
mpadge added a commit that referenced this issue May 3, 2023
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

1 participant