1. Schemas
GraphHopper Directions API
  • Routing
    • Calculate a route
    • Calculate a route
  • Isochrones
    • Compute an isochrone
  • Matrices
    • Compute a matrix
    • Compute a matrix
    • Submit a matrix computation job
    • Retrieve result of a matrix computation job
  • Map Matching
    • Map-match a GPX file
  • Geocoding
    • Geocoding Endpoint
  • Route Optimization
    • Solve a route optimization problem
    • Submit a route optimization job
    • Retrieve solution of a route optimization job
  • Clustering
    • Solve a clustering problem
    • Submit a clustering job
    • Retrieve solution of a clustering job
  • Custom Profiles
    • Create a custom routing profile
    • List your custom routing profiles
    • Submit a profile creation job
    • Retrieve result of a profile creation job
    • Delete a custom routing profile
  • 数据模型
    • Schemas
      • ClusterResponse
      • Cluster
      • ClusterRequest
      • ClusterConfiguration
      • Clusters
      • ClusterCustomer
      • ClusterCustomerAddress
      • ClusterConfigurationRouting
      • ClusterConfigurationClustering
      • GeocodingResponse
      • GeocodingLocation
      • GeocodingPoint
      • MatrixRequest
      • SymmetricalMatrixRequest
      • MatrixResponse
      • RouteRequest
      • CustomModel
      • CustomModelForProfile
      • ProfileRequest
      • ProfileResponse
      • ProfileGetResponse
      • RouteResponse
      • EncodedLineString
      • BBox
      • FeatureCollection
      • RouteResponsePath
      • ResponseInfo
      • IsochroneResponse
      • IsochroneResponsePolygon
      • LineString
      • Polygon
      • GHError
      • JobId
      • BadRequest
      • ErrorMessage
      • InternalErrorMessage
      • Request
      • Vehicle
      • VehicleProfileId
      • Shift
      • Algorithm
      • Address
      • ResponseAddress
      • SnappedWaypoint
      • DriveTimeBreak
      • TimeWindowBreak
      • VehicleType
      • Service
      • Shipment
      • Pickup
      • Stop
      • TimeWindow
      • PreferredVehicle
      • Configuration
      • Optimization
      • Routing
      • Objective
      • CostMatrix
      • GroupRelation
      • JobRelation
      • Response
      • Solution
      • Detail
      • Route
      • RoutePoint
      • Activity
  1. Schemas

MatrixRequest

{
    "from_points": [
        [
            -0.11379003524780275,
            51.53664617804063
        ],
        [
            -0.10866165161132814,
            51.538621486960956
        ],
        [
            -0.11059284210205078,
            51.53245503603458
        ]
    ],
    "to_points": [
        [
            -0.09576559066772462,
            51.512882367963456
        ],
        [
            -0.08797645568847656,
            51.51317615367198
        ]
    ],
    "from_point_hints": [
        "Copenhagen Street",
        "Richmond Avenue",
        "White Lion Street"
    ],
    "to_point_hints": [
        "Cannon",
        "Cornhill"
    ],
    "out_arrays": [
        "weights",
        "times",
        "distances"
    ],
    "vehicle": "car"
}
Built with