Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Figure 1 show the gird tab, when the user RMC to the grid layerThe grid layer has a range of special options that are accessed by RMC on the grid title in the tree view (Figure 1). These options are summarized in the Table 1.

Anchor
Figure 1
Figure 1

Image RemovedImage Added

Figure 1. Grid tab

...

.


Anchor
Table 1
Table 1
Table 1. RMC options for grid layer.

OptionDescription
PropertiesSet properties of the selected layer (described in detail below)
Show PropertiesSet properties of the selected layer (described in detail below)
Show LabelsShow labels by L or I, J indices of the grid (described in detail below)
Zoom to LayerZoom the view to the selected layer
Grid IndexingShow different options for indices of the grid
Export ToExport the selected layer to an external file with a different optional format. It describes in detail below
RemoveDelete the selected layer
Create New Spline LayerCreate a new spline layer in the layer control panel
Create New Overlay LayerCreate a new overlay layer in the layer control panel
Turn All Layers OffHide all existing layers in the layer control panel
Turn All Layers OnDisplay all existing layers in the layer control panel

Grid Properties

RMC on the grid layer, then select Properties, and the Grid Properties will be displayed, as shown in Figure 2. The options here include:

  • Layer Name: show the name of the layer, a new name can be entered here
  • Layer Visible: unchecking this box will hide the grid layer ( the light bulb of the layer in the Control Panel is also turned off)
  • Show Lines: unchecking this box will hide the gridlines but sill other show properties of the grid e.g. Orthogonal Deviation. This is demonstrated in Figure 3.
  • Line Settings: allows the changing of setting style, color, and thickness of the gridlines.

Anchor
Figure 2
Figure 2

Image RemovedImage Added

Figure 2. Grid Layer Properties

The function of " Show Properties" supports to display the Orthogonal Deviation, Cell Aspect Ration, Cell Area, Cell DX and Cell DY of the grid (Figure 3).

...

Image Removed

Figure 3

The Figure 4 presents the "Show Labels" tab, which allows the user to displays cell index along I, J or L and also the node I, J indices.

...

Image Removed

Figure 4

The grid indexing supports the user to transpose, flip or rotate the indices ( shown in Figure 5 ).

...

Image Removed

Figure 5

The grid cells can be exported to several file format as grid+, RGF grid, EFDC grid, shapefile, kml or p2d ( outline) file. 

...

Image Removed

Figure 6Properties.

Anchor
Figure 3
Figure 3

Image Added

Figure 3. Orthogonal deviation of the grid with gridlines hidden.



Show Properties

A number of options for displaying the properties of the grid layer are shown in Figure 4 and further described in Table 2.

Anchor
Figure 4
Figure 4

Image Added

Figure 3. Show Properties.


Anchor
Table 2
Table 2
Table 2. Show Properties.

OptionDescription
NoneShow the grid only
Orthogonal Deviation

Show the orthogonal deviation of the grid by color ramp (see Figure 4)

Cell Aspect RatioShow the cell aspect ratio of the grid by color ramp (see Figure 5)
Cell AreaShow the area of the grid cells by color ramp (see Figure 6)
Cell DXShow the dimension DX of the grid cells by color ramp (see Figure 7)
Cell DYShow the dimension DY of the grid cells by color ramp (see Figure 8)


Anchor
Figure 4
Figure 4

Image Added

Figure 4. Show Properties: Orthogonal Deviation.

Anchor
Figure 5
Figure 5

Image Added

Figure 5. Show Properties: Cell Aspect Ratio.

Anchor
Figure 6
Figure 6

Image Added

Figure 6. Show Properties: Cell Area.

Anchor
Figure 7
Figure 7

Image Added

Figure 7. Show Properties: Cell DX.

Anchor
Figure 8
Figure 8

Image Added

Figure 8. Show Properties: Cell DY.

Show Labels

A number of options for displaying the labels of the grid layer are shown in Figure 9 and further described in Table 3.


