geosolutions-it / MapStore2

The solution to create and share maps, dashboards, geostories with 3D support on the web. And it is open-source too!
https://mapstore.geosolutionsgroup.com/
Other
510 stars 395 forks source link

WMTS error: No TILEMATRIX specified #3838

Closed gioscarda closed 4 years ago

gioscarda commented 5 years ago

Description

Mapstore does not load some WMTS layers correctly. It seems that when loading layers for which the capabilities document doesn't have more than one <TileMatrixSetLink> tag, a MissingParameterValue exception occurs showing this message: No TILEMATRIX specified.

An example:

https://sdigeot-free.austrocontrol.at/geoserver/gwc/service/wmts?layer=free%3ALOVV-ATC&style=MRVA_SMAESR_CSS&tilematrixset=EPSG%3A3857&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image%2Fpng&TileCol=281&TileRow=178

In case of Bug (otherwise remove this paragraph)

Browser Affected (use this site: https://www.whatsmybrowser.org/ for non expert users)

Browser Version Affected

Steps to reproduce

Expected Result

Layers load correctly

Current Result

Layers don't load correctly. A MissingParameterValue exception occurs with this message: No TILEMATRIX specified.

It seems that when loading layers for which the capabilities document doesn't have more than one <TileMatrixSetLink> tag, a MissingParameterValue exception occurs showing this message: No TILEMATRIX specified.

Other useful information (optional):

tdipisa commented 4 years ago

@vlt1 please try to replicate this issue to see if MS is still affected by this problem.

vlt1 commented 4 years ago

@tdipisa I couldn't find the layers mentioned in the service. The example link returns XML with exception text "LAYER free:LOVV-ATC is not known.". Looking through the capabilites it seems that all layers have two TileMatrixSetLinks for EPSG:3857 and EPSG:4326. Is the problem still relevant?

tdipisa commented 4 years ago

@offtherailz can we close this?

offtherailz commented 4 years ago

Couldn't find the indicated layers or a way to replicate trying some layers from that catalog. I think we can close this issue until we find a way to replicate again the problem