HI all,
I’ve used Geoserver to publish the WMTS service, and the WMTS XML structure from Geoserver is as follows. How should I set the tileMatrixLabels parameter in WebMapTileServiceImageryProvider function if the map tiles could be presented appropriately? Thanks a lot~
<Layer>
<ows:Title>20141120</ows:Title>
<ows:WGS84BoundingBox>
<ows:LowerCorner>140.82859512546707 27.20071336835731</ows:LowerCorner>
<ows:UpperCorner>140.9296232354283 27.291010822812957</ows:UpperCorner>
</ows:WGS84BoundingBox>
<ows:Identifier>LIDAR:20141120</ows:Identifier>
<Style isDefault="true">
<ows:Identifier/>
</Style>
<Format>image/png</Format>
<Format>image/jpeg</Format>
<InfoFormat>text/plain</InfoFormat>
<InfoFormat>application/vnd.ogc.gml</InfoFormat>
<InfoFormat>text/xml</InfoFormat>
<InfoFormat>application/vnd.ogc.gml/3.1.1</InfoFormat>
<InfoFormat>text/xml</InfoFormat>
<InfoFormat>text/html</InfoFormat>
<InfoFormat>application/json</InfoFormat>
<TileMatrixSetLink>
<TileMatrixSet>EPSG:4326</TileMatrixSet>
<TileMatrixSetLimits>
<TileMatrixLimits>
<TileMatrix>EPSG:4326:0</TileMatrix>
<MinTileRow>0</MinTileRow>
<MaxTileRow>0</MaxTileRow>
<MinTileCol>1</MinTileCol>
<MaxTileCol>1</MaxTileCol>
</TileMatrixLimits>
<TileMatrixLimits>
<TileMatrix>EPSG:4326:1</TileMatrix>
<MinTileRow>0</MinTileRow>
<MaxTileRow>0</MaxTileRow>
<MinTileCol>3</MinTileCol>
<MaxTileCol>3</MaxTileCol>
</TileMatrixLimits>
<TileMatrixLimits>
<TileMatrix>EPSG:4326:2</TileMatrix>
<MinTileRow>1</MinTileRow>
<MaxTileRow>1</MaxTileRow>
<MinTileCol>7</MinTileCol>
<MaxTileCol>7</MaxTileCol>
</TileMatrixLimits>
<TileMatrixLimits>
<TileMatrix>EPSG:4326:3</TileMatrix>
<MinTileRow>2</MinTileRow>
<MaxTileRow>2</MaxTileRow>
<MinTileCol>14</MinTileCol>
<MaxTileCol>14</MaxTileCol>
</TileMatrixLimits>
<TileMatrixLimits>
<TileMatrix>EPSG:4326:4</TileMatrix>
<MinTileRow>5</MinTileRow>
<MaxTileRow>5</MaxTileRow>
<MinTileCol>28</MinTileCol>
<MaxTileCol>28</MaxTileCol>
</TileMatrixLimits>
.......
</TileMatrixSetLimits>
</TileMatrixSetLink>
<TileMatrixSetLink>
<TileMatrixSet>EPSG:900913</TileMatrixSet>
<TileMatrixSetLimits>
<TileMatrixLimits>
<TileMatrix>EPSG:900913:0</TileMatrix>
<MinTileRow>0</MinTileRow>
<MaxTileRow>0</MaxTileRow>
<MinTileCol>0</MinTileCol>
<MaxTileCol>0</MaxTileCol>
</TileMatrixLimits>
<TileMatrixLimits>
<TileMatrix>EPSG:900913:1</TileMatrix>
<MinTileRow>0</MinTileRow>
<MaxTileRow>0</MaxTileRow>
<MinTileCol>1</MinTileCol>
<MaxTileCol>1</MaxTileCol>
</TileMatrixLimits>
<TileMatrixLimits>
<TileMatrix>EPSG:900913:2</TileMatrix>
<MinTileRow>1</MinTileRow>
<MaxTileRow>1</MaxTileRow>
<MinTileCol>3</MinTileCol>
<MaxTileCol>3</MaxTileCol>
</TileMatrixLimits>
<TileMatrixLimits>
<TileMatrix>EPSG:900913:3</TileMatrix>
<MinTileRow>3</MinTileRow>
<MaxTileRow>3</MaxTileRow>
<MinTileCol>7</MinTileCol>
<MaxTileCol>7</MaxTileCol>
</TileMatrixLimits>
<TileMatrixLimits>
<TileMatrix>EPSG:900913:4</TileMatrix>
<MinTileRow>6</MinTileRow>
<MaxTileRow>6</MaxTileRow>
<MinTileCol>14</MinTileCol>
<MaxTileCol>14</MaxTileCol>
</TileMatrixLimits>