StopFinderTraverseVisitor Data Type

A TraverseVisitor used in finding stops while walking the street graph.

Implemented Interfaces
TraverseVisitor
Properties
name data type description
stopsFound array of NearbyStop A list of closest stops found while walking the graph
skipEdgeStrategy SkipEdgeStrategy A SkipEdgeStrategy that will stop exploring edges after the distance radius has been reached.

Example

{
  "stopsFound" : [ {
    "stop" : {
      "geometry" : { },
      "parentStation" : { },
      "platformCode" : "...",
      "name" : "...",
      "partOfStation" : true,
      "lon" : 12345.0,
      "firstZoneAsString" : "...",
      "description" : "...",
      "vehicleSubmode" : "...",
      "fareZones" : [ { }, { } ],
      "priority" : "ALLOWED",
      "timeZone" : { },
      "url" : "...",
      "code" : "...",
      "wheelchairBoarding" : "NOT_POSSIBLE",
      "lat" : 12345.0,
      "id" : { },
      "coordinate" : { },
      "vehicleType" : "CABLE_CAR"
    },
    "distance" : 12345.0,
    "edges" : [ {
      "fromVertex" : { },
      "toVertex" : { },
      "partial" : true,
      "direction" : "...",
      "trip" : { },
      "roundabout" : true,
      "defaultName" : "...",
      "name" : { },
      "geometry" : { },
      "distanceMeters" : 12345.0,
      "effectiveWalkDistance" : 12345.0,
      "distanceIndependentTime" : 12345
    }, {
      "fromVertex" : { },
      "toVertex" : { },
      "partial" : true,
      "direction" : "...",
      "trip" : { },
      "roundabout" : true,
      "defaultName" : "...",
      "name" : { },
      "geometry" : { },
      "distanceMeters" : 12345.0,
      "effectiveWalkDistance" : 12345.0,
      "distanceIndependentTime" : 12345
    } ],
    "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
    },
    "state" : {
      "weight" : 12345.0,
      "backEdge" : { },
      "stateData" : { },
      "walkDistance" : 12345.0,
      "carPickupState" : "WALK_FROM_DROP_OFF",
      "timeSeconds" : 12345,
      "elapsedTimeSeconds" : 12345,
      "rentingVehicleFromStation" : true,
      "rentingFloatingVehicle" : true,
      "rentingVehicle" : true,
      "vehicleRentalState" : "RENTING_FLOATING",
      "vehicleParked" : true,
      "final" : true,
      "vertex" : { },
      "timeDeltaSeconds" : 12345,
      "weightDelta" : 12345.0,
      "backState" : { },
      "backMode" : "SCOOTER",
      "backWalkingBike" : true,
      "startTimeSeconds" : 12345,
      "nextResult" : { },
      "context" : { },
      "options" : { },
      "nonTransitMode" : "FERRY",
      "timeInMillis" : 12345,
      "vehicleRentalNetwork" : "..."
    }
  }, {
    "stop" : {
      "geometry" : { },
      "parentStation" : { },
      "platformCode" : "...",
      "name" : "...",
      "partOfStation" : true,
      "lon" : 12345.0,
      "firstZoneAsString" : "...",
      "description" : "...",
      "vehicleSubmode" : "...",
      "fareZones" : [ { }, { } ],
      "priority" : "ALLOWED",
      "timeZone" : { },
      "url" : "...",
      "code" : "...",
      "wheelchairBoarding" : "NOT_POSSIBLE",
      "lat" : 12345.0,
      "id" : { },
      "coordinate" : { },
      "vehicleType" : "AIRPLANE"
    },
    "distance" : 12345.0,
    "edges" : [ {
      "fromVertex" : { },
      "toVertex" : { },
      "partial" : true,
      "direction" : "...",
      "trip" : { },
      "roundabout" : true,
      "defaultName" : "...",
      "name" : { },
      "geometry" : { },
      "distanceMeters" : 12345.0,
      "effectiveWalkDistance" : 12345.0,
      "distanceIndependentTime" : 12345
    }, {
      "fromVertex" : { },
      "toVertex" : { },
      "partial" : true,
      "direction" : "...",
      "trip" : { },
      "roundabout" : true,
      "defaultName" : "...",
      "name" : { },
      "geometry" : { },
      "distanceMeters" : 12345.0,
      "effectiveWalkDistance" : 12345.0,
      "distanceIndependentTime" : 12345
    } ],
    "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
    },
    "state" : {
      "weight" : 12345.0,
      "backEdge" : { },
      "stateData" : { },
      "walkDistance" : 12345.0,
      "carPickupState" : "WALK_FROM_DROP_OFF",
      "timeSeconds" : 12345,
      "elapsedTimeSeconds" : 12345,
      "rentingVehicleFromStation" : true,
      "rentingFloatingVehicle" : true,
      "rentingVehicle" : true,
      "vehicleRentalState" : "BEFORE_RENTING",
      "vehicleParked" : true,
      "final" : true,
      "vertex" : { },
      "timeDeltaSeconds" : 12345,
      "weightDelta" : 12345.0,
      "backState" : { },
      "backMode" : "MONORAIL",
      "backWalkingBike" : true,
      "startTimeSeconds" : 12345,
      "nextResult" : { },
      "context" : { },
      "options" : { },
      "nonTransitMode" : "CABLE_CAR",
      "timeInMillis" : 12345,
      "vehicleRentalNetwork" : "..."
    }
  } ],
  "skipEdgeStrategy" : { }
}