Simplifying output reports using queries
Step-by-step:
You can use queries to simplify output reports by creating a selection set using filters. Selection sets are good for finding features on the map from an output report.
- Open the appropriate .aprx file in ArcGIS Pro.
- From the ribbon, InfoWater Pro tab, Project panel, click Initialize.
To run the simulation in the exercise file:
- From the Model Explorer OR from the ribbon, InfoWater Pro tab, Analysis panel, click Run to open the Run Manager.
- In the Run Manager, click the Run icon to run the simulation.
- Click OK to exit the Run Manager.
To access the output report for the run:
- On the ribbon, InfoWater Pro tab, View panel, click Report Manager.
- In the Report Manager, click New.
- In the Output Report/Graph window, Tabular Report tab, select the Pipe Range report.
- Under Data Scope, select Domain.
- Click Open.
The report that opens only contains elements in the domain, in this case, 8-inch pipes in pressure zone 4. A filter can be created from this report data. Filters can be used to locate specified data on the map, or to save a record of features with a prescribed value.
- In the Report Manager, click the Filtering icon.
- In the Data Filtering dialog box:
- Under Available Columns, select Max Value.
- For the Operator, click the > (greater than) symbol.
- In the Value field, enter 10.
- Click Add.
The filter statement is added to the Data Filters pane. Verify that the statement reflects what you are looking for, which in this case are pipes with a flow greater than 10 gallons per minute. This technique is similar to using the Query Builder.
- Click Apply.
An Information dialog box appears, showing how many features in the report have the specified value. In this case, there are a number of pipes with a flow greater than 10 gallons per minute.
- Click OK.
In the Report Manager, all records that meet the filter are selected, as indicated by a check mark in the first column.
- Click the Save Selection icon to save these selected features as a selection set.
- In the Selection Set window, click New.
- In the New Selection Set popup, type a New ID of “HIGH_FLOW”.
- Click OK.
- Click OK again to save the selection set.
To view the results of your selection set in the map:
- On the ribbon, InfoWater Pro tab, Domain panel, click Domain Manager.
- In the Domain Manager, click Clear to clear the domain.
- In the Element Source group box, select Selection Set.
- Expand the drop-down and choose HIGH_FLOW.
- Click Add.
- Close the Domain Manager.
All pipes saved in the HIGH_FLOW selection set from the Report Manager are added into the domain and can be found on the map in red.
To make these pipes stand out, increase the size of the red symbology:
- From the Contents pane, under the Pipe feature class, click the red line next to Domain.
- In the Symbology - Pipe pane, click the Properties tab.
- Change the Line width to 2 pt.
- Click Apply.
- Close the Symbology pane.
The pipes in the domain that you set up with the HIGH_FLOW selection set from the Report Manager now clearly stand out in the map.