Represents a location on a street, somewhere between the two corners. This is used when computing the first and last segments of a trip, for trips that start or end between two intersections. Also for situating bus stops in the middle of street segments.
name | data type | constraints | description |
---|---|---|---|
wheelchairAccessible | boolean | required | |
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 | required | |
connectedToDriveableEdge | boolean | required | |
eligibleForCarPickupDropoff | boolean | required | |
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 | required | |
degreeIn | number | required | |
x | number | required | Get the longitude of the vertex |
y | number | required | Get the latitude of the vertex |
lon | number | required | Get the longitude of the vertex |
lat | number | required | 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
{ "wheelchairAccessible" : 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" : "SUBWAY", "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" : "AIRPLANE", "netexSubmode" : "...", "tripShortName" : "...", "internalPlanningCode" : "...", "tripHeadsign" : "...", "routeShortName" : "...", "direction" : "UNKNOWN", "blockId" : "...", "shapeId" : { }, "wheelchairAccessible" : 12345, "bikesAllowed" : "NOT_ALLOWED", "fareId" : "...", "tripAlteration" : "PLANNED", "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" : "FERRY", "netexSubmode" : "...", "tripShortName" : "...", "internalPlanningCode" : "...", "tripHeadsign" : "...", "routeShortName" : "...", "direction" : "UNKNOWN", "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 }, { "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" : "SUBWAY", "netexSubmode" : "...", "tripShortName" : "...", "internalPlanningCode" : "...", "tripHeadsign" : "...", "routeShortName" : "...", "direction" : "ANTICLOCKWISE", "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 } ], "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" : "RECOMMENDED", "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" : "MONORAIL", "netexSubmode" : "...", "tripShortName" : "...", "internalPlanningCode" : "...", "tripHeadsign" : "...", "routeShortName" : "...", "direction" : "UNKNOWN", "blockId" : "...", "shapeId" : { }, "wheelchairAccessible" : 12345, "bikesAllowed" : "UNKNOWN", "fareId" : "...", "tripAlteration" : "PLANNED", "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" : "MONORAIL", "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 } ] }