Skip to content

Commit 8253d34

Browse files
committed
Further improve docs
1 parent 09e3151 commit 8253d34

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ public class EnumTypes {
478478
ViaLocationType.VISIT,
479479
"The location is visited physically by boarding or alighting a transit trip at " +
480480
"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."
481+
"transfer, egress or direct segment. 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
public enum ViaLocationType {
77
/**
88
* 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.
9+
* by traveling via requested coordinate location as part of a access, transfer, egress or direct
10+
* segment. Intermediate stops visited on-board do not count.
1111
*/
1212
VISIT,
1313
/**

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ type Leg {
796796
"""
797797
interlineWithPreviousLeg: Boolean
798798
"Whether the destination of this leg (field `to`) is one of the intermediate places specified in the query."
799-
intermediatePlace: Boolean @deprecated(reason : "Not implemented")
799+
intermediatePlace: Boolean @deprecated(reason : "Not implemented. Use `viaLocationType` from from/to fields instead.")
800800
"""
801801
For transit legs, intermediate stops between the Place where the leg
802802
originates and the Place where the leg ends. For non-transit legs, null.
@@ -3936,8 +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 via requested coordinate location as part of a access, transfer or egress leg.
3940-
Intermediate stops visited on-board do not count.
3939+
traveling via requested coordinate location as part of a access, transfer, egress or direct
3940+
segment. Intermediate stops visited on-board do not count.
39413941
"""
39423942
VISIT
39433943
}

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 via requested coordinate location as part of a access, transfer or egress leg. 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, egress or direct segment. Intermediate stops visited on-board do not count."
20892089
visit
20902090
}
20912091

0 commit comments

Comments
 (0)