fix CSWFacade GeoJSON output

This commit is contained in:
Tom Kralidis
2023-11-03 16:19:21 -04:00
parent bfd3cac20a
commit 3130266cbf
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -261,6 +261,7 @@ class CSWFacadeProvider(BaseProvider):
LOGGER.debug(f'Transforming {record.identifier}')
feature = {
'id': record.identifier,
'type': 'Feature',
'geometry': None,
'time': record.date or None,
'properties': {},
+1 -1
View File
@@ -852,5 +852,5 @@ def bbox2geojsongeometry(bbox: list) -> dict:
:returns: `dict` of GeoJSON geometry
"""
b = box(*bbox)
b = box(*bbox, ccw=False)
return geom_to_geojson(b)