1 | | When importing GeoTIF data threw `GDALRaster` with numpy package installed all the array is a mess because of a inverted X/Y parameters passed to `numpy.reshape()` function. |
2 | | I was able to see this bug by importing a GeoTIF via `GDALRaster` then the generated datas did not make any sense so I decided to export the array to an image again to see if it was me doing shit or if there was a bug somewhere. When exporting the GeoTIF again to an image I get something really strange. You can see attached the original tif and the generated one that is not correct due to this X/Y mismatch. Here is the code to reproduce: |
| 1 | When importing GeoTIF data through `GDALRaster` with `numpy` package installed all the array is a mess because of a reversed X/Y parameters passed to the `numpy.reshape()` function. |
| 2 | I was able to see this bug by importing a GeoTIF via `GDALRaster`. The generated data did not make any sense so I decided to export the array to an image again to see if it was me doing shit or if there was a bug somewhere. When exporting the GeoTIF again to an image I get something really strange. You can see in attachements the original tif and the generated one that is not correct due to this X/Y mismatch. Here is the code to reproduce: |