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
Serializable, StopCollection
Properties
name data type constraints description
name string  
coordinate WgsCoordinate  
code string   Public facing station code (short text or number)
description string   Additional information about the station (if needed)
url string  
priority StopTransferPriority   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 TimeZone  
childStops array of StopLocation   Implementations should go down the hierarchy and return all the underlying stops recursively.
lat number required
lon number required
geometry GeometryCollection   A geometry collection that contains the center point and the convex hull of all the child stops.
Properties inherited from TransitEntity
id FeedScopedId  

Example

{
  "name" : "...",
  "coordinate" : { },
  "code" : "...",
  "description" : "...",
  "url" : "...",
  "priority" : "PREFERRED",
  "timezone" : {
    "rawOffset" : 12345,
    "DSTSavings" : 12345,
    "availableIDs" : [ "...", "..." ],
    "default" : { },
    "displayName" : "...",
    "ID" : "..."
  },
  "childStops" : [ {
    "geometry" : {
      "length" : 12345.0,
      "numGeometries" : 12345,
      "precisionModel" : { },
      "interiorPoint" : { },
      "rectangle" : true,
      "area" : 12345.0,
      "boundary" : { },
      "boundaryDimension" : 12345,
      "numPoints" : 12345,
      "coordinates" : [ { }, { } ],
      "dimension" : 12345,
      "envelopeInternal" : { },
      "empty" : true,
      "coordinate" : { },
      "centroid" : { },
      "factory" : { },
      "SRID" : 12345,
      "simple" : true,
      "userData" : { },
      "geometryType" : "...",
      "envelope" : { },
      "valid" : true
    },
    "parentStation" : {
      "name" : "...",
      "coordinate" : { },
      "code" : "...",
      "description" : "...",
      "url" : "...",
      "priority" : "DISCOURAGED",
      "timezone" : { },
      "childStops" : [ { }, { } ],
      "lat" : 12345.0,
      "lon" : 12345.0,
      "geometry" : { },
      "id" : { }
    },
    "platformCode" : "...",
    "name" : "...",
    "partOfStation" : true,
    "lon" : 12345.0,
    "firstZoneAsString" : "...",
    "description" : "...",
    "vehicleSubmode" : "...",
    "fareZones" : [ {
      "name" : "...",
      "id" : { }
    }, {
      "name" : "...",
      "id" : { }
    } ],
    "priority" : "DISCOURAGED",
    "timeZone" : {
      "rawOffset" : 12345,
      "DSTSavings" : 12345,
      "availableIDs" : [ "...", "..." ],
      "default" : { },
      "displayName" : "...",
      "ID" : "..."
    },
    "url" : "...",
    "code" : "...",
    "wheelchairBoarding" : "NOT_POSSIBLE",
    "lat" : 12345.0,
    "id" : {
      "feedId" : "...",
      "id" : "..."
    },
    "coordinate" : { },
    "vehicleType" : "SUBWAY"
  }, {
    "geometry" : {
      "length" : 12345.0,
      "numGeometries" : 12345,
      "precisionModel" : { },
      "interiorPoint" : { },
      "rectangle" : true,
      "area" : 12345.0,
      "boundary" : { },
      "boundaryDimension" : 12345,
      "numPoints" : 12345,
      "coordinates" : [ { }, { } ],
      "dimension" : 12345,
      "envelopeInternal" : { },
      "empty" : true,
      "coordinate" : { },
      "centroid" : { },
      "factory" : { },
      "SRID" : 12345,
      "simple" : true,
      "userData" : { },
      "geometryType" : "...",
      "envelope" : { },
      "valid" : true
    },
    "parentStation" : {
      "name" : "...",
      "coordinate" : { },
      "code" : "...",
      "description" : "...",
      "url" : "...",
      "priority" : "RECOMMENDED",
      "timezone" : { },
      "childStops" : [ { }, { } ],
      "lat" : 12345.0,
      "lon" : 12345.0,
      "geometry" : { },
      "id" : { }
    },
    "platformCode" : "...",
    "name" : "...",
    "partOfStation" : true,
    "lon" : 12345.0,
    "firstZoneAsString" : "...",
    "description" : "...",
    "vehicleSubmode" : "...",
    "fareZones" : [ {
      "name" : "...",
      "id" : { }
    }, {
      "name" : "...",
      "id" : { }
    } ],
    "priority" : "RECOMMENDED",
    "timeZone" : {
      "rawOffset" : 12345,
      "DSTSavings" : 12345,
      "availableIDs" : [ "...", "..." ],
      "default" : { },
      "displayName" : "...",
      "ID" : "..."
    },
    "url" : "...",
    "code" : "...",
    "wheelchairBoarding" : "POSSIBLE",
    "lat" : 12345.0,
    "id" : {
      "feedId" : "...",
      "id" : "..."
    },
    "coordinate" : { },
    "vehicleType" : "BUS"
  } ],
  "lat" : 12345.0,
  "lon" : 12345.0,
  "geometry" : {
    "coordinate" : {
      "x" : 12345.0,
      "y" : 12345.0,
      "z" : 12345.0,
      "m" : 12345.0,
      "valid" : true
    },
    "geometryType" : "...",
    "dimension" : 12345,
    "length" : 12345.0,
    "coordinates" : [ {
      "x" : 12345.0,
      "y" : 12345.0,
      "z" : 12345.0,
      "m" : 12345.0,
      "valid" : true
    }, {
      "x" : 12345.0,
      "y" : 12345.0,
      "z" : 12345.0,
      "m" : 12345.0,
      "valid" : true
    } ],
    "boundary" : {
      "length" : 12345.0,
      "numGeometries" : 12345,
      "precisionModel" : { },
      "interiorPoint" : { },
      "rectangle" : true,
      "area" : 12345.0,
      "boundary" : { },
      "boundaryDimension" : 12345,
      "numPoints" : 12345,
      "coordinates" : [ { }, { } ],
      "dimension" : 12345,
      "envelopeInternal" : { },
      "empty" : true,
      "coordinate" : { },
      "centroid" : { },
      "factory" : { },
      "SRID" : 12345,
      "simple" : true,
      "userData" : { },
      "geometryType" : "...",
      "envelope" : { },
      "valid" : true
    },
    "empty" : true,
    "area" : 12345.0,
    "boundaryDimension" : 12345,
    "numGeometries" : 12345,
    "numPoints" : 12345,
    "precisionModel" : {
      "scale" : 12345.0,
      "floating" : true,
      "maximumSignificantDigits" : 12345,
      "type" : { },
      "offsetX" : 12345.0,
      "offsetY" : 12345.0
    },
    "interiorPoint" : {
      "boundaryDimension" : 12345,
      "x" : 12345.0,
      "coordinates" : [ { }, { } ],
      "coordinate" : { },
      "simple" : true,
      "numPoints" : 12345,
      "dimension" : 12345,
      "boundary" : { },
      "geometryType" : "...",
      "coordinateSequence" : { },
      "empty" : true,
      "y" : 12345.0,
      "length" : 12345.0,
      "numGeometries" : 12345,
      "precisionModel" : { },
      "interiorPoint" : { },
      "rectangle" : true,
      "area" : 12345.0,
      "envelopeInternal" : { },
      "centroid" : { },
      "factory" : { },
      "SRID" : 12345,
      "userData" : { },
      "envelope" : { },
      "valid" : true
    },
    "rectangle" : true,
    "envelopeInternal" : {
      "width" : 12345.0,
      "null" : true,
      "diameter" : 12345.0,
      "area" : 12345.0,
      "minY" : 12345.0,
      "height" : 12345.0,
      "maxX" : 12345.0,
      "maxY" : 12345.0,
      "minX" : 12345.0
    },
    "centroid" : {
      "boundaryDimension" : 12345,
      "x" : 12345.0,
      "coordinates" : [ { }, { } ],
      "coordinate" : { },
      "simple" : true,
      "numPoints" : 12345,
      "dimension" : 12345,
      "boundary" : { },
      "geometryType" : "...",
      "coordinateSequence" : { },
      "empty" : true,
      "y" : 12345.0,
      "length" : 12345.0,
      "numGeometries" : 12345,
      "precisionModel" : { },
      "interiorPoint" : { },
      "rectangle" : true,
      "area" : 12345.0,
      "envelopeInternal" : { },
      "centroid" : { },
      "factory" : { },
      "SRID" : 12345,
      "userData" : { },
      "envelope" : { },
      "valid" : true
    },
    "factory" : {
      "precisionModel" : { },
      "SRID" : 12345,
      "coordinateSequenceFactory" : { }
    },
    "SRID" : 12345,
    "simple" : true,
    "userData" : { },
    "envelope" : {
      "length" : 12345.0,
      "numGeometries" : 12345,
      "precisionModel" : { },
      "interiorPoint" : { },
      "rectangle" : true,
      "area" : 12345.0,
      "boundary" : { },
      "boundaryDimension" : 12345,
      "numPoints" : 12345,
      "coordinates" : [ { }, { } ],
      "dimension" : 12345,
      "envelopeInternal" : { },
      "empty" : true,
      "coordinate" : { },
      "centroid" : { },
      "factory" : { },
      "SRID" : 12345,
      "simple" : true,
      "userData" : { },
      "geometryType" : "...",
      "envelope" : { },
      "valid" : true
    },
    "valid" : true
  },
  "id" : {
    "feedId" : "...",
    "id" : "..."
  }
}