Skip to content

Check the distance between two adjacent shape points #1923

Open

Description

Describe the problem

Shape data is presented to end users to help them understand the path taken by a vehicle. The path between two adjacent shape points will appear as a straight line. However, over sufficiently long distances, it’s hard to believe that a vehicle would maintain a perfectly straight trajectory. Some shape files may only set two shape points between two stops, which does not accurately depict the actual (non-straight) path.

Describe the new validation rule

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

If [the distance between 2 adjacent shape points > x kilometers]
Trigger the warning (or error)

It would be great to have analytical insights (distance distribution), and check if those extreme values are accurate, before determining threshold value.

Sample GTFS datasets

No response

Severity

Probably warning, but can consider another error with large threshold value, based on analytics.

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions