अभी शुरू करें
Mapbox Tools

Mapbox Retrieve Matrix

Aident Loadout के माध्यम से Mapbox Tools के साथ Mapbox Retrieve Matrix का उपयोग करें। चलाने से पहले इनपुट, आउटपुट, सेटअप, मूल्य और जोखिम देखें।

राइट Actionजोखिम स्तर 2/5API कुंजी कनेक्शन

प्रदाता विवरण

Retrieve a travel time and/or distance matrix between multiple locations. Results cover the selected origins and destinations, with durations in seconds and distances in meters when requested.

मूल्य और सीमाएँ

मूल्य
मुफ़्त Action
एकीकृत भुगतान
अभी समर्थित नहीं

इनपुट

  • profilestring
    आवश्यक
    Transportation mode for routing: 'mapbox/driving' (car), 'mapbox/walking' (pedestrian), 'mapbox/cycling' (bicycle), or 'mapbox/driving-traffic' (car with live traffic, max 10 coords).
  • sourcesstring
    Which coordinates to use as origins (starting points). Use 'all' (default) for all coordinates, or semicolon-separated 0-based indices (e.g., '0;2;4' for coords at index 0, 2, and 4).
  • bearingsstring
    Semicolon-separated 'angle,deviation' pairs per waypoint; angle 0–360, deviation in degrees; skip with ';'.
  • depart_atstring
    BETA: desired departure time in ISO 8601 format (e.g., YYYY-MM-DDThh:mm:ssZ).
  • approachesstring
    Semicolon-separated list per waypoint: 'unrestricted' or 'curb'. Count must match number of coordinates; skip entries with ';'.
  • annotationsstring
    Data to return in the matrix: 'duration' (travel time in seconds), 'distance' (travel distance in meters), or 'duration,distance' (both). Default: 'duration'.
  • coordinatesarray
    आवश्यक
    List of 2-25 geographic points (longitude, latitude pairs). The API calculates travel times/distances between these points. Maximum 10 for 'mapbox/driving-traffic' profile.
  • access_tokenstring
    Mapbox access token (optional; auto-provided by auth).
  • destinationsstring
    Which coordinates to use as destinations (ending points). Use 'all' (default) for all coordinates, or semicolon-separated 0-based indices (e.g., '1;3;5' for coords at index 1, 3, and 5).
  • fallback_speedinteger
    Speed in km/h for straight-line distance estimates when no routable path exists between points (e.g., across water). Must be > 0 if specified.

देखा जा सकने वाला आउटपुट

  • data
    आवश्यक
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    आवश्यक
    Whether or not the action execution was successful or not

इस Action का उपयोग करने वाली Skills

संबंधित उपयोग के मामले

अभी कोई सत्यापित संबंधित उपयोग मामला लिंक नहीं है।

आधिकारिक स्रोत

प्रदाता स्रोत