<?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>DE_Imagery_SP_DE_Imagery_2017</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://imagery.firstmap.delaware.gov/imagery/rest/services/DE_Imagery_SP/DE_Imagery_2017/ImageServer/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://imagery.firstmap.delaware.gov/imagery/rest/services/DE_Imagery_SP/DE_Imagery_2017/ImageServer/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://imagery.firstmap.delaware.gov/imagery/rest/services/DE_Imagery_SP/DE_Imagery_2017/ImageServer/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://imagery.firstmap.delaware.gov/imagery/rest/services/DE_Imagery_SP/DE_Imagery_2017/ImageServer/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>DE_Imagery_SP_DE_Imagery_2017</ows:Title> 
    <ows:Identifier>DE_Imagery_SP_DE_Imagery_2017</ows:Identifier>
    <ows:BoundingBox crs="urn:ogc:def:crs:EPSG::26957">
	  <ows:LowerCorner>166499.75 49999.5</ows:LowerCorner>
			<ows:UpperCorner>232799.75 204700.0</ows:UpperCorner>
		</ows:BoundingBox>  
      <ows:WGS84BoundingBox crs="urn:ogc:def:crs:OGC:2:84">
      <ows:LowerCorner>-75.80807742746367 38.449816688026566</ows:LowerCorner>
      <ows:UpperCorner>-75.03344024478172 39.843920574316336</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://imagery.firstmap.delaware.gov/imagery/rest/services/DE_Imagery_SP/DE_Imagery_2017/ImageServer/WMTS/tile/1.0.0/DE_Imagery_SP_DE_Imagery_2017/{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::26957</ows:SupportedCRS>
      <TileMatrix>
          <ows:Identifier>0</ows:Identifier>
          <ScaleDenominator>7559538.928600717</ScaleDenominator>
          <TopLeftCorner>-5423100.0 5794600.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>11</MatrixWidth> 
            <MatrixHeight>11</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>1</ows:Identifier>
          <ScaleDenominator>3779769.4643003587</ScaleDenominator>
          <TopLeftCorner>-5423100.0 5794600.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>21</MatrixWidth> 
            <MatrixHeight>22</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>2</ows:Identifier>
          <ScaleDenominator>1889884.7321501793</ScaleDenominator>
          <TopLeftCorner>-5423100.0 5794600.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>42</MatrixWidth> 
            <MatrixHeight>43</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>3</ows:Identifier>
          <ScaleDenominator>944942.3660750897</ScaleDenominator>
          <TopLeftCorner>-5423100.0 5794600.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>84</MatrixWidth> 
            <MatrixHeight>85</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>4</ows:Identifier>
          <ScaleDenominator>472471.18303754483</ScaleDenominator>
          <TopLeftCorner>-5423100.0 5794600.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>168</MatrixWidth> 
            <MatrixHeight>170</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>5</ows:Identifier>
          <ScaleDenominator>236235.59151877242</ScaleDenominator>
          <TopLeftCorner>-5423100.0 5794600.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>335</MatrixWidth> 
            <MatrixHeight>340</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>6</ows:Identifier>
          <ScaleDenominator>118117.79575938621</ScaleDenominator>
          <TopLeftCorner>-5423100.0 5794600.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>669</MatrixWidth> 
            <MatrixHeight>679</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>7</ows:Identifier>
          <ScaleDenominator>60476.31142880573</ScaleDenominator>
          <TopLeftCorner>-5423100.0 5794600.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>1305</MatrixWidth> 
            <MatrixHeight>1326</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>8</ows:Identifier>
          <ScaleDenominator>30238.155714402867</ScaleDenominator>
          <TopLeftCorner>-5423100.0 5794600.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>2610</MatrixWidth> 
            <MatrixHeight>2651</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>9</ows:Identifier>
          <ScaleDenominator>15119.077857201433</ScaleDenominator>
          <TopLeftCorner>-5423100.0 5794600.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>5219</MatrixWidth> 
            <MatrixHeight>5301</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>10</ows:Identifier>
          <ScaleDenominator>7559.538928600717</ScaleDenominator>
          <TopLeftCorner>-5423100.0 5794600.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>10438</MatrixWidth> 
            <MatrixHeight>10602</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>11</ows:Identifier>
          <ScaleDenominator>3779.7694643003583</ScaleDenominator>
          <TopLeftCorner>-5423100.0 5794600.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>20876</MatrixWidth> 
            <MatrixHeight>21203</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>12</ows:Identifier>
          <ScaleDenominator>1889.8847321501792</ScaleDenominator>
          <TopLeftCorner>-5423100.0 5794600.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>41752</MatrixWidth> 
            <MatrixHeight>42406</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>13</ows:Identifier>
          <ScaleDenominator>944.9423660750896</ScaleDenominator>
          <TopLeftCorner>-5423100.0 5794600.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>83503</MatrixWidth> 
            <MatrixHeight>84812</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>14</ows:Identifier>
          <ScaleDenominator>472.4711830375448</ScaleDenominator>
          <TopLeftCorner>-5423100.0 5794600.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>167005</MatrixWidth> 
            <MatrixHeight>169624</MatrixHeight>
          </TileMatrix>
          </TileMatrixSet>
   </Contents>
<ServiceMetadataURL xlink:href="https://imagery.firstmap.delaware.gov/imagery/rest/services/DE_Imagery_SP/DE_Imagery_2017/ImageServer/WMTS/1.0.0/WMTSCapabilities.xml" /> 
</Capabilities>
