<?xml version="1.0" encoding="UTF-8"?>












<Capabilities xmlns="http://www.opengis.net/wmts/1.0"
	xmlns:ows="http://www.opengis.net/ows/1.1"
	xmlns:xlink="http://www.w3.org/1999/xlink"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:gml="http://www.opengis.net/gml"
	xsi:schemaLocation="http://www.opengis.net/wmts/1.0 http://schemas.opengis.net/wmts/1.0/wmtsGetCapabilities_response.xsd"
	version="1.0.0">
  <!-- Service Identification --> 
 <ows:ServiceIdentification>
	<ows:Title>BASE_MAP</ows:Title>
	<ows:ServiceType>OGC WMTS</ows:ServiceType>
	<ows:ServiceTypeVersion>1.0.0</ows:ServiceTypeVersion>
</ows:ServiceIdentification> <!-- Operations Metadata --> <ows:OperationsMetadata>
	<ows:Operation name="GetCapabilities">
		<ows:DCP>
			<ows:HTTP>
				<ows:Get xlink:href="http://gis-test.toris.gov.spb.ru/arcgis1031/rest/services/BASE_MAP/MapServer/WMTS/1.0.0/WMTSCapabilities.xml">
					<ows:Constraint name="GetEncoding">
						<ows:AllowedValues>
							<ows:Value>RESTful</ows:Value>
						</ows:AllowedValues>
					</ows:Constraint>
				</ows:Get>
                <!-- add KVP binding in 10.1 -->
                <ows:Get xlink:href="http://gis-test.toris.gov.spb.ru/arcgis1031/rest/services/BASE_MAP/MapServer/WMTS?">
                  <ows:Constraint name="GetEncoding">
                    <ows:AllowedValues>
                      <ows:Value>KVP</ows:Value>
                    </ows:AllowedValues>
                  </ows:Constraint>
                </ows:Get>
    		</ows:HTTP>
    </ows:DCP>
	</ows:Operation>
	<ows:Operation name="GetTile">
		<ows:DCP>
			<ows:HTTP>
				<ows:Get xlink:href="http://gis-test.toris.gov.spb.ru/arcgis1031/rest/services/BASE_MAP/MapServer/WMTS/tile/1.0.0/">
					<ows:Constraint name="GetEncoding">
						<ows:AllowedValues>
							<ows:Value>RESTful</ows:Value>
						</ows:AllowedValues>
					</ows:Constraint>
				</ows:Get>
                <ows:Get xlink:href="http://gis-test.toris.gov.spb.ru/arcgis1031/rest/services/BASE_MAP/MapServer/WMTS?">
                  <ows:Constraint name="GetEncoding">
                    <ows:AllowedValues>
                      <ows:Value>KVP</ows:Value>
                    </ows:AllowedValues>
                  </ows:Constraint>
                </ows:Get>
            </ows:HTTP>
		</ows:DCP>
	</ows:Operation>
