ah-docs

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

Direction Type Parameter Name Data Type Dialog Reference
Input Required Upstream Point Feature Set Upstream Point
Input Optional Downstream Point Feature Set Downstream Point, Downstream point needs to be downstream of the upstream point.
Input Required Input Trace Layer Feature Layer Feature 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].
Input Optional Search Distance Linear Unit Distance 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'.
Input Optional Snap Input Points Boolean Snap_Input_Points = True : Try to snap input points (Input Start Points, Input Barriers) to the lines of Input Trace Layer, Default value=False