We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1af956 commit 4f64cdbCopy full SHA for 4f64cdb
pyinfraformat/core/coord_utils.py
@@ -47,8 +47,8 @@ def coord_str_recognize(input_string):
47
except pyproj.exceptions.CRSError as error:
48
error_string = error.args[0]
49
if "several objects matching this name" not in error_string:
50
- if "unrecognized format / unknown name" in error_string:
51
- return pyproj.CRS.from_user_input("ETRS " + input_string)
+ if ("unrecognized format / unknown name" in error_string) and ("ETRS" not in input_string):
+ return coord_str_recognize("ETRS " + input_string)
52
raise
53
error_string = error_string[error_string.rfind(": ") + 2 : -1]
54
projections = error_string.split(",")
0 commit comments