mapcache icon indicating copy to clipboard operation
mapcache copied to clipboard

Add ability to specify WM(T)S GetMap/GetTile/GetLegendGraphic URL

Open marisn opened this issue 1 year ago • 3 comments

WMS GetCapabilities response contains URLs based on incoming request. Although it sounds correct, there are scenarios when it is not the case, e.g., Apache internal redirect could mean user must use one URL, but MapCache listens on another URL. Solution would be ability to specify base URL for WM(T)S responses in the configuration file.

marisn avatar Oct 15 '24 16:10 marisn

Isn't it already there at least for WMS?

wms_onlineresource

WMS TAG Name: OnlineResource (WMS1.1.1, sect. 6.2.2)

Description: (Recommended) The URL that will be used to access this WMS server. This value is used in the GetCapabilities response.

jratike80 avatar Oct 15 '24 19:10 jratike80

Isn't it already there at least for WMS?

I don't see it in the documentation: https://mapserver.org/mapcache/services.html#ogc-wmts-service

marisn avatar Oct 16 '24 05:10 marisn

Sorry, I was reading the Mapserver documentation, not Mapcache. I apologize.

jratike80 avatar Oct 16 '24 06:10 jratike80