TUW-GEO / Equi7Grid

Definition of the Equi7Grid - a spatial reference optimized for global high-resolution raster data.
MIT License
55 stars 13 forks source link

Scale and offset - wrong settings for blocksize #25

Open cnavacch opened 2 years ago

cnavacch commented 2 years ago

When providing both scale and offset in image2equi7grid() the wrong blocksize is set when calling gdal_translate with stripped blocks. The gdal_translate input is automatically configured with tiled blocks, whereas for the gdalwarp call before the settings are correctly chosen.

https://github.com/TUW-GEO/Equi7Grid/blob/master/equi7grid/image2equi7grid.py#L435-L438