StationElement Data Type

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.

Abstract Type
Properties
name data type constraints description
name I18NString required Name of the station element if provided.
code string   Public facing stop code (short text or number).
description I18NString   Additional information about the station element (if needed).
coordinate WgsCoordinate required Center point/location for the station element. Returns the coordinate of the parent station, if the coordinate is not defined for this station element.
wheelchairAccessibility Accessibility required 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 AbstractTransitEntity
id FeedScopedId  

Example

{
  "name" : { },
  "code" : "...",
  "description" : { },
  "coordinate" : { },
  "wheelchairAccessibility" : "NO_INFORMATION",
  "levelName" : "...",
  "levelIndex" : 12345.0,
  "parentStation" : {
    "name" : { },
    "childStops" : [ {
      "id" : { },
      "geometry" : { },
      "lon" : 12345.0,
      "parentStation" : { },
      "netexVehicleSubmode" : { },
      "wheelchairAccessibility" : "NO_INFORMATION",
      "stationOrStopId" : { },
      "code" : "...",
      "timeZone" : "...",
      "lat" : 12345.0,
      "platformCode" : "...",
      "fareZones" : [ { }, { } ],
      "index" : 12345,
      "description" : { },
      "gtfsVehicleType" : "COACH",
      "name" : { },
      "partOfStation" : true,
      "coordinate" : { },
      "url" : { },
      "priority" : "DISCOURAGED",
      "firstZoneAsString" : "..."
    }, {
      "id" : { },
      "geometry" : { },
      "lon" : 12345.0,
      "parentStation" : { },
      "netexVehicleSubmode" : { },
      "wheelchairAccessibility" : "NOT_POSSIBLE",
      "stationOrStopId" : { },
      "code" : "...",
      "timeZone" : "...",
      "lat" : 12345.0,
      "platformCode" : "...",
      "fareZones" : [ { }, { } ],
      "index" : 12345,
      "description" : { },
      "gtfsVehicleType" : "CABLE_CAR",
      "name" : { },
      "partOfStation" : true,
      "coordinate" : { },
      "url" : { },
      "priority" : "ALLOWED",
      "firstZoneAsString" : "..."
    } ],
    "lat" : 12345.0,
    "lon" : 12345.0,
    "coordinate" : { },
    "code" : "...",
    "description" : { },
    "url" : { },
    "priority" : "ALLOWED",
    "timezone" : "...",
    "transfersNotAllowed" : true,
    "geometry" : {
      "empty" : true,
      "coordinates" : [ { }, { } ],
      "numGeometries" : 12345,
      "dimension" : 12345,
      "numPoints" : 12345,
      "geometryType" : "...",
      "boundaryDimension" : 12345,
      "area" : 12345.0,
      "length" : 12345.0,
      "boundary" : { },
      "coordinate" : { },
      "envelope" : { },
      "rectangle" : true,
      "centroid" : { },
      "simple" : true,
      "interiorPoint" : { },
      "factory" : { },
      "valid" : true,
      "precisionModel" : { },
      "envelopeInternal" : { },
      "userData" : { },
      "SRID" : 12345
    },
    "id" : {
      "feedId" : "...",
      "id" : "..."
    }
  },
  "partOfStation" : true,
  "id" : {
    "feedId" : "...",
    "id" : "..."
  }
}