GRID to GRID draft: Difference between revisions

Content deleted Content added
No edit summary
Line 31:
|"-src"||For use with -min,-max or various stat options to supress the source grid output. Will only output the minimum, maximum, mean, median, frac grid. The src_legend.csv is also supressed.
|-
|"-grc"||For use with the "-classify" option and .ascASC format output. This creates a classified grid (uses name rather than number). This is only valid if using Vertical Mapper, neither QGIS or ArcMap will recognise this format. This can also be used with the -RGB option to specify the output colouring of the grid.
|}
 
Line 39:
Converts grid formats as specified by the output switch.<br>
Examples:<br>
*Converts all .fltFLT grids to .tifTIF format.<br>
:<tt>grid_to_grid.exe -conv -tif *.flt</tt>
*Converts the file "DEM.asc" to.flt FLT format.<br>
:<tt>grid_to_grid.exe -conv -flt DEM.asc</tt>
* Converts an ascASC grid to a GeoTIFF with an LZW compression and horizontal predictor, see <u>[[#Creation_Options | Creation Options]]</u>.<br>
:<tt>grid_to_grid.exe -conv -tif DEM_M01.asc -co COMPRESS=LZW -co PREDICTOR=2</tt>
* Converts GeoTIFF to a Cloud Optimised GeoTIFF. Requires <tt>-out</tt> flag since the extension for COG is also .tif and the default output file would be the same as the input file.<br>
Line 127:
 
==Decimal==
Converts grids with specified number of decimal spaces. For example ascASC format created directly from TUFLOW comes only with three decimal spaces, fltFLT and tifTIF format has more decimal spaces.<br>
Example:
*Converts all .tifTIF grids to .ascASC format with 5 decimal spaces.<br>
:<tt>grid_to_grid.exe -conv -asc -decimal5 *.tif</tt>
 
Line 194:
Example:
*Create a fuzzy map from all maximum depth grids in the directory.<br>
:<tt>grid_to_grid.exe -fuzzy *_d_Max.flttif</tt>
 
==Histogram==
Line 347:
 
Set XS Mat == 1 !default Material ID of 1
Read Grid Mat == grid\grid_5m_2d_mat_MR_001.flttif
 
Set XS Z == 99
Read Grid Z == grid\dem_5m_regional.flttif
Read Grid Z == grid\dem_1m_bathymetry.flttif
Read Grid Z == grid\dem_1m_survey.flttif
</pre>
 
Line 361:
The out nodal area table extends from the minimum to the maximum elevation in the DEM. A user defined minimum value can be specified using the "Skew" attribute of the GIS region.<br>
Example usage:
*<tt>grid_to_grid.exe -na 1d_na_storage_R.shp DEM_1m.flttif</tt>
 
==Calibration Points==