Steps:
Visit waterqualitydata.us
Utilize the filtering tools to find the AOI or utilize the upstream downstream mapper tool
a. Choose the most appropriate site such as USGS-08279500.
Navigate to the Swagger demo page.
a. Determine what data is needed, usually upstream main channel, upstream tributary, and basin.
Navigate to the relevant sections of the Swagger page, for example the basin section.
a. Fill out the parameters section(s):
i. featureSource should be WQP (stands for Water Quality Portal)
ii. featureID is the individual site, for this example: USGS-08279500.
iii. simplified is a boolean query; if you want to simplify the basin choose true, otherwise choose false (recommended).
iv. splitCatchment is a boolean query; if you want to split the basin into subbasins choose false (does not work as of 8/5/24), otherwise choose true (recommended).
b. Click execute
c. Copy the Request URL
Open a web browser and paste the Request URL into a new tab
a. A message will appear stating, "An HTML representation is not available for this resource. If you would like to see the data as JSON, click here.
i. click on the click here
b. Text will appear that begins with {, select all of the text (control A on PC, Command A on Mac) and copy the text.
Open Notepad or another text editor.
a. Paste the JSON into the text editor.
b. Save the text as .json (JavaScript Object Notation).
Open or navigate to ArcGIS Pro
a. Navigate to the Geoprocessing Tools pane.
b. Select the Create Feature Class (Data Management Tools) Tool.
i. Select a Feature Class Location, it is recommended to use the geodatabase of the current project.
ii. Name the Feature Class, the Feature Class Name cannot have spaces (use snake case, this_is_an_example_of_snake_case).
iii. Choose the Geometry Type; basins will be polygons while main channels and tributaries are polylines.
iv. Template Datasets can be ignored.
v. OID Type should be left as, "Same as template."
vi. Has M should be left as, "No."
vii. Has Z should be left as, "No."
viii. The Coordinate System should either be known and chosen at this step, or can likely use, "Same as map."
iv. The Feature Class Alias is where one can name the feature class using special characters and spaces.
x. Click Run.
c. Select the JSON To Features (Conversion Tools) Tool.
i. In the Input JSON or GeoJSON parameter, navigate to the JSON file created in step 6.
ii. The Output Feature Class should be the feature class that was created above in step 7b.
Additional Notes
flowlines are much the same.
a. featureSource = wqp.
b. featureID = same as step 4.
c. navigationMode
i. UM = Upstream Main channel
ii. UT = Upstream Tributary channels
iii. DM = Downstream Main channel
iv. DT = Downstream Tributary channels
Other methods are not used in NRAs, but can be explored to glean further understanding.
Additional information can be found at the USGS Hydro Network-Linked Data Index Blog Post.