TransitPathwayNodeVertex Data Type

A vertex in the graph. Each vertex has a longitude/latitude location, as well as a set of incoming and outgoing edges.

Implemented Interfaces
Cloneable, Serializable
Properties
name data type constraints description
wheelchairEntrance boolean required
node PathwayNode  
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 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

{
  "wheelchairEntrance" : true,
  "node" : {
    "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" : "..."
    }
  },
  "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" : "..."
    }
  },
  "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" : "FUNICULAR",
      "netexSubmode" : "...",
      "tripShortName" : "...",
      "internalPlanningCode" : "...",
      "tripHeadsign" : "...",
      "routeShortName" : "...",
      "direction" : "INBOUND",
      "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" : "COACH",
      "netexSubmode" : "...",
      "tripShortName" : "...",
      "internalPlanningCode" : "...",
      "tripHeadsign" : "...",
      "routeShortName" : "...",
      "direction" : "ANTICLOCKWISE",
      "blockId" : "...",
      "shapeId" : { },
      "wheelchairAccessible" : 12345,
      "bikesAllowed" : "NOT_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
  } ],
  "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" : "OUTBOUND",
      "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" : "SUBWAY",
      "netexSubmode" : "...",
      "tripShortName" : "...",
      "internalPlanningCode" : "...",
      "tripHeadsign" : "...",
      "routeShortName" : "...",
      "direction" : "ANTICLOCKWISE",
      "blockId" : "...",
      "shapeId" : { },
      "wheelchairAccessible" : 12345,
      "bikesAllowed" : "ALLOWED",
      "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
  } ],
  "degreeOut" : 12345,
  "degreeIn" : 12345,
  "x" : 12345.0,
  "y" : 12345.0,
  "lon" : 12345.0,
  "lat" : 12345.0,
  "name" : { },
  "defaultName" : "...",
  "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" : "SUBWAY",
      "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
  }, {
    "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" : "UNKNOWN",
      "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
  } ]
}