ArcGIS REST Services Directory
Login
Home
>
services
>
Routing
>
NetworkAnalysis (GPServer)
>
GenerateOriginDestinationCostMatrix
>
submitJob
Help
|
API Reference
Submit Job (GenerateOriginDestinationCostMatrix)
Origins:
(
GPFeatureRecordSetLayer
)
{ "displayFieldName": "", "geometryType": "esriGeometryPoint", "spatialReference": { "wkid": 4326, "latestWkid": 4326 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "Name", "type": "esriFieldTypeString", "alias": "Name", "length": 500 }, { "name": "TargetDestinationCount", "type": "esriFieldTypeInteger", "alias": "Target Destination Count" }, { "name": "Cutoff", "type": "esriFieldTypeDouble", "alias": "Cutoff" }, { "name": "CurbApproach", "type": "esriFieldTypeSmallInteger", "alias": "Curb Approach" } ], "features": [], "exceededTransferLimit": false }
Destinations:
(
GPFeatureRecordSetLayer
)
{ "displayFieldName": "", "geometryType": "esriGeometryPoint", "spatialReference": { "wkid": 4326, "latestWkid": 4326 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "Name", "type": "esriFieldTypeString", "alias": "Name", "length": 500 }, { "name": "CurbApproach", "type": "esriFieldTypeSmallInteger", "alias": "Curb Approach" } ], "features": [], "exceededTransferLimit": false }
Travel Mode:
(
GPString
)
Custom
Time Units:
(
GPString
)
Minutes
Distance Units:
(
GPString
)
Kilometers
Analysis Region:
(
GPString
)
Number of Destinations to Find:
(
GPLong
)
null
Cutoff:
(
GPDouble
)
null
Time of Day:
(
GPDate
)
null
Time Zone for Time of Day:
(
GPString
)
Geographically Local
Point Barriers:
(
GPFeatureRecordSetLayer
)
{ "displayFieldName": "", "geometryType": "esriGeometryPoint", "spatialReference": { "wkid": 4326, "latestWkid": 4326 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "Name", "type": "esriFieldTypeString", "alias": "Name", "length": 500 }, { "name": "BarrierType", "type": "esriFieldTypeInteger", "alias": "Barrier Type" }, { "name": "Additional_Time", "type": "esriFieldTypeDouble", "alias": "Additional Time" }, { "name": "Additional_Distance", "type": "esriFieldTypeDouble", "alias": "Additional Distance" }, { "name": "CurbApproach", "type": "esriFieldTypeSmallInteger", "alias": "CurbApproach" } ], "features": [], "exceededTransferLimit": false }
Line Barriers:
(
GPFeatureRecordSetLayer
)
{ "displayFieldName": "", "geometryType": "esriGeometryPolyline", "spatialReference": { "wkid": 4326, "latestWkid": 4326 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "Name", "type": "esriFieldTypeString", "alias": "Name", "length": 500 }, { "name": "SHAPE_Length", "type": "esriFieldTypeDouble", "alias": "SHAPE_Length" } ], "features": [], "exceededTransferLimit": false }
Polygon Barriers:
(
GPFeatureRecordSetLayer
)
{ "displayFieldName": "", "geometryType": "esriGeometryPolygon", "spatialReference": { "wkid": 4326, "latestWkid": 4326 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "Name", "type": "esriFieldTypeString", "alias": "Name", "length": 500 }, { "name": "BarrierType", "type": "esriFieldTypeInteger", "alias": "Barrier Type" }, { "name": "ScaledTimeFactor", "type": "esriFieldTypeDouble", "alias": "Scaled Time Factor" }, { "name": "ScaledDistanceFactor", "type": "esriFieldTypeDouble", "alias": "Scaled Distance Factor" }, { "name": "SHAPE_Length", "type": "esriFieldTypeDouble", "alias": "SHAPE_Length" }, { "name": "SHAPE_Area", "type": "esriFieldTypeDouble", "alias": "SHAPE_Area" } ], "features": [], "exceededTransferLimit": false }
UTurn at Junctions:
(
GPString
)
Allowed
Use Hierarchy:
(
GPBoolean
)
true
Restrictions:
(
GPMultiValue:GPString
)
["Oneway","Avoid Unpaved Roads","Avoid Carpool Roads","Avoid Express Lanes","Avoid Gates","Avoid Private Roads","Driving an Automobile","Roads Under Construction Prohibited","Through Traffic Prohibited"]
Attribute Parameter Values:
(
GPRecordSet
)
{ "displayFieldName": "", "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "ObjectID" }, { "name": "AttributeName", "type": "esriFieldTypeString", "alias": "AttributeName", "length": 255 }, { "name": "ParameterName", "type": "esriFieldTypeString", "alias": "ParameterName", "length": 255 }, { "name": "ParameterValue", "type": "esriFieldTypeString", "alias": "ParameterValue", "length": 25 } ], "features": [ {"attributes": { "OBJECTID": 59, "AttributeName": "Avoid Carpool Roads", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_HIGH" }}, {"attributes": { "OBJECTID": 60, "AttributeName": "Avoid Express Lanes", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_HIGH" }}, {"attributes": { "OBJECTID": 61, "AttributeName": "Avoid Ferries", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_MEDIUM" }}, {"attributes": { "OBJECTID": 62, "AttributeName": "Avoid Gates", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_MEDIUM" }}, {"attributes": { "OBJECTID": 63, "AttributeName": "Avoid Limited Access Roads", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_MEDIUM" }}, {"attributes": { "OBJECTID": 64, "AttributeName": "Avoid Private Roads", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_MEDIUM" }}, {"attributes": { "OBJECTID": 65, "AttributeName": "Avoid Toll Roads", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_MEDIUM" }}, {"attributes": { "OBJECTID": 66, "AttributeName": "Avoid Unpaved Roads", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_HIGH" }}, {"attributes": { "OBJECTID": 67, "AttributeName": "Axle Count Restriction", "ParameterName": "Number of Axles", "ParameterValue": "0" }}, {"attributes": { "OBJECTID": 68, "AttributeName": "Axle Count Restriction", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 69, "AttributeName": "Driving a Bus", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 70, "AttributeName": "Driving a Delivery Vehicle", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 71, "AttributeName": "Driving a Taxi", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 72, "AttributeName": "Driving a Truck", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 73, "AttributeName": "Driving an Automobile", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 74, "AttributeName": "Driving an Emergency Vehicle", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 75, "AttributeName": "Hazmat: Any Hazardous Materials Prohibited", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 76, "AttributeName": "Hazmat: Corrosive Goods Prohibited", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 77, "AttributeName": "Hazmat: Explosive and Flammable Prohibited", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 78, "AttributeName": "Hazmat: Explosives Preferred Route", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_MEDIUM" }}, {"attributes": { "OBJECTID": 79, "AttributeName": "Hazmat: Explosives Prohibited", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 80, "AttributeName": "Hazmat: Flammable Goods Prohibited", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 81, "AttributeName": "Hazmat: Flammable solid/Combustible Prohibited", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 82, "AttributeName": "Hazmat: Gas Prohibited", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 83, "AttributeName": "Hazmat: General Hazardous Materials Preferred Route", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_MEDIUM" }}, {"attributes": { "OBJECTID": 84, "AttributeName": "Hazmat: Goods Harmful to Water Prohibited", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 85, "AttributeName": "Hazmat: Medical Waste Materials Preferred Route", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_MEDIUM" }}, {"attributes": { "OBJECTID": 86, "AttributeName": "Hazmat: NRHM Preferred Route", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_MEDIUM" }}, {"attributes": { "OBJECTID": 87, "AttributeName": "Hazmat: Organic Goods Prohibited", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 88, "AttributeName": "Hazmat: Other Hazardous Materials Prohibited", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 89, "AttributeName": "Hazmat: Poison Goods Prohibited", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 90, "AttributeName": "Hazmat: Poisonous Inhalation Hazard Preferred Route", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_MEDIUM" }}, {"attributes": { "OBJECTID": 91, "AttributeName": "Hazmat: Poisonous Inhalation Hazard Prohibited", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 92, "AttributeName": "Hazmat: Radioactive Goods Prohibited", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 93, "AttributeName": "Hazmat: Radioactive Materials Preferred Route", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_MEDIUM" }}, {"attributes": { "OBJECTID": 94, "AttributeName": "Kingpin to Rear Axle Length Restriction", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 95, "AttributeName": "Kingpin to Rear Axle Length Restriction", "ParameterName": "Vehicle Kingpin to Rear Axle Length (meters)", "ParameterValue": "0" }}, {"attributes": { "OBJECTID": 96, "AttributeName": "Length Restriction", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 97, "AttributeName": "Length Restriction", "ParameterName": "Vehicle Length (meters)", "ParameterValue": "0" }}, {"attributes": { "OBJECTID": 98, "AttributeName": "National STAA Preferred Route", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_MEDIUM" }}, {"attributes": { "OBJECTID": 99, "AttributeName": "National STAA and State Truck Designated Preferred Routes", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_MEDIUM" }}, {"attributes": { "OBJECTID": 100, "AttributeName": "National STAA and State Truck Designated and Locally Preferred Routes", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_MEDIUM" }}, {"attributes": { "OBJECTID": 101, "AttributeName": "Oneway", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 102, "AttributeName": "Riding a Motorcycle", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 103, "AttributeName": "Roads Under Construction Prohibited", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 104, "AttributeName": "Semi or Tractor with One or More Trailers Prohibited", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 105, "AttributeName": "Single Axle Vehicles Prohibited", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 106, "AttributeName": "Tandem Axle Vehicles Prohibited", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 107, "AttributeName": "Through Traffic Prohibited", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_HIGH" }}, {"attributes": { "OBJECTID": 108, "AttributeName": "Truck with Trailers Restriction", "ParameterName": "Number of Trailers on Truck", "ParameterValue": "0" }}, {"attributes": { "OBJECTID": 109, "AttributeName": "Truck with Trailers Restriction", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 110, "AttributeName": "Walking", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 111, "AttributeName": "Weight Restriction", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 112, "AttributeName": "Weight Restriction", "ParameterName": "Vehicle Weight (kilograms)", "ParameterValue": "0" }}, {"attributes": { "OBJECTID": 113, "AttributeName": "Weight per Axle Restriction", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 114, "AttributeName": "Weight per Axle Restriction", "ParameterName": "Vehicle Weight per Axle (kilograms)", "ParameterValue": "0" }}, {"attributes": { "OBJECTID": 115, "AttributeName": "Width Restriction", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 116, "AttributeName": "Width Restriction", "ParameterName": "Vehicle Width (meters)", "ParameterValue": "0" }} ], "exceededTransferLimit": false }
Impedance:
(
GPString
)
Drive Time
Origin Destination Line Shape:
(
GPString
)
None
Save Output Network Analysis Layer:
(
GPBoolean
)
false
Overrides:
(
GPString
)
Options:
Output Spatial Reference:
Process Spatial Reference:
ReturnZ:
True
False
ReturnM:
True
False
Return True Curves:
True
False
Context:
Format:
HTML
JSON
KMZ
GeoJSON
PBF