<?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>PropScan</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://maps2.dcgis.dc.gov/dcgis/rest/services/PropScan/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://maps2.dcgis.dc.gov/dcgis/rest/services/PropScan/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://maps2.dcgis.dc.gov/dcgis/rest/services/PropScan/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://maps2.dcgis.dc.gov/dcgis/rest/services/PropScan/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>PropScan</ows:Title> 
    <ows:Identifier>PropScan</ows:Identifier>
    <ows:BoundingBox crs="urn:ogc:def:crs:EPSG::26985">
	  <ows:LowerCorner>389612.306570001 124868.95517999699</ows:LowerCorner>
			<ows:UpperCorner>407880.11999999697 147558.136999998</ows:UpperCorner>
		</ows:BoundingBox>  
      <ows:WGS84BoundingBox crs="urn:ogc:def:crs:OGC:2:84">
      <ows:LowerCorner>-77.11991257926304 38.7915100067442</ows:LowerCorner>
      <ows:UpperCorner>-76.90903411318553 38.995963690013895</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://maps2.dcgis.dc.gov/dcgis/rest/services/PropScan/MapServer/WMTS/tile/1.0.0/PropScan/{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::26985</ows:SupportedCRS>
      <TileMatrix>
          <ows:Identifier>0</ows:Identifier>
          <ScaleDenominator>226786.1678580215</ScaleDenominator>
          <TopLeftCorner>379605.402 148256.304</TopLeftCorner>  
          <TileWidth>512</TileWidth> 
          <TileHeight>512</TileHeight>
          <MatrixWidth>1</MatrixWidth> 
            <MatrixHeight>1</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>1</ows:Identifier>
          <ScaleDenominator>151190.77857201433</ScaleDenominator>
          <TopLeftCorner>379605.402 148256.304</TopLeftCorner>  
          <TileWidth>512</TileWidth> 
          <TileHeight>512</TileHeight>
          <MatrixWidth>2</MatrixWidth> 
            <MatrixHeight>2</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>2</ows:Identifier>
          <ScaleDenominator>75595.38928600716</ScaleDenominator>
          <TopLeftCorner>379605.402 148256.304</TopLeftCorner>  
          <TileWidth>512</TileWidth> 
          <TileHeight>512</TileHeight>
          <MatrixWidth>3</MatrixWidth> 
            <MatrixHeight>3</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>3</ows:Identifier>
          <ScaleDenominator>37797.69464300358</ScaleDenominator>
          <TopLeftCorner>379605.402 148256.304</TopLeftCorner>  
          <TileWidth>512</TileWidth> 
          <TileHeight>512</TileHeight>
          <MatrixWidth>6</MatrixWidth> 
            <MatrixHeight>5</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>4</ows:Identifier>
          <ScaleDenominator>18898.84732150179</ScaleDenominator>
          <TopLeftCorner>379605.402 148256.304</TopLeftCorner>  
          <TileWidth>512</TileWidth> 
          <TileHeight>512</TileHeight>
          <MatrixWidth>11</MatrixWidth> 
            <MatrixHeight>9</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>5</ows:Identifier>
          <ScaleDenominator>9071.44671432086</ScaleDenominator>
          <TopLeftCorner>379605.402 148256.304</TopLeftCorner>  
          <TileWidth>512</TileWidth> 
          <TileHeight>512</TileHeight>
          <MatrixWidth>22</MatrixWidth> 
            <MatrixHeight>18</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>6</ows:Identifier>
          <ScaleDenominator>4535.72335716043</ScaleDenominator>
          <TopLeftCorner>379605.402 148256.304</TopLeftCorner>  
          <TileWidth>512</TileWidth> 
          <TileHeight>512</TileHeight>
          <MatrixWidth>44</MatrixWidth> 
            <MatrixHeight>36</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>7</ows:Identifier>
          <ScaleDenominator>2267.861678580215</ScaleDenominator>
          <TopLeftCorner>379605.402 148256.304</TopLeftCorner>  
          <TileWidth>512</TileWidth> 
          <TileHeight>512</TileHeight>
          <MatrixWidth>87</MatrixWidth> 
            <MatrixHeight>72</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>8</ows:Identifier>
          <ScaleDenominator>1133.9308392901075</ScaleDenominator>
          <TopLeftCorner>379605.402 148256.304</TopLeftCorner>  
          <TileWidth>512</TileWidth> 
          <TileHeight>512</TileHeight>
          <MatrixWidth>174</MatrixWidth> 
            <MatrixHeight>144</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>9</ows:Identifier>
          <ScaleDenominator>755.9538928600716</ScaleDenominator>
          <TopLeftCorner>379605.402 148256.304</TopLeftCorner>  
          <TileWidth>512</TileWidth> 
          <TileHeight>512</TileHeight>
          <MatrixWidth>261</MatrixWidth> 
            <MatrixHeight>216</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>10</ows:Identifier>
          <ScaleDenominator>377.9769464300358</ScaleDenominator>
          <TopLeftCorner>379605.402 148256.304</TopLeftCorner>  
          <TileWidth>512</TileWidth> 
          <TileHeight>512</TileHeight>
          <MatrixWidth>522</MatrixWidth> 
            <MatrixHeight>432</MatrixHeight>
          </TileMatrix>
          </TileMatrixSet>
   </Contents>
<ServiceMetadataURL xlink:href="https://maps2.dcgis.dc.gov/dcgis/rest/services/PropScan/MapServer/WMTS/1.0.0/WMTSCapabilities.xml" /> 
</Capabilities>
