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

Check the distance between first/last stop and first/last shape point #1922

Open
tzujenchanmbd opened this issue Nov 12, 2024 · 0 comments
Open
Labels
new rule New rule to be added status: Needs triage Applied to all new issues

Comments

@tzujenchanmbd
Copy link

tzujenchanmbd commented Nov 12, 2024

Describe the problem

The shape data is presented to end users to help them understand the path taken by the vehicle. The first/last shape points should be close enough to the first/last stops. However, we have observed that some shapes do not depict the accurate starting and ending locations.

Describe the new validation rule

There needs to be threshold value(s) for this proposed rule. E.g.

If [the distance between first stop and first shape point > x meters] OR [the distance between last stop and last shape point > x meters]
Trigger the error (or warning)

It would be great to have analytical insights (distance distribution) before determining threshold value.

Sample GTFS datasets

No response

Severity

There could be different threshold values for error and warning

Additional context

No response

@tzujenchanmbd tzujenchanmbd added new rule New rule to be added status: Needs triage Applied to all new issues labels Nov 12, 2024
@emmambd emmambd added this to the 7.0 Validator Release milestone Nov 12, 2024
@emmambd emmambd removed this from the 7.0 Validator Release milestone Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new rule New rule to be added status: Needs triage Applied to all new issues
Projects
None yet
Development

No branches or pull requests

2 participants