pktools  2.6.7
Processing Kernel for geospatial data

Examples of pkdsm2shadow

Create a shadow mask for the input raster dataset dsm.tif, using Sun zenith angle of 10 degrees and a Sun azimuth angle of 135 degrees (South-South-East). All shadow pixels are set to a value of 1.

pkdsm2shadow -i dsm.tif -sza 10 -saa 170 -f 1 -o shadow.tif