Commit 6d4b84cf authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Replaced deprecated osgeo imports. Bumped version.



Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent d335867d
Pipeline #15174 passed with stages
in 1 minute
......@@ -2,6 +2,12 @@
History
=======
0.10.4 (2020-11-02)
-------------------
* Replaced deprecated osgeo imports.
0.10.3 (2020-10-28)
-------------------
......
......@@ -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
......
......@@ -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 = [
......
......@@ -20,5 +20,5 @@
# with this program. If not, see <http://www.gnu.org/licenses/>.
__version__ = '0.10.3'
__versionalias__ = '20201028.01'
__version__ = '0.10.4'
__versionalias__ = '20201102.01'
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