[mapserver-users] How to cascade a WMTS service?

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Wed Nov 15 07:47:22 PST 2017


Hi,

I would like to cascade a WMTS service. I know well how to cascade WMS with "connenctiontype WMS" but I suppose for cascading WMTS I must use GDAL instead.

My GDAL has WMTS driver
WMTS -raster- (rwv): OGC Web Mab Tile Service

I have created a definition file "wmts.xml" and "gdalinfo wmts.xml" is OK but I do not know how to make Mapserver to cascade this service.
I suppose that my layer is rather close to right:

LAYER
         NAME "cascaded_wmts"
         TYPE RASTER
         STATUS ON
         DATA "wmts.xml"
         METADATA
         "wms_title"    "cascaded_wmts"
          "wms_srs" "EPSG:3067 EPSG:4326"
         END
END

However, our server is behind a proxy. For cascading WMS with CONNECTIONTYPE WMS the proxy host and port can be set in the METADATA section http://mapserver.org/ogc/wms_client.html but so far I have not been able to guess how to do that for GDAL connection. Proxy settings do not seem to be supported as environment variables http://mapserver.org/environment_variables.html.

So, is it possible at the moment to cascade WMTS through a proxy with Mapverver?

-Jukka Rahkonen-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20171115/f9c290c3/attachment.htm>


More information about the MapServer-users mailing list