Data-processing
Convert and prepare tabular data - build travel-cost matrices, import uploaded costs, and export results to Excel or JSON.
Calculate a cost matrix for the given locations
Calculate a cost matrix for the given locations and travel costs. This is useful for calculating travel durations and distances between locations.
Calculate a cost matrix for the given locations › Request Body
The locations to use for calculating the cost matrix.
costSettingsThe settings to use for calculating travel costs between locations. This includes the cost metric (duration or distance), cost multiplier, cost adder, and methods for calculating distances and durations.
The travel costs to use for calculating the cost matrix. If not provided, the cost matrix will be calculated automatically based on the latitude and longitude of the locations. A partial cost matrix can be provided to avoid recalculating travel durations and distances between locations.
coordinateSystemWhich coordinate family this problem's locations use. geographic (the default, and what every existing payload means) uses latitude/longitude on the Earth. cartesian uses unbounded x/y on an arbitrary plane, for scenarios with positions but no addresses. It describes the DATA, not the costing, so it is set once per request rather than per cost setting - and it decides which distance/duration methods are valid.
Calculate a cost matrix for the given locations › Responses
Cost matrix calculated successfully
