osgeonepal / geotile

GeoTile is the python library for tiling the geographic raster data (eg. Tiff etc)
https://geotile.readthedocs.io
MIT License
74 stars 9 forks source link

merge_tile fix n_dims image #73

Closed hillsonghimire closed 6 months ago

hillsonghimire commented 6 months ago

Fix for issue : https://github.com/osgeonepal/geotile/issues/53#issue-1934414204

  1. Rewrite gt.merge_tile method, check pass on grayscale and n-dimensional image on projected coordinates.
  2. Optimize the file open/close loop to first created the original_height*original_width*channel numpy array and then perform read/write only once.

Added module: math