Skip to content

Commit fa3d129

Browse files
authored
linked data: safeguard crs typing (#2134)
1 parent 17a1fdb commit fa3d129

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygeoapi/linked_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def jsonldify_collection(cls, collection: dict, locale_: str) -> dict:
133133

134134
spatial_extent = collection.get('extent', {}).get('spatial', {})
135135
bbox = spatial_extent.get('bbox')
136-
crs = spatial_extent.get('crs')
136+
crs = spatial_extent.get('crs', '')
137137
hascrs84 = crs.endswith('CRS84')
138138

139139
dataset = {

0 commit comments

Comments
 (0)