User:Jcreer/SMS:Compute Volumes Workflow: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
Computing volumes with SMS
SMS has the ability to compute volumes. Certain datasets and project features are required in order to complete this process.
{|class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
|-
!style="text-align:left;"|Required data and project features.
|-
|
:*Geometry – 2D mesh, UGrid, or scatter set.
:*Delta dataset on the geometry of the spatially varied elevation.
:**This can be computed in the [[SMS:Dataset Toolbox|''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 defining it in a map coverage is recommended.
|}


===Required===
To compute volumes in SMS, use the following steps:
*Geometry - 2D Mesh or Scatterset
*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===
{|class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
{|class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
|-
|-
Line 26: Line 30:
|-
|-
|
|
:: The delta dataset with the elevation values needs to be active to calculate volumes. The dataset can be:
:: The delta dataset with the spatially varied elevation needs to be active to calculate volumes. The dataset can be on of the following:
::* 2D Mesh
::* 2D Mesh
::* 2D Scatter set
::* 2D Scatter set
::* UGrid
::* UGrid/Quadtree
|}
|}
{|class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
{|class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
Line 36: Line 40:
|-
|-
|
|
# Importing a polygon for the delta volume.
: A polygon on an [[SMS:Coverages|map coverage]] is needed to compute volumes.
# Define the polygon for the delta volume.
<blockquote>
{|class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
|-
!style="text-align:left;"|1. Use an existing map coverage or create a new map coverage.
|-
|
<blockquote>
{{SMS new coverage workflow}}
</blockquote>
|}
{|class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
|-
!style="text-align:left;"|2. Import a polygon for the delta volume.
|-
|
:If there is a file with with the define polygon available, use this option.
:# Use the [[SMS:File Menu|''File'' | '''Open''']] menu command to open a file containing a polygon.
:# Depending on the file type, the polygon may need to be converted to a map coverage.
|}
{|class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
|-
!style="text-align:left;"|3. Define the polygon for the delta volume.
|-
|
:Use this option if a new polygon needs to be defined.
<blockquote>
{{SMS Create Polygons Workflow}}
</blockquote>
|}
</blockquote>
|}
|}


Line 48: Line 81:
:# In the [[SMS:File Menu#Info|''Selection Information'']] dialog, make certain ''Volume'' is turned on.
:# In the [[SMS:File Menu#Info|''Selection Information'']] dialog, make certain ''Volume'' is turned on.
:#* If desired, unselect quantities that are not of interest.
:#* If desired, unselect quantities that are not of interest.
:#* If wanting to create a file with computed volume, turn on the ''Echo to File'' option.
|}
|}


{|class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
{|class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
|-
|-
!style="text-align:left;"|5. Compute volume in the ''Select/Delete Data'' dialog.
!style="text-align:left;"|5. Compute volume in the [[SMS:Select/Delete Data...|''Select/Delete Data'']] dialog.
|-
|
:# Using the [[SMS:Map_Module_Tools|'''Select Polygons''']] [[File:SMS Select Polygon Tool.svg|16 px]] tool, select the polygon(s) that covers the computation region.
:# Use [[SMS:Map_Feature_Objects_Menu#General_Commands|'''Select/Delete Data...''']] command in the [[SMS:Map_Feature_Objects_Menu#General_Commands|''Feature Objects'']] menu.
:# Compute volume in the [[SMS:Select/Delete Data...|''Select/Delete Data'']] dialog.
::# Leave the ''Data Domain'' setting as ''Inside polygon(s)''.
::# Select the geometry in the tree on the lower right side.
::#*"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).
|}
{|class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
|-
!style="text-align:left;"|6. View results.
|-
|-
|
|
:# Select the polygon (or polygons) that cover the region you want to compute the volume for
:# The volume will be reported in the [[SMS:Help or Status Window|Status Bar]] at the bottom of the Graphics Window.
:# Use '''Select/Delete Data...''' command in the ''Feature Objects'' menu.
:# The ''Echo to File'' option in the [[SMS:File_Menu#info|''Selection Information'']] dialog allows for the results to be saved to a file or displayed in a separate window.
:# Compute volume in the ''Select/Delete Data'' dialog.
 
::# Leave the ''Data Domain'' setting as "Inside polygon(s)"
::# 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===
<!--[Original email text]
 
Computing volumes with SMS
Required:
Geometry - 2D Mesh or Scatterset
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 the geometry
2- Load the datasets
3- Select the desired "delta" dataset
4- Load or define the polygon for with delta volume is desired
5- In "File|Info option.." make sure "Volume" is turned on.  (You may want to unselect quantities that are not of interest to simplify the message.)


Operation steps:
1- Switch to the "Map" module
2- Select the polygon (or polygons) that cover the region you want to compute the volume for
3- Use "Select/Delete Data..." command in the "Feature Objects" menu.  Dialog appears.
4- Leave the "Data Domain" setting as "Inside polygon(s)"
5- Select the geometry in the tree on the lower right side.
6- Select "Mesh|Elements" if the geometry is a mesh or "Scatter|Triangles" if the geometry is a scatter set.
7- Select "OK" - SMS will switch the module to the geometry module and select the elements/cell or triangles inside the polygon(s)
Results
The volume will be reported at the bottom of the graphics window in the status bar.
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.
The other info options allow for this to be saved to a file or displayed in a separate window.
 
-->


{{Navbox SMS}}
{{Navbox SMS}}

Latest revision as of 19:37, 28 June 2017

SMS has the ability to compute volumes. Certain datasets and project features are required in order to complete this process.

Required data and project features.
  • 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 defining it in a map coverage is recommended.

To compute volumes in SMS, use the following 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 spatially varied elevation needs to be active to calculate volumes. The dataset can be on of the following:
  • 2D Mesh
  • 2D Scatter set
  • UGrid/Quadtree
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.
If there is a file with with the define polygon available, use this option.
  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.
Use this option if a new polygon needs to be defined.
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.
    • If wanting to create a file with computed volume, turn on the Echo to File option.
5. Compute volume in the Select/Delete Data dialog.
  1. Using the Select Polygons SMS Select Polygon Tool.svg tool, select the polygon(s) that covers the computation region.
  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.
    • "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).
6. View results.
  1. The volume will be reported in the Status Bar at the bottom of the Graphics Window.
  2. The Echo to File option in the Selection Information dialog allows for the results to be saved to a file or displayed in a separate window.