Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel Scheffler
py_tools_ds
Commits
c4a7f80a
Commit
c4a7f80a
authored
Nov 29, 2016
by
Daniel Scheffler
Browse files
Fix for copied memory address within GeoArray
io.raster.GeoArray: - __init__(): fix for copied memory address
parent
403f1ba9
Changes
1
Hide whitespace changes
Inline
Side-by-side
ptds/io/raster/GeoArray.py
View file @
c4a7f80a
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment