ArcGIS REST Services Directory
Login
Home
>
services
>
Routing
>
NetworkAnalysis (GPServer)
>
FindRoutes
>
execute
Help
|
API Reference
Execute Task (FindRoutes)
Stops:
(
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": "RouteName", "type": "esriFieldTypeString", "alias": "Route Name", "length": 1024 }, { "name": "Sequence", "type": "esriFieldTypeInteger", "alias": "Sequence" }, { "name": "AdditionalTime", "type": "esriFieldTypeDouble", "alias": "Additional Time" }, { "name": "AdditionalDistance", "type": "esriFieldTypeDouble", "alias": "Additional Distance" }, { "name": "TimeWindowStart", "type": "esriFieldTypeDate", "alias": "Time Window Start", "length": 8 }, { "name": "TimeWindowEnd", "type": "esriFieldTypeDate", "alias": "Time Window End", "length": 8 }, { "name": "CurbApproach", "type": "esriFieldTypeSmallInteger", "alias": "Curb Approach" }, { "name": "LocationType", "type": "esriFieldTypeInteger", "alias": "Location Type" }, { "name": "AdditionalCost", "type": "esriFieldTypeDouble", "alias": "Additional Cost" } ], "features": [], "exceededTransferLimit": false }
Measurement Units:
(
GPString
)
Analysis Region:
(
GPString
)
Reorder Stops to Find Optimal Routes:
(
GPBoolean
)
Preserve Terminal Stops:
(
GPString
)
Return to Start:
(
GPBoolean
)
Use Time Windows:
(
GPBoolean
)
Time of Day:
(
GPDate
)
Time Zone for Time of Day:
(
GPString
)
UTurn at Junctions:
(
GPString
)
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": "AdditionalCost", "type": "esriFieldTypeDouble", "alias": "Additional Cost" }, { "name": "CurbApproach", "type": "esriFieldTypeSmallInteger", "alias": "Curb Approach" }, { "name": "FullEdge", "type": "esriFieldTypeInteger", "alias": "Full Edge" } ], "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": "ScaledCostFactor", "type": "esriFieldTypeDouble", "alias": "Scaled Cost Factor" }, { "name": "SHAPE_Length", "type": "esriFieldTypeDouble", "alias": "SHAPE_Length" }, { "name": "SHAPE_Area", "type": "esriFieldTypeDouble", "alias": "SHAPE_Area" } ], "features": [], "exceededTransferLimit": false }
Use Hierarchy:
(
GPBoolean
)
Restrictions:
(
GPMultiValue:GPString
)
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": [], "exceededTransferLimit": false }
Route Shape:
(
GPString
)
Route Line Simplification Tolerance:
(
GPLinearUnit
)
Populate Route Edges:
(
GPBoolean
)
Populate Directions:
(
GPBoolean
)
Directions Language:
(
GPString
)
Directions Distance Units:
(
GPString
)
Directions Style Name:
(
GPString
)
Travel Mode:
(
GPString
)
Impedance:
(
GPString
)
Time Zone for Time Windows:
(
GPString
)
Save Output Network Analysis Layer:
(
GPBoolean
)
Overrides:
(
GPString
)
Save Route Data:
(
GPBoolean
)
Time Impedance:
(
GPString
)
Distance Impedance:
(
GPString
)
Output Format:
(
GPString
)
Accumulate Attributes:
(
GPMultiValue:GPString
)
Ignore Network Location Fields:
(
GPBoolean
)
Ignore Invalid Locations:
(
GPBoolean
)
Options:
Output Spatial Reference:
Process Spatial Reference:
ReturnZ:
True
False
ReturnM:
True
False
Return True Curves:
True
False
Return Feature Collection:
True
False
Context:
Format:
HTML
JSON
KMZ
GeoJSON