diff --git a/datacube_ows/feature_info.py b/datacube_ows/feature_info.py index 53f8eeb4f..8505f0c91 100644 --- a/datacube_ows/feature_info.py +++ b/datacube_ows/feature_info.py @@ -160,7 +160,7 @@ def feature_info(args: dict[str, str]) -> FlaskResponse: stacker = DataStacker(params.layer, geo_point_geobox, params.times) # --- Begin code section requiring datacube. cfg = get_config() - all_time_datasets = stacker.datasets_all_time(point=geo_point) + all_time_datasets = stacker.datasets_all_time(point=geo_point_geobox.extent) # Taking the data as a single point so our indexes into the data should be 0,0 h_coord = cast(str, cfg.published_CRSs[params.crsid]["horizontal_coord"]) @@ -176,7 +176,7 @@ def feature_info(args: dict[str, str]) -> FlaskResponse: global_info_written = False feature_json["data"] = [] fi_date_index: dict[datetime, RAW_CFG] = {} - time_datasets = stacker.datasets(all_flag_bands=True, point=geo_point) + time_datasets = stacker.datasets(all_flag_bands=True, point=geo_point_geobox.extent) data = stacker.data(time_datasets, skip_corrections=True) if data is not None: for dt in data.time.values: