Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make feature info output GeoJSON compatible. #995

Merged
merged 5 commits into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion check-code-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ datacube product add https://raw.githubusercontent.com/GeoscienceAustralia/dea-c

# Geomedian for summary product testing

datacube product add https://raw.githubusercontent.com/GeoscienceAustralia/dea-config/master/products/baseline_satellite_data/geomedian-au/ga_ls8c_nbart_gm_cyear_3.odc-product.yaml
datacube product add https://explorer-aws.dea.ga.gov.au/products/ga_ls8c_nbart_gm_cyear_3.odc-product.yaml

# S2 multiproduct datasets
datacube dataset add https://dea-public-data.s3.ap-southeast-2.amazonaws.com/baseline/ga_s2bm_ard_3/52/LGM/2017/07/19/20170719T030622/ga_s2bm_ard_3-2-1_52LGM_2017-07-19_final.odc-metadata.yaml --ignore-lineage
Expand Down
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": geo_point.coords[0]
}
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion datacube_ows/ows_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ def ready_wcs(self, dc):
native_bounding_box = self.bboxes[self.native_CRS]
except KeyError:
if not self.global_cfg.called_from_update_ranges:
_LOG.warning("Layer: %s No bounding box in ranges for native CRS %s - rerun update_ranges.py",
_LOG.warning("Layer: %s No bounding box in ranges for native CRS %s - rerun datacube-ows-update",
self.name,
self.native_CRS)
self.hide = True
Expand Down
Loading