diff --git a/eoxserver/services/ows/wps/processes/get_cloud_coverage.py b/eoxserver/services/ows/wps/processes/get_cloud_coverage.py index 21df2930e..1af36db3c 100644 --- a/eoxserver/services/ows/wps/processes/get_cloud_coverage.py +++ b/eoxserver/services/ows/wps/processes/get_cloud_coverage.py @@ -99,10 +99,11 @@ def execute( ): wkt_geometry = geometry[0].text + # TODO Use queue object for more complex query if parent_product__footprint is not enough coverages = models.Coverage.objects.filter( parent_product__begin_time__lte=end_time, parent_product__end_time__gte=begin_time, - footprint__intersects=wkt_geometry, + parent_product__footprint__intersects=wkt_geometry, coverage_type__name="SCL", ).order_by("parent_product__begin_time")