camptocamp / c2cgeoportal

c2cgeoportal application
http://geomapfish.org
Other
64 stars 46 forks source link

WMTS layer in layertree: Dimensions is not taken into account #2047

Closed eleu closed 8 years ago

eleu commented 8 years ago

http://geomapfish-demo.camptocamp.net/1.6/s/Zbts

-> the layer ch.astra.ausnahmetransportrouten has the values set in dimensions {"Time": "20141003"} configured, but the layer is wrongly requested with the default dimension 20150211.

sbrunner commented 8 years ago

But the dimension value don't exists in the capabilities ...

eleu commented 8 years ago

better example layer: http://geomapfish-demo.camptocamp.net/1.6/s/8eKh

http://wmts.geo.admin.ch/1.0.0/WMTSCapabilities.xml?lang=fr has the layer ch.babs.kulturgueter with two dimensions: 20160101 (default) and 20150101.

The 20160101 (default) is always used even though I specified 20150101 in the admin interface.

sbrunner commented 8 years ago

Fixed with https://github.com/camptocamp/cgxp/pull/1088