A vertex for an OSM node that represents a transit stop and has a ref=(stop_code) tag. OTP will treat this as an authoritative statement on where the transit stop is located within the street network, and the GTFS stop vertex will be linked to exactly this location.
name | data type | description |
---|---|---|
stopCode | string | |
Properties inherited from OsmVertex |
||
nodeId | number | The OSM node ID from whence this came |
Properties inherited from IntersectionVertex |
||
trafficLight | boolean | Does this intersection have a traffic light? |
freeFlowing | boolean | Is this a free-flowing intersection, i.e. should it have no delay at all? e.g., freeway ramps, etc. |
Properties inherited from StreetVertex |
||
flexStopLocations | array of FlexStopLocation | All locations for flex transit, which this vertex is part of |
intersectionName | I18NString | Creates intersection name out of all outgoing names This can be: - name of the street if it is only 1 - unnamedStreed (localized in requested language) if it doesn't have a name - corner of 0 and 1 (localized corner of zero and first street in the corner) |
connectedToWalkingEdge | boolean | |
connectedToDriveableEdge | boolean | |
eligibleForCarPickupDropoff | boolean | |
Properties inherited from Vertex |
||
outgoing | array of Edge | Get a collection containing all the edges leading from this vertex to other vertices. There is probably some overhead to creating the wrapper ArrayList objects, but this allows filtering and combining edge lists using stock Collection-based methods. |
incoming | array of Edge | Get a collection containing all the edges leading from other vertices to this vertex. |
degreeOut | number | |
degreeIn | number | |
x | number | Get the longitude of the vertex |
y | number | Get the latitude of the vertex |
lon | number | Get the longitude of the vertex |
lat | number | Get the latitude of the vertex |
name | I18NString | If this vertex is located on only one street, get that street's name |
defaultName | string | If this vertex is located on only one street, get that street's name in default localization |
stationElement | StationElement | Get the corresponding StationElement if this is a transit vertex |
label | string | Every vertex has a label which is globally unique. |
coordinate | Coordinate | |
outgoingStreetEdges | array of Edge |
Example
{ "stopCode" : "...", "nodeId" : 12345, "trafficLight" : true, "freeFlowing" : true, "flexStopLocations" : [ { "name" : "...", "description" : "...", "url" : "...", "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 }, "coordinate" : { }, "firstZoneAsString" : "...", "partOfStation" : true, "id" : { "feedId" : "...", "id" : "..." } }, { "name" : "...", "description" : "...", "url" : "...", "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 }, "coordinate" : { }, "firstZoneAsString" : "...", "partOfStation" : true, "id" : { "feedId" : "...", "id" : "..." } } ], "intersectionName" : { }, "connectedToWalkingEdge" : true, "connectedToDriveableEdge" : true, "eligibleForCarPickupDropoff" : true, "outgoing" : [ { "fromVertex" : { "outgoing" : [ { }, { } ], "incoming" : [ { }, { } ], "degreeOut" : 12345, "degreeIn" : 12345, "x" : 12345.0, "y" : 12345.0, "lon" : 12345.0, "lat" : 12345.0, "name" : { }, "defaultName" : "...", "stationElement" : { }, "label" : "...", "coordinate" : { }, "outgoingStreetEdges" : [ { }, { } ] }, "toVertex" : { "outgoing" : [ { }, { } ], "incoming" : [ { }, { } ], "degreeOut" : 12345, "degreeIn" : 12345, "x" : 12345.0, "y" : 12345.0, "lon" : 12345.0, "lat" : 12345.0, "name" : { }, "defaultName" : "...", "stationElement" : { }, "label" : "...", "coordinate" : { }, "outgoingStreetEdges" : [ { }, { } ] }, "partial" : true, "direction" : "...", "trip" : { "operator" : { }, "tripOperator" : { }, "route" : { }, "serviceId" : { }, "mode" : "COACH", "netexSubmode" : "...", "tripShortName" : "...", "internalPlanningCode" : "...", "tripHeadsign" : "...", "routeShortName" : "...", "direction" : "INBOUND", "blockId" : "...", "shapeId" : { }, "wheelchairAccessible" : 12345, "bikesAllowed" : "ALLOWED", "fareId" : "...", "tripAlteration" : "CANCELLATION", "id" : { } }, "roundabout" : true, "defaultName" : "...", "name" : { }, "geometry" : { "closed" : true, "endPoint" : { }, "dimension" : 12345, "empty" : true, "numPoints" : 12345, "geometryType" : "...", "coordinateSequence" : { }, "length" : 12345.0, "boundaryDimension" : 12345, "startPoint" : { }, "coordinates" : [ { }, { } ], "coordinate" : { }, "boundary" : { }, "ring" : true, "numGeometries" : 12345, "precisionModel" : { }, "interiorPoint" : { }, "rectangle" : true, "area" : 12345.0, "envelopeInternal" : { }, "centroid" : { }, "factory" : { }, "SRID" : 12345, "simple" : true, "userData" : { }, "envelope" : { }, "valid" : true }, "distanceMeters" : 12345.0, "effectiveWalkDistance" : 12345.0, "distanceIndependentTime" : 12345 }, { "fromVertex" : { "outgoing" : [ { }, { } ], "incoming" : [ { }, { } ], "degreeOut" : 12345, "degreeIn" : 12345, "x" : 12345.0, "y" : 12345.0, "lon" : 12345.0, "lat" : 12345.0, "name" : { }, "defaultName" : "...", "stationElement" : { }, "label" : "...", "coordinate" : { }, "outgoingStreetEdges" : [ { }, { } ] }, "toVertex" : { "outgoing" : [ { }, { } ], "incoming" : [ { }, { } ], "degreeOut" : 12345, "degreeIn" : 12345, "x" : 12345.0, "y" : 12345.0, "lon" : 12345.0, "lat" : 12345.0, "name" : { }, "defaultName" : "...", "stationElement" : { }, "label" : "...", "coordinate" : { }, "outgoingStreetEdges" : [ { }, { } ] }, "partial" : true, "direction" : "...", "trip" : { "operator" : { }, "tripOperator" : { }, "route" : { }, "serviceId" : { }, "mode" : "CABLE_CAR", "netexSubmode" : "...", "tripShortName" : "...", "internalPlanningCode" : "...", "tripHeadsign" : "...", "routeShortName" : "...", "direction" : "CLOCKWISE", "blockId" : "...", "shapeId" : { }, "wheelchairAccessible" : 12345, "bikesAllowed" : "ALLOWED", "fareId" : "...", "tripAlteration" : "REPLACED", "id" : { } }, "roundabout" : true, "defaultName" : "...", "name" : { }, "geometry" : { "closed" : true, "endPoint" : { }, "dimension" : 12345, "empty" : true, "numPoints" : 12345, "geometryType" : "...", "coordinateSequence" : { }, "length" : 12345.0, "boundaryDimension" : 12345, "startPoint" : { }, "coordinates" : [ { }, { } ], "coordinate" : { }, "boundary" : { }, "ring" : true, "numGeometries" : 12345, "precisionModel" : { }, "interiorPoint" : { }, "rectangle" : true, "area" : 12345.0, "envelopeInternal" : { }, "centroid" : { }, "factory" : { }, "SRID" : 12345, "simple" : true, "userData" : { }, "envelope" : { }, "valid" : true }, "distanceMeters" : 12345.0, "effectiveWalkDistance" : 12345.0, "distanceIndependentTime" : 12345 } ], "incoming" : [ { "fromVertex" : { "outgoing" : [ { }, { } ], "incoming" : [ { }, { } ], "degreeOut" : 12345, "degreeIn" : 12345, "x" : 12345.0, "y" : 12345.0, "lon" : 12345.0, "lat" : 12345.0, "name" : { }, "defaultName" : "...", "stationElement" : { }, "label" : "...", "coordinate" : { }, "outgoingStreetEdges" : [ { }, { } ] }, "toVertex" : { "outgoing" : [ { }, { } ], "incoming" : [ { }, { } ], "degreeOut" : 12345, "degreeIn" : 12345, "x" : 12345.0, "y" : 12345.0, "lon" : 12345.0, "lat" : 12345.0, "name" : { }, "defaultName" : "...", "stationElement" : { }, "label" : "...", "coordinate" : { }, "outgoingStreetEdges" : [ { }, { } ] }, "partial" : true, "direction" : "...", "trip" : { "operator" : { }, "tripOperator" : { }, "route" : { }, "serviceId" : { }, "mode" : "COACH", "netexSubmode" : "...", "tripShortName" : "...", "internalPlanningCode" : "...", "tripHeadsign" : "...", "routeShortName" : "...", "direction" : "ANTICLOCKWISE", "blockId" : "...", "shapeId" : { }, "wheelchairAccessible" : 12345, "bikesAllowed" : "UNKNOWN", "fareId" : "...", "tripAlteration" : "REPLACED", "id" : { } }, "roundabout" : true, "defaultName" : "...", "name" : { }, "geometry" : { "closed" : true, "endPoint" : { }, "dimension" : 12345, "empty" : true, "numPoints" : 12345, "geometryType" : "...", "coordinateSequence" : { }, "length" : 12345.0, "boundaryDimension" : 12345, "startPoint" : { }, "coordinates" : [ { }, { } ], "coordinate" : { }, "boundary" : { }, "ring" : true, "numGeometries" : 12345, "precisionModel" : { }, "interiorPoint" : { }, "rectangle" : true, "area" : 12345.0, "envelopeInternal" : { }, "centroid" : { }, "factory" : { }, "SRID" : 12345, "simple" : true, "userData" : { }, "envelope" : { }, "valid" : true }, "distanceMeters" : 12345.0, "effectiveWalkDistance" : 12345.0, "distanceIndependentTime" : 12345 }, { "fromVertex" : { "outgoing" : [ { }, { } ], "incoming" : [ { }, { } ], "degreeOut" : 12345, "degreeIn" : 12345, "x" : 12345.0, "y" : 12345.0, "lon" : 12345.0, "lat" : 12345.0, "name" : { }, "defaultName" : "...", "stationElement" : { }, "label" : "...", "coordinate" : { }, "outgoingStreetEdges" : [ { }, { } ] }, "toVertex" : { "outgoing" : [ { }, { } ], "incoming" : [ { }, { } ], "degreeOut" : 12345, "degreeIn" : 12345, "x" : 12345.0, "y" : 12345.0, "lon" : 12345.0, "lat" : 12345.0, "name" : { }, "defaultName" : "...", "stationElement" : { }, "label" : "...", "coordinate" : { }, "outgoingStreetEdges" : [ { }, { } ] }, "partial" : true, "direction" : "...", "trip" : { "operator" : { }, "tripOperator" : { }, "route" : { }, "serviceId" : { }, "mode" : "COACH", "netexSubmode" : "...", "tripShortName" : "...", "internalPlanningCode" : "...", "tripHeadsign" : "...", "routeShortName" : "...", "direction" : "UNKNOWN", "blockId" : "...", "shapeId" : { }, "wheelchairAccessible" : 12345, "bikesAllowed" : "NOT_ALLOWED", "fareId" : "...", "tripAlteration" : "REPLACED", "id" : { } }, "roundabout" : true, "defaultName" : "...", "name" : { }, "geometry" : { "closed" : true, "endPoint" : { }, "dimension" : 12345, "empty" : true, "numPoints" : 12345, "geometryType" : "...", "coordinateSequence" : { }, "length" : 12345.0, "boundaryDimension" : 12345, "startPoint" : { }, "coordinates" : [ { }, { } ], "coordinate" : { }, "boundary" : { }, "ring" : true, "numGeometries" : 12345, "precisionModel" : { }, "interiorPoint" : { }, "rectangle" : true, "area" : 12345.0, "envelopeInternal" : { }, "centroid" : { }, "factory" : { }, "SRID" : 12345, "simple" : true, "userData" : { }, "envelope" : { }, "valid" : true }, "distanceMeters" : 12345.0, "effectiveWalkDistance" : 12345.0, "distanceIndependentTime" : 12345 } ], "degreeOut" : 12345, "degreeIn" : 12345, "x" : 12345.0, "y" : 12345.0, "lon" : 12345.0, "lat" : 12345.0, "name" : { }, "defaultName" : "...", "stationElement" : { "name" : "...", "code" : "...", "description" : "...", "coordinate" : { }, "wheelchairBoarding" : "NO_INFORMATION", "levelName" : "...", "levelIndex" : 12345.0, "parentStation" : { "name" : "...", "coordinate" : { }, "code" : "...", "description" : "...", "url" : "...", "priority" : "ALLOWED", "timezone" : { }, "childStops" : [ { }, { } ], "lat" : 12345.0, "lon" : 12345.0, "geometry" : { }, "id" : { } }, "partOfStation" : true, "id" : { "feedId" : "...", "id" : "..." } }, "label" : "...", "coordinate" : { "x" : 12345.0, "y" : 12345.0, "z" : 12345.0, "m" : 12345.0, "valid" : true }, "outgoingStreetEdges" : [ { "fromVertex" : { "outgoing" : [ { }, { } ], "incoming" : [ { }, { } ], "degreeOut" : 12345, "degreeIn" : 12345, "x" : 12345.0, "y" : 12345.0, "lon" : 12345.0, "lat" : 12345.0, "name" : { }, "defaultName" : "...", "stationElement" : { }, "label" : "...", "coordinate" : { }, "outgoingStreetEdges" : [ { }, { } ] }, "toVertex" : { "outgoing" : [ { }, { } ], "incoming" : [ { }, { } ], "degreeOut" : 12345, "degreeIn" : 12345, "x" : 12345.0, "y" : 12345.0, "lon" : 12345.0, "lat" : 12345.0, "name" : { }, "defaultName" : "...", "stationElement" : { }, "label" : "...", "coordinate" : { }, "outgoingStreetEdges" : [ { }, { } ] }, "partial" : true, "direction" : "...", "trip" : { "operator" : { }, "tripOperator" : { }, "route" : { }, "serviceId" : { }, "mode" : "FUNICULAR", "netexSubmode" : "...", "tripShortName" : "...", "internalPlanningCode" : "...", "tripHeadsign" : "...", "routeShortName" : "...", "direction" : "OUTBOUND", "blockId" : "...", "shapeId" : { }, "wheelchairAccessible" : 12345, "bikesAllowed" : "UNKNOWN", "fareId" : "...", "tripAlteration" : "REPLACED", "id" : { } }, "roundabout" : true, "defaultName" : "...", "name" : { }, "geometry" : { "closed" : true, "endPoint" : { }, "dimension" : 12345, "empty" : true, "numPoints" : 12345, "geometryType" : "...", "coordinateSequence" : { }, "length" : 12345.0, "boundaryDimension" : 12345, "startPoint" : { }, "coordinates" : [ { }, { } ], "coordinate" : { }, "boundary" : { }, "ring" : true, "numGeometries" : 12345, "precisionModel" : { }, "interiorPoint" : { }, "rectangle" : true, "area" : 12345.0, "envelopeInternal" : { }, "centroid" : { }, "factory" : { }, "SRID" : 12345, "simple" : true, "userData" : { }, "envelope" : { }, "valid" : true }, "distanceMeters" : 12345.0, "effectiveWalkDistance" : 12345.0, "distanceIndependentTime" : 12345 }, { "fromVertex" : { "outgoing" : [ { }, { } ], "incoming" : [ { }, { } ], "degreeOut" : 12345, "degreeIn" : 12345, "x" : 12345.0, "y" : 12345.0, "lon" : 12345.0, "lat" : 12345.0, "name" : { }, "defaultName" : "...", "stationElement" : { }, "label" : "...", "coordinate" : { }, "outgoingStreetEdges" : [ { }, { } ] }, "toVertex" : { "outgoing" : [ { }, { } ], "incoming" : [ { }, { } ], "degreeOut" : 12345, "degreeIn" : 12345, "x" : 12345.0, "y" : 12345.0, "lon" : 12345.0, "lat" : 12345.0, "name" : { }, "defaultName" : "...", "stationElement" : { }, "label" : "...", "coordinate" : { }, "outgoingStreetEdges" : [ { }, { } ] }, "partial" : true, "direction" : "...", "trip" : { "operator" : { }, "tripOperator" : { }, "route" : { }, "serviceId" : { }, "mode" : "AIRPLANE", "netexSubmode" : "...", "tripShortName" : "...", "internalPlanningCode" : "...", "tripHeadsign" : "...", "routeShortName" : "...", "direction" : "UNKNOWN", "blockId" : "...", "shapeId" : { }, "wheelchairAccessible" : 12345, "bikesAllowed" : "ALLOWED", "fareId" : "...", "tripAlteration" : "CANCELLATION", "id" : { } }, "roundabout" : true, "defaultName" : "...", "name" : { }, "geometry" : { "closed" : true, "endPoint" : { }, "dimension" : 12345, "empty" : true, "numPoints" : 12345, "geometryType" : "...", "coordinateSequence" : { }, "length" : 12345.0, "boundaryDimension" : 12345, "startPoint" : { }, "coordinates" : [ { }, { } ], "coordinate" : { }, "boundary" : { }, "ring" : true, "numGeometries" : 12345, "precisionModel" : { }, "interiorPoint" : { }, "rectangle" : true, "area" : 12345.0, "envelopeInternal" : { }, "centroid" : { }, "factory" : { }, "SRID" : 12345, "simple" : true, "userData" : { }, "envelope" : { }, "valid" : true }, "distanceMeters" : 12345.0, "effectiveWalkDistance" : 12345.0, "distanceIndependentTime" : 12345 } ] }