Skip to content

Commit

Permalink
docs: Clarified below threshold language in notices (#1886)
Browse files Browse the repository at this point in the history
* add greater than 0 lang to desc

* formatting fix
  • Loading branch information
emmambd authored Oct 11, 2024
1 parent 45c6c24 commit 1256b0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
* <p>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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1256b0d

Please sign in to comment.