Skip to content

Commit

Permalink
Make feature info output GeoJSON compatible.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpacemanPaul committed Feb 28, 2024
1 parent 8a2dd7f commit b50fc65
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion datacube_ows/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]]
}
}
]
}
Expand Down

0 comments on commit b50fc65

Please sign in to comment.