Commit 9c0c868d authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed issue #12 (incorrect footprint polygon).

parent d3bc63c3
Pipeline #1525 passed with stages
in 1 minute and 1 second
...@@ -437,7 +437,7 @@ class GeoArray(object): ...@@ -437,7 +437,7 @@ class GeoArray(object):
if self._footprint_poly is None: if self._footprint_poly is None:
assert self.mask_nodata is not None, 'A nodata mask is needed for calculating the footprint polygon. ' assert self.mask_nodata is not None, 'A nodata mask is needed for calculating the footprint polygon. '
if False in self.mask_nodata[:]: if False not in self.mask_nodata[:]:
# do not run raster2polygon if whole image is filled with data # do not run raster2polygon if whole image is filled with data
self._footprint_poly = self.box.mapPoly self._footprint_poly = self.box.mapPoly
else: else:
......
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