• InfoWater Pro

Creating an animated thematic map

Color code various attribute values to view and animate simulation results in the map display.


Tutorial resources

These downloadable resources will be used to complete this tutorial:

iwtr2023M08U05_Creating-an-Animated-Thematic-Map.zip

Creating an animated thematic map

Step-by-step guide

Creating an animation of a color-coded map can help view extended period simulation results. For example, map display options can be configured to create an animated map of pressure for junctions and velocity for the pipes in a network.

  1. To open ArcGIS Pro, double-click the desired project .aprx file.
  2. Click the InfoWater Pro tab.
  3. In the Project panel, click Initialize.
    The ArcGIS ribbon, with the InfoWater Pro tab active, and in the Project panel, Initialize being selected and highlighted in red.
  4. On the ribbon, in the View panel, click Map Theme.
    The View panel, with Map Theme being selected and highlighted in red.
  5. In the Map Theme Identification popup, give the theme a name, such as “EPS_Animation, Animated Thematic Map”.
  6. Click OK.
    The Map Theme Identification popup with a name entered and highlighted in red, and OK being selected and highlighted in red.

In the Map Theme dialog box, configure the map theme to display the needed information.

  1. Select Junction from the element type list.
  2. Click New to create a new junction sub-theme.
    The Map Theme dialog, with Junction selected and called out with a red arrow, and New being selected and highlighted in red.
  3. In the New Sub-Theme dialog, give the sub-theme a name, such as “Pressure”.
  4. Click OK.
    The New Sub-Theme dialog, with a name entered and highlighted in red, and OK being selected and highlighted in red.
  5. In the Standard Sub-Theme window, Data Source group, set the Table drop-down to Output.
  6. Set the Field drop-down to Pressure (psi).
    The Standard Sub-Theme window, with the Table set to Output and Field set to Pressure (psi), both highlighted in red.

On the Symbology tab, the color theme table updates.

  1. Set Classes to 4.
  2. Click Set Break.
  3. In the table, change the settings as follows:
  • Row 1: Color Red, Size 7, Break 20.
  • Row 2: Color Blue, Size 5, Break 60.
  • Row 3: Color Green, Size 5, Break 120.
  • Row 4: Color Yellow, Size 7, Break 171.31.
  1. Click Save and Apply Sub-Theme.
    The Standard Sub-Theme window, with options configured for this example and highlighted in red, and Save and Apply Sub-Theme being selected and called out with a red arrow.

Now, create a new pipe sub-theme.

  1. For the element type, select Pipe.
  2. Click New.
    The Map Theme dialog, with Pipe selected for the element type, and New being selected and highlighted in red.
  3. In the New Sub-Theme dialog, give the sub-theme a name, such as “Velocity”.
  4. Click OK.
  5. Set the Table to Output, Field to Velocity (ft/s), and Classes to 3.
  6. Click Set Break.
  7. In the table, change the settings as follows:
  • Row 1: Color Yellow, Size 2, Break 0.5.
  • Row 2: Color Green, Size 1, Break 1.5.
  • Row 3: Color Red, Size 2, Break 10.
  1. Click Save and Apply Sub-Theme.
    In the Standard Sub-Theme window, settings appropriately applied and highlighted in red, and Save and Apply Sub-Theme being selected and highlighted in red.
  2. Close the Map Theme dialog.
  3. Zoom to the extents of the model.

The map shows the pressure and velocity displayed by these color-coded ranges.

The map, with color-coded ranges that show the pressure and velocity.

  1. In the Model Explorer, select the Attribute tab.
  2. Scroll the output time slider to a different time, such as 21:00 hrs.

The map color-coding updates to reflect the current output value.

On the left, the Model Explorer with the Attribute tab selected and highlighted in red, and the time slider updated and highlighted in red. On the right, the map, with color coding updated to reflect the output value.

Be aware that, in large models, dragging the time slider may cause the map to freeze as it loads in the corresponding data.

  1. To prevent this, disable Refresh Output.
  2. Make sure to re-enable this option to update the map at the desired timestep.

The Model Explorer, with the Refresh Output option called out with a red arrow.

Now, set up an animation of this color-coded map.

  1. Drag the time slider back to 00:00 hrs.
  2. To see the full extent of the model in the display, on the Map tab of the ribbon, in the Navigate panel, click Full Extent.
    On the ribbon, the Map tab selected and highlighted in red, and in the Navigate panel, Full Extent being selected and called out with a red arrow.
  3. In the Model Explorer, on the Command Center tab, expand the Tools folder.
  4. Double-click Animation Editor.
    The Model Explorer, with the Command Center tab selected and highlighted in red, and the Tools folder expanded, with Animation Editor called out with a red arrow.
  5. In the Animation Editor dialog, select Save Animation to File.
  6. Enter a name of “PV” for pressure velocity.
  7. Click Create.
    The Animation Editor, with Save Animation to File selected and called out with a red arrow, a name entered and highlighted in red, and Create being selected and highlighted in red.

A progress bar appears as a screen shot is taken of the thematic map at each output timestep. This can take a few minutes to complete.

  1. In the Tools folder, double-click Animation Viewer.
    The Model Explorer, with the Tools folder expanded, and Animation Viewer called out with a red arrow.

If the model was not zoomed to extents, then the animation will only include the features that were in the viewable map area when the animation was created.

  1. In the Animation Viewer, click Delay Setting.
    In the Animation Viewer, the Delay Setting hourglass icon called out with a red arrow.
  2. In the Display Delay popup, set the Delay Time to 250 milliseconds.
  3. Click OK.
    The Display Delay popup, with the Delay Time set to 250 and OK being selected, both highlighted in red.
  4. To animate the graph, click Fast Forward.
    In the Animation Viewer, the Fast Forward control called out with a red arrow.

For optimal results, the viewer should be the same size and dimensions as the map area when the animation was created.

Map Themes provide a dynamic and powerful way of categorizing a project visually based on defined criteria. It can also be used for other data elements, such as pumps, valves, tanks, and reservoirs.

Two screenshots of the map at different points in time during the animation.

  1. Close the Animation Viewer.

To reset the display to the default, as set in the Preferences:

  1. On the ribbon, in the View panel, click Reset Map Theme.
    In the View panel of the ribbon, Reset Map Theme being selected and called out with a red arrow.