From 1256b0d1929dc671455c8f6cf49a634d63e1abca Mon Sep 17 00:00:00 2001 From: Emma Blue <90632321+emmambd@users.noreply.github.com> Date: Fri, 11 Oct 2024 12:39:07 -0400 Subject: [PATCH] docs: Clarified below threshold language in notices (#1886) * add greater than 0 lang to desc * formatting fix --- .../validator/ShapeIncreasingDistanceValidator.java | 4 ++-- .../validator/TripAndShapeDistanceValidator.java | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/main/src/main/java/org/mobilitydata/gtfsvalidator/validator/ShapeIncreasingDistanceValidator.java b/main/src/main/java/org/mobilitydata/gtfsvalidator/validator/ShapeIncreasingDistanceValidator.java index 0828ba2ff5..83fd6e8ab4 100644 --- a/main/src/main/java/org/mobilitydata/gtfsvalidator/validator/ShapeIncreasingDistanceValidator.java +++ b/main/src/main/java/org/mobilitydata/gtfsvalidator/validator/ShapeIncreasingDistanceValidator.java @@ -239,11 +239,11 @@ static class EqualShapeDistanceDiffCoordinatesNotice extends ValidationNotice { /** * Two consecutive points have equal `shape_dist_traveled` and different lat/lon coordinates in - * `shapes.txt` and the distance between the two points is less than 1.11m. + * `shapes.txt` and the distance between the two points is greater than 0 but less than 1.11m. * *

When sorted by `shape.shape_pt_sequence`, the values for `shape_dist_traveled` must increase * along a shape. Two consecutive points with equal values for `shape_dist_traveled` and small - * difference of coordinates (less than 1.11 m distance) result in a warning. + * difference of coordinates (greater than 0 but less than 1.11 m distance) result in a warning. */ @GtfsValidationNotice( severity = WARNING, diff --git a/main/src/main/java/org/mobilitydata/gtfsvalidator/validator/TripAndShapeDistanceValidator.java b/main/src/main/java/org/mobilitydata/gtfsvalidator/validator/TripAndShapeDistanceValidator.java index ad98bf75d6..69950e37bf 100644 --- a/main/src/main/java/org/mobilitydata/gtfsvalidator/validator/TripAndShapeDistanceValidator.java +++ b/main/src/main/java/org/mobilitydata/gtfsvalidator/validator/TripAndShapeDistanceValidator.java @@ -139,7 +139,8 @@ static class TripDistanceExceedsShapeDistanceNotice extends ValidationNotice { } /** - * The distance between the last shape point and last stop point is less than the 11.1m threshold. + * The distance between the last shape point and last stop point is greater than 0 but less than + * the 11.1m threshold. */ @GtfsValidationNotice( severity = WARNING,