Skip to content

Commit

Permalink
remove deprecated gdal import
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPetrik committed Feb 25, 2021
1 parent 3313e36 commit 62d2629
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 4 additions & 2 deletions OSTranslatorII/metadata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ qgisMinimumVersion=3.4
qgismaximumversion=3.99
description=A plugin for loading Ordnance Survey Products.
about=OS Translator II makes loading GML-based datasets into PostGIS easy. It also performs a number of post-processing tasks on the data such as adding additional fields for styling and downloading 3rd-party stylesheets.
version=3.2.2
version=3.2.3
author=Lutra Consulting
email=info@lutraconsulting.co.uk

Expand All @@ -15,7 +15,9 @@ email=info@lutraconsulting.co.uk
# Optional items:

# Uncomment the following line and add your changelog:
changelog=3.2.2 Bug fixes:
changelog=3.2.3 Bug fixes:
- Fix loading for QGIS 3.18
<p> 3.2.2 Bug fixes:
- Allow reading of .csv files with no trailing empty line
<p>3.2.1 Bug fixes:
- Allow multi-type features in boundary line and topographicline
Expand Down
5 changes: 4 additions & 1 deletion OSTranslatorII/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@

standard_library.install_aliases()
from builtins import str
import gdal
try:
from osgeo import gdal
except ImportError:
import gdal
import re
import os, urllib.request, urllib.error, urllib.parse
import psycopg2
Expand Down

0 comments on commit 62d2629

Please sign in to comment.