SMS:Converting Coverages: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Map coverages can be converted to other data types in SMS such as meshes, grids, scatter sets and cross sections. This can be accomplished by either right-clicking on a coverage in the [[SMS:Project Explorer|project explorer]] and selecting a convert command or by selecting the following commands from the [[SMS:Map Feature Objects Menu|Feature Objects menu]]:  
Map coverages can be used to generate other geometric data types in SMS such as meshes (unstructured grids), grids (Cartesian grid), Curvinlinear or boundary fitted grids, scatter sets and cross sections. This can be accomplished by right-clicking on a coverage of an appropriate type in the [[SMS:Project Explorer|Project Explorer]] and selecting a convert command.  These commands include:  


* [[SMS:Converting Feature Objects#Map to 2D Mesh|'''Map → 2D Mesh''']] – Available with the [[SMS:Mesh_Generation#Mesh_Generator_Coverage|Mesh Generator]] coverage and most other coverages.
* [[SMS:Converting Feature Objects#Map to 2D Grid|'''Map → 2D Grid''']] – Available with the [[SMS:Cartesian_Grid_Module#Cartesian_Grid_Generator_Coverage|CGrid Generator]] coverage and many other coverages.
* [[SMS:Converting Feature Objects#Map to 2D Scatter Points|'''Map → Scatter''']] – Available with most coverages.
* [[SMS:Converting_Feature_Objects#Map_to_1D_Grid|'''Map → 1D Grid''']] – Available in the [[SMS:GenCade#GenCade_Coverage|GenCade]] coverage.
* [[SMS:Converting Feature Objects#Map to Quadtree|'''Map → Quadtree''']] – Available in the [[SMS:Quadtree_Module#Quadtree_Generator_Coverage|Quadtree Generator]] coverage.
* [[SMS:Converting Feature Objects#Map to UGrid|'''Map → UGrid''']] – Available with the [[SMS:Mesh_Generation#Mesh_Generator_Coverage|Mesh Generator]] coverage and most other coverages.


===Extract Cross Section===
In some cases, and historically, many of these functions are accessible by selecting the similar commands from the [[SMS:Map Feature Objects Menu|''Feature Objects'']] menu.
The '''Extract Cross-sections''' command uses the cross section arcs and a digital terrain model (TINs are the only source that can currently be used) to extract the elevations at vertices of the feature arc cross-sections, or at the intersection points with the triangles.  


Cross-sections for individual arcs may be extracted by selecting the arc(s) before choosing the '''Extract Cross-sections''' command. If not cross-sections are selected then the ''Use All Cross-sections'' option is used.  
The same coverage can be used to create multiple meshes, grids, or scatter sets, with the exception of the 1D grid. Any changes made in the coverage after converting the coverage will not implemented in the existing geometry, but a new geometry can be generated that incorporates the changes to the coverage.


Point properties (thalweg, left bank, right bank) can be defined from a 1D-Hydraulic Centerline coverage, or by AutoMark. The ''AutoMark'' option will examine the elevations of the extracted cross sections and try to infer the thalweg (low point) and the left and right bank points (change of slope) automatically.  
Some conversion commands require specific conditions be met before the command is available.
*Converting to a grid (2D grid, 1D grid, or quadtree) requires that a [[SMS:Grid Frame Properties|grid frame]] has been created on the coverage. Attributes for the grid frame can be set before or during the conversion process.
*Converting to a mesh or UGrid requires [[SMS:Build Polygons|building polygons]] in the coverage. Attributes for the polygons should be set before converting to a mesh.


Line properties can be determined from an area property coverage by intersecting the cross-section arcs with the area property polygons and marking them in the cross section database.
For more information, see [[SMS:Converting Feature Objects|Converting Feature Objects]].


===Cross Section Database===
==Related Topics==
When extracting the cross sections you will be prompted for the name of a cross-section database file. SMS stores all of the cross-section information in a text database file. The cross section database can also be edited independently using the Cross Section Editor tools. Extracting cross sections with feature arcs is the only way to generate cross-section information, they also can be imported from spreadsheet files (cut and paste), or entered manually.
* [[SMS:Converting Feature Objects|Converting Feature Objects]]
* [[SMS:Coverages|Map Coverages]]


===Map → 2D Mesh===
Once a set of feature objects has been created for a coverage (conceptual model) associated with a finite element based model such as RMA2, FESWMS, ADCIRC or CGWAVE , the [[SMS:Unstructured Grid Generation from a Conceptual Model|'''Map → 2D Mesh''']] command can be used to generate a 2D finite element mesh from the objects. The '''Map → 2D Mesh''' command creates a 2D Mesh on the interior of all of the polygons in the current coverage. The figure domain of a flood plain using the feature objects in the Map Module. The second figure shows a 2D Mesh created from the polygons.
{|
|-
|[[Image:Flood_plain_domain.bmp|thumb|475 px|Flood Plain Domain]]
|[[Image:Map_to_2D_mesh.bmp|thumb|475 px|2D Mesh created from Map Objects using '''Map → 2D Mesh''' command]]
|}


===Map → 2D Grid===
{{Template:Navbox SMS}}
The '''Map → 2D Grid''' command is used to create a 2D grid using the feature objects in a 2D Grid Coverage. When the '''Map → 2D Grid''' command is selected, the ''Create Grid'' dialog appears. A grid frame must have been defined. The size and location of the grid frame are used to initialize the fields in the ''Create Grid'' dialog. In most cases, these values will not need to be changed and the user can simply select the '''OK''' button to create the grid. If a grid frame has not been defined, the size and location of the grid are initialized so that the grid just surrounds the currently defined feature objects. If desired, the grid dimensions can be edited prior to selecting the '''OK''' button to create the grid.
 
===Grid Frame Properties===
The ''Grid Frame Properties'' dialog allows the user to specify the attributes applied to the grid frame when performing a '''Map → 2D Grid''' operation. These properties are as follows:  
* Origin
* Orientation
* Directional properties (u and v direction)
<blockquote>
**Define cell sizes &ndash; specified uniform cell sizes
<blockquote>
*Cell size &ndash; the cell size in the specified direction
*Number of cells &ndash; number of cells in the specified direction
</blockquote>
*Use refine points &ndash; refine points will be used to generate the grid
<blockquote>
*Maximum cell size &ndash; the max size the should exists when growing
*Maximum bias &ndash; the max growth ratio to be used when growing
*Use inner growth &ndash; specifies whether the cell sizes should grow between two refine points
</blockquote>
*Grid size &ndash; the grid dimension in the specified direction
</blockquote>
When the user specifies "Define cell sizes", there are a few options available. These options are:
# Specify cell size &ndash; specify the cell size and the number of cells will be computed.
# Specify number of cells &ndash; specify the number of cells and the cell size will be computed.
If the grid is to have square cells, the v direction cell size will always be linked to the u direction cell size.
 
See [[SMS:Grid Frame Properties|Grid Frame Properties]] for more information.
 
===Refine Points===
Refine points for a Cartesian Grid allow a user to change the cell dimensions when generating the grid. They are not available for all models, since some Cartesian Grid models require uniform cell sizes. The user can specify whether to refine in the I and/or J direction and the base cell size for each direction.
 
When the refining is performed, the base size may be changed in order to fit the other restrictions applied to the refining process. If two refine points are too close to each other to allow the cell size to transition, one will be ignored when generating the grid. See [[SMS:Refine Point Dialog|Refine Point Dialog]] for more information.
 
===Depth and Vector Options===
In addition to the options specified on the grid frame, depth and vector interpolation options can be specified during the mapping process for some models. The depth mapping is required for all models, while the vector mapping is optional even for the models it can be performed on. Depth and vector datasets can be constant or interpolated from a [[SMS:Scatter Module|scatter set]].
 
Cells a user specified tolerance above the datum can be marked as land (inactive) cells. This option is on by default for [[SMS:BOUSS-2D|BOUSS-2D]], but defaults to off for other models.
 
When specifying a constant vector, the X and Y components are oriented based on global space, not grid space.
 
The name of the vector dataset can be specified, but the name of the depth dataset is always set to "Depth".
 
===Map to 2D Scatter Points===
The '''Map &rarr; 2D Scatter Points''' command creates a scatter point set from the points and nodes and vertices of the current coverage. The process is different for observation coverages and non-observation coverages.
* '''Non-observation Coverages'''
*: With non-observation coverages, a single elevation dataset is created for the 2D scatter points representing the Z location of all the points, nodes and vertices.
* '''Observation Coverages'''
*: With observation coverages, the ''Observation Points &rarr; Scatter Points'' dialog appears. This dialog allows you to create a dataset for the 2D scatter points from one of the measurements associated with the observation points.


==Measurement==
[[Category:SMS Coverages|Convert]]
A dataset is created for the 2D scatter points from the measurement selected in the dialog. The model associated with the selected measurement (if any) is shown, along with whether the measurement is steady state or transient.
[[Category:SMS Map|Convert]]
 
==Time Step Times==
This section of the dialog is only available if the selected measurement is transient. It allows you to define the number of time steps, and the time step times to be created for the scatter point dataset.
* '''Match all unique times'''
*: The ''Match all unique times'' option gets the set of unique times from the XY series of all the observation points. This is the union of all the times. If some XY series use dates/times and others don’t, this option won’t be available. Otherwise, the times in the spreadsheet will be displayed as either dates/times or relative times depending on the XY series. The spreadsheet will not be editable. The Use dates/times toggle will be unavailable but set according to whether the observation point XY series use dates/times or not. The Reference time section will be unavailable, but if the XY series use dates/times, the minimum time will be used as the reference time for the scatter point dataset.
* '''Match time steps from model'''
*: The ''Match time steps from model'' option will only be available if the measurement is associated with a model, and the model is transient. If so, this will be the default choice and GMS will get the times to display in the spreadsheet from the stress period and time step info for the model. The spreadsheet will not be editable. The Use dates/times toggle will be unavailable but set according to whether the model uses dates/times or not. The Reference time section will be unavailable, but if the model uses dates/times, the model reference time will be used as the reference time.
* '''Specify times'''
*: The spreadsheet of times will be editable with this option and you can copy and paste times from another program such as a spreasheet. Also, the '''Initialize Times''' button becomes available allowing you to bring up a dialog you can use to create times at a specified interval. If you select the ''Use dates/times'' toggle, the Reference time section will become available and the times in the spreadsheets will be displayed as dates/times.
 
 
{{Template:Navbox SMS}}

Latest revision as of 20:33, 30 November 2017

Map coverages can be used to generate other geometric data types in SMS such as meshes (unstructured grids), grids (Cartesian grid), Curvinlinear or boundary fitted grids, scatter sets and cross sections. This can be accomplished by right-clicking on a coverage of an appropriate type in the Project Explorer and selecting a convert command. These commands include:

In some cases, and historically, many of these functions are accessible by selecting the similar commands from the Feature Objects menu.

The same coverage can be used to create multiple meshes, grids, or scatter sets, with the exception of the 1D grid. Any changes made in the coverage after converting the coverage will not implemented in the existing geometry, but a new geometry can be generated that incorporates the changes to the coverage.

Some conversion commands require specific conditions be met before the command is available.

  • Converting to a grid (2D grid, 1D grid, or quadtree) requires that a grid frame has been created on the coverage. Attributes for the grid frame can be set before or during the conversion process.
  • Converting to a mesh or UGrid requires building polygons in the coverage. Attributes for the polygons should be set before converting to a mesh.

For more information, see Converting Feature Objects.

Related Topics