GroupOfStations Data Type

A grouping that can contain a mix of Stations and MultiModalStations. It can be used to link several StopPlaces into a hub. It can be a grouping of major stops within a city or a cluster of stops that naturally belong together.

Implemented Interfaces
StopLocationsGroup
Properties
name data type constraints description
name I18NString required
coordinate WgsCoordinate   Representative location for the StopLocation. Can either be the actual location of the stop, or the centroid of an area or line.
childStops array of StopLocation required Implementations should go down the hierarchy and return all the underlying stops recursively.
childStations array of StopLocationsGroup required
purposeOfGrouping GroupOfStationsPurpose   Categorization for the grouping
Properties inherited from AbstractTransitEntity
id FeedScopedId  

Example

{
  "name" : { },
  "coordinate" : { },
  "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" : "DISCOURAGED",
      "timezone" : "...",
      "transfersNotAllowed" : true,
      "geometry" : { },
      "id" : { }
    },
    "netexVehicleSubmode" : { },
    "wheelchairAccessibility" : "NOT_POSSIBLE",
    "stationOrStopId" : {
      "feedId" : "...",
      "id" : "..."
    },
    "code" : "...",
    "timeZone" : "...",
    "lat" : 12345.0,
    "platformCode" : "...",
    "fareZones" : [ {
      "name" : "...",
      "id" : { }
    }, {
      "name" : "...",
      "id" : { }
    } ],
    "index" : 12345,
    "description" : { },
    "gtfsVehicleType" : "RAIL",
    "name" : { },
    "partOfStation" : true,
    "coordinate" : { },
    "url" : { },
    "priority" : "ALLOWED",
    "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" : "ALLOWED",
      "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" : "MONORAIL",
    "name" : { },
    "partOfStation" : true,
    "coordinate" : { },
    "url" : { },
    "priority" : "PREFERRED",
    "firstZoneAsString" : "..."
  } ],
  "childStations" : [ {
    "lat" : 12345.0,
    "name" : { },
    "coordinate" : { },
    "lon" : 12345.0,
    "childStops" : [ {
      "id" : { },
      "geometry" : { },
      "lon" : 12345.0,
      "parentStation" : { },
      "netexVehicleSubmode" : { },
      "wheelchairAccessibility" : "POSSIBLE",
      "stationOrStopId" : { },
      "code" : "...",
      "timeZone" : "...",
      "lat" : 12345.0,
      "platformCode" : "...",
      "fareZones" : [ { }, { } ],
      "index" : 12345,
      "description" : { },
      "gtfsVehicleType" : "GONDOLA",
      "name" : { },
      "partOfStation" : true,
      "coordinate" : { },
      "url" : { },
      "priority" : "PREFERRED",
      "firstZoneAsString" : "..."
    }, {
      "id" : { },
      "geometry" : { },
      "lon" : 12345.0,
      "parentStation" : { },
      "netexVehicleSubmode" : { },
      "wheelchairAccessibility" : "NO_INFORMATION",
      "stationOrStopId" : { },
      "code" : "...",
      "timeZone" : "...",
      "lat" : 12345.0,
      "platformCode" : "...",
      "fareZones" : [ { }, { } ],
      "index" : 12345,
      "description" : { },
      "gtfsVehicleType" : "GONDOLA",
      "name" : { },
      "partOfStation" : true,
      "coordinate" : { },
      "url" : { },
      "priority" : "PREFERRED",
      "firstZoneAsString" : "..."
    } ],
    "id" : {
      "feedId" : "...",
      "id" : "..."
    }
  }, {
    "lat" : 12345.0,
    "name" : { },
    "coordinate" : { },
    "lon" : 12345.0,
    "childStops" : [ {
      "id" : { },
      "geometry" : { },
      "lon" : 12345.0,
      "parentStation" : { },
      "netexVehicleSubmode" : { },
      "wheelchairAccessibility" : "POSSIBLE",
      "stationOrStopId" : { },
      "code" : "...",
      "timeZone" : "...",
      "lat" : 12345.0,
      "platformCode" : "...",
      "fareZones" : [ { }, { } ],
      "index" : 12345,
      "description" : { },
      "gtfsVehicleType" : "TRAM",
      "name" : { },
      "partOfStation" : true,
      "coordinate" : { },
      "url" : { },
      "priority" : "RECOMMENDED",
      "firstZoneAsString" : "..."
    }, {
      "id" : { },
      "geometry" : { },
      "lon" : 12345.0,
      "parentStation" : { },
      "netexVehicleSubmode" : { },
      "wheelchairAccessibility" : "POSSIBLE",
      "stationOrStopId" : { },
      "code" : "...",
      "timeZone" : "...",
      "lat" : 12345.0,
      "platformCode" : "...",
      "fareZones" : [ { }, { } ],
      "index" : 12345,
      "description" : { },
      "gtfsVehicleType" : "FUNICULAR",
      "name" : { },
      "partOfStation" : true,
      "coordinate" : { },
      "url" : { },
      "priority" : "ALLOWED",
      "firstZoneAsString" : "..."
    } ],
    "id" : {
      "feedId" : "...",
      "id" : "..."
    }
  } ],
  "purposeOfGrouping" : "GENERALIZATION",
  "id" : {
    "feedId" : "...",
    "id" : "..."
  }
}