TODO: decide what to do with this. Currently temporary vertices have only incoming or outgoing edges But this one needs to have both since different vertex is start vertex Created by mabu on 20.5.2016.
name | data type | constraints | description |
---|---|---|---|
endVertex | boolean | required | |
wheelchairAccessible | boolean | required | |
Properties inherited from SplitterVertex |
|||
previousNodeId | number | required | The OSM node ID of the intersection before this split vertex |
nextNodeId | number | required | The OSM node ID of the intersection after this split vertex |
Properties inherited from IntersectionVertex |
|||
trafficLight | boolean | required | Does this intersection have a traffic light? |
freeFlowing | boolean | required | 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 | 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
{ "endVertex" : true, "wheelchairAccessible" : true, "previousNodeId" : 12345, "nextNodeId" : 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" : "RAIL", "netexSubmode" : "...", "tripShortName" : "...", "internalPlanningCode" : "...", "tripHeadsign" : "...", "routeShortName" : "...", "direction" : "ANTICLOCKWISE", "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" : "BUS", "netexSubmode" : "...", "tripShortName" : "...", "internalPlanningCode" : "...", "tripHeadsign" : "...", "routeShortName" : "...", "direction" : "ANTICLOCKWISE", "blockId" : "...", "shapeId" : { }, "wheelchairAccessible" : 12345, "bikesAllowed" : "UNKNOWN", "fareId" : "...", "tripAlteration" : "EXTRA_JOURNEY", "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" : "CABLE_CAR", "netexSubmode" : "...", "tripShortName" : "...", "internalPlanningCode" : "...", "tripHeadsign" : "...", "routeShortName" : "...", "direction" : "CLOCKWISE", "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 }, { "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" : "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" : "PREFERRED", "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" : "TRAM", "netexSubmode" : "...", "tripShortName" : "...", "internalPlanningCode" : "...", "tripHeadsign" : "...", "routeShortName" : "...", "direction" : "OUTBOUND", "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 }, { "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" : "INBOUND", "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 } ] }