StationTransferPoint Data Type

This interface is used to represent a point or location where a transfer start from or end.

There are 4 different Transfer points:

  1. StopTransferPoint This apply to all trip stopping at the given stop.

    This is the least specific type, and is overridden if a more specific type exist.

  2. StationTransferPoint This applies to all trips stopping at a stop part of the given station.

    The specificity-ranking is above StationTransferPoints and less than RouteStationTransferPoint.

  3. A RouteStationTransferPoint is a from/to point for a Route at the given stop. This only exists in GTFS, not in the Nordic NeTex profile.

    The specificity-ranking is above StopTransferPoints and less than RouteStopTransferPoint.

  4. A RouteStopTransferPoint is a from/to point for a Route at the given station. This only exists in GTFS, not in the Nordic NeTex profile.

    The specificity-ranking is above RouteStationTransferPoints and less than TripTransferPoint.

  5. TripTransferPoint A transfer from/to a Trip at the given stop position(not stop). The GTFS Transfers may specify a transfer from/to a trip and stop/station. But in OTP we map the stop to a stop position in pattern. The OTP model TripTransferPoint does NOT reference the stop/station, but the stopPositionInPattern instead. There is two reasons for this. In NeTEx the an interchange is from a trip and stop-point, so this model fits better with NeTEx. The second reason is that real-time updates could invalidate the trip-transfer-point, since the stop could change to another platform(common for railway stations). To account for this the RT-update would need to patch the trip-transfer-point. We simplify the RT-updates by converting the stop to a stop-position-in-pattern.

    This is the most specific point type.

Implemented Interfaces
Serializable, TransferPoint
Properties
name data type constraints description
station Station  
specificityRanking number required Specificity of a transfer
stationTransferPoint boolean required is a Station specific transfer point (no Trip or Route)

Example

{
  "station" : {
    "name" : "...",
    "coordinate" : { },
    "code" : "...",
    "description" : "...",
    "url" : "...",
    "priority" : "RECOMMENDED",
    "timezone" : {
      "rawOffset" : 12345,
      "DSTSavings" : 12345,
      "availableIDs" : [ "...", "..." ],
      "default" : { },
      "displayName" : "...",
      "ID" : "..."
    },
    "childStops" : [ {
      "geometry" : { },
      "parentStation" : { },
      "platformCode" : "...",
      "name" : "...",
      "partOfStation" : true,
      "lon" : 12345.0,
      "firstZoneAsString" : "...",
      "description" : "...",
      "vehicleSubmode" : "...",
      "fareZones" : [ { }, { } ],
      "priority" : "RECOMMENDED",
      "timeZone" : { },
      "url" : "...",
      "code" : "...",
      "wheelchairBoarding" : "POSSIBLE",
      "lat" : 12345.0,
      "id" : { },
      "coordinate" : { },
      "vehicleType" : "COACH"
    }, {
      "geometry" : { },
      "parentStation" : { },
      "platformCode" : "...",
      "name" : "...",
      "partOfStation" : true,
      "lon" : 12345.0,
      "firstZoneAsString" : "...",
      "description" : "...",
      "vehicleSubmode" : "...",
      "fareZones" : [ { }, { } ],
      "priority" : "RECOMMENDED",
      "timeZone" : { },
      "url" : "...",
      "code" : "...",
      "wheelchairBoarding" : "NOT_POSSIBLE",
      "lat" : 12345.0,
      "id" : { },
      "coordinate" : { },
      "vehicleType" : "CABLE_CAR"
    } ],
    "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" : "..."
    }
  },
  "specificityRanking" : 12345,
  "stationTransferPoint" : true
}