-
Notifications
You must be signed in to change notification settings - Fork 100
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
feat: Validate that pathway endpoints have correct types #961
feat: Validate that pathway endpoints have correct types #961
Conversation
* a pathway may not lead to a station (location_type=1); * if a platform has boarding areas, the pathway must be connected to its boarding areas instead of the platform itself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @aababilov for your contribution - one comment in-line regarding the naming of PathwayWrongEndpointTypeNotice
.
main/src/main/java/org/mobilitydata/gtfsvalidator/validator/PathwayEndpointTypeValidator.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 to @lionel-nj comment here, but LGTM otherwise!
It is superseded by PathwayEndpointTypeValidator - see pull MobilityData#961
its boarding areas instead of the platform itself.