Acts as the supertype for all entities, except stations, created from the GTFS stops table. Most of the fields are shared between the types, and eg. in pathways the namespace any of them can be used as from and to.
name | data type | constraints | description |
---|---|---|---|
name | string | required | Name of the station element if provided. |
code | string | Public facing stop code (short text or number). | |
description | string | Additional information about the station element (if needed). | |
coordinate | WgsCoordinate | Center point/location for the station element. Returns the coordinate of the parent station, if the coordinate is not defined for this station element. | |
wheelchairBoarding | WheelChairBoarding | Returns whether this station element is accessible for wheelchair users. | |
levelName | string | Level name for elevator descriptions | |
levelIndex | number | Level index for hop counts in elevators. Is null if not set.
|
|
parentStation | Station | Parent station for the station element | |
partOfStation | boolean | required | Return true if this stop (element) is part of a station, have a parent station.
|
Properties inherited from TransitEntity |
|||
id | FeedScopedId |
Example
{ "name" : "...", "code" : "...", "description" : "...", "coordinate" : { }, "wheelchairBoarding" : "NO_INFORMATION", "levelName" : "...", "levelIndex" : 12345.0, "parentStation" : { "name" : "...", "coordinate" : { }, "code" : "...", "description" : "...", "url" : "...", "priority" : "DISCOURAGED", "timezone" : { "rawOffset" : 12345, "DSTSavings" : 12345, "availableIDs" : [ "...", "..." ], "default" : { }, "displayName" : "...", "ID" : "..." }, "childStops" : [ { "geometry" : { }, "parentStation" : { }, "platformCode" : "...", "name" : "...", "partOfStation" : true, "lon" : 12345.0, "firstZoneAsString" : "...", "description" : "...", "vehicleSubmode" : "...", "fareZones" : [ { }, { } ], "priority" : "ALLOWED", "timeZone" : { }, "url" : "...", "code" : "...", "wheelchairBoarding" : "NO_INFORMATION", "lat" : 12345.0, "id" : { }, "coordinate" : { }, "vehicleType" : "FERRY" }, { "geometry" : { }, "parentStation" : { }, "platformCode" : "...", "name" : "...", "partOfStation" : true, "lon" : 12345.0, "firstZoneAsString" : "...", "description" : "...", "vehicleSubmode" : "...", "fareZones" : [ { }, { } ], "priority" : "PREFERRED", "timeZone" : { }, "url" : "...", "code" : "...", "wheelchairBoarding" : "NO_INFORMATION", "lat" : 12345.0, "id" : { }, "coordinate" : { }, "vehicleType" : "RAIL" } ], "lat" : 12345.0, "lon" : 12345.0, "geometry" : { "coordinate" : { }, "geometryType" : "...", "dimension" : 12345, "length" : 12345.0, "coordinates" : [ { }, { } ], "boundary" : { }, "empty" : true, "area" : 12345.0, "boundaryDimension" : 12345, "numGeometries" : 12345, "numPoints" : 12345, "precisionModel" : { }, "interiorPoint" : { }, "rectangle" : true, "envelopeInternal" : { }, "centroid" : { }, "factory" : { }, "SRID" : 12345, "simple" : true, "userData" : { }, "envelope" : { }, "valid" : true }, "id" : { "feedId" : "...", "id" : "..." } }, "partOfStation" : true, "id" : { "feedId" : "...", "id" : "..." } }