Station Data Type

A grouping of stops in GTFS or the lowest level grouping in NeTEx. It can be a train station, a bus terminal, or a bus station (with a bus stop at each side of the road). Equivalent to GTFS stop location type 1 or NeTEx monomodal StopPlace.

Implemented Interfaces
LogInfo, StopLocationsGroup
Properties
name data type constraints description
name I18NString required
childStops array of StopLocation required Implementations should go down the hierarchy and return all the underlying stops recursively.
lat number required
lon number required
coordinate WgsCoordinate required Representative location for the StopLocation. Can either be the actual location of the stop, or the centroid of an area or line.
code string   Public facing station code (short text or number)
description I18NString   Additional information about the station (if needed)
url I18NString   URL to a web page containing information about this particular station
priority StopTransferPriority required The generalized cost priority associated with the stop independently of trips, routes and/or other stops. This is supported in NeTEx, but not in GTFS. This should work by adding adjusting the cost for all board-/alight- events in the routing search.

To not interfere with request parameters this must be implemented in a neutral way. This mean that the ALLOWED (which is default) should a nett-effect of adding 0 - zero cost.

timezone string  
transfersNotAllowed boolean required If true do not allow any transfers to or from any stop within station
geometry GeometryCollection required A geometry collection that contains the center point and the convex hull of all the child stops.
Properties inherited from AbstractTransitEntity
id FeedScopedId  

Example

