Layer from WMTS data Source forgets style placeholder in URL

Description

The following WMTS service does not work as a data source:

https://sgx.geodatenzentrum.de/wmts_topplus_open/1.0.0/WMTSCapabilities.xml

The URL should be the following:

https://sgx.geodatenzentrum.de/wmts_topplus_open/tile/1.0.0/web_light/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png

https://sgx.geodatenzentrum.de/wmts_topplus_open/tile/1.0.0/web_light/default/EU_EPSG_25832_TOPPLUS/05/78/111.png

But instead the log says:

java.io.IOException: Server returned HTTP error code 500 for URL https://sgx.geodatenzentrum.de/wmts_topplus_open/tile/1.0.0/web_light//EU_EPSG_25832_TOPPLUS/05/79/111.png

/default/ is missing

Environment

Tomcat on Ubuntu

Activity

Daniel Singh 
April 8, 2022 at 8:26 PM

I’ve just submitted a pull request for https://osgeo-org.atlassian.net/browse/GEOT-7110 which may have fixed this. That WMTS data source displays maps in my build

Details

Assignee

Reporter

Affects versions

Components

Priority

Created February 17, 2022 at 11:35 PM
Updated April 8, 2022 at 8:26 PM