Correct merge error
This commit is contained in:
parent
c66367fede
commit
a41ae23c20
|
@ -82,6 +82,8 @@ class City:
|
||||||
if self._location is None:
|
if self._location is None:
|
||||||
gps = pyproj.CRS('EPSG:4326') # LatLon with WGS84 datum used by GPS units and Google Earth
|
gps = pyproj.CRS('EPSG:4326') # LatLon with WGS84 datum used by GPS units and Google Earth
|
||||||
try:
|
try:
|
||||||
|
if self._srs_name in GeometryHelper.srs_transformations.keys():
|
||||||
|
self._srs_name = GeometryHelper.srs_transformations[self._srs_name]
|
||||||
input_reference = pyproj.CRS(self.srs_name) # Projected coordinate system from input data
|
input_reference = pyproj.CRS(self.srs_name) # Projected coordinate system from input data
|
||||||
except pyproj.exceptions.CRSError:
|
except pyproj.exceptions.CRSError:
|
||||||
sys.stderr.write('Invalid projection reference system, please check the input data. '
|
sys.stderr.write('Invalid projection reference system, please check the input data. '
|
||||||
|
|
Loading…
Reference in New Issue
Block a user