IOriginDestinationMatrixResponse

Interface

Properties

Property Type Notes
messages {
description:
string
type:
number
}[]
| {
description:
string
type:
number
}
barriers Optional IFeatureSetWithGeoJson
destinations Optional IFeatureSetWithGeoJson
odCostMatrix Optional any

Only present if outputType is "esriNAODOutputSparseMatrix". Full description is available at https://developers.arcgis.com/rest/network/api-reference/origin-destination-cost-matrix-synchronous-service.htm#ESRI_SECTION2_114F8364507C4B56B780DFAD505270FB.

odLines Optional IFeatureSetWithGeoJson

Only present if outputType is "esriNAODOutputStraightLines" or "esriNAODOutputNoLines". Includes the geometry for the straight line connecting each origin-destination pair when the outputType is "esriNAODOutputStraightLines".

origins Optional IFeatureSetWithGeoJson
polygonBarriers Optional IFeatureSetWithGeoJson
polylineBarriers Optional IFeatureSetWithGeoJson

Interface defined in packages/arcgis-rest-routing/src/originDestinationMatrix.ts:57