MobilityData / gtfs-realtime-validator

Java-based tool that validates General Transit Feed Specification (GTFS)-realtime feeds
Other
43 stars 10 forks source link

Add distance to spatial rules #74

Open isabelle-dr opened 2 years ago

isabelle-dr commented 2 years ago

Issue by barbeau Feb 24, 2020 Originally opened as https://github.com/CUTR-at-USF/gtfs-realtime-validator/issues/370


Summary:

We currently have spatial rules like:

It would be nice if we could include the distance of the position to the coverage area or trip shape in the error message so instances could be sorted to prioritize the ones farthest from the area or shape. This was requested by a transit agency reviewing the validator results.

Steps to reproduce:

Trigger a E028 or E029 error message

Expected behavior:

The message should include a distance to the area or shape

Observed behavior:

No distance is included