This PR changes the API of the hillshade function so that it uses a ZFactorCalculator to compute the z factor for each Tile rather than having a single z factor for all Tiles. By using a ZFactorCalculator, the resulting hillshade will be more accurate.
Note: This will break any preexisting code that uses the old hillshade function.
This PR changes the API of the
hillshade
function so that it uses aZFactorCalculator
to compute the z factor for eachTile
rather than having a single z factor for allTile
s. By using aZFactorCalculator
, the resultinghillshade
will be more accurate.Note: This will break any preexisting code that uses the old
hillshade
function.