<?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>Imagens_Ortofoto2022</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://gis.vitoria.es.gov.br/arcgis/rest/services/Imagens/Ortofoto2022/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://gis.vitoria.es.gov.br/arcgis/rest/services/Imagens/Ortofoto2022/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://gis.vitoria.es.gov.br/arcgis/rest/services/Imagens/Ortofoto2022/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://gis.vitoria.es.gov.br/arcgis/rest/services/Imagens/Ortofoto2022/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>Imagens_Ortofoto2022</ows:Title> 
    <ows:Identifier>Imagens_Ortofoto2022</ows:Identifier>
    <ows:BoundingBox crs="urn:ogc:def:crs:EPSG::31984">
	  <ows:LowerCorner>356976.3019 7750918.2094</ows:LowerCorner>
			<ows:UpperCorner>373976.3019 7762918.2094</ows:UpperCorner>
		</ows:BoundingBox>  
      <ows:WGS84BoundingBox crs="urn:ogc:def:crs:OGC:2:84">
      <ows:LowerCorner>-40.37008804075433 -20.33560748313605</ows:LowerCorner>
      <ows:UpperCorner>-40.20642737825497 -20.22600122384556</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://gis.vitoria.es.gov.br/arcgis/rest/services/Imagens/Ortofoto2022/ImageServer/WMTS/tile/1.0.0/Imagens_Ortofoto2022/{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::31984</ows:SupportedCRS>
      <TileMatrix>
          <ows:Identifier>0</ows:Identifier>
          <ScaleDenominator>118117.55952380951</ScaleDenominator>
          <TopLeftCorner>-5120900.0 1.99981E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>649</MatrixWidth> 
            <MatrixHeight>1447</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>1</ows:Identifier>
          <ScaleDenominator>60476.19047619047</ScaleDenominator>
          <TopLeftCorner>-5120900.0 1.99981E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>1268</MatrixWidth> 
            <MatrixHeight>2826</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>2</ows:Identifier>
          <ScaleDenominator>30238.095238095237</ScaleDenominator>
          <TopLeftCorner>-5120900.0 1.99981E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>2536</MatrixWidth> 
            <MatrixHeight>5651</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>3</ows:Identifier>
          <ScaleDenominator>15119.047619047618</ScaleDenominator>
          <TopLeftCorner>-5120900.0 1.99981E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>5071</MatrixWidth> 
            <MatrixHeight>11301</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>4</ows:Identifier>
          <ScaleDenominator>7559.523809523809</ScaleDenominator>
          <TopLeftCorner>-5120900.0 1.99981E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>10141</MatrixWidth> 
            <MatrixHeight>22602</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>5</ows:Identifier>
          <ScaleDenominator>3779.7619047619046</ScaleDenominator>
          <TopLeftCorner>-5120900.0 1.99981E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>20282</MatrixWidth> 
            <MatrixHeight>45204</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>6</ows:Identifier>
          <ScaleDenominator>1889.8809523809523</ScaleDenominator>
          <TopLeftCorner>-5120900.0 1.99981E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>40563</MatrixWidth> 
            <MatrixHeight>90408</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>7</ows:Identifier>
          <ScaleDenominator>944.9404761904761</ScaleDenominator>
          <TopLeftCorner>-5120900.0 1.99981E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>81125</MatrixWidth> 
            <MatrixHeight>180815</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>8</ows:Identifier>
          <ScaleDenominator>472.4702380952381</ScaleDenominator>
          <TopLeftCorner>-5120900.0 1.99981E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>162250</MatrixWidth> 
            <MatrixHeight>361629</MatrixHeight>
          </TileMatrix>
          <TileMatrix>
          <ows:Identifier>9</ows:Identifier>
          <ScaleDenominator>236.23511904761904</ScaleDenominator>
          <TopLeftCorner>-5120900.0 1.99981E7</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
          <MatrixWidth>324500</MatrixWidth> 
            <MatrixHeight>723258</MatrixHeight>
          </TileMatrix>
          </TileMatrixSet>
   </Contents>
<ServiceMetadataURL xlink:href="https://gis.vitoria.es.gov.br/arcgis/rest/services/Imagens/Ortofoto2022/ImageServer/WMTS/1.0.0/WMTSCapabilities.xml" /> 
</Capabilities>
