A vertex in the graph. Each vertex has a longitude/latitude location, as well as a set of incoming and outgoing edges.
name | data type | description |
---|---|---|
wheelchairAccessibility | Accessibility | |
entrance | Entrance | |
stationElement | StationElement | Get the corresponding StationElement if this is a transit vertex |
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 | |
incomingStreetEdges | array of StreetEdge | |
outgoingStreetEdges | array of StreetEdge |
Example
{ "wheelchairAccessibility" : "NOT_POSSIBLE", "entrance" : { "name" : { }, "code" : "...", "description" : { }, "coordinate" : { }, "wheelchairAccessibility" : "POSSIBLE", "levelName" : "...", "levelIndex" : 12345.0, "parentStation" : { "name" : { }, "childStops" : [ { }, { } ], "lat" : 12345.0, "lon" : 12345.0, "coordinate" : { }, "code" : "...", "description" : { }, "url" : { }, "priority" : "ALLOWED", "timezone" : "...", "transfersNotAllowed" : true, "geometry" : { }, "id" : { } }, "partOfStation" : true, "id" : { "feedId" : "...", "id" : "..." } }, "stationElement" : { "name" : { }, "code" : "...", "description" : { }, "coordinate" : { }, "wheelchairAccessibility" : "NOT_POSSIBLE", "levelName" : "...", "levelIndex" : 12345.0, "parentStation" : { "name" : { }, "childStops" : [ { }, { } ], "lat" : 12345.0, "lon" : 12345.0, "coordinate" : { }, "code" : "...", "description" : { }, "url" : { }, "priority" : "ALLOWED", "timezone" : "...", "transfersNotAllowed" : true, "geometry" : { }, "id" : { } }, "partOfStation" : true, "id" : { "feedId" : "...", "id" : "..." } }, "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" : { }, "incomingStreetEdges" : [ { }, { } ], "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" : { }, "incomingStreetEdges" : [ { }, { } ], "outgoingStreetEdges" : [ { }, { } ] }, "roundabout" : true, "defaultName" : "...", "name" : { }, "geometry" : { "coordinate" : { }, "boundary" : { }, "empty" : true, "boundaryDimension" : 12345, "coordinateSequence" : { }, "coordinates" : [ { }, { } ], "ring" : true, "length" : 12345.0, "numPoints" : 12345, "closed" : true, "startPoint" : { }, "endPoint" : { }, "geometryType" : "...", "dimension" : 12345, "envelope" : { }, "rectangle" : true, "centroid" : { }, "simple" : true, "interiorPoint" : { }, "factory" : { }, "valid" : true, "precisionModel" : { }, "envelopeInternal" : { }, "area" : 12345.0, "userData" : { }, "numGeometries" : 12345, "SRID" : 12345 }, "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" : { }, "incomingStreetEdges" : [ { }, { } ], "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" : { }, "incomingStreetEdges" : [ { }, { } ], "outgoingStreetEdges" : [ { }, { } ] }, "roundabout" : true, "defaultName" : "...", "name" : { }, "geometry" : { "coordinate" : { }, "boundary" : { }, "empty" : true, "boundaryDimension" : 12345, "coordinateSequence" : { }, "coordinates" : [ { }, { } ], "ring" : true, "length" : 12345.0, "numPoints" : 12345, "closed" : true, "startPoint" : { }, "endPoint" : { }, "geometryType" : "...", "dimension" : 12345, "envelope" : { }, "rectangle" : true, "centroid" : { }, "simple" : true, "interiorPoint" : { }, "factory" : { }, "valid" : true, "precisionModel" : { }, "envelopeInternal" : { }, "area" : 12345.0, "userData" : { }, "numGeometries" : 12345, "SRID" : 12345 }, "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" : { }, "incomingStreetEdges" : [ { }, { } ], "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" : { }, "incomingStreetEdges" : [ { }, { } ], "outgoingStreetEdges" : [ { }, { } ] }, "roundabout" : true, "defaultName" : "...", "name" : { }, "geometry" : { "coordinate" : { }, "boundary" : { }, "empty" : true, "boundaryDimension" : 12345, "coordinateSequence" : { }, "coordinates" : [ { }, { } ], "ring" : true, "length" : 12345.0, "numPoints" : 12345, "closed" : true, "startPoint" : { }, "endPoint" : { }, "geometryType" : "...", "dimension" : 12345, "envelope" : { }, "rectangle" : true, "centroid" : { }, "simple" : true, "interiorPoint" : { }, "factory" : { }, "valid" : true, "precisionModel" : { }, "envelopeInternal" : { }, "area" : 12345.0, "userData" : { }, "numGeometries" : 12345, "SRID" : 12345 }, "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" : { }, "incomingStreetEdges" : [ { }, { } ], "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" : { }, "incomingStreetEdges" : [ { }, { } ], "outgoingStreetEdges" : [ { }, { } ] }, "roundabout" : true, "defaultName" : "...", "name" : { }, "geometry" : { "coordinate" : { }, "boundary" : { }, "empty" : true, "boundaryDimension" : 12345, "coordinateSequence" : { }, "coordinates" : [ { }, { } ], "ring" : true, "length" : 12345.0, "numPoints" : 12345, "closed" : true, "startPoint" : { }, "endPoint" : { }, "geometryType" : "...", "dimension" : 12345, "envelope" : { }, "rectangle" : true, "centroid" : { }, "simple" : true, "interiorPoint" : { }, "factory" : { }, "valid" : true, "precisionModel" : { }, "envelopeInternal" : { }, "area" : 12345.0, "userData" : { }, "numGeometries" : 12345, "SRID" : 12345 }, "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" : "...", "label" : "...", "coordinate" : { "y" : 12345.0, "z" : 12345.0, "x" : 12345.0, "m" : 12345.0, "valid" : true }, "incomingStreetEdges" : [ { "elevationProfile" : { "dimension" : 12345, "measures" : 12345 }, "elevationFlattened" : true, "maxSlope" : 12345.0, "effectiveBikeDistance" : 12345.0, "effectiveBikeDistanceForWorkCost" : 12345.0, "bicycleSafetyFactor" : 12345.0, "effectiveBicycleSafetyDistance" : 12345.0, "walkSafetyFactor" : 12345.0, "effectiveWalkSafetyDistance" : 12345.0, "roundabout" : true, "name" : { }, "geometry" : { "coordinate" : { }, "boundary" : { }, "empty" : true, "boundaryDimension" : 12345, "coordinateSequence" : { }, "coordinates" : [ { }, { } ], "ring" : true, "length" : 12345.0, "numPoints" : 12345, "closed" : true, "startPoint" : { }, "endPoint" : { }, "geometryType" : "...", "dimension" : 12345, "envelope" : { }, "rectangle" : true, "centroid" : { }, "simple" : true, "interiorPoint" : { }, "factory" : { }, "valid" : true, "precisionModel" : { }, "envelopeInternal" : { }, "area" : 12345.0, "userData" : { }, "numGeometries" : 12345, "SRID" : 12345 }, "distanceMeters" : 12345.0, "effectiveWalkDistance" : 12345.0, "wheelchairAccessible" : true, "permission" : "BICYCLE", "back" : true, "walkNoThruTraffic" : true, "motorVehicleNoThruTraffic" : true, "bicycleNoThruTraffic" : true, "stairs" : true, "link" : true, "carSpeed" : 12345.0, "slopeOverride" : true, "inAngle" : 12345, "outAngle" : 12345, "turnRestrictions" : [ { "type" : "NO_TURN", "from" : { }, "to" : { }, "time" : { }, "modes" : { } }, { "type" : "ONLY_TURN", "from" : { }, "to" : { }, "time" : { }, "modes" : { } } ], "fromVertex" : { "outgoing" : [ { }, { } ], "incoming" : [ { }, { } ], "degreeOut" : 12345, "degreeIn" : 12345, "x" : 12345.0, "y" : 12345.0, "lon" : 12345.0, "lat" : 12345.0, "name" : { }, "defaultName" : "...", "stationElement" : { }, "label" : "...", "coordinate" : { }, "incomingStreetEdges" : [ { }, { } ], "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" : { }, "incomingStreetEdges" : [ { }, { } ], "outgoingStreetEdges" : [ { }, { } ] }, "defaultName" : "...", "distanceIndependentTime" : 12345 }, { "elevationProfile" : { "dimension" : 12345, "measures" : 12345 }, "elevationFlattened" : true, "maxSlope" : 12345.0, "effectiveBikeDistance" : 12345.0, "effectiveBikeDistanceForWorkCost" : 12345.0, "bicycleSafetyFactor" : 12345.0, "effectiveBicycleSafetyDistance" : 12345.0, "walkSafetyFactor" : 12345.0, "effectiveWalkSafetyDistance" : 12345.0, "roundabout" : true, "name" : { }, "geometry" : { "coordinate" : { }, "boundary" : { }, "empty" : true, "boundaryDimension" : 12345, "coordinateSequence" : { }, "coordinates" : [ { }, { } ], "ring" : true, "length" : 12345.0, "numPoints" : 12345, "closed" : true, "startPoint" : { }, "endPoint" : { }, "geometryType" : "...", "dimension" : 12345, "envelope" : { }, "rectangle" : true, "centroid" : { }, "simple" : true, "interiorPoint" : { }, "factory" : { }, "valid" : true, "precisionModel" : { }, "envelopeInternal" : { }, "area" : 12345.0, "userData" : { }, "numGeometries" : 12345, "SRID" : 12345 }, "distanceMeters" : 12345.0, "effectiveWalkDistance" : 12345.0, "wheelchairAccessible" : true, "permission" : "PEDESTRIAN_AND_BICYCLE", "back" : true, "walkNoThruTraffic" : true, "motorVehicleNoThruTraffic" : true, "bicycleNoThruTraffic" : true, "stairs" : true, "link" : true, "carSpeed" : 12345.0, "slopeOverride" : true, "inAngle" : 12345, "outAngle" : 12345, "turnRestrictions" : [ { "type" : "ONLY_TURN", "from" : { }, "to" : { }, "time" : { }, "modes" : { } }, { "type" : "ONLY_TURN", "from" : { }, "to" : { }, "time" : { }, "modes" : { } } ], "fromVertex" : { "outgoing" : [ { }, { } ], "incoming" : [ { }, { } ], "degreeOut" : 12345, "degreeIn" : 12345, "x" : 12345.0, "y" : 12345.0, "lon" : 12345.0, "lat" : 12345.0, "name" : { }, "defaultName" : "...", "stationElement" : { }, "label" : "...", "coordinate" : { }, "incomingStreetEdges" : [ { }, { } ], "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" : { }, "incomingStreetEdges" : [ { }, { } ], "outgoingStreetEdges" : [ { }, { } ] }, "defaultName" : "...", "distanceIndependentTime" : 12345 } ], "outgoingStreetEdges" : [ { "elevationProfile" : { "dimension" : 12345, "measures" : 12345 }, "elevationFlattened" : true, "maxSlope" : 12345.0, "effectiveBikeDistance" : 12345.0, "effectiveBikeDistanceForWorkCost" : 12345.0, "bicycleSafetyFactor" : 12345.0, "effectiveBicycleSafetyDistance" : 12345.0, "walkSafetyFactor" : 12345.0, "effectiveWalkSafetyDistance" : 12345.0, "roundabout" : true, "name" : { }, "geometry" : { "coordinate" : { }, "boundary" : { }, "empty" : true, "boundaryDimension" : 12345, "coordinateSequence" : { }, "coordinates" : [ { }, { } ], "ring" : true, "length" : 12345.0, "numPoints" : 12345, "closed" : true, "startPoint" : { }, "endPoint" : { }, "geometryType" : "...", "dimension" : 12345, "envelope" : { }, "rectangle" : true, "centroid" : { }, "simple" : true, "interiorPoint" : { }, "factory" : { }, "valid" : true, "precisionModel" : { }, "envelopeInternal" : { }, "area" : 12345.0, "userData" : { }, "numGeometries" : 12345, "SRID" : 12345 }, "distanceMeters" : 12345.0, "effectiveWalkDistance" : 12345.0, "wheelchairAccessible" : true, "permission" : "PEDESTRIAN_AND_BICYCLE", "back" : true, "walkNoThruTraffic" : true, "motorVehicleNoThruTraffic" : true, "bicycleNoThruTraffic" : true, "stairs" : true, "link" : true, "carSpeed" : 12345.0, "slopeOverride" : true, "inAngle" : 12345, "outAngle" : 12345, "turnRestrictions" : [ { "type" : "NO_TURN", "from" : { }, "to" : { }, "time" : { }, "modes" : { } }, { "type" : "NO_TURN", "from" : { }, "to" : { }, "time" : { }, "modes" : { } } ], "fromVertex" : { "outgoing" : [ { }, { } ], "incoming" : [ { }, { } ], "degreeOut" : 12345, "degreeIn" : 12345, "x" : 12345.0, "y" : 12345.0, "lon" : 12345.0, "lat" : 12345.0, "name" : { }, "defaultName" : "...", "stationElement" : { }, "label" : "...", "coordinate" : { }, "incomingStreetEdges" : [ { }, { } ], "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" : { }, "incomingStreetEdges" : [ { }, { } ], "outgoingStreetEdges" : [ { }, { } ] }, "defaultName" : "...", "distanceIndependentTime" : 12345 }, { "elevationProfile" : { "dimension" : 12345, "measures" : 12345 }, "elevationFlattened" : true, "maxSlope" : 12345.0, "effectiveBikeDistance" : 12345.0, "effectiveBikeDistanceForWorkCost" : 12345.0, "bicycleSafetyFactor" : 12345.0, "effectiveBicycleSafetyDistance" : 12345.0, "walkSafetyFactor" : 12345.0, "effectiveWalkSafetyDistance" : 12345.0, "roundabout" : true, "name" : { }, "geometry" : { "coordinate" : { }, "boundary" : { }, "empty" : true, "boundaryDimension" : 12345, "coordinateSequence" : { }, "coordinates" : [ { }, { } ], "ring" : true, "length" : 12345.0, "numPoints" : 12345, "closed" : true, "startPoint" : { }, "endPoint" : { }, "geometryType" : "...", "dimension" : 12345, "envelope" : { }, "rectangle" : true, "centroid" : { }, "simple" : true, "interiorPoint" : { }, "factory" : { }, "valid" : true, "precisionModel" : { }, "envelopeInternal" : { }, "area" : 12345.0, "userData" : { }, "numGeometries" : 12345, "SRID" : 12345 }, "distanceMeters" : 12345.0, "effectiveWalkDistance" : 12345.0, "wheelchairAccessible" : true, "permission" : "BICYCLE_AND_CAR", "back" : true, "walkNoThruTraffic" : true, "motorVehicleNoThruTraffic" : true, "bicycleNoThruTraffic" : true, "stairs" : true, "link" : true, "carSpeed" : 12345.0, "slopeOverride" : true, "inAngle" : 12345, "outAngle" : 12345, "turnRestrictions" : [ { "type" : "NO_TURN", "from" : { }, "to" : { }, "time" : { }, "modes" : { } }, { "type" : "NO_TURN", "from" : { }, "to" : { }, "time" : { }, "modes" : { } } ], "fromVertex" : { "outgoing" : [ { }, { } ], "incoming" : [ { }, { } ], "degreeOut" : 12345, "degreeIn" : 12345, "x" : 12345.0, "y" : 12345.0, "lon" : 12345.0, "lat" : 12345.0, "name" : { }, "defaultName" : "...", "stationElement" : { }, "label" : "...", "coordinate" : { }, "incomingStreetEdges" : [ { }, { } ], "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" : { }, "incomingStreetEdges" : [ { }, { } ], "outgoingStreetEdges" : [ { }, { } ] }, "defaultName" : "...", "distanceIndependentTime" : 12345 } ] }