fix CSWFacade GeoJSON output
This commit is contained in:
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user