{ "name": "tracetolocatevip", "displayName": "Advanced Trace by AH Attribute", "description": "Traces upstream or downstream using Arc Hydro \u2018Trace by AH Attribute\u2019 base functionality. In addition, it selects resulting hydro junction features and if provided, additional related features to hydro junctions. Review help for \u2018Trace by AH Attribute\u2019 for description of base Arc Hydro attribute tracing functionality. \nHydro junction feature class must have HydroID and NetID fields populated. NetID value for a junction is HydroID of the underlying tracing layer feature that the junction resides on. It is used for junction selection once trace returns selected trace features (attribute selection). If optional \u2018Relate layer\u2019 is provided, it must have attribute \u2018JunctionID\u2019 populated that contains the HydroID of the junction the feature is related to. Related layer can be of any feature type (point, line, or polygon).", "category": "", "helpUrl": "https://cw-gis-trn.waterboards.ca.gov/hosted/rest/directories/arcgisoutput/StreamTrace/tracetolocatevip_s20_GPServer/StreamTrace_tracetolocatevip_s20/tracetolocatevip.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "Input_Start_Points", "dataType": "GPFeatureRecordSetLayer", "displayName": "Input Start Points", "description": "Input points to be used as starting points for the trace. They are used to select the trace features that will originate the trace. One or many can be defined. They should be placed on or near the trace feature to make sure correct selection is made. The point needs to be within \u2018Search Distance\u2019 from a trace feature to be used in tracing. Points can be defined either interactively or as a feature class. If defined interactively, they will be stored in temporary feature class \u2018ts_start_points\u2019 in scratch geodatabase. Interactive points are transient in nature. Next run of the tool will overwrite them.{ \"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 } }", "direction": "esriGPParameterDirectionInput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPoint", "spatialReference": { "wkid": 102100, "latestWkid": 3857 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Input_Barriers", "dataType": "GPFeatureRecordSetLayer", "displayName": "Input Barriers (Optional)", "description": "Input points to be used as barriers for the trace. They are used to select the trace features that will prevent propagation of the trace. One or many can be defined. They should be placed on or near the trace feature to make sure correct selection is made. The point needs to be within \u2018Search Distance\u2019 from a trace feature to be barrier for tracing.Points can be defined either interactively or as a feature class. If defined interactively, they will be stored in temporary feature class \u2018ts_barriers\u2019 in scratch geodatabase. Interactive points are transient in nature. Next run of the tool will overwrite them.", "direction": "esriGPParameterDirectionInput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPoint", "spatialReference": { "wkid": 102100, "latestWkid": 3857 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "Trace_Direction", "dataType": "GPString", "displayName": "Trace Direction", "description": "\u201cUpstream\u201d or \u201cDownstream\u201dBoth would trace in Both upstream and downstream direction.", "direction": "esriGPParameterDirectionInput", "defaultValue": "Upstream", "parameterType": "esriGPParameterTypeRequired", "category": "", "choiceList": [ "Downstream", "Upstream" ] }, { "name": "Search_Distance", "dataType": "GPLinearUnit", "displayName": "Search Distance", "description": "Distance used to perform spatial selection of trace features used as start and barrier features based on input points. To precisely control the trace features to use, best practice is to snap the point onto the trace feature and set the \u2018Search Distance\u2019 to 0. Larger search distance can be used to make multiple feature selections with a single point.", "direction": "esriGPParameterDirectionInput", "defaultValue": { "distance": 5, "units": "esriMeters" }, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "Trace_Propagation_Count", "dataType": "GPLong", "displayName": "Trace Propagation Count", "description": "Number of downstream/upstream features at each feature used to propagate the trace:0 \u2013 all encountered downstream/upstream features will be used to propagate the trace.1 \u2013 only 1 feature will be used to propagate the trace. If trace feature class has fields HydroID and NextDownID, these will be used for tracing, otherwise from-node and to-node attributes will be used.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]. will be used to propagate the trace.", "direction": "esriGPParameterDirectionInput", "defaultValue": 0, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "Snap_Input_Points", "dataType": "GPBoolean", "displayName": "Snap Input Points", "description": "Snap Input Points", "direction": "esriGPParameterDirectionInput", "defaultValue": true, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "Output_Hydro_Junction_Layer", "dataType": "GPFeatureRecordSetLayer", "displayName": "Output Hydro Junction Layer", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPoint", "spatialReference": { "wkid": 3310, "latestWkid": 3310 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "HydroID", "type": "esriFieldTypeInteger", "alias": "HydroID" }, { "name": "NetID", "type": "esriFieldTypeInteger", "alias": "NetID" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "Output_Related_Layer", "dataType": "GPFeatureRecordSetLayer", "displayName": "Output Related Layer", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPoint", "spatialReference": { "wkid": 3310, "latestWkid": 3310 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "globalid", "type": "esriFieldTypeGlobalID", "alias": "Global ID", "length": 38 }, { "name": "wr_id", "type": "esriFieldTypeString", "alias": "Water Right ID", "length": 255 }, { "name": "conversion_id", "type": "esriFieldTypeString", "alias": "Conversion ID", "length": 255 }, { "name": "wr_type__c", "type": "esriFieldTypeString", "alias": "Water Right Type", "length": 255 }, { "name": "wr_subtype_primaryclaim_combine", "type": "esriFieldTypeString", "alias": "Subtype or Primary Claim", "length": 255 }, { "name": "wr_prioritydate__c", "type": "esriFieldTypeString", "alias": "Priority Date", "length": 255 }, { "name": "wr_prioritydatestatus__c", "type": "esriFieldTypeString", "alias": "Priority Date Status", "length": 255 }, { "name": "name", "type": "esriFieldTypeString", "alias": "Name", "length": 30 }, { "name": "description", "type": "esriFieldTypeString", "alias": "Description", "length": 255 }, { "name": "diversion_year", "type": "esriFieldTypeInteger", "alias": "Diversion Year" }, { "name": "diversion_rate", "type": "esriFieldTypeDouble", "alias": "Diversion Rate" }, { "name": "diversion_type", "type": "esriFieldTypeString", "alias": "Diversion Type", "length": 20 }, { "name": "diversion_subtype", "type": "esriFieldTypeString", "alias": "Diversion Subtype", "length": 255 }, { "name": "diversion_screen", "type": "esriFieldTypeString", "alias": "Diversion Screen", "length": 255 }, { "name": "dam_present_in_diversion", "type": "esriFieldTypeString", "alias": "Dam Present in Diversion", "length": 255 }, { "name": "diversion_status", "type": "esriFieldTypeString", "alias": "Diversion Status", "length": 255 }, { "name": "moveable_yn", "type": "esriFieldTypeString", "alias": "Moveable POD", "length": 3 }, { "name": "latitude", "type": "esriFieldTypeDouble", "alias": "Latitude" }, { "name": "longitude", "type": "esriFieldTypeDouble", "alias": "Longitude" }, { "name": "county_id", "type": "esriFieldTypeString", "alias": "County", "length": 50 }, { "name": "fips_code", "type": "esriFieldTypeString", "alias": "FIPS", "length": 255 }, { "name": "parcel_id", "type": "esriFieldTypeString", "alias": "Parcel", "length": 255 }, { "name": "sp_zone_id", "type": "esriFieldTypeString", "alias": "State Plane Zone", "length": 2 }, { "name": "water_course_name", "type": "esriFieldTypeString", "alias": "Water Course Name", "length": 50 }, { "name": "nhd_tributary", "type": "esriFieldTypeString", "alias": "NHD Tributary", "length": 50 }, { "name": "huc4_id", "type": "esriFieldTypeString", "alias": "HUC 4 Subregion", "length": 4 }, { "name": "huc6_id", "type": "esriFieldTypeString", "alias": "HUC 6 Basin", "length": 6 }, { "name": "huc8_id", "type": "esriFieldTypeString", "alias": "HUC 8 Subbasin", "length": 8 }, { "name": "huc10_id", "type": "esriFieldTypeString", "alias": "HUC 10 Watershed", "length": 10 }, { "name": "huc12_id", "type": "esriFieldTypeString", "alias": "HUC 12 Subwatershed", "length": 12 }, { "name": "huc10_name", "type": "esriFieldTypeString", "alias": "HUC 10 Watershed Name", "length": 255 }, { "name": "huc12_name", "type": "esriFieldTypeString", "alias": "HUC 12 Subwatershed Name", "length": 255 }, { "name": "plss_id", "type": "esriFieldTypeString", "alias": "PLSS", "length": 15 }, { "name": "meridian", "type": "esriFieldTypeString", "alias": "Meridian", "length": 15 }, { "name": "township_direction", "type": "esriFieldTypeString", "alias": "Township Direction", "length": 5 }, { "name": "township_number", "type": "esriFieldTypeString", "alias": "Township Number", "length": 5 }, { "name": "range_direction", "type": "esriFieldTypeString", "alias": "Range Direction", "length": 5 }, { "name": "range_number", "type": "esriFieldTypeString", "alias": "Range Number", "length": 5 }, { "name": "section_classifier", "type": "esriFieldTypeString", "alias": "Section Classifier", "length": 20 }, { "name": "section_number", "type": "esriFieldTypeString", "alias": "Section Number", "length": 5 }, { "name": "north_coord", "type": "esriFieldTypeDouble", "alias": "North Coord" }, { "name": "east_coord", "type": "esriFieldTypeDouble", "alias": "East Coord" }, { "name": "quad_map_name", "type": "esriFieldTypeString", "alias": "Quad Map Name", "length": 255 }, { "name": "quad_map_number", "type": "esriFieldTypeString", "alias": "Quad Map Number", "length": 7 }, { "name": "quarter", "type": "esriFieldTypeString", "alias": "Quarter", "length": 2 }, { "name": "quarter_quarter", "type": "esriFieldTypeString", "alias": "Quarter Quarter", "length": 2 }, { "name": "sabl_id", "type": "esriFieldTypeString", "alias": "Water System Boundary", "length": 50 }, { "name": "swra_id", "type": "esriFieldTypeString", "alias": "Special Water Rights Area", "length": 500 }, { "name": "water_district_id", "type": "esriFieldTypeString", "alias": "Water District", "length": 255 }, { "name": "wb_region_id", "type": "esriFieldTypeString", "alias": "Water Board Region", "length": 255 }, { "name": "fass_yn", "type": "esriFieldTypeString", "alias": "Fully Appropriated Stream", "length": 2 }, { "name": "wq_facility", "type": "esriFieldTypeString", "alias": "Water Quality Facility", "length": 255 }, { "name": "v_in_fass", "type": "esriFieldTypeString", "alias": "Validation in FASS", "length": 255 }, { "name": "v_stacked", "type": "esriFieldTypeString", "alias": "Validation Stacked", "length": 255 }, { "name": "v_in_north_coast_instream", "type": "esriFieldTypeString", "alias": "Validation in North Coast Instream", "length": 255 }, { "name": "v_cawsr", "type": "esriFieldTypeString", "alias": "Validation CA Wild and Scenic Rivers", "length": 20 }, { "name": "v_fwsr", "type": "esriFieldTypeString", "alias": "Validation Federal Wild and Scenic Rivers", "length": 20 }, { "name": "active_date", "type": "esriFieldTypeDate", "alias": "Active Date", "length": 8 }, { "name": "inactive_date", "type": "esriFieldTypeDate", "alias": "Inactive Date", "length": 8 }, { "name": "source_global_id", "type": "esriFieldTypeString", "alias": "Source Global ID", "length": 255 }, { "name": "created_date", "type": "esriFieldTypeDate", "alias": "Created Date", "length": 8 }, { "name": "last_edited_date", "type": "esriFieldTypeDate", "alias": "Last Edited Date", "length": 8 }, { "name": "NEAR_FID", "type": "esriFieldTypeInteger", "alias": "NEAR_FID" }, { "name": "NEAR_DIST", "type": "esriFieldTypeDouble", "alias": "NEAR_DIST" }, { "name": "JunctionID", "type": "esriFieldTypeInteger", "alias": "JunctionID" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "Output_Start_Points", "dataType": "GPFeatureRecordSetLayer", "displayName": "Output Start Points", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPoint", "spatialReference": { "wkid": 3310, "latestWkid": 3310 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "Output_Barrier_Points", "dataType": "GPFeatureRecordSetLayer", "displayName": "Output Barrier Points", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPoint", "spatialReference": { "wkid": 3310, "latestWkid": 3310 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "Run_Status", "dataType": "GPString", "displayName": "Run Status", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" } ] }