Commit b1ee00b1 authored by Daniel Scheffler's avatar Daniel Scheffler

Fix for issue #23 (GeoArray.show_map does not respect ENVI rotation in map...

Fix for issue #23 (GeoArray.show_map does not respect ENVI rotation in map info if image has less than 1.000.000 pixels per band).
Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 3d5179f7
Pipeline #3922 passed with stages
in 1 minute and 30 seconds
......@@ -1056,6 +1056,10 @@ class GeoArray(object):
xdim, ydim = None, None
nodataVal = nodataVal if nodataVal is not None else self.nodata
# rotated images always have to be resampled for plotting
if gt[2] or gt[4]:
out_prj = self.projection
if res_factor != 1. and image2plot.shape[0] * image2plot.shape[1] > 1e6: # shape > 1000*1000
# sample image down / normalize
xdim, ydim = \
......
__version__ = '0.8.14'
__versionalias__ = '20190329.03'
__version__ = '0.8.15'
__versionalias__ = '20190429.01'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment