Commit 32d84cb9 authored by Daniel Scheffler's avatar Daniel Scheffler

Merge branch 'bugfix/fix_rotation_issue23' into 'master'

Bugfix/fix rotation issue23

See merge request !5
parents 3d5179f7 bb1d8b31
Pipeline #3926 passed with stages
in 1 minute and 51 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 = out_prj or 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