Commit c4a7f80a authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fix for copied memory address within GeoArray

 io.raster.GeoArray:
 - __init__(): fix for copied memory address
parent 403f1ba9
......@@ -85,7 +85,7 @@ class GeoArray(object):
if isinstance(path_or_array, GeoArray) or issubclass(getattr(path_or_array,'__class__'), GeoArray):
self.__dict__= path_or_array.__dict__
self.__dict__= path_or_array.__dict__.copy()
self._initParams = dict([x for x in locals().items() if x[0] != "self"])
self.geotransform = geotransform if geotransform else self.geotransform
self.projection = projection if projection else self.projection
......
Supports Markdown
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