{ "name": "SearchUsingStartingPoint", "displayName": "SearchUsingStartingPoint", "description": "The Upstream/Downstream Search using Starting Point geoprocessing tool is provided for use with the ArcGIS Online Geoprocessing Widget. The tool abstracts the interface of the WATERS Upstream/Downstream Search service for simplified usage within ArcGIS Online. To see the tool in action visit the EPA WATERS GeoViewer.", "category": "", "helpUrl": "https://inlandwaters.geoplatform.gov/arcgis/rest/directories/arcgisoutput/WATERS_SERVICES/GeoplatformUpstreamDownstreamSearch_GPServer/WATERS_SERVICES_GeoplatformUpstreamDownstreamSearch/SearchUsingStartingPoint.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "StreamSelectionType", "dataType": "GPString", "displayName": "StreamSelectionType", "description": "Enter a keyword indicating the type of network search requested:Upstream with TributariesUpstream Mainline onlyDownstream with DivergencesDownstream Mainline onlyTo learn more about searching the NHDPlus network, visit the NHDPlus v2.1 User Guide and reference the section entitled Understanding and Using NHDPlusV2 and specifically the subsection entitled NHDPlus and Divergences for an explanation and illustrations of the main and minor paths associated with divergences.", "direction": "esriGPParameterDirectionInput", "defaultValue": "Upstream with Tributaries", "parameterType": "esriGPParameterTypeRequired", "category": "", "choiceList": [ "Upstream with Tributaries", "Upstream Main Path Only", "Downstream with Divergences", "Downstream Main Path Only", "Point to Point" ] }, { "name": "StartingPoint", "dataType": "GPFeatureRecordSetLayer", "displayName": "StartingPoint", "description": "Enter a start point as a feature class complex object. May be any valid simple point feature class the server can access. The point will be snapped to nearest NHDPlus flowline. ", "direction": "esriGPParameterDirectionInput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPoint", "spatialReference": { "wkid": 4269, "latestWkid": 4269 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "MaxDistanceKm", "dataType": "GPString", "displayName": "MaxDistanceKm", "description": "The distance in kilometers at which to restrict the network search.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "MaxFlowtimeDay", "dataType": "GPString", "displayName": "MaxFlowtimeDay", "description": "The flowtime in days at which to restrict the network search. Nonfunctional at this time.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "SearchForTheseLinkedData", "dataType": "GPMultiValue:GPString", "displayName": "SearchForTheseLinkedData", "description": "Enter one or more EPA Reach Address Database or other related programs to search for linked data matching your search results.", "direction": "esriGPParameterDirectionInput", "defaultValue": [ "303(d) Listed Impaired Waters" ], "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "303(d) Listed Impaired Waters", "305(b) Assessed Waters", "Beaches", "Clean Watersheds Needs Survey", "Fish Consumption Advisories", "Fish Tissue Data", "Facilities that Discharge to Water", "TMDLs on Impaired Waters", "Water Monitoring", "Nonpoint Source Projects", "USGS Streamgages" ] }, { "name": "AdvancedConfiguration", "dataType": "GPString", "displayName": "AdvancedConfiguration", "description": "Option to provide advanced directives to the geoprocessing service.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "ResultPointLinkedData", "dataType": "GPFeatureRecordSetLayer", "displayName": "ResultPointLinkedData", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPoint", "spatialReference": { "wkid": 4269, "latestWkid": 4269 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "session_id", "type": "esriFieldTypeString", "alias": "session_id", "length": 40 }, { "name": "nhd_permanent_identifier", "type": "esriFieldTypeString", "alias": "nhd_permanent_identifier", "length": 40 }, { "name": "nhdplus_comid", "type": "esriFieldTypeInteger", "alias": "nhdplus_comid" }, { "name": "reachcode", "type": "esriFieldTypeString", "alias": "reachcode", "length": 14 }, { "name": "reachsmdate", "type": "esriFieldTypeDate", "alias": "reachsmdate", "length": 8 }, { "name": "measure", "type": "esriFieldTypeDouble", "alias": "measure" }, { "name": "eventtype", "type": "esriFieldTypeInteger", "alias": "eventtype" }, { "name": "eventtype_str", "type": "esriFieldTypeString", "alias": "eventtype_str", "length": 100 }, { "name": "event_permanent_identifier", "type": "esriFieldTypeString", "alias": "event_permanent_identifier", "length": 40 }, { "name": "source_originator", "type": "esriFieldTypeString", "alias": "source_originator", "length": 130 }, { "name": "source_featureid", "type": "esriFieldTypeString", "alias": "source_featureid", "length": 100 }, { "name": "featuredetailurl", "type": "esriFieldTypeString", "alias": "featuredetailurl", "length": 255 }, { "name": "geogstate", "type": "esriFieldTypeString", "alias": "geogstate", "length": 2 }, { "name": "network_distance_km", "type": "esriFieldTypeDouble", "alias": "network_distance_km" }, { "name": "network_flowtime_days", "type": "esriFieldTypeDouble", "alias": "network_flowtime_days" }, { "name": "navigable", "type": "esriFieldTypeString", "alias": "navigable", "length": 1 }, { "name": "coastal", "type": "esriFieldTypeString", "alias": "coastal", "length": 1 }, { "name": "innetwork", "type": "esriFieldTypeString", "alias": "innetwork", "length": 1 }, { "name": "cycle_year", "type": "esriFieldTypeString", "alias": "cycle_year", "length": 4 }, { "name": "start_date", "type": "esriFieldTypeDate", "alias": "start_date", "length": 8 }, { "name": "end_date", "type": "esriFieldTypeDate", "alias": "end_date", "length": 8 }, { "name": "wbd_huc12", "type": "esriFieldTypeString", "alias": "wbd_huc12", "length": 12 }, { "name": "program_key", "type": "esriFieldTypeString", "alias": "program_key", "length": 2000 } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "ResultLinearLinkedData", "dataType": "GPFeatureRecordSetLayer", "displayName": "ResultLinearLinkedData", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPolyline", "spatialReference": { "wkid": 4269, "latestWkid": 4269 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "session_id", "type": "esriFieldTypeString", "alias": "session_id", "length": 40 }, { "name": "nhd_permanent_identifier", "type": "esriFieldTypeString", "alias": "nhd_permanent_identifier", "length": 40 }, { "name": "nhdplus_comid", "type": "esriFieldTypeInteger", "alias": "nhdplus_comid" }, { "name": "reachcode", "type": "esriFieldTypeString", "alias": "reachcode", "length": 14 }, { "name": "reachsmdate", "type": "esriFieldTypeDate", "alias": "reachsmdate", "length": 8 }, { "name": "fmeasure", "type": "esriFieldTypeDouble", "alias": "fmeasure" }, { "name": "tmeasure", "type": "esriFieldTypeDouble", "alias": "tmeasure" }, { "name": "eventtype", "type": "esriFieldTypeInteger", "alias": "eventtype" }, { "name": "eventtype_str", "type": "esriFieldTypeString", "alias": "eventtype_str", "length": 100 }, { "name": "event_permanent_identifier", "type": "esriFieldTypeString", "alias": "event_permanent_identifier", "length": 40 }, { "name": "source_originator", "type": "esriFieldTypeString", "alias": "source_originator", "length": 130 }, { "name": "source_featureid", "type": "esriFieldTypeString", "alias": "source_featureid", "length": 100 }, { "name": "featuredetailurl", "type": "esriFieldTypeString", "alias": "featuredetailurl", "length": 255 }, { "name": "geogstate", "type": "esriFieldTypeString", "alias": "geogstate", "length": 2 }, { "name": "event_lengthkm", "type": "esriFieldTypeDouble", "alias": "event_lengthkm" }, { "name": "network_distance_km", "type": "esriFieldTypeDouble", "alias": "network_distance_km" }, { "name": "network_flowtime_days", "type": "esriFieldTypeDouble", "alias": "network_flowtime_days" }, { "name": "navigable", "type": "esriFieldTypeString", "alias": "navigable", "length": 1 }, { "name": "coastal", "type": "esriFieldTypeString", "alias": "coastal", "length": 1 }, { "name": "innetwork", "type": "esriFieldTypeString", "alias": "innetwork", "length": 1 }, { "name": "cycle_year", "type": "esriFieldTypeString", "alias": "cycle_year", "length": 4 }, { "name": "start_date", "type": "esriFieldTypeDate", "alias": "start_date", "length": 8 }, { "name": "end_date", "type": "esriFieldTypeDate", "alias": "end_date", "length": 8 }, { "name": "wbd_huc12", "type": "esriFieldTypeString", "alias": "wbd_huc12", "length": 12 }, { "name": "program_key", "type": "esriFieldTypeString", "alias": "program_key", "length": 2000 }, { "name": "Shape_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "ResultAreaLinkedData", "dataType": "GPFeatureRecordSetLayer", "displayName": "ResultAreaLinkedData", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPolygon", "spatialReference": {"wkid": null}, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "session_id", "type": "esriFieldTypeString", "alias": "session_id", "length": 40 }, { "name": "nhd_permanent_identifier", "type": "esriFieldTypeString", "alias": "nhd_permanent_identifier", "length": 40 }, { "name": "nhdplus_comid", "type": "esriFieldTypeInteger", "alias": "nhdplus_comid" }, { "name": "reachcode", "type": "esriFieldTypeString", "alias": "reachcode", "length": 14 }, { "name": "reachsmdate", "type": "esriFieldTypeDate", "alias": "reachsmdate", "length": 8 }, { "name": "eventtype", "type": "esriFieldTypeInteger", "alias": "eventtype" }, { "name": "eventtype_str", "type": "esriFieldTypeString", "alias": "eventtype_str", "length": 100 }, { "name": "event_permanent_identifier", "type": "esriFieldTypeString", "alias": "event_permanent_identifier", "length": 40 }, { "name": "source_originator", "type": "esriFieldTypeString", "alias": "source_originator", "length": 130 }, { "name": "source_featureid", "type": "esriFieldTypeString", "alias": "source_featureid", "length": 100 }, { "name": "featuredetailurl", "type": "esriFieldTypeString", "alias": "featuredetailurl", "length": 255 }, { "name": "geogstate", "type": "esriFieldTypeString", "alias": "geogstate", "length": 2 }, { "name": "event_areasqkm", "type": "esriFieldTypeDouble", "alias": "event_areasqkm" }, { "name": "network_distance_km", "type": "esriFieldTypeDouble", "alias": "network_distance_km" }, { "name": "network_flowtime_days", "type": "esriFieldTypeDouble", "alias": "network_flowtime_days" }, { "name": "cycle_year", "type": "esriFieldTypeString", "alias": "cycle_year", "length": 4 }, { "name": "start_date", "type": "esriFieldTypeDate", "alias": "start_date", "length": 8 }, { "name": "end_date", "type": "esriFieldTypeDate", "alias": "end_date", "length": 8 }, { "name": "wbd_huc12", "type": "esriFieldTypeString", "alias": "wbd_huc12", "length": 12 }, { "name": "program_key", "type": "esriFieldTypeString", "alias": "program_key", "length": 2000 }, { "name": "Shape_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length" }, { "name": "Shape_Area", "type": "esriFieldTypeDouble", "alias": "Shape_Area" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "ResultStreamsSelected", "dataType": "GPFeatureRecordSetLayer", "displayName": "ResultStreamsSelected", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPolyline", "spatialReference": { "wkid": 4269, "latestWkid": 4269 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "session_id", "type": "esriFieldTypeString", "alias": "session_id", "length": 40 }, { "name": "comid", "type": "esriFieldTypeInteger", "alias": "comid" }, { "name": "permanent_identifier", "type": "esriFieldTypeString", "alias": "permanent_identifier", "length": 40 }, { "name": "reachcode", "type": "esriFieldTypeString", "alias": "reachcode", "length": 14 }, { "name": "fmeasure", "type": "esriFieldTypeDouble", "alias": "fmeasure" }, { "name": "tmeasure", "type": "esriFieldTypeDouble", "alias": "tmeasure" }, { "name": "network_distancekm", "type": "esriFieldTypeDouble", "alias": "network_distancekm" }, { "name": "network_flowtimeday", "type": "esriFieldTypeDouble", "alias": "network_flowtimeday" }, { "name": "hydrosequence", "type": "esriFieldTypeInteger", "alias": "hydrosequence" }, { "name": "levelpathid", "type": "esriFieldTypeInteger", "alias": "levelpathid" }, { "name": "terminalpathid", "type": "esriFieldTypeInteger", "alias": "terminalpathid" }, { "name": "uphydroseq", "type": "esriFieldTypeInteger", "alias": "uphydroseq" }, { "name": "dnhydroseq", "type": "esriFieldTypeInteger", "alias": "dnhydroseq" }, { "name": "lengthkm", "type": "esriFieldTypeDouble", "alias": "lengthkm" }, { "name": "length_measure_ratio", "type": "esriFieldTypeDouble", "alias": "length_measure_ratio" }, { "name": "flowtimeday", "type": "esriFieldTypeDouble", "alias": "flowtimeday" }, { "name": "flowtime_measure_ratio", "type": "esriFieldTypeDouble", "alias": "flowtime_measure_ratio" }, { "name": "reachsmdate", "type": "esriFieldTypeDate", "alias": "reachsmdate", "length": 8 }, { "name": "ftype", "type": "esriFieldTypeInteger", "alias": "ftype" }, { "name": "fcode", "type": "esriFieldTypeInteger", "alias": "fcode" }, { "name": "fcode_str", "type": "esriFieldTypeString", "alias": "fcode_str", "length": 128 }, { "name": "gnis_id", "type": "esriFieldTypeString", "alias": "gnis_id", "length": 10 }, { "name": "gnis_name", "type": "esriFieldTypeString", "alias": "gnis_name", "length": 65 }, { "name": "wbarea_permanent_identifier", "type": "esriFieldTypeString", "alias": "wbarea_permanent_identifier", "length": 40 }, { "name": "wbarea_comid", "type": "esriFieldTypeInteger", "alias": "wbarea_comid" }, { "name": "wbd_huc12", "type": "esriFieldTypeString", "alias": "wbd_huc12", "length": 12 }, { "name": "catchment_featureid", "type": "esriFieldTypeInteger", "alias": "catchment_featureid" }, { "name": "quality_marker", "type": "esriFieldTypeInteger", "alias": "quality_marker" }, { "name": "navigable", "type": "esriFieldTypeString", "alias": "navigable", "length": 1 }, { "name": "coastal", "type": "esriFieldTypeString", "alias": "coastal", "length": 1 }, { "name": "innetwork", "type": "esriFieldTypeString", "alias": "innetwork", "length": 1 }, { "name": "Shape_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "ResultLinkPath", "dataType": "GPFeatureRecordSetLayer", "displayName": "ResultLinkPath", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPolyline", "spatialReference": { "wkid": 4269, "latestWkid": 4269 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "session_id", "type": "esriFieldTypeString", "alias": "session_id", "length": 40 }, { "name": "lengthkm", "type": "esriFieldTypeDouble", "alias": "lengthkm" }, { "name": "Shape_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "StatusMessage", "dataType": "GPString", "displayName": "StatusMessage", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" } ] }