Anchor
Figure 9
Figure 9

Image Added

Figure 9. Show Labels of the grid.


Anchor
Table 3
Table 3
Table 3. Show Labels for grid layer.

OptionDescription
NoneOnly the grid is displayed
Cell L IndexShow the L index number of the grid cells, each cell has only an L index. (Figure 10)
Cell I,J IndicesShow the I and J indices number of the grid cells, each cell has a pair of I and J indices. (Figure 11). This option sometimes is helpful when we create a new grid that we want to merge with the previous grid. In this case, we need to know the number of cells along a segment of the previous grid.
Nodal I,J IndicesShow the I and J indices number of the grid nodes, each grid node has a pair of I and J indices. (Figure 12)
Bottom ElevationShow elevation values of the grid nodes. (Figure 13)

Anchor
Figure 10
Figure 10

Image Added

Figure 10. Show Labels: Cell L Index.

Anchor
Figure 11
Figure 11

Image Added

Figure 11. Show Labels: Cell I,J Indices.

Anchor
Figure 12
Figure 12

Image Added

Figure 12. Show Labels: Nodal I,J Indices.


Anchor
Figure 13
Figure 13

Image Added

Figure 13. Show Labels: Bottom Elevation.

Grid Indexing

When a grid is generated each cell or node has an I and J coordinate. Sometimes these are not in the direction that the user requires. The Grid Indexing tool allows the user to reverse the I and J coordinates either separately, or at the same time.

To display the I, J labels of the grid, select the grid layer in the Layer Control then RMC. Select Show Labels (e.g Cell IJ Indices) as shown in Figure 10

Grid Indexing includes a number of options that are summarized in Table 4:

Anchor
Table 4
Table 4
Table 4. Grid Indexing

OptionDescription
Transpose I - J IndicesReverses both the I and J indices of the selected grid at the same time.
Flip I IndicesReverses only the I indices of the selected grid.
Flip J IndicesReverses only the I indices of the selected grid.
Rotate Indices ClockwiseOrders the indices in a clockwise direction.
Rotate Indices Counter-ClockwiseIt is the opposite of the Rotate Indices Clockwise.


Export

The Export option allows the saving of the grid to a file. A range of different file formats are supported as shown in Figure 14 and further summarized in Table 5. The function of these options is similar to the Export button described in Main toolbar buttons.

Anchor
Figure 14
Figure 14

Image Added

Figure 14. Export grid layer options.


Anchor
Table 5
Table 5
Table 5. Export Grid to a file.

OptionDescription
Export GridExport the selected grid layer to an external grid file. Grid file formats can be a native file of Grid+ (*.gpc), CVLGrid (*.cvl), Delft3D (*.grd), or others. This option also can be accessed from the Export button in the main toolbar.
Export To EFDCExport the selected grid layer to an EFDC input file (including corners.inp, dxdy.inp, lxly.inp). These files can open with EEMS.
Export To ShapefileExport the selected grid layer to a shapefile which can be opened with ArcGIS, QGIS, Global Mapper, etc.
Export To KMLExport the selected grid layer to a KML file which can be opened with Google Earth, Global Mapper, etc.
Export Outline

Export outline of the selected grid layer to a text file (*.p2d).


Once selecting the Export Grid option, the Export to Grid form will be displayed, as shown in Figure 15. Define the file type from the drop-down list then enter a file name. Define the folder location to locate the file then click the Save button. Then the Coordinate System form will pop up, select the proper project then click the OK button as shown in Figure 16. When the exporting is done, a message will pop up as shown in Figure 17, click the OK button to close the form.


Anchor
Figure 15
Figure 15

Image Added

Figure 15. Export grid to file.

Anchor
Figure 16
Figure 16

Image Added

Figure 16. Select projection form.

Anchor
Figure 17
Figure 17

Image Added

Figure 17. Export grid message.