我这里有tif文件,要切成瓦片缓存,三个比例尺1128.497176,564.248588,282.124294,对应的级别为19,20,21,但是现在发出的wmts服务对应的,0:1128.497176,1:564.248588,2:282.124294。在js端请求瓦片时,对应的层是19,20,21,我需要将0转成19,1转成20,2转成21,现在想通过wmts接口配置实现这个功能。新建了一个wmts101接口,想请帮配置一下,目前代码如下:
<interface class="com.supermap.services.wmts.WMTSServlet" name="wmts101">
<config class="com.supermap.services.wmts.WMTSConfig">
<identification>
<keywords/>
</identification>
<provider>
<serviceContact/>
</provider>
<tileMatrixSets>
<com.supermap.services.wmts.TileMatrixSet>
<wellKnownScaleSet>Custom</wellKnownScaleSet>
<scales>1128.497176,564.248588,282.124294</scales>
<dpi>90.7142857142857</dpi>
<tileWidth>256</tileWidth>
<tileHeight>256</tileHeight>
</com.supermap.services.wmts.TileMatrixSet>
</tileMatrixSets>
<customEntireBounds>-2.0037508342789244E7,-2.0037508342789244E7,2.0037508342789244E7,2.0037508342789244E7</customEntireBounds>
<verifyMode>DEFAULT</verifyMode>
</config>
</interface>