<?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>Hosted_CDL_2023</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="https://gisportal-deq.idaho.gov/hosting/rest/services/Hosted/CDL_2023/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="https://gisportal-deq.idaho.gov/hosting/rest/services/Hosted/CDL_2023/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="https://gisportal-deq.idaho.gov/hosting/rest/services/Hosted/CDL_2023/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="https://gisportal-deq.idaho.gov/hosting/rest/services/Hosted/CDL_2023/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>Hosted_CDL_2023</ows:Title> 
    <ows:Identifier>Hosted_CDL_2023</ows:Identifier>
    <ows:BoundingBox crs="urn:ogc:def:crs:EPSG::8826">
	  <ows:LowerCorner>1949934.0382908212 991492.6550653123</ows:LowerCorner>
			<ows:UpperCorner>2968146.0825375984 2177166.7005905975</ows:UpperCorner>
		</ows:BoundingBox>  
      <ows:WGS84BoundingBox crs="urn:ogc:def:crs:OGC:2:84">
      <ows:LowerCorner>-121.76634226942073 39.942613373869854</ows:LowerCorner>
      <ows:UpperCorner>-107.38138004586285 50.79423703360629</ows:UpperCorner>
    </ows:WGS84BoundingBox>
    <Style isDefault="true">
      <ows:Title>Default Style</ows:Title>
      <ows:Identifier>default</ows:Identifier>
    </Style>
    <Format>image/jpgpng</Format>
    <TileMatrixSetLink>
      <TileMatrixSet>default028mm</TileMatrixSet>
    </TileMatrixSetLink>

      <ResourceURL format="image/jpgpng" resourceType="tile" template="https://gisportal-deq.idaho.gov/hosting/rest/services/Hosted/CDL_2023/MapServer/WMTS/tile/1.0.0/Hosted_CDL_2023/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}" />
  </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::8826</ows:SupportedCRS>
      <TileMatrix>
          <ows:Identifier>0</ows:Identifier>
          <ScaleDenominator>2.7896104751492983E8</ScaleDenominator>
          <TopLeftCorner>-7497963.942936342 6548187.718233658</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>1</MatrixWidth> 
            <MatrixHeight>1</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>1</ows:Identifier>
          <ScaleDenominator>1.3948052375746492E8</ScaleDenominator>
          <TopLeftCorner>-7497963.942936342 6548187.718233658</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>2</MatrixWidth> 
            <MatrixHeight>1</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>2</ows:Identifier>
          <ScaleDenominator>6.974026187873246E7</ScaleDenominator>
          <TopLeftCorner>-7497963.942936342 6548187.718233658</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>3</MatrixWidth> 
            <MatrixHeight>2</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>3</ows:Identifier>
          <ScaleDenominator>3.487013093936623E7</ScaleDenominator>
          <TopLeftCorner>-7497963.942936342 6548187.718233658</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>5</MatrixWidth> 
            <MatrixHeight>3</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>4</ows:Identifier>
          <ScaleDenominator>1.7435065469683114E7</ScaleDenominator>
          <TopLeftCorner>-7497963.942936342 6548187.718233658</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>9</MatrixWidth> 
            <MatrixHeight>5</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>5</ows:Identifier>
          <ScaleDenominator>8717532.734841557</ScaleDenominator>
          <TopLeftCorner>-7497963.942936342 6548187.718233658</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>17</MatrixWidth> 
            <MatrixHeight>9</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>6</ows:Identifier>
          <ScaleDenominator>4358766.367420779</ScaleDenominator>
          <TopLeftCorner>-7497963.942936342 6548187.718233658</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>34</MatrixWidth> 
            <MatrixHeight>18</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>7</ows:Identifier>
          <ScaleDenominator>2179383.1837103893</ScaleDenominator>
          <TopLeftCorner>-7497963.942936342 6548187.718233658</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>67</MatrixWidth> 
            <MatrixHeight>36</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>8</ows:Identifier>
          <ScaleDenominator>1089691.5918551947</ScaleDenominator>
          <TopLeftCorner>-7497963.942936342 6548187.718233658</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>134</MatrixWidth> 
            <MatrixHeight>72</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>9</ows:Identifier>
          <ScaleDenominator>544845.7959275973</ScaleDenominator>
          <TopLeftCorner>-7497963.942936342 6548187.718233658</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>268</MatrixWidth> 
            <MatrixHeight>143</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>10</ows:Identifier>
          <ScaleDenominator>272422.89796379866</ScaleDenominator>
          <TopLeftCorner>-7497963.942936342 6548187.718233658</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>536</MatrixWidth> 
            <MatrixHeight>285</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>11</ows:Identifier>
          <ScaleDenominator>136211.44898189933</ScaleDenominator>
          <TopLeftCorner>-7497963.942936342 6548187.718233658</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>1072</MatrixWidth> 
            <MatrixHeight>570</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>12</ows:Identifier>
          <ScaleDenominator>68105.72449094967</ScaleDenominator>
          <TopLeftCorner>-7497963.942936342 6548187.718233658</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>2144</MatrixWidth> 
            <MatrixHeight>1139</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>13</ows:Identifier>
          <ScaleDenominator>34052.86224547483</ScaleDenominator>
          <TopLeftCorner>-7497963.942936342 6548187.718233658</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>4288</MatrixWidth> 
            <MatrixHeight>2277</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>14</ows:Identifier>
          <ScaleDenominator>17026.431122737416</ScaleDenominator>
          <TopLeftCorner>-7497963.942936342 6548187.718233658</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>8576</MatrixWidth> 
            <MatrixHeight>4553</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>15</ows:Identifier>
          <ScaleDenominator>8513.215561368708</ScaleDenominator>
          <TopLeftCorner>-7497963.942936342 6548187.718233658</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>17152</MatrixWidth> 
            <MatrixHeight>9106</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>16</ows:Identifier>
          <ScaleDenominator>4256.607780684354</ScaleDenominator>
          <TopLeftCorner>-7497963.942936342 6548187.718233658</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>34303</MatrixWidth> 
            <MatrixHeight>18212</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>17</ows:Identifier>
          <ScaleDenominator>2128.303890342177</ScaleDenominator>
          <TopLeftCorner>-7497963.942936342 6548187.718233658</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>68605</MatrixWidth> 
            <MatrixHeight>36424</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>18</ows:Identifier>
          <ScaleDenominator>1064.1519451710885</ScaleDenominator>
          <TopLeftCorner>-7497963.942936342 6548187.718233658</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>137210</MatrixWidth> 
            <MatrixHeight>72848</MatrixHeight>
          </TileMatrix>
          </TileMatrixSet>
   </Contents>
<ServiceMetadataURL xlink:href="https://gisportal-deq.idaho.gov/hosting/rest/services/Hosted/CDL_2023/MapServer/WMTS/1.0.0/WMTSCapabilities.xml" /> 
</Capabilities>
