Skip to content

Commit

Permalink
gdal2customtiles.py remove downscale for dem tiles
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqksoliman committed Apr 11, 2024
1 parent 6864d31 commit 66e7cf5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions auxiliary/gdal2customtiles/gdal2customtiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -3193,10 +3193,6 @@ def generate_base_tiles(self) -> Tuple[TileJobInfo, List[TileDetail]]:
ry = float(self.warped_input_dataset.RasterYSize) * (float(ry) / self.warped_input_dataset.fRasterYSizeWorld)
rxsize = float(self.warped_input_dataset.RasterXSize) * (float(rxsize) / self.warped_input_dataset.fRasterXSizeWorld)
rysize = float(self.warped_input_dataset.RasterYSize) * (float(rysize) / self.warped_input_dataset.fRasterYSizeWorld)

if self.isDEMtile:
wxsize -= 1 # 1bto4b
wysize -= 1 # 1bto4b

rx = round(rx)
ry = round(ry)
Expand Down

0 comments on commit 66e7cf5

Please sign in to comment.