User:Jcreer/SMS:Compute Volumes Workflow

From XMS Wiki
Jump to navigationJump to search

Computing volumes with SMS

Required

  • Geometry – 2D mesh, UGrid, or scatter set.
  • Delta dataset on the geometry of the spatially varied elevation.
    • This can be computed in the dataset toolbox
    • Examples include:
      • Delta bed dataset computed by a sediment transport model
      • Delta water surface elevation computed from two different water surface values
  • Polygon of region to be evaluated
    • Can be defined interactively but recommendation is to define it in a map coverage

Setup steps

1. Load data files.
1. Gather and open image files.

Images are imported into the GIS module in SMS.

1. Open local images.
  1. Load images from local computer files using the File | Open... command.
  2. Alternatively, drag and drop the file into the Graphics Window in SMS.
2. Import images from the web.
1. Import static images.
  1. Use the File | Import from Web command.
  2. Select a location in the Virtual Map Locator.
  3. Set a projection for the project using the Display Projections dialog.
  4. Use the Data Service Options dialog to select a web service or catalog.
    • Use the Advanced options if needing to access a unique or unavailable data source.
  5. Save the data file and import the data into SMS.
2. Import dynamic images.
  1. Use the File | Add Online Maps command.
  2. Select a location in the Virtual Map Locator.
  3. Set a projection for the project using the Display Projections dialog.
  4. Use the Data Service Options dialog to select a web service or catalog.
  5. Save the data file and import the data into SMS.
2. Gather and open geometric data files.
1. Import map data.
  1. Use the File | Open... command to import map data such as Map files, boundary ID files, or boundary XY files.
  2. Alternately, drag and drop the file into the Graphics Window in SMS.
2. Import GIS data.
  1. Use the File | Open... command to import GIS data files such as Shapefiles, MIF/MID files, Lidar files, or raster files.
  2. Alternatively, drag and drop the file into the Graphics Window in SMS.
3. Import scatter data.
  1. Use File | Open... to open files with scatter data such as scatter point files, ASCII dataset files, binary dataset files, tabular data files, or XYZ files.
  2. Alternatively, drag and drop the file into the Graphics Window in SMS.
  3. Use the File Import Wizard to specify how to import the data.
4. Import CAD data.
  1. Verify the CAD file type is readable by SMS before importing it. SMS can import DXF and DWG files.
  2. Use the File | Open... command to launch the Open dialog (or drag and drop) to import the CAD files.
The data should load in layers into the Project Explorer.
5. Review and set object projections.
  1. Right-click on an object in the Project Explorer and select the Projection command.
  2. Set the horizontal and vertical projection using the Object Projection dialog.
  3. To set a global projection, use the Horizontal Projection dialog.
2. Select the desired "delta" dataset
The delta dataset with the elevation values needs to be active to calculate volumes. The dataset can be on of the following:
  • 2D Mesh
  • 2D Scatter set
  • UGrid
3. Load or define the polygon for the delta volume area.
A polygon on an map coverage is needed to compute volumes.
1. Use an existing map coverage or create a new map coverage.
1. Create new coverage from scratch.
  1. Select Map Data in the Project Explorer and use the New Coverage right-click command.
  2. Use the New Coverage dialog to create a new coverage by selecting the desired coverage type, and naming the coverage.
2. Create new coverage from an existing coverage.
  1. Use the Duplicate command on an existing coverage. This will copy any feature objects on the coverage.
  2. Use the Rename command to give the coverage a new name.
  3. Change the coverage type.
2. Import a polygon for the delta volume.
  1. Use the File | Open menu command to open a file containing a polygon.
  2. Depending on the file type, the polygon may need to be converted to a map coverage.
3. Define the polygon for the delta volume.
1. Create enclosed arcs for polygon area.
1. Create feature arcs, nodes and vertices.
In the Map module, create feature objects in the active coverage.
  1. Use the Create Feature Arc SMS Create Arc Tool.svg tool to create arcs in the map coverage.
  2. Begin creating a new arc by clicking in the Graphics Window at either arc end. If clicking on an existing feature node, vertex or arc, the new arc will snap to that object.
  3. Double-click or press the Enter key to terminate the arc.
  4. Use the Create Feature Node Create Points Tool.svg tool to create additional nodes alone or to split arcs.
