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
geoarray
Commits
6d4b84cf
Commit
6d4b84cf
authored
Nov 02, 2020
by
Daniel Scheffler
Browse files
Replaced deprecated osgeo imports. Bumped version.
Signed-off-by:
Daniel Scheffler
<
danschef@gfz-potsdam.de
>
parent
d335867d
Pipeline
#15174
passed with stages
in 1 minute
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
HISTORY.rst
View file @
6d4b84cf
...
...
@@ -2,6 +2,12 @@
History
=======
0.10.4 (2020-11-02)
-------------------
* Replaced deprecated osgeo imports.
0.10.3 (2020-10-28)
-------------------
...
...
geoarray/baseclasses.py
View file @
6d4b84cf
...
...
@@ -30,20 +30,12 @@ from copy import copy, deepcopy
from
typing
import
Union
# noqa F401
import
numpy
as
np
from
osgeo
import
gdal_array
# custom
from
osgeo
import
gdal
,
gdal_array
,
gdalnumeric
from
shapely.geometry
import
Polygon
from
shapely.wkt
import
loads
as
shply_loads
from
six
import
PY3
# dill -> imported when dumping GeoArray
try
:
from
osgeo
import
gdal
from
osgeo
import
gdalnumeric
except
ImportError
:
import
gdal
import
gdalnumeric
from
py_tools_ds.convenience.object_oriented
import
alias_property
from
py_tools_ds.geo.coord_calc
import
get_corner_coordinates
from
py_tools_ds.geo.coord_grid
import
snap_bounds_to_pixGrid
...
...
geoarray/metadata.py
View file @
6d4b84cf
...
...
@@ -29,10 +29,7 @@ from collections import OrderedDict
from
pandas
import
DataFrame
,
Series
import
numpy
as
np
try
:
from
osgeo
import
gdal
except
ImportError
:
import
gdal
from
osgeo
import
gdal
autohandled_meta
=
[
...
...
geoarray/version.py
View file @
6d4b84cf
...
...
@@ -20,5 +20,5 @@
# with this program. If not, see <http://www.gnu.org/licenses/>.
__version__
=
'0.10.
3
'
__versionalias__
=
'2020102
8
.01'
__version__
=
'0.10.
4
'
__versionalias__
=
'20201
1
02.01'
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