From 43f35f555b0112b8d76a437278d4415ff9b2ba3c Mon Sep 17 00:00:00 2001 From: Paul Haesler Date: Wed, 28 Feb 2024 15:31:19 +1100 Subject: [PATCH] Make feature info output GeoJSON compatible. --- datacube_ows/data.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/datacube_ows/data.py b/datacube_ows/data.py index 0e859a61..dcb30827 100644 --- a/datacube_ows/data.py +++ b/datacube_ows/data.py @@ -895,7 +895,11 @@ def feature_info(args): "features": [ { "type": "Feature", - "properties": feature_json + "properties": feature_json, + "geometry": { + "type": "Point", + "coordinates": [feature_json["lon"], feature_json["lat"]] + } } ] }