Changes between Version 3 and Version 4 of Ticket #26432


Ignore:
Timestamp:
Mar 31, 2016, 3:55:28 AM (9 years ago)
Author:
Vincent Letarouilly
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26432 – Description

    v3 v4  
    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:
     1When 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.
     2I 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:
    33{{{
    44from PIL import Image
Back to Top