Skip to content

Cost-based accessibility routing for streets - #4163

Merged
leonardehrenfried merged 56 commits into
opentripplanner:dev-2.xfrom
ibi-group:accessibility-score-street
Jun 15, 2022
Merged

leonardehrenfried merged 56 commits into
opentripplanner:dev-2.xfrom
ibi-group:accessibility-score-street

Conversation

@leonardehrenfried

@leonardehrenfried leonardehrenfried commented May 18, 2022 •

Copy link
Copy Markdown
Member

Summary

Building on the work done in #4045, this PR applies the same principles to the on-street routing.

Stairs, elevators and slope now have configurable cost for wheelchair users rather than a hard rejection.

Issue

Relates to #4009

Unit tests

Lots added.

Some other Junit 4 tests where converted to Junit 5.

Documentation

Added.

@leonardehrenfried
leonardehrenfried requested a review from a team as a code owner May 18, 2022 12:27
@leonardehrenfried leonardehrenfried added IBI test IBI Developed by or important for IBI Group labels May 19, 2022
Comment thread src/main/java/org/opentripplanner/model/Trip.java Outdated

@t2gran t2gran left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are some requested changes, I have only looked at a couple of classes so fare.

Is it possible to split this PR into one that have the wheelchair accessibility changes and one that adds the new Sandbox score attributes to the plan domain model.

Comment thread docs/Accessibility.md Outdated
@leonardehrenfried leonardehrenfried added the !Improvement A functional improvement or micro feature label May 19, 2022
@t2gran t2gran added this to the 2.2 milestone May 19, 2022
@leonardehrenfried

Copy link
Copy Markdown
Member Author

In yesterday's dev meeting we agreed that I will split up this PR into three separate ones:

  • Renaming WheelchairBoarding to WheelchairAccessibility
  • Changing the routing code
  • Adding the IBI accessibilityScore for streets

@leonardehrenfried

Copy link
Copy Markdown
Member Author

Anything to do with the IBI accessibility score has been moved out of this PR.

@leonardehrenfried
leonardehrenfried force-pushed the accessibility-score-street branch from e23463a to 2892ce4 Compare May 20, 2022 14:26
@t2gran
t2gran marked this pull request as draft May 24, 2022 08:31
@leonardehrenfried
leonardehrenfried force-pushed the accessibility-score-street branch from 2892ce4 to 4895973 Compare May 24, 2022 10:16
optionsome
optionsome previously approved these changes Jun 9, 2022
Comment thread src/main/java/org/opentripplanner/routing/edgetype/StreetCostEdge.java Outdated
Comment thread src/test/java/org/opentripplanner/routing/edgetype/StreetEdgeTest.java Outdated
Comment thread src/main/java/org/opentripplanner/routing/edgetype/StreetCostEdge.java Outdated

@t2gran t2gran left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is starting to look good now, I made a full review (all classes) this time.

Comment thread src/test/java/org/opentripplanner/routing/edgetype/ElevatorHopEdgeTest.java Outdated
@leonardehrenfried
leonardehrenfried force-pushed the accessibility-score-street branch from 3de546a to 372ff68 Compare June 13, 2022 14:38
@leonardehrenfried
leonardehrenfried force-pushed the accessibility-score-street branch from 372ff68 to c5c4c04 Compare June 13, 2022 14:39
Co-authored-by: Thomas Gran <t2gran@gmail.com>
@leonardehrenfried
leonardehrenfried merged commit 83f99b3 into opentripplanner:dev-2.x Jun 15, 2022
@leonardehrenfried
leonardehrenfried deleted the accessibility-score-street branch June 15, 2022 05:25
t2gran pushed a commit that referenced this pull request Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

IBI Developed by or important for IBI Group !Improvement A functional improvement or micro feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants