Terria Filter By Location does not work when requesting a point with no data for the specified date #703
Open
Description
When using Terria at e.g. https://maps.dea.ga.gov.au/#share=s-ptlkkuwWh7FV19QZQe9xvccOmkt and doing a Filter By Location request, this will only work if you click on an area that has coverage for the particular date you are one, and will fail when done for an area with no cover.
E.g. a request here will succeed:
But a request here will fail:
An example of a Filter By Location request URL that succeeds:
An example of a request URL that fails:
And the error message:
<?xml version='1.0' encoding="UTF-8"?>
<ServiceExceptionReport version="1.3.0"
xmlns="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd">
<ServiceException>
Unexpected server error: local variable 'pt' referenced before assignment
</ServiceException>
<ServiceException>
<![CDATA[ <FrameSummary file /env/lib/python3.6/site-packages/datacube_ows/ogc.py, line 125 in ogc_svc_impl> ]]>
<![CDATA[ <FrameSummary file /env/lib/python3.6/site-packages/datacube_ows/utils.py, line 14 in log_wrapper> ]]>
<![CDATA[ <FrameSummary file /env/lib/python3.6/site-packages/datacube_ows/wms.py, line 28 in handle_wms> ]]>
<![CDATA[ <FrameSummary file /env/lib/python3.6/site-packages/datacube_ows/utils.py, line 14 in log_wrapper> ]]>
<![CDATA[ <FrameSummary file /env/lib/python3.6/site-packages/datacube_ows/data.py, line 807 in feature_info> ]]>
</ServiceException>
</ServiceExceptionReport>
This was noticed by the stakeholders of the National Drought Map.
Metadata
Labels
No labels