SMS:Snapping

From XMS Wiki
Jump to navigationJump to search

The term "snapping" in SMS can refer to a couple different situations in SMS. All involve the use of the Map module and how feature objects align with other objects.

Snapping Feature Objects within a Coverage

Within a coverage, the Clean tool can be used to connect nodes of arcs together. This can fix cases where the nodes are not quite touching and thus preventing a fully enclosed arc for a polygon.

Snapping Feature Objects to Another Coverage

In some situations, it is necessary to create feature objects that line up with feature objects on another coverage.

Snap Preview of Feature Objects to a Geometry

The Snap Preview option allows seeing how feature objects on a coverage will align with a the elements or cells on a geometry during a model run.

Model parameters assigned to feature objects are applied to the model by “snapping” them to the nearest mesh element edges. Model parameters such as boundary conditions and material properties are assigned to feature objects. Linking coverages to mesh in an SRH-2D simulation causes the parameters to be applied to the linked mesh. Parameters specified for boundary condition arcs or arc defining polygon boundaries are always applied (snapped) to the nearest mesh element edges instead of at the arc locations. Snapping is not available until a model simulation exists and both the coverages with the feature objects and the mesh are linked to the simulation.

The element edges that will have the parameters from linked feature objects should be viewed by turning on the “Snap Preview” in the Display Options dialog under the Map section. This option is only available once the coverages and a mesh are linked to a simulation. Turning on the Snap Preview display option in SMS shows a preview of how the feature objects are “snapped” to the element edges using dotted lines to represent the snapped element edges. The figure below shows the location of the snap preview option in the Display Options dialog.