ASC to ASC: Difference between revisions

Content deleted Content added
Line 77:
====ASC====
* DECIMAL_PRECISION=N - The number of decimal places in the output. This option is analogous to the <tt>"-decimal[N]"</tt> switch. Default - 3
 
===Examples===
<ol>
<li>Runs a difference operation on GeoTIFF outputs.<br>
<tt>asc_to_asc.exe -diff proposed.tif existing.tif</tt>
<li> Runs a difference operation on GPKG outputs. The layer name needed is assumed to be the same as the database name.<br>
<tt>asc_to_asc.exe -diff proposed.gpkg existing.gpkg</tt>
<li> Runs a difference operation on GeoPackage outputs where the layer name is different than the database name.<br>
<tt>asc_to_asc.exe -diff "proposed_grid_results.gpkg >> proposed_max_h" "existing_grid_results.gpkg >> existing_max_h"</tt>
<li> Converts an ASC grid to a GeoTIFF with an LZW compression and horizontal predictor.<br>
<tt>asc_to_asc.exe -conv -tif DEM_M01.asc -co COMPRESS=LZW -co PREDICTOR=2</tt>
<li> Runs a maximum operation on all FLT grids in a given location and outputs to a GeoPackage raster.<br>
<tt>asc_to_asc.exe -max -out "output_grids.gpkg >> maximum_h" *.flt</tt>
<li> Converts GeoTIFF to a Cloud Optimised GeoTIFF. Requires <tt>-out</tt> flag since the extension for COG is also '.tif' and therefore the default output file would be the same as the input file.<br>
<tt>asc_to_asc.exe -conv -cog DEM_M01.tif -out DEM_M01_COG.tif</tt>
</ol>
 
===Examples===