Magidoc

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

[ Alert ]

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.

cluster

The cluster which this stop is part of

code

Stop code which is visible at the stop

desc

Description of the stop, usually a street name

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.

gtfsId

Non-null

ÌD of the stop in format FeedId:StopId

id

ID !
Non-null

Global object ID provided by Relay. This value can be used to refetch this object using node query.

lat

Latitude of the stop (WGS 84)

locationType

Identifies whether this stop represents a stop or station.

lon

Longitude of the stop (WGS 84)

name

Non-null

Name of the stop, e.g. Pasilan asema

parentStation

The station which this stop is part of (or null if this stop is not part of a station)

patterns

Patterns which pass through this stop

platformCode

Identifier of the platform, usually a number. This value is only present for stops that are part of a station

routes

[ Route !]

Routes which pass through this stop

stopTimesForPattern

Returns timetable of the specified pattern at this stop

stops

[ Stop ]

Returns all stops that are children of this station (Only applicable for stations)

stoptimesForPatterns

Returns list of stoptimes (arrivals and departures) at this stop, grouped by patterns

stoptimesForServiceDate

Returns list of stoptimes for the specified date

stoptimesWithoutPatterns

Returns list of stoptimes (arrivals and departures) at this stop

timezone

transfers

List of nearby stops which can be used for transfers

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

zoneId

ID of the zone where this stop is located

Interfaces

#

Also implements Node , PlaceInterface .

Usages

#

References

#