[Geoserver-devel] [JIRA] (GEOS-10395) Layer from WMTS data Source forgets style placeholder in URL

Yobi Source created an issue

GeoServer / BugGEOS-10395

Layer from WMTS data Source forgets style placeholder in URL

Issue Type:

BugBug

Affects Versions:

2.20.2

Assignee:

Unassigned

Components:

WMTS

Created:

18/Feb/22 12:35 AM

Environment:

Tomcat on Ubuntu

Priority:

MediumMedium

Reporter:

Yobi Source

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}/|https://sgx.geodatenzentrum.de/wmts_topplus_open/tile/1.0.0/web_light/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png][{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png|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/|https://sgx.geodatenzentrum.de/wmts_topplus_open/tile/1.0.0/web_light/default/EU_EPSG_25832_TOPPLUS/05/78/111.png][EU_EPSG_25832_TOPPLUS/05/78/111.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](https://sgx.geodatenzentrum.de/wmts_topplus_open/tile/1.0.0/web_light//EU_EPSG_25832_TOPPLUS/05/79/111.png)

/default/ is missing

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100192-sha1:e250074)

Atlassian logo