{
  "name" : { },
  "childStops" : [ {
    "id" : {
      "feedId" : "...",
      "id" : "..."
    },
    "geometry" : {
      "envelope" : { },
      "length" : 12345.0,
      "geometryType" : "...",
      "boundary" : { },
      "rectangle" : true,
      "centroid" : { },
      "simple" : true,
      "interiorPoint" : { },
      "factory" : { },
      "valid" : true,
      "coordinate" : { },
      "precisionModel" : { },
      "envelopeInternal" : { },
      "boundaryDimension" : 12345,
      "dimension" : 12345,
      "area" : 12345.0,
      "empty" : true,
      "userData" : { },
      "numGeometries" : 12345,
      "numPoints" : 12345,
      "SRID" : 12345,
      "coordinates" : [ { }, { } ]
    },
    "lon" : 12345.0,
    "parentStation" : {
      "name" : { },
      "childStops" : [ { }, { } ],
      "lat" : 12345.0,
      "lon" : 12345.0,
      "coordinate" : { },
      "code" : "...",
      "description" : { },
      "url" : { },
      "priority" : "RECOMMENDED",
      "timezone" : "...",
      "transfersNotAllowed" : true,
      "geometry" : { },
      "id" : { }
    },
    "netexVehicleSubmode" : { },
    "wheelchairAccessibility" : "NO_INFORMATION",
    "stationOrStopId" : {
      "feedId" : "...",
      "id" : "..."
    },
    "code" : "...",
    "timeZone" : "...",
    "lat" : 12345.0,
    "platformCode" : "...",
    "fareZones" : [ {
      "name" : "...",
      "id" : { }
    }, {
      "name" : "...",
      "id" : { }
    } ],
    "index" : 12345,
    "description" : { },
    "gtfsVehicleType" : "FUNICULAR",
    "name" : { },
    "partOfStation" : true,
    "coordinate" : { },
    "url" : { },
    "priority" : "DISCOURAGED",
    "firstZoneAsString" : "..."
  }, {
    "id" : {
      "feedId" : "...",
      "id" : "..."
    },
    "geometry" : {
      "envelope" : { },
      "length" : 12345.0,
      "geometryType" : "...",
      "boundary" : { },
      "rectangle" : true,
      "centroid" : { },
      "simple" : true,
      "interiorPoint" : { },
      "factory" : { },
      "valid" : true,
      "coordinate" : { },
      "precisionModel" : { },
      "envelopeInternal" : { },
      "boundaryDimension" : 12345,
      "dimension" : 12345,
      "area" : 12345.0,
      "empty" : true,
      "userData" : { },
      "numGeometries" : 12345,
      "numPoints" : 12345,
      "SRID" : 12345,
      "coordinates" : [ { }, { } ]
    },
    "lon" : 12345.0,
    "parentStation" : {
      "name" : { },
      "childStops" : [ { }, { } ],
      "lat" : 12345.0,
      "lon" : 12345.0,
      "coordinate" : { },
      "code" : "...",
      "description" : { },
      "url" : { },
      "priority" : "RECOMMENDED",
      "timezone" : "...",
      "transfersNotAllowed" : true,
      "geometry" : { },
      "id" : { }
    },
    "netexVehicleSubmode" : { },
    "wheelchairAccessibility" : "POSSIBLE",
    "stationOrStopId" : {
      "feedId" : "...",
      "id" : "..."
    },
    "code" : "...",
    "timeZone" : "...",
    "lat" : 12345.0,
    "platformCode" : "...",
    "fareZones" : [ {
      "name" : "...",
      "id" : { }
    }, {
      "name" : "...",
      "id" : { }
    } ],
    "index" : 12345,
    "description" : { },
    "gtfsVehicleType" : "COACH",
    "name" : { },
    "partOfStation" : true,
    "coordinate" : { },
    "url" : { },
    "priority" : "ALLOWED",
    "firstZoneAsString" : "..."
  } ],
  "lat" : 12345.0,
  "lon" : 12345.0,
  "coordinate" : { },
  "code" : "...",
  "description" : { },
  "url" : { },
  "priority" : "DISCOURAGED",
  "timezone" : "...",
  "transfersNotAllowed" : true,
  "geometry" : {
    "empty" : true,
    "coordinates" : [ {
      "y" : 12345.0,
      "z" : 12345.0,
      "x" : 12345.0,
      "m" : 12345.0,
      "valid" : true
    }, {
      "y" : 12345.0,
      "z" : 12345.0,
      "x" : 12345.0,
      "m" : 12345.0,
      "valid" : true
    } ],
    "numGeometries" : 12345,
    "dimension" : 12345,
    "numPoints" : 12345,
    "geometryType" : "...",
    "boundaryDimension" : 12345,
    "area" : 12345.0,
    "length" : 12345.0,
    "boundary" : {
      "envelope" : { },
      "length" : 12345.0,
      "geometryType" : "...",
      "boundary" : { },
      "rectangle" : true,
      "centroid" : { },
      "simple" : true,
      "interiorPoint" : { },
      "factory" : { },
      "valid" : true,
      "coordinate" : { },
      "precisionModel" : { },
      "envelopeInternal" : { },
      "boundaryDimension" : 12345,
      "dimension" : 12345,
      "area" : 12345.0,
      "empty" : true,
      "userData" : { },
      "numGeometries" : 12345,
      "numPoints" : 12345,
      "SRID" : 12345,
      "coordinates" : [ { }, { } ]
    },
    "coordinate" : {
      "y" : 12345.0,
      "z" : 12345.0,
      "x" : 12345.0,
      "m" : 12345.0,
      "valid" : true
    },
    "envelope" : {
      "envelope" : { },
      "length" : 12345.0,
      "geometryType" : "...",
      "boundary" : { },
      "rectangle" : true,
      "centroid" : { },
      "simple" : true,
      "interiorPoint" : { },
      "factory" : { },
      "valid" : true,
      "coordinate" : { },
      "precisionModel" : { },
      "envelopeInternal" : { },
      "boundaryDimension" : 12345,
      "dimension" : 12345,
      "area" : 12345.0,
      "empty" : true,
      "userData" : { },
      "numGeometries" : 12345,
      "numPoints" : 12345,
      "SRID" : 12345,
      "coordinates" : [ { }, { } ]
    },
    "rectangle" : true,
    "centroid" : {
      "simple" : true,
      "x" : 12345.0,
      "boundaryDimension" : 12345,
      "coordinateSequence" : { },
      "coordinate" : { },
      "geometryType" : "...",
      "y" : 12345.0,
      "empty" : true,
      "dimension" : 12345,
      "coordinates" : [ { }, { } ],
      "boundary" : { },
      "numPoints" : 12345,
      "envelope" : { },
      "length" : 12345.0,
      "rectangle" : true,
      "centroid" : { },
      "interiorPoint" : { },
      "factory" : { },
      "valid" : true,
      "precisionModel" : { },
      "envelopeInternal" : { },
      "area" : 12345.0,
      "userData" : { },
      "numGeometries" : 12345,
      "SRID" : 12345
    },
    "simple" : true,
    "interiorPoint" : {
      "simple" : true,
      "x" : 12345.0,
      "boundaryDimension" : 12345,
      "coordinateSequence" : { },
      "coordinate" : { },
      "geometryType" : "...",
      "y" : 12345.0,
      "empty" : true,
      "dimension" : 12345,
      "coordinates" : [ { }, { } ],
      "boundary" : { },
      "numPoints" : 12345,
      "envelope" : { },
      "length" : 12345.0,
      "rectangle" : true,
      "centroid" : { },
      "interiorPoint" : { },
      "factory" : { },
      "valid" : true,
      "precisionModel" : { },
      "envelopeInternal" : { },
      "area" : 12345.0,
      "userData" : { },
      "numGeometries" : 12345,
      "SRID" : 12345
    },
    "factory" : {
      "precisionModel" : { },
      "SRID" : 12345,
      "coordinateSequenceFactory" : { }
    },
    "valid" : true,
    "precisionModel" : {
      "offsetX" : 12345.0,
      "scale" : 12345.0,
      "type" : { },
      "floating" : true,
      "offsetY" : 12345.0,
      "maximumSignificantDigits" : 12345
    },
    "envelopeInternal" : {
      "width" : 12345.0,
      "area" : 12345.0,
      "minX" : 12345.0,
      "diameter" : 12345.0,
      "null" : true,
      "height" : 12345.0,
      "maxX" : 12345.0,
      "minY" : 12345.0,
      "maxY" : 12345.0
    },
    "userData" : { },
    "SRID" : 12345
  },
  "id" : {
    "feedId" : "...",
    "id" : "..."
  }
}