User:Jcreer/SMS:Datasets to Rasters: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 2: Line 2:
{{Version SMS 13.1}}
{{Version SMS 13.1}}


his tool converts a spatial dataset on an unstructured grid to a raster object (tif file) that can be used in general GIS applications.
The ''Datasets to Rasters'' tool converts a spatial dataset on an unstructured grid to a raster object (TIF file) that can be used in general GIS applications. The tool is accessed by right-clicking on an SRH-2D simulation in the Project Explorer then selecting ''Tools'' | '''Datasets to rasters...'''. The ''Datasets to Rasters'' dialog will then appear.
Related Articles:  Create depth raster (right click on a DEM in GIS module)


Access: Right click on an SRH-2D simulation and select Tools | Datasets to rasters...
==Datasets to Rasters Dialog==
  (This brings up the "Datasets To Rasters" dialog - include a picture)
The ''Datasets to Rasters'' dialog contains the following options:
 
*''Select dataset(s) to convert'' – A table with three columns.
Dialog description:  
**''Select'' – This column contains a toggle box to select which datasets should be converted to rasters.
The top of the dialog is a table with three columns.
**''Datset Name'' – This column lists the dataset name as nameed in the Project Explorer.
- Col 1: Toggle box to select which datasets should be converted to rasters
**''Raster File Name'' – This column gives the name of raster that will be created. Click on the name allows the name to be changed.
- Col 2: Dataset name (from project explorer)
- Col 3: Name of raster that will be created


  The bottom of the dialog defines the resolution/pixel size of the rasters to be created. There are two options for specifying this resolution
  The bottom of the dialog defines the resolution/pixel size of the rasters to be created. There are two options for specifying this resolution
Line 29: Line 26:
The following describes my observations of missing functionality and/or bugs.  I discussed this with Chris to confirm that these were oversites when they implemented this tool.  I don't think they ever presented this in show and tell (at least I never saw it
The following describes my observations of missing functionality and/or bugs.  I discussed this with Chris to confirm that these were oversites when they implemented this tool.  I don't think they ever presented this in show and tell (at least I never saw it


==Related Topics==
* Create depth raster (right click on a DEM in GIS module)


{{Navbox SMS}}
{{Navbox SMS}}
[[Category:Datasets]]
[[Category:Datasets]]

Revision as of 20:39, 8 December 2020


The Datasets to Rasters tool converts a spatial dataset on an unstructured grid to a raster object (TIF file) that can be used in general GIS applications. The tool is accessed by right-clicking on an SRH-2D simulation in the Project Explorer then selecting Tools | Datasets to rasters.... The Datasets to Rasters dialog will then appear.

Datasets to Rasters Dialog

The Datasets to Rasters dialog contains the following options:

  • Select dataset(s) to convert – A table with three columns.
    • Select – This column contains a toggle box to select which datasets should be converted to rasters.
    • Datset Name – This column lists the dataset name as nameed in the Project Explorer.
    • Raster File Name – This column gives the name of raster that will be created. Click on the name allows the name to be changed.
The bottom of the dialog defines the resolution/pixel size of the rasters to be created. There are two options for specifying this resolution

Option 1: User chooses an existing raster/DEM. Each raster has its own pixel size, origin and extents. If the option to "Define geometry from selected raster " is specified, the user can then click the "Select" button to choose a raster loaded into the SMS session.

   If no raster is selected, or the toggle box is not checked this option will not be used. If used, the pixel size will come from the selected raster.

Option 2: The minimum of the bounding box of the geometry is set as the origin of the new rasters. The new rasters cover the bounding box of the geometry. The user can specfify the number of pixels in x, y, or the size of the pixels. The other two values are computed to be compatible.

of datasets that exist for the geometry (mesh/grid) associated with the selected simulation. This may include the output from multiple simulations that use the same geometry.

Input/Operation:

- Select/check the toggle box(es) on the left side o the table to define which datasets should be converted to rasters (for the current time step).
- The user can also click on any cell in the third column of the table to specify the name for the raster that will be created from the dataset associtated with that row of the tabble.
- Click Ok to invoke the command, create the rasters, and have them loaded into the current session of SMS.

The following describes my observations of missing functionality and/or bugs. I discussed this with Chris to confirm that these were oversites when they implemented this tool. I don't think they ever presented this in show and tell (at least I never saw it

Related Topics

  • Create depth raster (right click on a DEM in GIS module)