</ows:OperationsMetadata> 
<Contents>
  <!--Layer-->  
  <Layer>
    <ows:Title>BASE_MAP</ows:Title> 
    <ows:Identifier>BASE_MAP</ows:Identifier>
    
      <ows:BoundingBox crs="urn:ogc:def:crs:EPSG::202474">
	  
			<ows:LowerCorner>42501.558600000106 51839.8290999979</ows:LowerCorner>
			<ows:UpperCorner>158499.019900001 141266.729499999</ows:UpperCorner>
		
      </ows:BoundingBox>  
      
    <ows:WGS84BoundingBox crs="urn:ogc:def:crs:OGC:2:84">
      <ows:LowerCorner>29.02959499158555 59.55059459082474</ows:LowerCorner>
      <ows:UpperCorner>31.130931381475296 60.357919618013234</ows:UpperCorner>
    </ows:WGS84BoundingBox>
    <Style isDefault="true">
      <ows:Title>Default Style</ows:Title>
      <ows:Identifier>default</ows:Identifier>
    </Style>
    <Format>image/png</Format>
    <TileMatrixSetLink>
      <TileMatrixSet>default028mm</TileMatrixSet>
    </TileMatrixSetLink>

        
    <ResourceURL format="image/png" resourceType="tile" template="http://gis-test.toris.gov.spb.ru/arcgis1031/rest/services/BASE_MAP/MapServer/WMTS/tile/1.0.0/BASE_MAP/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png" />
  </Layer> 
   <!--TileMatrixSet-->
   <TileMatrixSet>
     <ows:Title>TileMatrix using 0.28mm</ows:Title>
     <ows:Abstract>The tile matrix set that has scale values calculated based on the dpi defined by OGC specification (dpi assumes 0.28mm as the physical distance of a pixel).</ows:Abstract> 
     <ows:Identifier>default028mm</ows:Identifier>
     <ows:SupportedCRS>urn:ogc:def:crs:EPSG::202474</ows:SupportedCRS>
      
          <TileMatrix>
          <ows:Identifier>0</ows:Identifier>
          
          <ScaleDenominator>944942.3660750897</ScaleDenominator>
          
          <TopLeftCorner>-5527300.0 3449500.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>84</MatrixWidth> 
            <MatrixHeight>51</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>1</ows:Identifier>
          
          <ScaleDenominator>708706.7745563171</ScaleDenominator>
          
          <TopLeftCorner>-5527300.0 3449500.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>112</MatrixWidth> 
            <MatrixHeight>67</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>2</ows:Identifier>
          
          <ScaleDenominator>472471.18303754483</ScaleDenominator>
          
          <TopLeftCorner>-5527300.0 3449500.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>168</MatrixWidth> 
            <MatrixHeight>101</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>3</ows:Identifier>
          
          <ScaleDenominator>283482.7098225269</ScaleDenominator>
          
          <TopLeftCorner>-5527300.0 3449500.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>280</MatrixWidth> 
            <MatrixHeight>168</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>4</ows:Identifier>
          
          <ScaleDenominator>188988.4732150179</ScaleDenominator>
          
          <TopLeftCorner>-5527300.0 3449500.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>420</MatrixWidth> 
            <MatrixHeight>251</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>5</ows:Identifier>
          
          <ScaleDenominator>94494.23660750895</ScaleDenominator>
          
          <TopLeftCorner>-5527300.0 3449500.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>840</MatrixWidth> 
            <MatrixHeight>502</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>6</ows:Identifier>
          
          <ScaleDenominator>47247.118303754476</ScaleDenominator>
          
          <TopLeftCorner>-5527300.0 3449500.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>1679</MatrixWidth> 
            <MatrixHeight>1004</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>7</ows:Identifier>
          
          <ScaleDenominator>22678.61678580215</ScaleDenominator>
          
          <TopLeftCorner>-5527300.0 3449500.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>3498</MatrixWidth> 
            <MatrixHeight>2091</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>8</ows:Identifier>
          
          <ScaleDenominator>10394.366026825985</ScaleDenominator>
          
          <TopLeftCorner>-5527300.0 3449500.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>7632</MatrixWidth> 
            <MatrixHeight>4561</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>9</ows:Identifier>
          
          <ScaleDenominator>4252.240647337903</ScaleDenominator>
          
          <TopLeftCorner>-5527300.0 3449500.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>18655</MatrixWidth> 
            <MatrixHeight>11148</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>10</ows:Identifier>
          
          <ScaleDenominator>1889.8847321501792</ScaleDenominator>
          
          <TopLeftCorner>-5527300.0 3449500.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>41972</MatrixWidth> 
            <MatrixHeight>25082</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>11</ows:Identifier>
          
          <ScaleDenominator>944.9423660750896</ScaleDenominator>
          
          <TopLeftCorner>-5527300.0 3449500.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>83944</MatrixWidth> 
            <MatrixHeight>50163</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>12</ows:Identifier>
          
          <ScaleDenominator>472.4711830375448</ScaleDenominator>
          
          <TopLeftCorner>-5527300.0 3449500.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>167888</MatrixWidth> 
            <MatrixHeight>100325</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>13</ows:Identifier>
          
          <ScaleDenominator>188.9884732150179</ScaleDenominator>
          
          <TopLeftCorner>-5527300.0 3449500.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>419719</MatrixWidth> 
            <MatrixHeight>250812</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>14</ows:Identifier>
          
          <ScaleDenominator>94.49423660750895</ScaleDenominator>
          
          <TopLeftCorner>-5527300.0 3449500.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>839438</MatrixWidth> 
            <MatrixHeight>501623</MatrixHeight>
          
          </TileMatrix>
          
   </TileMatrixSet>
   
</Contents>
<ServiceMetadataURL xlink:href="http://gis-test.toris.gov.spb.ru/arcgis1031/rest/services/BASE_MAP/MapServer/WMTS/1.0.0/WMTSCapabilities.xml" /> 
</Capabilities>
