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

Error message: Style simple_fc_unmasked does not support requests with 2 dates #628

Closed
alexgleith opened this issue Jun 16, 2021 · 6 comments

Comments

@alexgleith
Copy link
Contributor

alexgleith commented Jun 16, 2021

datacube-ows version: 1.8.9
ows_config.py version/link: https://github.com/digitalearthafrica/config/blob/master/services/ows_refactored/dev_af_ows_root_cfg.py

Description

Tried to view a map, including this request: https://ows.dev.digitalearth.africa/?transparent=true&format=image%2Fpng&exceptions=application%2Fvnd.ogc.se_xml&styles=&tiled=true&time=2018-12-15&crs=EPSG%3A3857&service=WMS&version=1.1.1&request=GetMap&layers=fc_ls&bbox=0%2C782715.1696402058%2C156543.03392804042%2C939258.2035682462&width=256&height=256&srs=EPSG%3A3857

Got this message:

<ServiceExceptionReport xmlns="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.3.0" xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd">
<ServiceException> Style simple_fc_unmasked does not support requests with 2 dates </ServiceException>
</ServiceExceptionReport>
@SpacemanPaul
Copy link
Contributor

Fixed in master - presumably by #620/#621.

Fix will be in release 1.8.10

@SpacemanPaul
Copy link
Contributor

Nope, still happening. More investigation needed.

@SpacemanPaul SpacemanPaul reopened this Jun 16, 2021
@alexgleith
Copy link
Contributor Author

hehe, thanks @SpacemanPaul

@pindge
Copy link
Contributor

pindge commented Jun 16, 2021

Paul, the multidate is triggering for no reason

@SpacemanPaul
Copy link
Contributor

I know, it means that data from two different dates is being returned for the query. I still can't reproduce this locally with a fresh index.

I will need a database dump.

@SpacemanPaul
Copy link
Contributor

Materialised view definitions were out of date - they include a bug that was fixed in September 2020 and released in October 2020 in 1.8.2.

Running datacube-ows-update --schema --role <db_role> fixes the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants