Skip to content
Snippets Groups Projects
Commit f7cc354a authored by chbaeh's avatar chbaeh
Browse files

fix helpers for spatial_text

parent 859bd291
Branches
Tags
No related merge requests found
......@@ -82,6 +82,8 @@ def compute_bounding_box(coords):
def odsh_get_spatial_text(pkg_dict):
extras=pkg_dict.get('extras')
spatial=None
if extras is None:
return None
for f in extras:
if 'key' in f and f['key'] == 'spatial_text':
spatial=f['value']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment