Currently, we have the user pass in a single z_index value when calculating SLOPE or ASPECT. However, this will not produce good results if the layer contains multiple tiles and/or the tile(s) span different latitudes/longitudes.
We should create a method that'll find the ideal z-index for each Tile in a layer based on it's Extent and CRS. In addition, we should implement another method that'll allow the user to pass in a dict of lat/lng: z-index and then have that be interpolated to produce the remaining z-indexs.
Currently, we have the user pass in a single
z_index
value when calculatingSLOPE
orASPECT
. However, this will not produce good results if the layer contains multiple tiles and/or the tile(s) span different latitudes/longitudes.We should create a method that'll find the ideal
z-index
for eachTile
in a layer based on it'sExtent
andCRS
. In addition, we should implement another method that'll allow the user to pass in adict
oflat/lng: z-index
and then have that be interpolated to produce the remainingz-index
s.