{ "name": "GetReachcodesAsJSON", "displayName": "Get NHD Reachcodes as JSON", "description": "Returns the NHD Reach Codes from an upstream or downstream trace between the provided input coordinates.\n", "category": "", "helpUrl": "https://waterrightsmaps.waterboards.ca.gov/gisapp/rest/directories/arcgisoutput/StreamTrace/GetReachcodesAsJSON_GPServer/StreamTrace_GetReachcodesAsJSON/GetReachcodesAsJSON.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "startX", "dataType": "GPDouble", "displayName": "Start Point Longitude (WGS84)", "description": "Longitude of the starting point, in decimal degrees.", "direction": "esriGPParameterDirectionInput", "defaultValue": -123.054032, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "startY", "dataType": "GPDouble", "displayName": "Start Point Latitude (WGS84)", "description": "Latitude of the starting point, in decimal degrees.", "direction": "esriGPParameterDirectionInput", "defaultValue": 39.863548, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "endX", "dataType": "GPDouble", "displayName": "End Point Longitude (WGS84)", "description": "Longitude of the ending point, in decimal degrees.", "direction": "esriGPParameterDirectionInput", "defaultValue": -123.060669, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "endY", "dataType": "GPDouble", "displayName": "End Point Latitude (WGS84)", "description": "Latitude of the ending point, in decimal degrees.", "direction": "esriGPParameterDirectionInput", "defaultValue": 39.846506, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "tolerance", "dataType": "GPLong", "displayName": "Snap tolerance", "description": "Distance to snap to network.", "direction": "esriGPParameterDirectionInput", "defaultValue": 100, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "toleranceUnit", "dataType": "GPString", "displayName": "Tolerance unit", "description": "Unit to snap to network", "direction": "esriGPParameterDirectionInput", "defaultValue": "meters", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "meters", "feet" ] }, { "name": "traceType", "dataType": "GPString", "displayName": "Trace type", "description": "Direction of trace.", "direction": "esriGPParameterDirectionInput", "defaultValue": "DOWNSTREAM", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "UPSTREAM", "DOWNSTREAM" ] }, { "name": "snapToJunction", "dataType": "GPBoolean", "displayName": "Snap points to junctions", "description": "Move start and endpoints to junction (confluence).", "direction": "esriGPParameterDirectionInput", "defaultValue": true, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "withDuplicates", "dataType": "GPBoolean", "displayName": "Include duplicate reach codes", "description": "Include duplicate reach codes in the result set", "direction": "esriGPParameterDirectionInput", "defaultValue": false, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "outJson", "dataType": "GPString", "displayName": "Output Parameters", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" } ] }