From a41ae23c20e018d188491a4428edc0a05a577e75 Mon Sep 17 00:00:00 2001 From: guille Date: Mon, 16 Jan 2023 07:57:16 -0500 Subject: [PATCH] Correct merge error --- city_model_structure/city.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/city_model_structure/city.py b/city_model_structure/city.py index e8ef59d4..eb61ff9b 100644 --- a/city_model_structure/city.py +++ b/city_model_structure/city.py @@ -82,6 +82,8 @@ class City: if self._location is None: gps = pyproj.CRS('EPSG:4326') # LatLon with WGS84 datum used by GPS units and Google Earth 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 except pyproj.exceptions.CRSError: sys.stderr.write('Invalid projection reference system, please check the input data. '