Skip to main content

Trace between Two Points (Upstream to Downstream)

Description

Traces upstream to downstream points. Downstream point needs to be downstream of the upstream point. If not, the trace would return with a warning message.

{
"displayFieldName": "",
"features": [
{
"attributes": {
"OBJECTID": 1
},
"geometry": {
"x": -13539581,
"y": 4462328
}
}
],
"fieldAliases": {
"OBJECTID": "OBJECTID"
},
"fields": [
{
"alias": "OBJECTID",
"name": "OBJECTID",
"type": "esriFieldTypeOID"
}
],
"geometryType": "esriGeometryPoint",
"spatialReference": {
"latestWkid": 3857,
"wkid": 102100
}
}

Usage

Parameters

DirectionTypeParameter NameData TypeDialog Reference
InputRequiredUpstream PointFeature SetUpstream Point
InputOptionalDownstream PointFeature SetDownstream Point, Downstream point needs to be downstream of the upstream point.
InputRequiredInput Trace LayerFeature LayerFeature class to be used for tracing. Any type of feature class can be used to trace through as long as it has appropriate fields identifying downstream elements, typically, [HYDROID, NextDownID] or [From_Node, To_Node].
InputOptionalSearch DistanceLinear UnitDistance used to perform spatial selection of trace features used as start and barrier features based on input points. To precisely control the trace fatures to use, best practice is to snap the point onto the trace feature and set the "Search Distance" to 0. Larger search distance can be used to make multiple feature selections with a single point.default value '50 Meters'.
InputOptionalSnap Input PointsBooleanSnap_Input_Points = True : Try to snap input points (Input Start Points, Input Barriers) to the lines of Input Trace Layer, Default value=False