<?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">
  <ows:ServiceIdentification>
    <ows:Title>GeoWebCache</ows:Title>
    <ows:Abstract>GeoWebCache is an advanced tile cache for WMS servers. It supports a large variety of protocols and
      formats, including WMS-C, WMTS, KML, Google Maps and Virtual Earth.</ows:Abstract>
    <ows:Keywords>
      <ows:Keyword>WFS</ows:Keyword>
      <ows:Keyword>WMS</ows:Keyword>
      <ows:Keyword>WMTS</ows:Keyword>
      <ows:Keyword>GEOWEBCACHE</ows:Keyword>
    </ows:Keywords>
    <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:ServiceProvider>
    <ows:ProviderName>John Smith inc.</ows:ProviderName>
    <ows:ProviderSite xlink:href="http://www.example.com/"/>
    <ows:ServiceContact>
      <ows:IndividualName>John Smith</ows:IndividualName>
      <ows:PositionName>Geospatial Expert</ows:PositionName>
      <ows:ContactInfo>
        <ows:Phone>
          <ows:Voice>+61 3 0000 0000</ows:Voice>
          <ows:Facsimile>+61 3 0000 0001</ows:Facsimile>
        </ows:Phone>
        <ows:Address>
          <ows:DeliveryPoint>1 Bumpy St.</ows:DeliveryPoint>
          <ows:City>Hobart</ows:City>
          <ows:AdministrativeArea>TAS</ows:AdministrativeArea>
          <ows:PostalCode>7005</ows:PostalCode>
          <ows:Country>Australia</ows:Country>
          <ows:ElectronicMailAddress>john.smith@example.com</ows:ElectronicMailAddress>
        </ows:Address>
      </ows:ContactInfo>
    </ows:ServiceContact>
  </ows:ServiceProvider>
  <ows:OperationsMetadata>
    <ows:Operation name="GetCapabilities">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:href="https://tilecache.hoglandet.se/service/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://tilecache.hoglandet.se/service/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="GetFeatureInfo">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:href="https://tilecache.hoglandet.se/service/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>
      <ows:Title>topp:states</ows:Title>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>-129.6 3.45</ows:LowerCorner>
        <ows:UpperCorner>-62.1 70.9</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>topp:states</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>population</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://demo.boundlessgeo.com/geoserver/topp/wms?service=WMS&amp;request=GetLegendGraphic&amp;format=image/png&amp;width=81&amp;height=80&amp;layer=topp%3Astates&amp;style=population" width="81" height="80"/>
      </Style>
      <Style>
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://demo.boundlessgeo.com/geoserver/topp/wms?service=WMS&amp;request=GetLegendGraphic&amp;format=image/png&amp;width=20&amp;height=20&amp;layer=topp%3Astates&amp;style=polygon" width="20" height="20"/>
      </Style>
      <Style>
        <ows:Identifier>pophatch</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://demo.boundlessgeo.com/geoserver/topp/wms?service=WMS&amp;request=GetLegendGraphic&amp;format=image/png&amp;width=81&amp;height=80&amp;layer=topp%3Astates&amp;style=pophatch" width="81" height="80"/>
      </Style>
      <Format>image/gif</Format>
      <Format>image/jpeg</Format>
      <Format>image/png</Format>
      <Format>image/png8</Format>
      <TileMatrixSetLink>
        <TileMatrixSet>EPSG:2163</TileMatrixSet>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>EPSG:4326</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>5</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>10</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>20</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>30</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>41</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>61</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>83</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>27</MinTileRow>
            <MaxTileRow>123</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>167</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>54</MinTileRow>
            <MaxTileRow>246</MaxTileRow>
            <MinTileCol>143</MinTileCol>
            <MaxTileCol>335</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>108</MinTileRow>
            <MaxTileRow>492</MaxTileRow>
            <MinTileCol>286</MinTileCol>
            <MaxTileCol>670</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>217</MinTileRow>
            <MaxTileRow>984</MaxTileRow>
            <MinTileCol>573</MinTileCol>
            <MaxTileCol>1341</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>434</MinTileRow>
            <MaxTileRow>1969</MaxTileRow>
            <MinTileCol>1146</MinTileCol>
            <MaxTileCol>2682</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>869</MinTileRow>
            <MaxTileRow>3938</MaxTileRow>
            <MinTileCol>2293</MinTileCol>
            <MaxTileCol>5365</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>1738</MinTileRow>
            <MaxTileRow>7877</MaxTileRow>
            <MinTileCol>4587</MinTileCol>
            <MaxTileCol>10731</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>3477</MinTileRow>
            <MaxTileRow>15755</MaxTileRow>
            <MinTileCol>9175</MinTileCol>
            <MaxTileCol>21463</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>6954</MinTileRow>
            <MaxTileRow>31511</MaxTileRow>
            <MinTileCol>18350</MinTileCol>
            <MaxTileCol>42926</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>13908</MinTileRow>
            <MaxTileRow>63023</MaxTileRow>
            <MinTileCol>36700</MinTileCol>
            <MaxTileCol>85852</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>27816</MinTileRow>
            <MaxTileRow>126047</MaxTileRow>
            <MinTileCol>73400</MinTileCol>
            <MaxTileCol>171704</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>55632</MinTileRow>
            <MaxTileRow>252095</MaxTileRow>
            <MinTileCol>146800</MinTileCol>
            <MaxTileCol>343408</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>111265</MinTileRow>
            <MaxTileRow>504190</MaxTileRow>
            <MinTileCol>293601</MinTileCol>
            <MaxTileCol>686817</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>222531</MinTileRow>
            <MaxTileRow>1008380</MaxTileRow>
            <MinTileCol>587202</MinTileCol>
            <MaxTileCol>1373634</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/gif" resourceType="tile" template="https://tilecache.hoglandet.se/service/wmts/rest/topp:states/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/gif"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://tilecache.hoglandet.se/service/wmts/rest/topp:states/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="image/png" resourceType="tile" template="https://tilecache.hoglandet.se/service/wmts/rest/topp:states/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/png8" resourceType="tile" template="https://tilecache.hoglandet.se/service/wmts/rest/topp:states/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png8"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://tilecache.hoglandet.se/service/wmts/rest/topp:states/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://tilecache.hoglandet.se/service/wmts/rest/topp:states/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://tilecache.hoglandet.se/service/wmts/rest/topp:states/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
    </Layer>
    <Layer>
      <ows:Title>raster test layer</ows:Title>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>-180.0 -90.0</ows:LowerCorner>
        <ows:UpperCorner>180.0 90.0</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>raster test layer</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier/>
      </Style>
      <Format>image/gif</Format>
      <Format>image/jpeg</Format>
      <Format>image/png</Format>
      <Format>image/png8</Format>
      <TileMatrixSetLink>
        <TileMatrixSet>EPSG:4326</TileMatrixSet>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>CanadaAtlasNonotree</TileMatrixSet>
      </TileMatrixSetLink>
      <ResourceURL format="image/gif" resourceType="tile" template="https://tilecache.hoglandet.se/service/wmts/rest/raster test layer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/gif"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://tilecache.hoglandet.se/service/wmts/rest/raster test layer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="image/png" resourceType="tile" template="https://tilecache.hoglandet.se/service/wmts/rest/raster test layer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/png8" resourceType="tile" template="https://tilecache.hoglandet.se/service/wmts/rest/raster test layer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png8"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://tilecache.hoglandet.se/service/wmts/rest/raster test layer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://tilecache.hoglandet.se/service/wmts/rest/raster test layer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://tilecache.hoglandet.se/service/wmts/rest/raster test layer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
    </Layer>
    <Layer>
      <ows:Title>Nicer title for Image States</ows:Title>
      <ows:Abstract>This is a description. Fascinating.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>-129.6 3.45</ows:LowerCorner>
        <ows:UpperCorner>-62.1 70.9</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>img states</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier/>
      </Style>
      <Format>image/gif</Format>
      <Format>image/jpeg</Format>
      <Format>image/png</Format>
      <Format>image/png8</Format>
      <TileMatrixSetLink>
        <TileMatrixSet>EPSG:4326</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>5</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>10</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>20</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>30</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>41</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>61</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>83</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>27</MinTileRow>
            <MaxTileRow>123</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>167</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>54</MinTileRow>
            <MaxTileRow>246</MaxTileRow>
            <MinTileCol>143</MinTileCol>
            <MaxTileCol>335</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>108</MinTileRow>
            <MaxTileRow>492</MaxTileRow>
            <MinTileCol>286</MinTileCol>
            <MaxTileCol>670</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>217</MinTileRow>
            <MaxTileRow>984</MaxTileRow>
            <MinTileCol>573</MinTileCol>
            <MaxTileCol>1341</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>434</MinTileRow>
            <MaxTileRow>1969</MaxTileRow>
            <MinTileCol>1146</MinTileCol>
            <MaxTileCol>2682</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>869</MinTileRow>
            <MaxTileRow>3938</MaxTileRow>
            <MinTileCol>2293</MinTileCol>
            <MaxTileCol>5365</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>1738</MinTileRow>
            <MaxTileRow>7877</MaxTileRow>
            <MinTileCol>4587</MinTileCol>
            <MaxTileCol>10731</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>3477</MinTileRow>
            <MaxTileRow>15755</MaxTileRow>
            <MinTileCol>9175</MinTileCol>
            <MaxTileCol>21463</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>6954</MinTileRow>
            <MaxTileRow>31511</MaxTileRow>
            <MinTileCol>18350</MinTileCol>
            <MaxTileCol>42926</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>13908</MinTileRow>
            <MaxTileRow>63023</MaxTileRow>
            <MinTileCol>36700</MinTileCol>
            <MaxTileCol>85852</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>27816</MinTileRow>
            <MaxTileRow>126047</MaxTileRow>
            <MinTileCol>73400</MinTileCol>
            <MaxTileCol>171704</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>55632</MinTileRow>
            <MaxTileRow>252095</MaxTileRow>
            <MinTileCol>146800</MinTileCol>
            <MaxTileCol>343408</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>111265</MinTileRow>
            <MaxTileRow>504190</MaxTileRow>
            <MinTileCol>293601</MinTileCol>
            <MaxTileCol>686817</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>222531</MinTileRow>
            <MaxTileRow>1008380</MaxTileRow>
            <MinTileCol>587202</MinTileCol>
            <MaxTileCol>1373634</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/gif" resourceType="tile" template="https://tilecache.hoglandet.se/service/wmts/rest/img states/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/gif"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://tilecache.hoglandet.se/service/wmts/rest/img states/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="image/png" resourceType="tile" template="https://tilecache.hoglandet.se/service/wmts/rest/img states/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/png8" resourceType="tile" template="https://tilecache.hoglandet.se/service/wmts/rest/img states/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png8"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://tilecache.hoglandet.se/service/wmts/rest/img states/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://tilecache.hoglandet.se/service/wmts/rest/img states/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://tilecache.hoglandet.se/service/wmts/rest/img states/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
    </Layer>
    <TileMatrixSet>
      <ows:Identifier>CanadaAtlasNonotree</ows:Identifier>
      <ows:SupportedCRS>urn:ogc:def:crs:EPSG::3979</ows:SupportedCRS>
      <TileMatrix>
        <ows:Abstract>The grid was not well-defined, the scale therefore assumes 1m per map unit.</ows:Abstract>
        <ows:Identifier>CanadaAtlasNonotree:0</ows:Identifier>
        <ScaleDenominator>7.837526506714286E7</ScaleDenominator>
        <TopLeftCorner>-2441613.0 4756488.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1</MatrixWidth>
        <MatrixHeight>1</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Abstract>The grid was not well-defined, the scale therefore assumes 1m per map unit.</ows:Abstract>
        <ows:Identifier>CanadaAtlasNonotree:1</ows:Identifier>
        <ScaleDenominator>2.612508835564286E7</ScaleDenominator>
        <TopLeftCorner>-2441613.0 4756488.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>3</MatrixWidth>
        <MatrixHeight>3</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Abstract>The grid was not well-defined, the scale therefore assumes 1m per map unit.</ows:Abstract>
        <ows:Identifier>CanadaAtlasNonotree:2</ows:Identifier>
        <ScaleDenominator>8708362.785214286</ScaleDenominator>
        <TopLeftCorner>-2441613.0 4132273.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>9</MatrixWidth>
        <MatrixHeight>8</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Abstract>The grid was not well-defined, the scale therefore assumes 1m per map unit.</ows:Abstract>
        <ows:Identifier>CanadaAtlasNonotree:3</ows:Identifier>
        <ScaleDenominator>2902787.595071429</ScaleDenominator>
        <TopLeftCorner>-2441613.0 4132273.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>27</MatrixWidth>
        <MatrixHeight>24</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Abstract>The grid was not well-defined, the scale therefore assumes 1m per map unit.</ows:Abstract>
        <ows:Identifier>CanadaAtlasNonotree:4</ows:Identifier>
        <ScaleDenominator>967595.8650250001</ScaleDenominator>
        <TopLeftCorner>-2441613.0 3993558.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>81</MatrixWidth>
        <MatrixHeight>70</MatrixHeight>
      </TileMatrix>
    </TileMatrixSet>
    <TileMatrixSet>
      <ows:Identifier>EPSG:2163</ows:Identifier>
      <ows:SupportedCRS>urn:ogc:def:crs:EPSG::2163</ows:SupportedCRS>
      <TileMatrix>
        <ows:Identifier>EPSG:2163:0</ows:Identifier>
        <ScaleDenominator>2.5E7</ScaleDenominator>
        <TopLeftCorner>-2495667.977678598 1976323.0</TopLeftCorner>
        <TileWidth>200</TileWidth>
        <TileHeight>200</TileHeight>
        <MatrixWidth>5</MatrixWidth>
        <MatrixHeight>3</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:2163:1</ows:Identifier>
        <ScaleDenominator>1000000.0</ScaleDenominator>
        <TopLeftCorner>-2495667.977678598 968323.0</TopLeftCorner>
        <TileWidth>200</TileWidth>
        <TileHeight>200</TileHeight>
        <MatrixWidth>104</MatrixWidth>
        <MatrixHeight>57</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:2163:2</ows:Identifier>
        <ScaleDenominator>100000.0</ScaleDenominator>
        <TopLeftCorner>-2495667.977678598 962723.0</TopLeftCorner>
        <TileWidth>200</TileWidth>
        <TileHeight>200</TileHeight>
        <MatrixWidth>1034</MatrixWidth>
        <MatrixHeight>569</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:2163:3</ows:Identifier>
        <ScaleDenominator>25000.0</ScaleDenominator>
        <TopLeftCorner>-2495667.977678598 959923.0</TopLeftCorner>
        <TileWidth>200</TileWidth>
        <TileHeight>200</TileHeight>
        <MatrixWidth>4134</MatrixWidth>
        <MatrixHeight>2274</MatrixHeight>
      </TileMatrix>
    </TileMatrixSet>
    <TileMatrixSet>
      <ows:Identifier>EPSG:4326</ows:Identifier>
      <ows:SupportedCRS>urn:ogc:def:crs:EPSG::4326</ows:SupportedCRS>
      <TileMatrix>
        <ows:Identifier>EPSG:4326:0</ows:Identifier>
        <ScaleDenominator>2.795411320143589E8</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2</MatrixWidth>
        <MatrixHeight>1</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326:1</ows:Identifier>
        <ScaleDenominator>1.3977056600717944E8</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>4</MatrixWidth>
        <MatrixHeight>2</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326:2</ows:Identifier>
        <ScaleDenominator>6.988528300358972E7</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>8</MatrixWidth>
        <MatrixHeight>4</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326:3</ows:Identifier>
        <ScaleDenominator>3.494264150179486E7</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>16</MatrixWidth>
        <MatrixHeight>8</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326:4</ows:Identifier>
        <ScaleDenominator>1.747132075089743E7</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>32</MatrixWidth>
        <MatrixHeight>16</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326:5</ows:Identifier>
        <ScaleDenominator>8735660.375448715</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>64</MatrixWidth>
        <MatrixHeight>32</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326:6</ows:Identifier>
        <ScaleDenominator>4367830.1877243575</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>128</MatrixWidth>
        <MatrixHeight>64</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326:7</ows:Identifier>
        <ScaleDenominator>2183915.0938621787</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>256</MatrixWidth>
        <MatrixHeight>128</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326:8</ows:Identifier>
        <ScaleDenominator>1091957.5469310894</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>512</MatrixWidth>
        <MatrixHeight>256</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326:9</ows:Identifier>
        <ScaleDenominator>545978.7734655447</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1024</MatrixWidth>
        <MatrixHeight>512</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326:10</ows:Identifier>
        <ScaleDenominator>272989.38673277234</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2048</MatrixWidth>
        <MatrixHeight>1024</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326:11</ows:Identifier>
        <ScaleDenominator>136494.69336638617</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>4096</MatrixWidth>
        <MatrixHeight>2048</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326:12</ows:Identifier>
        <ScaleDenominator>68247.34668319309</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>8192</MatrixWidth>
        <MatrixHeight>4096</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326:13</ows:Identifier>
        <ScaleDenominator>34123.67334159654</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>16384</MatrixWidth>
        <MatrixHeight>8192</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326:14</ows:Identifier>
        <ScaleDenominator>17061.83667079827</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>32768</MatrixWidth>
        <MatrixHeight>16384</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326:15</ows:Identifier>
        <ScaleDenominator>8530.918335399136</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>65536</MatrixWidth>
        <MatrixHeight>32768</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326:16</ows:Identifier>
        <ScaleDenominator>4265.459167699568</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>131072</MatrixWidth>
        <MatrixHeight>65536</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326:17</ows:Identifier>
        <ScaleDenominator>2132.729583849784</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>262144</MatrixWidth>
        <MatrixHeight>131072</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326:18</ows:Identifier>
        <ScaleDenominator>1066.364791924892</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>524288</MatrixWidth>
        <MatrixHeight>262144</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326:19</ows:Identifier>
        <ScaleDenominator>533.182395962446</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1048576</MatrixWidth>
        <MatrixHeight>524288</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326:20</ows:Identifier>
        <ScaleDenominator>266.591197981223</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2097152</MatrixWidth>
        <MatrixHeight>1048576</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326:21</ows:Identifier>
        <ScaleDenominator>133.2955989906115</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>4194304</MatrixWidth>
        <MatrixHeight>2097152</MatrixHeight>
      </TileMatrix>
    </TileMatrixSet>
  </Contents>
  <ServiceMetadataURL xlink:href="https://tilecache.hoglandet.se/service/wmts?SERVICE=wmts&amp;REQUEST=getcapabilities&amp;VERSION=1.0.0"/>
  <ServiceMetadataURL xlink:href="https://tilecache.hoglandet.se/service/wmts/rest/WMTSCapabilities.xml"/>
</Capabilities>