Skip to content
Snippets Groups Projects
Commit 78884612 authored by Maël Méliani's avatar Maël Méliani
Browse files

Removed the raise error when authority is not found.

parent f058f866
No related branches found
No related tags found
No related merge requests found
......@@ -186,4 +186,4 @@ def wkt_to_authority(wkt):
elif srs.GetAuthorityCode('GEOGCS') != None :
return srs.GetAuthorityName('GEOGCS'), srs.GetAuthorityCode('GEOGCS')
else:
raise KeyError("Unable to get authority from %s" % wkt)
return "Unknown", "Unknown"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment