Display Name: FindNearest
Description: Measures the straight-line distance, driving distance, or driving time from features in the analysis layer to features in the near layer, and copies the nearest features in the near layer to a new layer. Returns a layer containing the nearest features and a line layer that links the start locations to their nearest locations.
Category:
Help URL: https://spatialags.vhb.com/arcgis/rest/directories/arcgisoutput/System/SpatialAnalysisTools_GPServer/System_SpatialAnalysisTools/FindNearest.htm
Execution Type: esriExecutionTypeAsynchronous
Parameters:
Parameter: analysisLayer
Data Type: GPFeatureRecordSetLayer
Display Name analysisLayer
Description: For each feature in this layer, the task finds the nearest features from the nearLayer.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value:
Geometry Type:
HasZ: false
HasM: false
Spatial Reference: N/A
Fields: None
Features: None.
Parameter Type: esriGPParameterTypeRequired
Category:
Parameter: nearLayer
Data Type: GPFeatureRecordSetLayer
Display Name nearLayer
Description: The features from which the nearest locations are found.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value:
Geometry Type:
HasZ: false
HasM: false
Spatial Reference: N/A
Fields: None
Features: None.
Parameter Type: esriGPParameterTypeRequired
Category:
Parameter: measurementType
Data Type: GPString
Display Name measurementType
Description: The nearest locations can be determined by measuring straight-line distance, driving distance, or driving time
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value: StraightLine
Parameter Type: esriGPParameterTypeRequired
Category:
Parameter: maxCount
Data Type: GPLong
Display Name maxCount
Description: The maximum number of near locations to find for each feature in analysisLayer.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value: 100
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: searchCutoff
Data Type: GPDouble
Display Name searchCutoff
Description: Limits the search range to this value
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value: 2147483647
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: searchCutoffUnits
Data Type: GPString
Display Name searchCutoffUnits
Description: The units for the value specified as searchCutoff
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeOptional
Category:
Choice List: [ Miles, Yards, Feet, Meters, Kilometers, NauticalMiles ]
Parameter: timeOfDay
Data Type: GPDate
Display Name timeOfDay
Description: When measurementType is DrivingTime, this value specifies the time of day to be used for driving time calculations based on traffic.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: timeZoneForTimeOfDay
Data Type: GPString
Display Name timeZoneForTimeOfDay
Description:
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value: GeoLocal
Parameter Type: esriGPParameterTypeOptional
Category:
Choice List: [ UTC, GeoLocal ]
Parameter: outputName
Data Type: GPString
Display Name outputName
Description: Additional properties such as output feature service name
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: context
Data Type: GPString
Display Name context
Description: Additional settings such as processing extent and output spatial reference
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: includeRouteLayers
Data Type: GPBoolean
Display Name includeRouteLayers
Description:
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value: false
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: pointBarrierLayer
Data Type: GPFeatureRecordSetLayer
Display Name pointBarrierLayer
Description: Specify one or more points to act as temporary restrictions or represent additional time or distance that may be required to travel on the underlying streets.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value:
Geometry Type:
HasZ: false
HasM: false
Spatial Reference: N/A
Fields: None
Features: None.
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: lineBarrierLayer
Data Type: GPFeatureRecordSetLayer
Display Name lineBarrierLayer
Description: Specify one or more lines that prohibit travel anywhere the lines intersect the streets.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value:
Geometry Type:
HasZ: false
HasM: false
Spatial Reference: N/A
Fields: None
Features: None.
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: polygonBarrierLayer
Data Type: GPFeatureRecordSetLayer
Display Name polygonBarrierLayer
Description: Specify polygons that either completely restrict travel or proportionately scale the time or distance required to travel on the streets intersected by the polygons.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value:
Geometry Type:
HasZ: false
HasM: false
Spatial Reference: N/A
Fields: None
Features: None.
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: nearestLayer
Data Type: GPString
Display Name nearestLayer
Description:
Direction: esriGPParameterDirectionOutput
Filter:
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeDerived
Category:
Parameter: connectingLinesLayer
Data Type: GPString
Display Name connectingLinesLayer
Description:
Direction: esriGPParameterDirectionOutput
Filter:
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeDerived
Category:
Parameter: routeLayerItems
Data Type: GPString
Display Name routeLayerItems
Description:
Direction: esriGPParameterDirectionOutput
Filter:
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeDerived
Category:
Supported Operations:
Submit Job
Child Resources:
Metadata