2. Modify arcs.
Feature arcs often need to be edited after initial creation.
1. Create additional vertices on arcs.
  1. Use the Create Feature Vertex SMS Create Vertex Tool.svg tool to add vertices along arcs.
2. Refine the arc shape.
  1. Use the Select Feature Vertex SMS Select Vertex Tool.svg tool and the Select Feature Node SMS Select Node Tool.svg tool to move/edit existing arcs and refine the shape by dragging the nodes/vertices.
  2. Use the Select Feature Arc SMS Select Arc Tool.svg tool to move entire arcs .
3. Split arcs.
An existing arc can be split by:
1. Converting a vertex to a node.
  1. Use the Select Feature Vertex SMS Select Vertex Tool.svg tool and right-click on a vertex along an arc.
  2. Select the Convert to Node command to split the arc into two arcs.
2. Add a node the arc.
  1. Use the Create Feature Node Create Points Tool.svg tool to add a node on an arc in order to split it into two arcs.
3. Add a new connecting arc.
  1. Use the Create Feature Arc SMS Create Arc Tool.svg tool to start or end a new arc on an existing arc to split the existing arc into two arcs.
4. Use the Split Arcs Tool.
  1. Right-click on an arc using the Select Feature Arc SMS Select Arc Tool.svg tool and select the Split Arc(s)... command.
  2. Use the Split Arcs Tool to divide arcs.
5. Split overlapping arcs using the Clean Options dialog.
  1. Select overlapping arcs using the Select Feature Arc SMS Select Arc Tool.svg tool.
  2. Use the Feature Objects | Clean command to bring up the Clean Options dialog.
  3. Select the Intersect selected arcs option (for selected arcs) or Intersect arcs option (for all overlapping arcs) to split the arcs.
4. Merge arcs.
Two arcs that share an end node can be merged together.
  1. Select the shared node using the Select Feature Node SMS Select Node Tool.svg tool.
  2. Right-click on the node and select the Convert to Vertex command to merge the arcs.
  3. If desired, the Select Feature Vertex SMS Select Vertex Tool.svg tool can be used to select and delete the new vertex.
5. Smooth arcs.
The variability or roughness of an arc can be reduced.
  1. Right-click on an arc using the Select Feature Arc SMS Select Arc Tool.svg tool and select the Smooth Arc(s)... command.
  2. Use the Smooth Arcs Tool to reduce the variability of the arc.
6. Prune arcs.
Concave sections of the arc can be removed.
  1. Right-click on an arc using the Select Feature Arc SMS Select Arc Tool.svg tool and select the Prune Arc(s)... command.
  2. Use the Prune Arcs dialog to remove concave sections.
7. Extend/trim arcs.
Extend or shorten an arc to match an existing arc's length.
  1. Using the Select Feature Arc SMS Select Arc Tool.svg tool, select two intersecting arcs.
  2. Right-click on an arc using the Select Feature Arc SMS Select Arc Tool.svg tool and select the Extend/Trim Arc... command.
  3. Use the Trim/Extend Arc dialog to select the target arc and source arc.
2. Build polygons.
Polygons are not created automatically when arcs are enclosed. To create polygons:
  1. Use the Feature Objects | Build Polygons command.
4. Make certain the Volume option is on.
  1. Select the File | Info option... menu command.
  2. In the Selection Information dialog, make certain Volume is turned on.
    • If desired, unselect quantities that are not of interest.
5. Compute volume in the Select/Delete Data dialog.
  1. Select the polygon (or polygons) that cover the region you want to compute the volume for
  2. Use Select/Delete Data... command in the Feature Objects menu.
  3. Compute volume in the Select/Delete Data dialog.
  1. Leave the Data Domain setting as "Inside polygon(s)"
  2. Select the geometry in the tree on the lower right side then select
    • "Elements" if the geometry is a mesh
    • "Triangles" if the geometry is a scatter set
    • "Cells" if the geometry is a UGrid
SMS will switch the module to the geometry module and select the elements, cells, or triangles inside the polygon(s)

Results

The volume will be reported at the bottom of the graphics window in the status bar.

The other info options allow for this to be saved to a file or displayed in a separate window.