<?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>EmergencyImageCache</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://ti-dcs-tile.img.arcgis.com/arcgis/rest/services/EmergencyImageCache/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://ti-dcs-tile.img.arcgis.com/arcgis/rest/services/EmergencyImageCache/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://ti-dcs-tile.img.arcgis.com/arcgis/rest/services/EmergencyImageCache/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://ti-dcs-tile.img.arcgis.com/arcgis/rest/services/EmergencyImageCache/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>EmergencyImageCache</ows:Title> 
    <ows:Identifier>EmergencyImageCache</ows:Identifier>
    <ows:BoundingBox crs="urn:ogc:def:crs:EPSG::0">
	  <ows:LowerCorner>1.6802521759800002E7 -4006566.1701543364</ows:LowerCorner>
			<ows:UpperCorner>1.6850058887144964E7 -3960179.132100001</ows:UpperCorner>
		</ows:BoundingBox>  
      <ows:WGS84BoundingBox crs="urn:ogc:def:crs:OGC:2:84">
      <ows:LowerCorner>-180.0 -90.0</ows:LowerCorner>
      <ows:UpperCorner>180.0 90.0</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://ti-dcs-tile.img.arcgis.com/arcgis/rest/services/EmergencyImageCache/MapServer/WMTS/tile/1.0.0/EmergencyImageCache/{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::0</ows:SupportedCRS>
      <TileMatrix>
          <ows:Identifier>0</ows:Identifier>
          <ScaleDenominator>1133703.7289156243</ScaleDenominator>
          <TopLeftCorner>-2.0037508342789244E7 3.024097195838615E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>454</MatrixWidth> 
            <MatrixHeight>422</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>1</ows:Identifier>
          <ScaleDenominator>566851.8644578122</ScaleDenominator>
          <TopLeftCorner>-2.0037508342789244E7 3.024097195838615E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>908</MatrixWidth> 
            <MatrixHeight>843</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>2</ows:Identifier>
          <ScaleDenominator>283425.9322289061</ScaleDenominator>
          <TopLeftCorner>-2.0037508342789244E7 3.024097195838615E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>1816</MatrixWidth> 
            <MatrixHeight>1686</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>3</ows:Identifier>
          <ScaleDenominator>141712.96611445304</ScaleDenominator>
          <TopLeftCorner>-2.0037508342789244E7 3.024097195838615E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>3632</MatrixWidth> 
            <MatrixHeight>3372</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>4</ows:Identifier>
          <ScaleDenominator>70856.48305722652</ScaleDenominator>
          <TopLeftCorner>-2.0037508342789244E7 3.024097195838615E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>7263</MatrixWidth> 
            <MatrixHeight>6743</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>5</ows:Identifier>
          <ScaleDenominator>35428.24152861326</ScaleDenominator>
          <TopLeftCorner>-2.0037508342789244E7 3.024097195838615E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>14526</MatrixWidth> 
            <MatrixHeight>13486</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>6</ows:Identifier>
          <ScaleDenominator>17714.12076430663</ScaleDenominator>
          <TopLeftCorner>-2.0037508342789244E7 3.024097195838615E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>29052</MatrixWidth> 
            <MatrixHeight>26972</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>7</ows:Identifier>
          <ScaleDenominator>8857.060382153315</ScaleDenominator>
          <TopLeftCorner>-2.0037508342789244E7 3.024097195838615E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>58103</MatrixWidth> 
            <MatrixHeight>53944</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>8</ows:Identifier>
          <ScaleDenominator>4428.5301910766575</ScaleDenominator>
          <TopLeftCorner>-2.0037508342789244E7 3.024097195838615E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>116205</MatrixWidth> 
            <MatrixHeight>107888</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>9</ows:Identifier>
          <ScaleDenominator>2214.2650955383288</ScaleDenominator>
          <TopLeftCorner>-2.0037508342789244E7 3.024097195838615E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>232409</MatrixWidth> 
            <MatrixHeight>215776</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>10</ows:Identifier>
          <ScaleDenominator>1107.1325477691644</ScaleDenominator>
          <TopLeftCorner>-2.0037508342789244E7 3.024097195838615E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>464818</MatrixWidth> 
            <MatrixHeight>431551</MatrixHeight>
          </TileMatrix>
          </TileMatrixSet>
   </Contents>
<ServiceMetadataURL xlink:href="https://ti-dcs-tile.img.arcgis.com/arcgis/rest/services/EmergencyImageCache/MapServer/WMTS/1.0.0/WMTSCapabilities.xml" /> 
</Capabilities>
