Skip to content

Commit 70c3773

Browse files
committed
- extra fix, in case attributeerror is thrown by missing box
- add a gml:polygon test (currently fails, because owslib will not parse it)
1 parent 982ae74 commit 70c3773

File tree

3 files changed

+985
-0
lines changed

3 files changed

+985
-0
lines changed

pygeometa/schemas/iso19139/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ def import_(self, metadata: str) -> dict:
148148
ast.literal_eval(identification.extent.boundingBox.maxy)
149149
]
150150
except ValueError as err:
151+
LOGGER.info(f'boundingBox empty: {err}')
152+
except AttributeError as err:
151153
LOGGER.info(f'boundingBox missing: {err}')
152154

153155
temp_extent = {

0 commit comments

Comments
 (0)