From 7298599d1cea0e87fe3a4dbbc192d5d18e0b52b9 Mon Sep 17 00:00:00 2001 From: phaesler Date: Thu, 14 Mar 2019 11:16:33 +1100 Subject: [PATCH] One liner to fix Issue #104. --- datacube_wms/wmts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datacube_wms/wmts.py b/datacube_wms/wmts.py index 87a1b291..72df6bce 100644 --- a/datacube_wms/wmts.py +++ b/datacube_wms/wmts.py @@ -148,7 +148,7 @@ def wmts_args_to_wms(args): "requestid": args["requestid"] } - if tileMatrixSet != "urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible": + if tileMatrixSet not in ("urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible", "WholeWorld_WebMercator"): raise WMTSException("Invalid Tile Matrix Set: " + tileMatrixSet) try: