<?xml version="1.0"?>
<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">
  <ows:ServiceIdentification>
    <ows:Title>MapProxy base Proxy for QGIS Server by Geomaster</ows:Title>
    <ows:Abstract>The MapProxy configuration is managed by hand.</ows:Abstract>
    <ows:ServiceType>OGC WMTS</ows:ServiceType>
    <ows:ServiceTypeVersion>1.0.0</ows:ServiceTypeVersion>
    <ows:Fees>none</ows:Fees>
    <ows:AccessConstraints>none</ows:AccessConstraints>
  </ows:ServiceIdentification>
  <ows:OperationsMetadata>
    <ows:Operation name="GetCapabilities">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:href="https://geoportal-irig.madeira.gov.pt/mapproxy/base/service?">
            <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://geoportal-irig.madeira.gov.pt/mapproxy/base/service?">
            <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="GetFeatureInfo">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:href="https://geoportal-irig.madeira.gov.pt/mapproxy/base/service?">
            <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>
      <ows:Title>ortos_2018</ows:Title>
      <ows:Abstract></ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>-38.79721887103212 29.23999995500943</ows:LowerCorner>
        <ows:UpperCorner>-12.480000043611575 43.070000030542275</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>drote_ortos2018_ortos_2018</ows:Identifier>
      <Style>
        <ows:Identifier>default</ows:Identifier>
      </Style>
      <Format>image/png</Format>
      <TileMatrixSetLink>
        <TileMatrixSet>EPSG:5016</TileMatrixSet>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>EPSG:3061</TileMatrixSet>
      </TileMatrixSetLink>
    </Layer>
    <Layer>
      <ows:Title>ortos_2023</ows:Title>
      <ows:Abstract></ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>-38.79721887103212 29.23999995500943</ows:LowerCorner>
        <ows:UpperCorner>-12.480000043611575 43.070000030542275</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>drote_ortos2023_ortos_2023</ows:Identifier>
      <Style>
        <ows:Identifier>default</ows:Identifier>
      </Style>
      <Format>image/png</Format>
      <TileMatrixSetLink>
        <TileMatrixSet>EPSG:5016</TileMatrixSet>
      </TileMatrixSetLink>
    </Layer>
    <TileMatrixSet>
      <ows:Identifier>EPSG:5016</ows:Identifier>
      <ows:SupportedCRS>EPSG:5016</ows:SupportedCRS>
      <TileMatrix>
        <ows:Identifier>00</ows:Identifier>
        <ScaleDenominator>31076229.35267857</ScaleDenominator>
        <TopLeftCorner>-1522371.84 4771670.45</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1</MatrixWidth>
        <MatrixHeight>1</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>01</ows:Identifier>
        <ScaleDenominator>15538114.676339285</ScaleDenominator>
        <TopLeftCorner>-1522371.84 4771670.45</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2</MatrixWidth>
        <MatrixHeight>2</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>02</ows:Identifier>
        <ScaleDenominator>7769057.338169643</ScaleDenominator>
        <TopLeftCorner>-1522371.84 4771670.45</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>4</MatrixWidth>
        <MatrixHeight>3</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>03</ows:Identifier>
        <ScaleDenominator>3884528.6690848214</ScaleDenominator>
        <TopLeftCorner>-1522371.84 4771670.45</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>8</MatrixWidth>
        <MatrixHeight>5</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>04</ows:Identifier>
        <ScaleDenominator>1942264.3345424107</ScaleDenominator>
        <TopLeftCorner>-1522371.84 4771670.45</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>16</MatrixWidth>
        <MatrixHeight>10</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>05</ows:Identifier>
        <ScaleDenominator>971132.1672712053</ScaleDenominator>
        <TopLeftCorner>-1522371.84 4771670.45</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>32</MatrixWidth>
        <MatrixHeight>20</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>06</ows:Identifier>
        <ScaleDenominator>485566.08363560267</ScaleDenominator>
        <TopLeftCorner>-1522371.84 4771670.45</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>64</MatrixWidth>
        <MatrixHeight>39</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>07</ows:Identifier>
        <ScaleDenominator>242783.04181780134</ScaleDenominator>
        <TopLeftCorner>-1522371.84 4771670.45</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>128</MatrixWidth>
        <MatrixHeight>78</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>08</ows:Identifier>
        <ScaleDenominator>121391.52090890067</ScaleDenominator>
        <TopLeftCorner>-1522371.84 4771670.45</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>256</MatrixWidth>
        <MatrixHeight>156</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>09</ows:Identifier>
        <ScaleDenominator>60695.760454450334</ScaleDenominator>
        <TopLeftCorner>-1522371.84 4771670.45</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>512</MatrixWidth>
        <MatrixHeight>312</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>10</ows:Identifier>
        <ScaleDenominator>30347.880227225167</ScaleDenominator>
        <TopLeftCorner>-1522371.84 4771670.45</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1024</MatrixWidth>
        <MatrixHeight>623</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>11</ows:Identifier>
        <ScaleDenominator>15173.940113612583</ScaleDenominator>
        <TopLeftCorner>-1522371.84 4771670.45</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2048</MatrixWidth>
        <MatrixHeight>1246</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>12</ows:Identifier>
        <ScaleDenominator>7586.970056806292</ScaleDenominator>
        <TopLeftCorner>-1522371.84 4771670.45</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>4096</MatrixWidth>
        <MatrixHeight>2491</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>13</ows:Identifier>
        <ScaleDenominator>3793.485028403146</ScaleDenominator>
        <TopLeftCorner>-1522371.84 4771670.45</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>8192</MatrixWidth>
        <MatrixHeight>4982</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>14</ows:Identifier>
        <ScaleDenominator>1896.742514201573</ScaleDenominator>
        <TopLeftCorner>-1522371.84 4771670.45</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>16384</MatrixWidth>
        <MatrixHeight>9964</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>15</ows:Identifier>
        <ScaleDenominator>948.3712571007865</ScaleDenominator>
        <TopLeftCorner>-1522371.84 4771670.45</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>32768</MatrixWidth>
        <MatrixHeight>19928</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>16</ows:Identifier>
        <ScaleDenominator>474.18562855039323</ScaleDenominator>
        <TopLeftCorner>-1522371.84 4771670.45</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>65536</MatrixWidth>
        <MatrixHeight>39855</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>17</ows:Identifier>
        <ScaleDenominator>237.09281427519662</ScaleDenominator>
        <TopLeftCorner>-1522371.84 4771670.45</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>131072</MatrixWidth>
        <MatrixHeight>79710</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>18</ows:Identifier>
        <ScaleDenominator>118.54640713759831</ScaleDenominator>
        <TopLeftCorner>-1522371.84 4771670.45</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>262144</MatrixWidth>
        <MatrixHeight>159420</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>19</ows:Identifier>
        <ScaleDenominator>59.273203568799154</ScaleDenominator>
        <TopLeftCorner>-1522371.84 4771670.45</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>524288</MatrixWidth>
        <MatrixHeight>318839</MatrixHeight>
      </TileMatrix>
    </TileMatrixSet>
    <TileMatrixSet>
      <ows:Identifier>EPSG:3061</ows:Identifier>
      <ows:SupportedCRS>EPSG:3061</ows:SupportedCRS>
      <TileMatrix>
        <ows:Identifier>00</ows:Identifier>
        <ScaleDenominator>1424697.8236607136</ScaleDenominator>
        <TopLeftCorner>283535.7 3668236.9</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1</MatrixWidth>
        <MatrixHeight>1</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>01</ows:Identifier>
        <ScaleDenominator>712348.9118303568</ScaleDenominator>
        <TopLeftCorner>283535.7 3668236.9</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2</MatrixWidth>
        <MatrixHeight>2</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>02</ows:Identifier>
        <ScaleDenominator>356174.4559151784</ScaleDenominator>
        <TopLeftCorner>283535.7 3668236.9</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>4</MatrixWidth>
        <MatrixHeight>3</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>03</ows:Identifier>
        <ScaleDenominator>178087.2279575892</ScaleDenominator>
        <TopLeftCorner>283535.7 3668236.9</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>8</MatrixWidth>
        <MatrixHeight>5</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>04</ows:Identifier>
        <ScaleDenominator>89043.6139787946</ScaleDenominator>
        <TopLeftCorner>283535.7 3668236.9</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>16</MatrixWidth>
        <MatrixHeight>10</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>05</ows:Identifier>
        <ScaleDenominator>44521.8069893973</ScaleDenominator>
        <TopLeftCorner>283535.7 3668236.9</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>32</MatrixWidth>
        <MatrixHeight>20</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>06</ows:Identifier>
        <ScaleDenominator>22260.90349469865</ScaleDenominator>
        <TopLeftCorner>283535.7 3668236.9</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>64</MatrixWidth>
        <MatrixHeight>39</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>07</ows:Identifier>
        <ScaleDenominator>11130.451747349325</ScaleDenominator>
        <TopLeftCorner>283535.7 3668236.9</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>128</MatrixWidth>
        <MatrixHeight>78</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>08</ows:Identifier>
        <ScaleDenominator>5565.225873674663</ScaleDenominator>
        <TopLeftCorner>283535.7 3668236.9</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>256</MatrixWidth>
        <MatrixHeight>155</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>09</ows:Identifier>
        <ScaleDenominator>2782.6129368373313</ScaleDenominator>
        <TopLeftCorner>283535.7 3668236.9</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>512</MatrixWidth>
        <MatrixHeight>309</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>10</ows:Identifier>
        <ScaleDenominator>1391.3064684186656</ScaleDenominator>
        <TopLeftCorner>283535.7 3668236.9</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1024</MatrixWidth>
        <MatrixHeight>617</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>11</ows:Identifier>
        <ScaleDenominator>695.6532342093328</ScaleDenominator>
        <TopLeftCorner>283535.7 3668236.9</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2048</MatrixWidth>
        <MatrixHeight>1234</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>12</ows:Identifier>
        <ScaleDenominator>347.8266171046664</ScaleDenominator>
        <TopLeftCorner>283535.7 3668236.9</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>4096</MatrixWidth>
        <MatrixHeight>2468</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>13</ows:Identifier>
        <ScaleDenominator>173.9133085523332</ScaleDenominator>
        <TopLeftCorner>283535.7 3668236.9</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>8192</MatrixWidth>
        <MatrixHeight>4935</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>14</ows:Identifier>
        <ScaleDenominator>86.9566542761666</ScaleDenominator>
        <TopLeftCorner>283535.7 3668236.9</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>16384</MatrixWidth>
        <MatrixHeight>9869</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>15</ows:Identifier>
        <ScaleDenominator>43.4783271380833</ScaleDenominator>
        <TopLeftCorner>283535.7 3668236.9</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>32768</MatrixWidth>
        <MatrixHeight>19737</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>16</ows:Identifier>
        <ScaleDenominator>21.73916356904165</ScaleDenominator>
        <TopLeftCorner>283535.7 3668236.9</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>65536</MatrixWidth>
        <MatrixHeight>39473</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>17</ows:Identifier>
        <ScaleDenominator>10.869581784520825</ScaleDenominator>
        <TopLeftCorner>283535.7 3668236.9</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>131072</MatrixWidth>
        <MatrixHeight>78945</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>18</ows:Identifier>
        <ScaleDenominator>5.434790892260413</ScaleDenominator>
        <TopLeftCorner>283535.7 3668236.9</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>262144</MatrixWidth>
        <MatrixHeight>157890</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>19</ows:Identifier>
        <ScaleDenominator>2.7173954461302063</ScaleDenominator>
        <TopLeftCorner>283535.7 3668236.9</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>524288</MatrixWidth>
        <MatrixHeight>315779</MatrixHeight>
      </TileMatrix>
    </TileMatrixSet>
  </Contents>
</Capabilities>