Skip to content

Conversation

@VillePihlava
Copy link
Contributor

@VillePihlava VillePihlava commented Sep 25, 2025

Summary

This PR adds information about the use of elevators, escalators, and stairs to queries with steps in the GTFS GraphQL API. An important part of this PR is the addition of the StreetDetailsService which is used for storing level and incline information for edges. A build config field is provided to enable/disable storing level and incline info for escalators and stairs. Level info is always stored for elevators.

I also did some refactoring where I felt it was necessary, e.g. in EscalatorProcessor and OsmModule.

Issue

Closes #6829

Unit tests

New tests:

  • EdgeLevelInfoTest.java - a new test class for tests related to storing incline/level information for elevators, escalators, and stairs
  • OsmWayTest.java - small changes to osm way testing
  • StatesToWalkStepsMapperTest.java - test related to escalators/stairs/elevators
  • GraphQLIntegrationTest.java - changing steps test by adding ElevatorUse, EscalatorUse, and StairsUse

Documentation

  • Javadoc
  • Build config field summary

@VillePihlava
Copy link
Contributor Author

This is ready for review

@VillePihlava VillePihlava changed the title Add StreetDetailsService for storing level and incline information for edges Add information about the use of elevators, escalators, and stairs to queries with steps in the GTFS GraphQL API Dec 18, 2025
optionsome
optionsome previously approved these changes Dec 19, 2025
Copy link
Member

@leonardehrenfried leonardehrenfried left a comment

Choose a reason for hiding this comment

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

🎊

…into stairs-escalators-elevators-gtfs-graphql
@VillePihlava
Copy link
Contributor Author

:shipit: 🚀

@VillePihlava VillePihlava added this pull request to the merge queue Dec 19, 2025
Merged via the queue into opentripplanner:dev-2.x with commit ee2c10f Dec 19, 2025
16 checks passed
@VillePihlava VillePihlava deleted the stairs-escalators-elevators-gtfs-graphql branch December 19, 2025 11:35
t2gran pushed a commit that referenced this pull request Dec 19, 2025
t2gran pushed a commit that referenced this pull request Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

+Bump Serialization Id Add this label if you want the serialization id automatically bumped after merging the PR HSL Helsinki Regional Transport Authority !New Feature A functional feature targeting the end user.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improved indoor navigation: Lifts, stairs and escalators

4 participants