<?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" xmlns:inspire_vs="http://inspire.ec.europa.eu/schemas/inspire_vs_ows11/1.0" xmlns:inspire_common="http://inspire.ec.europa.eu/schemas/common/1.0" xsi:schemaLocation="http://www.opengis.net/wmts/1.0 http://schemas.opengis.net/wmts/1.0/wmtsGetCapabilities_response.xsd http://inspire.ec.europa.eu/schemas/inspire_vs_ows11/1.0 http://inspire.ec.europa.eu/schemas/inspire_vs_ows11/1.0/inspire_vs_ows_11.xsd" version="1.0.0">
  <ows:ServiceIdentification>
    <ows:Title>SGI WMTS</ows:Title>
    <ows:Abstract>Statens geotekniska institut - WMTS</ows:Abstract>
    <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>https://www.sgi.se</ows:ProviderName>
    <ows:ProviderSite xlink:href="https://www.sgi.se"/>
    <ows:ServiceContact>
      <ows:IndividualName>Mats Öberg</ows:IndividualName>
      <ows:PositionName>GIS-architect</ows:PositionName>
      <ows:ContactInfo>
        <ows:Phone>
          <ows:Voice>+46 31 7496584</ows:Voice>
        </ows:Phone>
        <ows:Address>
          <ows:DeliveryPoint>Hugo Grauers gata 5 B</ows:DeliveryPoint>
          <ows:City>Göteborg</ows:City>
          <ows:PostalCode>412 96</ows:PostalCode>
          <ows:Country>Sverige</ows:Country>
          <ows:ElectronicMailAddress>mats.oberg@sgi.se</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://mapsext.sgi.se/geoserver/gwc/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://mapsext.sgi.se/geoserver/gwc/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://mapsext.sgi.se/geoserver/gwc/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>Undersökningspunkt - visning för BGA</ows:Title>
      <ows:Abstract>Undersökningspunkter i Branschens geotekniska arkiv.</ows:Abstract>
      <ows:Identifier>bga:surveypoint</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier/>
        <LegendURL format="image/png" xlink:href="https://mapsext.sgi.se/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=257&amp;height=60&amp;layer=bga%3Asurveypoint" width="257" height="60" maxScaleDenominator="45000.0"/>
      </Style>
      <Format>image/png</Format>
      <InfoFormat>text/plain</InfoFormat>
      <InfoFormat>application/vnd.ogc.gml</InfoFormat>
      <InfoFormat>text/xml</InfoFormat>
      <InfoFormat>application/vnd.ogc.gml/3.1.1</InfoFormat>
      <InfoFormat>text/xml</InfoFormat>
      <InfoFormat>text/html</InfoFormat>
      <InfoFormat>application/json</InfoFormat>
      <TileMatrixSetLink>
        <TileMatrixSet>EPSG:3006</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:3006:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:3006:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:3006:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:3006:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>21</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>8</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:3006:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>42</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>16</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:3006:5</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>85</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>33</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:3006:6</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>214</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>83</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:3006:7</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>429</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>167</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:3006:8</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>858</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>335</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:3006:9</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2145</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>837</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:3006:10</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4291</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1675</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:3006:11</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>8582</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3350</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:3006:12</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>21457</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>8375</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:3006:13</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>42914</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>16750</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://mapsext.sgi.se/geoserver/gwc/service/wmts/rest/bga:surveypoint/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://mapsext.sgi.se/geoserver/gwc/service/wmts/rest/bga:surveypoint/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://mapsext.sgi.se/geoserver/gwc/service/wmts/rest/bga:surveypoint/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://mapsext.sgi.se/geoserver/gwc/service/wmts/rest/bga:surveypoint/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://mapsext.sgi.se/geoserver/gwc/service/wmts/rest/bga:surveypoint/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://mapsext.sgi.se/geoserver/gwc/service/wmts/rest/bga:surveypoint/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://mapsext.sgi.se/geoserver/gwc/service/wmts/rest/bga:surveypoint/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://mapsext.sgi.se/geoserver/gwc/service/wmts/rest/bga:surveypoint/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <TileMatrixSet>
      <ows:Identifier>EPSG:3006</ows:Identifier>
      <ows:SupportedCRS>urn:ogc:def:crs:EPSG::3006</ows:SupportedCRS>
      <TileMatrix>
        <ows:Identifier>EPSG:3006:0</ows:Identifier>
        <ScaleDenominator>8000000.0</ScaleDenominator>
        <TopLeftCorner>7853320.0 264080.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2</MatrixWidth>
        <MatrixHeight>3</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:3006:1</ows:Identifier>
        <ScaleDenominator>4000000.0</ScaleDenominator>
        <TopLeftCorner>7853320.0 264080.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>3</MatrixWidth>
        <MatrixHeight>6</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:3006:2</ows:Identifier>
        <ScaleDenominator>2000000.0</ScaleDenominator>
        <TopLeftCorner>7709960.0 264080.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>5</MatrixWidth>
        <MatrixHeight>11</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:3006:3</ows:Identifier>
        <ScaleDenominator>1000000.0</ScaleDenominator>
        <TopLeftCorner>7709960.0 264080.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>10</MatrixWidth>
        <MatrixHeight>22</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:3006:4</ows:Identifier>
        <ScaleDenominator>500000.0</ScaleDenominator>
        <TopLeftCorner>7674120.0 264080.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>19</MatrixWidth>
        <MatrixHeight>43</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:3006:5</ows:Identifier>
        <ScaleDenominator>250000.0</ScaleDenominator>
        <TopLeftCorner>7674120.0 264080.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>37</MatrixWidth>
        <MatrixHeight>86</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:3006:6</ows:Identifier>
        <ScaleDenominator>100000.0</ScaleDenominator>
        <TopLeftCorner>7674120.0 264080.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>92</MatrixWidth>
        <MatrixHeight>215</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:3006:7</ows:Identifier>
        <ScaleDenominator>50000.0</ScaleDenominator>
        <TopLeftCorner>7674120.0 264080.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>184</MatrixWidth>
        <MatrixHeight>430</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:3006:8</ows:Identifier>
        <ScaleDenominator>25000.0</ScaleDenominator>
        <TopLeftCorner>7672328.0 264080.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>368</MatrixWidth>
        <MatrixHeight>859</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:3006:9</ows:Identifier>
        <ScaleDenominator>10000.0</ScaleDenominator>
        <TopLeftCorner>7671253.0 264080.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>918</MatrixWidth>
        <MatrixHeight>2146</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:3006:10</ows:Identifier>
        <ScaleDenominator>5000.0</ScaleDenominator>
        <TopLeftCorner>7671253.0 264080.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1836</MatrixWidth>
        <MatrixHeight>4292</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:3006:11</ows:Identifier>
        <ScaleDenominator>2500.0</ScaleDenominator>
        <TopLeftCorner>7671074.0 264080.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>3672</MatrixWidth>
        <MatrixHeight>8583</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:3006:12</ows:Identifier>
        <ScaleDenominator>1000.0</ScaleDenominator>
        <TopLeftCorner>7671109.0 264080.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>9179</MatrixWidth>
        <MatrixHeight>21458</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:3006:13</ows:Identifier>
        <ScaleDenominator>500.0</ScaleDenominator>
        <TopLeftCorner>7671074.0 264080.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>18358</MatrixWidth>
        <MatrixHeight>42915</MatrixHeight>
      </TileMatrix>
    </TileMatrixSet>
  </Contents>
  <ServiceMetadataURL xlink:href="https://mapsext.sgi.se/geoserver/gwc/service/wmts?SERVICE=wmts&amp;REQUEST=getcapabilities&amp;VERSION=1.0.0"/>
  <ServiceMetadataURL xlink:href="https://mapsext.sgi.se/geoserver/gwc/service/wmts/rest/WMTSCapabilities.xml"/>
</Capabilities>