Stop Object
Stop can represent either a single public transport stop, where passengers can
board and/or disembark vehicles, or a station, which contains multiple stops.
See field locationType
.
Fields
#
alerts
By default, list of alerts which have directly an effect on just the stop. It's also possible to return other relevant alerts through defining types.
direction
geometries
Representations of this stop's geometry. This is mainly interesting for flex stops which can be a polygon or a group of stops either consisting of either points or polygons.
Regular fixed-schedule stops return a single point.
Stations (parent stations with child stops) contain a geometry collection with a point for the central coordinate plus a convex hull polygon ( https://en.wikipedia.org/wiki/Convex_hull ) of all coordinates of the child stops.
If there are only two child stops then the convex hull is a straight line between the them. If there is a single child stop then it's a single point.
id
Global object ID provided by Relay. This value can be used to refetch this object using node query.
parentStation
The station which this stop is part of (or null if this stop is not part of a station)
platformCode
Identifier of the platform, usually a number. This value is only present for stops that are part of a station
stoptimesForPatterns
Returns list of stoptimes (arrivals and departures) at this stop, grouped by patterns
stoptimesWithoutPatterns
Returns list of stoptimes (arrivals and departures) at this stop
timezone
url
vehicleMode
Transport mode (e.g. BUS
) used by routes which pass through this stop or
null
if mode cannot be determined, e.g. in case no routes pass through the stop.
Note that also other types of vehicles may use the stop, e.g. tram replacement
buses might use stops which have TRAM
as their mode.
vehicleType
The raw GTFS route type used by routes which pass through this stop. For the list of possible values, see: https://developers.google.com/transit/gtfs/reference/#routestxt and https://developers.google.com/transit/gtfs/reference/extended-route-types
wheelchairBoarding
Whether wheelchair boarding is possible for at least some of vehicles on this stop
Interfaces
#
Also implements Node , PlaceInterface .
Usages
#
References
#
- Part of union AlertEntity
- Part of union CallStopLocation
- Field stop from Alert
StepFeature
StopAlertType