ASC to ASC: Difference between revisions

Content deleted Content added
No edit summary
Line 79:
 
===Examples===
<ol>
<li> <tt>asc_to_asc.exe -diff proposed.tif existing.tif</tt><br>
<li>Runs a difference operation on GeoTIFF outputs.<br>
<li> <tt>asc_to_asc.exe -diff proposed.gpkgtif existing.gpkgtif</tt><br>
<li> Runs a difference operation on GPKG outputs. The layer name needed is assumed to be the same as the database name.<br>
<li> <tt>asc_to_asc.exe -diff "proposed_grid_resultsproposed.gpkg >> proposed_max_h" "existing_grid_resultsexisting.gpkg >> existing_max_h"</tt><br>
<li> Runs a difference operation on GeoPackage outputs where the layer name is different than the database name.<br>
<li> <tt>asc_to_asc.exe -convdiff -tif DEM_M01"proposed_grid_results.ascgpkg -co>> COMPRESS=LZWproposed_max_h" -co"existing_grid_results.gpkg PREDICTOR=2>> existing_max_h"</tt><br>
<li> Converts an ASC grid to a GeoTIFF with an LZW compression and horizontal predictor.<br>
<li> <tt>asc_to_asc.exe -maxconv -outtif "output_gridsDEM_M01.gpkgasc >>-co maximum_h"COMPRESS=LZW *.flt-co PREDICTOR=2</tt><br>
<li> Runs a maximum operation on all FLT grids in a given location and outputs to a GeoPackage raster.<br>
<li> <tt>asc_to_asc.exe -convmax -cogout DEM_M01"output_grids.tifgpkg -out>> DEM_M01_COGmaximum_h" *.tifflt</tt><br>
<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>
<li> <tt>asc_to_asc.exe -diffconv proposed-cog DEM_M01.tif existing-out DEM_M01_COG.tif</tt><br>
</ol>
<br><br>