NearbyStop Data Type

A specific stop at a distance. Also includes a geometry and potentially a list of edges and a state of how to reach the stop from the search origin

Properties
name data type constraints description
stop StopLocation  
distance number required
edges array of Edge  
geometry LineString  
state State  

Example

{
  "stop" : {
    "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
    },
    "parentStation" : {
      "name" : "...",
      "coordinate" : { },
      "code" : "...",
      "description" : "...",
      "url" : "...",
      "priority" : "RECOMMENDED",
      "timezone" : { },
      "childStops" : [ { }, { } ],
      "lat" : 12345.0,
      "lon" : 12345.0,
      "geometry" : { },
      "id" : { }
    },
    "platformCode" : "...",
    "name" : "...",
    "partOfStation" : true,
    "lon" : 12345.0,
    "firstZoneAsString" : "...",
    "description" : "...",
    "vehicleSubmode" : "...",
    "fareZones" : [ {
      "name" : "...",
      "id" : { }
    }, {
      "name" : "...",
      "id" : { }
    } ],
    "priority" : "RECOMMENDED",
    "timeZone" : {
      "rawOffset" : 12345,
      "DSTSavings" : 12345,
      "availableIDs" : [ "...", "..." ],
      "default" : { },
      "displayName" : "...",
      "ID" : "..."
    },
    "url" : "...",
    "code" : "...",
    "wheelchairBoarding" : "NO_INFORMATION",
    "lat" : 12345.0,
    "id" : {
      "feedId" : "...",
      "id" : "..."
    },
    "coordinate" : { },
    "vehicleType" : "COACH"
  },
  "distance" : 12345.0,
  "edges" : [ {
    "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" : "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" : "CABLE_CAR",
      "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
  } ],
  "geometry" : {
    "closed" : true,
    "endPoint" : {
      "boundaryDimension" : 12345,
      "x" : 12345.0,
      "coordinates" : [ { }, { } ],
      "coordinate" : { },
      "simple" : true,
      "numPoints" : 12345,
      "dimension" : 12345,
      "boundary" : { },
      "geometryType" : "...",
      "coordinateSequence" : { },
      "empty" : true,
      "y" : 12345.0,
      "length" : 12345.0,
      "numGeometries" : 12345,
      "precisionModel" : { },
      "interiorPoint" : { },
      "rectangle" : true,
      "area" : 12345.0,
      "envelopeInternal" : { },
      "centroid" : { },
      "factory" : { },
      "SRID" : 12345,
      "userData" : { },
      "envelope" : { },
      "valid" : true
    },
    "dimension" : 12345,
    "empty" : true,
    "numPoints" : 12345,
    "geometryType" : "...",
    "coordinateSequence" : {
      "measures" : 12345,
      "dimension" : 12345
    },
    "length" : 12345.0,
    "boundaryDimension" : 12345,
    "startPoint" : {
      "boundaryDimension" : 12345,
      "x" : 12345.0,
      "coordinates" : [ { }, { } ],
      "coordinate" : { },
      "simple" : true,
      "numPoints" : 12345,
      "dimension" : 12345,
      "boundary" : { },
      "geometryType" : "...",
      "coordinateSequence" : { },
      "empty" : true,
      "y" : 12345.0,
      "length" : 12345.0,
      "numGeometries" : 12345,
      "precisionModel" : { },
      "interiorPoint" : { },
      "rectangle" : true,
      "area" : 12345.0,
      "envelopeInternal" : { },
      "centroid" : { },
      "factory" : { },
      "SRID" : 12345,
      "userData" : { },
      "envelope" : { },
      "valid" : true
    },
    "coordinates" : [ {
      "x" : 12345.0,
      "y" : 12345.0,
      "z" : 12345.0,
      "m" : 12345.0,
      "valid" : true
    }, {
      "x" : 12345.0,
      "y" : 12345.0,
      "z" : 12345.0,
      "m" : 12345.0,
      "valid" : true
    } ],
    "coordinate" : {
      "x" : 12345.0,
      "y" : 12345.0,
      "z" : 12345.0,
      "m" : 12345.0,
      "valid" : true
    },
    "boundary" : {
      "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
    },
    "ring" : true,
    "numGeometries" : 12345,
    "precisionModel" : {
      "scale" : 12345.0,
      "floating" : true,
      "maximumSignificantDigits" : 12345,
      "type" : { },
      "offsetX" : 12345.0,
      "offsetY" : 12345.0
    },
    "interiorPoint" : {
      "boundaryDimension" : 12345,
      "x" : 12345.0,
      "coordinates" : [ { }, { } ],
      "coordinate" : { },
      "simple" : true,
      "numPoints" : 12345,
      "dimension" : 12345,
      "boundary" : { },
      "geometryType" : "...",
      "coordinateSequence" : { },
      "empty" : true,
      "y" : 12345.0,
      "length" : 12345.0,
      "numGeometries" : 12345,
      "precisionModel" : { },
      "interiorPoint" : { },
      "rectangle" : true,
      "area" : 12345.0,
      "envelopeInternal" : { },
      "centroid" : { },
      "factory" : { },
      "SRID" : 12345,
      "userData" : { },
      "envelope" : { },
      "valid" : true
    },
    "rectangle" : true,
    "area" : 12345.0,
    "envelopeInternal" : {
      "width" : 12345.0,
      "null" : true,
      "diameter" : 12345.0,
      "area" : 12345.0,
      "minY" : 12345.0,
      "height" : 12345.0,
      "maxX" : 12345.0,
      "maxY" : 12345.0,
      "minX" : 12345.0
    },
    "centroid" : {
      "boundaryDimension" : 12345,
      "x" : 12345.0,
      "coordinates" : [ { }, { } ],
      "coordinate" : { },
      "simple" : true,
      "numPoints" : 12345,
      "dimension" : 12345,
      "boundary" : { },
      "geometryType" : "...",
      "coordinateSequence" : { },
      "empty" : true,
      "y" : 12345.0,
      "length" : 12345.0,
      "numGeometries" : 12345,
      "precisionModel" : { },
      "interiorPoint" : { },
      "rectangle" : true,
      "area" : 12345.0,
      "envelopeInternal" : { },
      "centroid" : { },
      "factory" : { },
      "SRID" : 12345,
      "userData" : { },
      "envelope" : { },
      "valid" : true
    },
    "factory" : {
      "precisionModel" : { },
      "SRID" : 12345,
      "coordinateSequenceFactory" : { }
    },
    "SRID" : 12345,
    "simple" : true,
    "userData" : { },
    "envelope" : {
      "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
    },
    "valid" : true
  },
  "state" : {
    "weight" : 12345.0,
    "backEdge" : {
      "fromVertex" : { },
      "toVertex" : { },
      "partial" : true,
      "direction" : "...",
      "trip" : { },
      "roundabout" : true,
      "defaultName" : "...",
      "name" : { },
      "geometry" : { },
      "distanceMeters" : 12345.0,
      "effectiveWalkDistance" : 12345.0,
      "distanceIndependentTime" : 12345
    },
    "stateData" : {
      "vehicleRentalNetwork" : "...",
      "rentalVehicleFormFactor" : "BICYCLE"
    },
    "walkDistance" : 12345.0,
    "carPickupState" : "WALK_TO_PICKUP",
    "timeSeconds" : 12345,
    "elapsedTimeSeconds" : 12345,
    "rentingVehicleFromStation" : true,
    "rentingFloatingVehicle" : true,
    "rentingVehicle" : true,
    "vehicleRentalState" : "BEFORE_RENTING",
    "vehicleParked" : true,
    "final" : true,
    "vertex" : {
      "outgoing" : [ { }, { } ],
      "incoming" : [ { }, { } ],
      "degreeOut" : 12345,
      "degreeIn" : 12345,
      "x" : 12345.0,
      "y" : 12345.0,
      "lon" : 12345.0,
      "lat" : 12345.0,
      "name" : { },
      "defaultName" : "...",
      "stationElement" : { },
      "label" : "...",
      "coordinate" : { },
      "outgoingStreetEdges" : [ { }, { } ]
    },
    "timeDeltaSeconds" : 12345,
    "weightDelta" : 12345.0,
    "backState" : { },
    "backMode" : "RAIL",
    "backWalkingBike" : true,
    "startTimeSeconds" : 12345,
    "nextResult" : { },
    "context" : {
      "opt" : { },
      "graph" : { },
      "fromVertices" : [ { }, { } ],
      "toVertices" : [ { }, { } ],
      "bannedRoutes" : [ { }, { } ],
      "originBackEdge" : { },
      "remainingWeightHeuristic" : { },
      "aborted" : true,
      "slopeRestrictionRemoved" : true,
      "dataOverlayContext" : { }
    },
    "options" : {
      "parameters" : {
        "property1" : "...",
        "property2" : "..."
      },
      "from" : { },
      "to" : { },
      "maxDirectStreetDurationSeconds" : 12345.0,
      "maxAccessEgressDurationSeconds" : 12345.0,
      "maxAccessEgressDurationSecondsForMode" : {
        "property1" : 12345.0,
        "property2" : 12345.0
      },
      "modes" : { },
      "streetSubRequestModes" : { },
      "bicycleOptimizeType" : "TRIANGLE",
      "searchWindow" : 12345,
      "maxJourneyDuration" : 12345,
      "pageCursor" : { },
      "timetableView" : true,
      "arriveBy" : true,
      "wheelchairAccessible" : true,
      "numItineraries" : 12345,
      "maxWheelchairSlope" : 12345.0,
      "showIntermediateStops" : true,
      "walkSpeed" : 12345.0,
      "bikeSpeed" : 12345.0,
      "bikeWalkingSpeed" : 12345.0,
      "carSpeed" : 12345.0,
      "locale" : "...",
      "transferCost" : 12345,
      "transferOptimization" : { },
      "walkReluctance" : 12345.0,
      "bikeWalkingReluctance" : 12345.0,
      "bikeReluctance" : 12345.0,
      "carReluctance" : 12345.0,
      "stairsTimeFactor" : 12345.0,
      "stairsReluctance" : 12345.0,
      "turnReluctance" : 12345.0,
      "elevatorBoardTime" : 12345,
      "elevatorBoardCost" : 12345,
      "elevatorHopTime" : 12345,
      "elevatorHopCost" : 12345,
      "bikeSwitchTime" : 12345,
      "bikeSwitchCost" : 12345,
      "vehicleRentalPickupTime" : 12345,
      "vehicleRentalPickupCost" : 12345,
      "vehicleRentalDropoffTime" : 12345,
      "vehicleRentalDropoffCost" : 12345,
      "allowedVehicleRentalNetworks" : [ "...", "..." ],
      "bannedVehicleRentalNetworks" : [ "...", "..." ],
      "bikeParkTime" : 12345,
      "bikeParkCost" : 12345,
      "carParkTime" : 12345,
      "carParkCost" : 12345,
      "requiredVehicleParkingTags" : [ "...", "..." ],
      "bannedVehicleParkingTags" : [ "...", "..." ],
      "carDropoffTime" : 12345,
      "carPickupTime" : 12345,
      "carPickupCost" : 12345,
      "waitReluctance" : 12345.0,
      "walkBoardCost" : 12345,
      "bikeBoardCost" : 12345,
      "transferSlack" : 12345,
      "boardSlack" : 12345,
      "boardSlackForMode" : {
        "property1" : 12345,
        "property2" : 12345
      },
      "alightSlack" : 12345,
      "alightSlackForMode" : {
        "property1" : 12345,
        "property2" : 12345
      },
      "maxTransfers" : 12345,
      "bikeTriangleTimeFactor" : 12345.0,
      "bikeTriangleSlopeFactor" : 12345.0,
      "bikeTriangleSafetyFactor" : 12345.0,
      "useVehicleRentalAvailabilityInformation" : true,
      "allowKeepingRentedVehicleAtDestination" : true,
      "keepingRentedVehicleAtDestinationCost" : 12345.0,
      "carDecelerationSpeed" : 12345.0,
      "carAccelerationSpeed" : 12345.0,
      "ignoreRealtimeUpdates" : true,
      "includePlannedCancellations" : true,
      "disableRemainingWeightHeuristic" : true,
      "rctx" : { },
      "vehicleRental" : true,
      "parkAndRide" : true,
      "carPickup" : true,
      "allowedRentalFormFactors" : [ "BICYCLE", "MOPED" ],
      "useVehicleParkingAvailabilityInformation" : true,
      "dominanceFunction" : { },
      "geoidElevation" : true,
      "itineraryFilters" : { },
      "dataOverlay" : { },
      "raptorDebuging" : { },
      "dateTime" : 12345,
      "tripPlannedForNow" : true,
      "numItinerariesForDirectStreetSearch" : 12345,
      "itinerariesSortOrder" : "STREET_AND_DEPARTURE_TIME",
      "routingContext" : { },
      "streetSpeedUpperBound" : 12345.0,
      "newShortestPathTree" : { },
      "intersectionTraversalCostModel" : { }
    },
    "nonTransitMode" : "FERRY",
    "timeInMillis" : 12345,
    "vehicleRentalNetwork" : "..."
  }
}