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

Allow SIRI's StopPointRef to refer to a NeTEx scheduled stop point #6397

Open
wants to merge 4 commits into
base: dev-2.x
Choose a base branch
from

Conversation

leonardehrenfried
Copy link
Member

@leonardehrenfried leonardehrenfried commented Jan 17, 2025

Summary

Even though the various documents on SIRI and NeTEx are quite unclear, even contradictory what exactly an EstimatedCall's StopPointRef should refer to, all the experts agree that it a scheduled stop point is probably a better target.

We discussed this at length at https://public.3.basecamp.com/p/TcEEP5WrNZJPBxrJU9GAjint

For this reason, this adds support for SIRI to refer to scheduled stop point.

Issue

#6340

Unit tests

I added some for the EntityResolver and the TimetableRepository.

Documentation

I didn't want to duplicate the documentation for this in several places so I opted to documented it in the innermost layer (TimetableRepository) and link to it in other places.

Bumping the serialization version id

✔️

cc @rcavaliere

@leonardehrenfried leonardehrenfried added the bump serialization id Add this label if you want the serialization id automatically bumped after merging the PR label Jan 17, 2025
@leonardehrenfried leonardehrenfried requested a review from a team as a code owner January 17, 2025 16:28
@leonardehrenfried leonardehrenfried force-pushed the siri-scheduled-stop-point branch from fbeaa89 to 59bf199 Compare January 17, 2025 16:31
@leonardehrenfried leonardehrenfried added the Real-Time Update The issue/PR is related to RealTime updates label Jan 17, 2025
Copy link

codecov bot commented Jan 17, 2025

Codecov Report

Attention: Patch coverage is 88.09524% with 5 lines in your changes missing coverage. Please review.

Project coverage is 69.74%. Comparing base (1030408) to head (59bf199).

Files with missing lines Patch % Lines
...anner/netex/loader/parser/NetexDocumentParser.java 78.57% 1 Missing and 2 partials ⚠️
...lanner/netex/loader/parser/ServiceFrameParser.java 0.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             dev-2.x    #6397   +/-   ##
==========================================
  Coverage      69.73%   69.74%           
- Complexity     18024    18033    +9     
==========================================
  Files           2057     2057           
  Lines          76970    76994   +24     
  Branches        7846     7846           
==========================================
+ Hits           53678    53702   +24     
+ Misses         20545    20544    -1     
- Partials        2747     2748    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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 Real-Time Update The issue/PR is related to RealTime updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant