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
Serializable, StopCollection
Properties
name data type constraints description
name string  
lat number required
lon number required
childStops array of StopLocation   Implementations should go down the hierarchy and return all the underlying stops recursively.
childStations array of StopCollection  
purposeOfGrouping PurposeOfGrouping   Categorization for the grouping
Properties inherited from TransitEntity
id FeedScopedId  

Example

{
  "name" : "...",
  "lat" : 12345.0,
  "lon" : 12345.0,
  "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" : "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" : "PREFERRED",
    "timeZone" : {
      "rawOffset" : 12345,
      "DSTSavings" : 12345,
      "availableIDs" : [ "...", "..." ],
      "default" : { },
      "displayName" : "...",
      "ID" : "..."
    },
    "url" : "...",
    "code" : "...",
    "wheelchairBoarding" : "POSSIBLE",
    "lat" : 12345.0,
    "id" : {
      "feedId" : "...",
      "id" : "..."
    },
    "coordinate" : { },
    "vehicleType" : "MONORAIL"
  }, {
    "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" : "PREFERRED",
      "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" : "PREFERRED",
    "timeZone" : {
      "rawOffset" : 12345,
      "DSTSavings" : 12345,
      "availableIDs" : [ "...", "..." ],
      "default" : { },
      "displayName" : "...",
      "ID" : "..."
    },
    "url" : "...",
    "code" : "...",
    "wheelchairBoarding" : "NOT_POSSIBLE",
    "lat" : 12345.0,
    "id" : {
      "feedId" : "...",
      "id" : "..."
    },
    "coordinate" : { },
    "vehicleType" : "CABLE_CAR"
  } ],
  "childStations" : [ {
    "lon" : 12345.0,
    "childStops" : [ {
      "geometry" : { },
      "parentStation" : { },
      "platformCode" : "...",
      "name" : "...",
      "partOfStation" : true,
      "lon" : 12345.0,
      "firstZoneAsString" : "...",
      "description" : "...",
      "vehicleSubmode" : "...",
      "fareZones" : [ { }, { } ],
      "priority" : "RECOMMENDED",
      "timeZone" : { },
      "url" : "...",
      "code" : "...",
      "wheelchairBoarding" : "NO_INFORMATION",
      "lat" : 12345.0,
      "id" : { },
      "coordinate" : { },
      "vehicleType" : "RAIL"
    }, {
      "geometry" : { },
      "parentStation" : { },
      "platformCode" : "...",
      "name" : "...",
      "partOfStation" : true,
      "lon" : 12345.0,
      "firstZoneAsString" : "...",
      "description" : "...",
      "vehicleSubmode" : "...",
      "fareZones" : [ { }, { } ],
      "priority" : "RECOMMENDED",
      "timeZone" : { },
      "url" : "...",
      "code" : "...",
      "wheelchairBoarding" : "NO_INFORMATION",
      "lat" : 12345.0,
      "id" : { },
      "coordinate" : { },
      "vehicleType" : "GONDOLA"
    } ],
    "lat" : 12345.0,
    "id" : {
      "feedId" : "...",
      "id" : "..."
    }
  }, {
    "lon" : 12345.0,
    "childStops" : [ {
      "geometry" : { },
      "parentStation" : { },
      "platformCode" : "...",
      "name" : "...",
      "partOfStation" : true,
      "lon" : 12345.0,
      "firstZoneAsString" : "...",
      "description" : "...",
      "vehicleSubmode" : "...",
      "fareZones" : [ { }, { } ],
      "priority" : "PREFERRED",
      "timeZone" : { },
      "url" : "...",
      "code" : "...",
      "wheelchairBoarding" : "NOT_POSSIBLE",
      "lat" : 12345.0,
      "id" : { },
      "coordinate" : { },
      "vehicleType" : "AIRPLANE"
    }, {
      "geometry" : { },
      "parentStation" : { },
      "platformCode" : "...",
      "name" : "...",
      "partOfStation" : true,
      "lon" : 12345.0,
      "firstZoneAsString" : "...",
      "description" : "...",
      "vehicleSubmode" : "...",
      "fareZones" : [ { }, { } ],
      "priority" : "ALLOWED",
      "timeZone" : { },
      "url" : "...",
      "code" : "...",
      "wheelchairBoarding" : "POSSIBLE",
      "lat" : 12345.0,
      "id" : { },
      "coordinate" : { },
      "vehicleType" : "TROLLEYBUS"
    } ],
    "lat" : 12345.0,
    "id" : {
      "feedId" : "...",
      "id" : "..."
    }
  } ],
  "purposeOfGrouping" : "CLUSTER",
  "id" : {
    "feedId" : "...",
    "id" : "..."
  }
}