Skip to content

Commit 09e3151

Browse files
committed
Further update the docs
1 parent 45471a4 commit 09e3151

4 files changed

Lines changed: 10 additions & 8 deletions

File tree

application/src/main/java/org/opentripplanner/apis/transmodel/model/EnumTypes.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,8 +477,8 @@ public class EnumTypes {
477477
"visit",
478478
ViaLocationType.VISIT,
479479
"The location is visited physically by boarding or alighting a transit trip at " +
480-
"a given stop, or by traveling to a requested coordinate location. Intermediate stops " +
481-
"visited on-board do not count."
480+
"a given stop, or by traveling via requested coordinate location as part of a access, " +
481+
"transfer or egress leg. Intermediate stops visited on-board do not count."
482482
)
483483
.build();
484484

application/src/main/java/org/opentripplanner/model/plan/leg/ViaLocationType.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
*/
66
public enum ViaLocationType {
77
/**
8-
* Location is a stop location where the passenger boards a vehicle or alights from a vehicle, or
9-
* a coordinate which is visited.
8+
* The location is visited physically by boarding or alighting a transit trip at a given stop, or
9+
* by traveling via requested coordinate location as part of a access, transfer or egress leg.
10+
* Intermediate stops visited on-board do not count.
1011
*/
1112
VISIT,
1213
/**
13-
* Stop location must be visited on-board a transit vehicle or the journey must alight or board at
14-
* the location.
14+
* The via stop location must be visited as part of a transit trip as at the boarding stop, the
15+
* intermediate stop, or the alighting stop.
1516
*/
1617
PASS_THROUGH,
1718
}

application/src/main/resources/org/opentripplanner/apis/gtfs/schema.graphqls

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3936,7 +3936,8 @@ enum ViaLocationType {
39363936
PASS_THROUGH
39373937
"""
39383938
The location is visited physically by boarding or alighting a transit trip at a given stop, or by
3939-
traveling to a requested coordinate location. Intermediate stops visited on-board do not count.
3939+
traveling via requested coordinate location as part of a access, transfer or egress leg.
3940+
Intermediate stops visited on-board do not count.
39403941
"""
39413942
VISIT
39423943
}

application/src/main/resources/org/opentripplanner/apis/transmodel/schema.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2085,7 +2085,7 @@ enum VertexType {
20852085
enum ViaLocationType {
20862086
"The via stop location must be visited as part of a transit trip as at the boarding stop, the intermediate stop, or the alighting stop."
20872087
passThrough
2088-
"The location is visited physically by boarding or alighting a transit trip at a given stop, or by traveling to a requested coordinate location. Intermediate stops visited on-board do not count."
2088+
"The location is visited physically by boarding or alighting a transit trip at a given stop, or by traveling via requested coordinate location as part of a access, transfer or egress leg. Intermediate stops visited on-board do not count."
20892089
visit
20902090
}
20912091

0 commit comments

Comments
 (0)