ASC to ASC: Difference between revisions
Content deleted Content added
Line 93:
<tt>asc_to_asc.exe -conv -cog DEM_M01.tif -out DEM_M01_COG.tif</tt>
</ol>
===Examples===
*Runs a difference operation on GeoTIFF outputs.<br>
:<tt>asc_to_asc.exe -diff proposed.tif existing.tif</tt>
* 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>
* 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>
* 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>
* 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>
* 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>
=Operations=
| |||