<?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>GeoServer Web Map Tile Service</ows:Title>
    <ows:Abstract>A compliant implementation of WMTS service.</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>http://geoserver.org</ows:ProviderName>
    <ows:ServiceContact>
      <ows:IndividualName>Spatial Hub Administrator</ows:IndividualName>
      <ows:PositionName>Spatial Hub Administrator</ows:PositionName>
      <ows:ContactInfo>
        <ows:Address>
          <ows:DeliveryPoint>iHub Quarrywood Court</ows:DeliveryPoint>
          <ows:City>Livingston</ows:City>
          <ows:PostalCode>EH54 6AX</ows:PostalCode>
          <ows:Country>Scotland</ows:Country>
          <ows:ElectronicMailAddress>spatialhub@improvementservice.org.uk</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://geo.spatialhub.scot/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://geo.spatialhub.scot/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://geo.spatialhub.scot/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>Forestry and Woodland Strategy - Scotland (PREMIUM)</ows:Title>
      <ows:Identifier>sh_fws_premium:pub_fws</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_fws_premium%3Apub_fws&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_fws_premium%3Apub_fws&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_fws_premium%3Apub_fws&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_fws_premium%3Apub_fws&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_fws_premium%3Apub_fws&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_fws_premium%3Apub_fws" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>34</MaxTileRow>
            <MinTileCol>10</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>69</MaxTileRow>
            <MinTileCol>20</MinTileCol>
            <MaxTileCol>52</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>58</MinTileRow>
            <MaxTileRow>139</MaxTileRow>
            <MinTileCol>41</MinTileCol>
            <MaxTileCol>105</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>116</MinTileRow>
            <MaxTileRow>278</MaxTileRow>
            <MinTileCol>83</MinTileCol>
            <MaxTileCol>211</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>232</MinTileRow>
            <MaxTileRow>557</MaxTileRow>
            <MinTileCol>167</MinTileCol>
            <MaxTileCol>423</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>465</MinTileRow>
            <MaxTileRow>1114</MaxTileRow>
            <MinTileCol>334</MinTileCol>
            <MaxTileCol>846</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>930</MinTileRow>
            <MaxTileRow>2228</MaxTileRow>
            <MinTileCol>668</MinTileCol>
            <MaxTileCol>1693</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1861</MinTileRow>
            <MaxTileRow>4457</MaxTileRow>
            <MinTileCol>1336</MinTileCol>
            <MaxTileCol>3387</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3723</MinTileRow>
            <MaxTileRow>8914</MaxTileRow>
            <MinTileCol>2672</MinTileCol>
            <MaxTileCol>6774</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>7447</MinTileRow>
            <MaxTileRow>17829</MaxTileRow>
            <MinTileCol>5344</MinTileCol>
            <MaxTileCol>13548</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>152</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>304</MinTileRow>
            <MaxTileRow>324</MaxTileRow>
            <MinTileCol>491</MinTileCol>
            <MaxTileCol>507</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>609</MinTileRow>
            <MaxTileRow>648</MaxTileRow>
            <MinTileCol>982</MinTileCol>
            <MaxTileCol>1014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1218</MinTileRow>
            <MaxTileRow>1296</MaxTileRow>
            <MinTileCol>1964</MinTileCol>
            <MaxTileCol>2028</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2436</MinTileRow>
            <MaxTileRow>2593</MaxTileRow>
            <MinTileCol>3929</MinTileCol>
            <MaxTileCol>4056</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4873</MinTileRow>
            <MaxTileRow>5186</MaxTileRow>
            <MinTileCol>7859</MinTileCol>
            <MaxTileCol>8112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9747</MinTileRow>
            <MaxTileRow>10373</MaxTileRow>
            <MinTileCol>15718</MinTileCol>
            <MaxTileCol>16224</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19495</MinTileRow>
            <MaxTileRow>20747</MaxTileRow>
            <MinTileCol>31437</MinTileCol>
            <MaxTileCol>32448</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38990</MinTileRow>
            <MaxTileRow>41495</MaxTileRow>
            <MinTileCol>62874</MinTileCol>
            <MaxTileCol>64896</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77980</MinTileRow>
            <MaxTileRow>82991</MaxTileRow>
            <MinTileCol>125749</MinTileCol>
            <MaxTileCol>129793</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>155961</MinTileRow>
            <MaxTileRow>165982</MaxTileRow>
            <MinTileCol>251499</MinTileCol>
            <MaxTileCol>259586</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>311922</MinTileRow>
            <MaxTileRow>331965</MaxTileRow>
            <MinTileCol>502999</MinTileCol>
            <MaxTileCol>519172</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_fws_premium:pub_fws/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_fws_premium:pub_fws/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_fws_premium:pub_fws/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_fws_premium:pub_fws/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_fws_premium:pub_fws/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_fws_premium:pub_fws/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_fws_premium:pub_fws/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_fws_premium:pub_fws/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Piers and commercial ports - Orkney Islands - Scotland</ows:Title>
      <ows:Identifier>ext_oipcp:pub_oipcp</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oipcp%3Apub_oipcp&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oipcp%3Apub_oipcp&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oipcp%3Apub_oipcp&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oipcp%3Apub_oipcp&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oipcp%3Apub_oipcp&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_oipcp%3Apub_oipcp" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>14</MaxTileRow>
            <MinTileCol>22</MinTileCol>
            <MaxTileCol>24</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>21</MinTileRow>
            <MaxTileRow>28</MaxTileRow>
            <MinTileCol>44</MinTileCol>
            <MaxTileCol>49</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>43</MinTileRow>
            <MaxTileRow>57</MaxTileRow>
            <MinTileCol>88</MinTileCol>
            <MaxTileCol>98</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>87</MinTileRow>
            <MaxTileRow>114</MaxTileRow>
            <MinTileCol>176</MinTileCol>
            <MaxTileCol>196</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>174</MinTileRow>
            <MaxTileRow>229</MaxTileRow>
            <MinTileCol>352</MinTileCol>
            <MaxTileCol>392</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>349</MinTileRow>
            <MaxTileRow>458</MaxTileRow>
            <MinTileCol>704</MinTileCol>
            <MaxTileCol>784</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>699</MinTileRow>
            <MaxTileRow>916</MaxTileRow>
            <MinTileCol>1408</MinTileCol>
            <MaxTileCol>1568</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1398</MinTileRow>
            <MaxTileRow>1832</MaxTileRow>
            <MinTileCol>2816</MinTileCol>
            <MaxTileCol>3137</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>2796</MinTileRow>
            <MaxTileRow>3665</MaxTileRow>
            <MinTileCol>5633</MinTileCol>
            <MaxTileCol>6275</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>5593</MinTileRow>
            <MaxTileRow>7331</MaxTileRow>
            <MinTileCol>11267</MinTileCol>
            <MaxTileCol>12551</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>19</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>38</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>76</MaxTileRow>
            <MinTileCol>125</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>150</MinTileRow>
            <MaxTileRow>152</MaxTileRow>
            <MinTileCol>251</MinTileCol>
            <MaxTileCol>252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>300</MinTileRow>
            <MaxTileRow>304</MaxTileRow>
            <MinTileCol>502</MinTileCol>
            <MaxTileCol>505</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>601</MinTileRow>
            <MaxTileRow>608</MaxTileRow>
            <MinTileCol>1005</MinTileCol>
            <MaxTileCol>1010</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1203</MinTileRow>
            <MaxTileRow>1217</MaxTileRow>
            <MinTileCol>2010</MinTileCol>
            <MaxTileCol>2020</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2407</MinTileRow>
            <MaxTileRow>2435</MaxTileRow>
            <MinTileCol>4020</MinTileCol>
            <MaxTileCol>4040</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4815</MinTileRow>
            <MaxTileRow>4870</MaxTileRow>
            <MinTileCol>8040</MinTileCol>
            <MaxTileCol>8081</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9631</MinTileRow>
            <MaxTileRow>9741</MaxTileRow>
            <MinTileCol>16080</MinTileCol>
            <MaxTileCol>16162</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19263</MinTileRow>
            <MaxTileRow>19483</MaxTileRow>
            <MinTileCol>32161</MinTileCol>
            <MaxTileCol>32324</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38527</MinTileRow>
            <MaxTileRow>38966</MaxTileRow>
            <MinTileCol>64323</MinTileCol>
            <MaxTileCol>64649</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77055</MinTileRow>
            <MaxTileRow>77932</MaxTileRow>
            <MinTileCol>128647</MinTileCol>
            <MaxTileCol>129299</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>154110</MinTileRow>
            <MaxTileRow>155864</MaxTileRow>
            <MinTileCol>257295</MinTileCol>
            <MaxTileCol>258599</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>308221</MinTileRow>
            <MaxTileRow>311729</MaxTileRow>
            <MinTileCol>514591</MinTileCol>
            <MaxTileCol>517199</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oipcp:pub_oipcp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oipcp:pub_oipcp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oipcp:pub_oipcp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oipcp:pub_oipcp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oipcp:pub_oipcp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oipcp:pub_oipcp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oipcp:pub_oipcp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oipcp:pub_oipcp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Employment Land Supply - Scotland</ows:Title>
      <ows:Identifier>sh_els:pub_els</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_els%3Apub_els" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>72</MaxTileRow>
            <MinTileCol>24</MinTileCol>
            <MaxTileCol>57</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>145</MaxTileRow>
            <MinTileCol>48</MinTileCol>
            <MaxTileCol>114</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>290</MaxTileRow>
            <MinTileCol>96</MinTileCol>
            <MaxTileCol>228</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>59</MinTileRow>
            <MaxTileRow>581</MaxTileRow>
            <MinTileCol>193</MinTileCol>
            <MaxTileCol>456</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>119</MinTileRow>
            <MaxTileRow>1162</MaxTileRow>
            <MinTileCol>386</MinTileCol>
            <MaxTileCol>912</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>238</MinTileRow>
            <MaxTileRow>2325</MaxTileRow>
            <MinTileCol>772</MinTileCol>
            <MaxTileCol>1825</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>477</MinTileRow>
            <MaxTileRow>4650</MaxTileRow>
            <MinTileCol>1545</MinTileCol>
            <MaxTileCol>3650</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>955</MinTileRow>
            <MaxTileRow>9301</MaxTileRow>
            <MinTileCol>3091</MinTileCol>
            <MaxTileCol>7301</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1911</MinTileRow>
            <MaxTileRow>18603</MaxTileRow>
            <MinTileCol>6183</MinTileCol>
            <MaxTileCol>14603</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>293</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>587</MinTileRow>
            <MaxTileRow>650</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1018</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1174</MinTileRow>
            <MaxTileRow>1301</MaxTileRow>
            <MinTileCol>1968</MinTileCol>
            <MaxTileCol>2036</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2348</MinTileRow>
            <MaxTileRow>2603</MaxTileRow>
            <MinTileCol>3936</MinTileCol>
            <MaxTileCol>4073</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4697</MinTileRow>
            <MaxTileRow>5206</MaxTileRow>
            <MinTileCol>7872</MinTileCol>
            <MaxTileCol>8147</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9395</MinTileRow>
            <MaxTileRow>10413</MaxTileRow>
            <MinTileCol>15744</MinTileCol>
            <MaxTileCol>16294</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18790</MinTileRow>
            <MaxTileRow>20827</MaxTileRow>
            <MinTileCol>31488</MinTileCol>
            <MaxTileCol>32588</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37580</MinTileRow>
            <MaxTileRow>41655</MaxTileRow>
            <MinTileCol>62977</MinTileCol>
            <MaxTileCol>65177</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>75161</MinTileRow>
            <MaxTileRow>83311</MaxTileRow>
            <MinTileCol>125955</MinTileCol>
            <MaxTileCol>130355</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>150322</MinTileRow>
            <MaxTileRow>166622</MaxTileRow>
            <MinTileCol>251910</MinTileCol>
            <MaxTileCol>260711</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>300644</MinTileRow>
            <MaxTileRow>333244</MaxTileRow>
            <MinTileCol>503821</MinTileCol>
            <MaxTileCol>521423</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_els:pub_els/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_els:pub_els/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_els:pub_els/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_els:pub_els/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_els:pub_els/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_els:pub_els/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_els:pub_els/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_els:pub_els/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Gritting Routes: Roads - Scotland</ows:Title>
      <ows:Identifier>sh_grtrt:pub_grtrt</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_grtrt%3Apub_grtrt&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_grtrt%3Apub_grtrt&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_grtrt%3Apub_grtrt&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_grtrt%3Apub_grtrt&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_grtrt%3Apub_grtrt&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_grtrt%3Apub_grtrt" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>13</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>40</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>27</MinTileCol>
            <MaxTileCol>52</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>80</MinTileRow>
            <MaxTileRow>147</MaxTileRow>
            <MinTileCol>54</MinTileCol>
            <MaxTileCol>105</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>160</MinTileRow>
            <MaxTileRow>295</MaxTileRow>
            <MinTileCol>109</MinTileCol>
            <MaxTileCol>211</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>320</MinTileRow>
            <MaxTileRow>590</MaxTileRow>
            <MinTileCol>218</MinTileCol>
            <MaxTileCol>423</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>640</MinTileRow>
            <MaxTileRow>1181</MaxTileRow>
            <MinTileCol>436</MinTileCol>
            <MaxTileCol>847</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1280</MinTileRow>
            <MaxTileRow>2362</MaxTileRow>
            <MinTileCol>872</MinTileCol>
            <MaxTileCol>1695</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2560</MinTileRow>
            <MaxTileRow>4724</MaxTileRow>
            <MinTileCol>1745</MinTileCol>
            <MaxTileCol>3391</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>5121</MinTileRow>
            <MaxTileRow>9449</MaxTileRow>
            <MinTileCol>3491</MinTileCol>
            <MaxTileCol>6783</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>10243</MinTileRow>
            <MaxTileRow>18899</MaxTileRow>
            <MinTileCol>6982</MinTileCol>
            <MaxTileCol>13567</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>154</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>247</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>309</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>494</MinTileCol>
            <MaxTileCol>507</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>619</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>989</MinTileCol>
            <MaxTileCol>1014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1239</MinTileRow>
            <MaxTileRow>1303</MaxTileRow>
            <MinTileCol>1978</MinTileCol>
            <MaxTileCol>2028</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2479</MinTileRow>
            <MaxTileRow>2606</MaxTileRow>
            <MinTileCol>3957</MinTileCol>
            <MaxTileCol>4056</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4959</MinTileRow>
            <MaxTileRow>5213</MaxTileRow>
            <MinTileCol>7914</MinTileCol>
            <MaxTileCol>8112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9918</MinTileRow>
            <MaxTileRow>10427</MaxTileRow>
            <MinTileCol>15829</MinTileCol>
            <MaxTileCol>16224</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19836</MinTileRow>
            <MaxTileRow>20855</MaxTileRow>
            <MinTileCol>31659</MinTileCol>
            <MaxTileCol>32449</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39672</MinTileRow>
            <MaxTileRow>41711</MaxTileRow>
            <MinTileCol>63318</MinTileCol>
            <MaxTileCol>64898</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>79345</MinTileRow>
            <MaxTileRow>83422</MaxTileRow>
            <MinTileCol>126637</MinTileCol>
            <MaxTileCol>129797</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>158690</MinTileRow>
            <MaxTileRow>166844</MaxTileRow>
            <MinTileCol>253275</MinTileCol>
            <MaxTileCol>259594</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>317381</MinTileRow>
            <MaxTileRow>333688</MaxTileRow>
            <MinTileCol>506550</MinTileCol>
            <MaxTileCol>519189</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grtrt:pub_grtrt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grtrt:pub_grtrt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grtrt:pub_grtrt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grtrt:pub_grtrt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grtrt:pub_grtrt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grtrt:pub_grtrt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grtrt:pub_grtrt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grtrt:pub_grtrt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Community Council Boundaries - Scotland</ows:Title>
      <ows:Identifier>sh_commcnc:pub_commcnc</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_commcnc%3Apub_commcnc&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_commcnc%3Apub_commcnc&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_commcnc%3Apub_commcnc&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_commcnc%3Apub_commcnc&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_commcnc%3Apub_commcnc&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_commcnc%3Apub_commcnc" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>147</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>117</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>294</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>234</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>589</MaxTileRow>
            <MinTileCol>142</MinTileCol>
            <MaxTileCol>468</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>1179</MaxTileRow>
            <MinTileCol>285</MinTileCol>
            <MaxTileCol>936</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>164</MinTileRow>
            <MaxTileRow>2359</MaxTileRow>
            <MinTileCol>570</MinTileCol>
            <MaxTileCol>1872</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>329</MinTileRow>
            <MaxTileRow>4718</MaxTileRow>
            <MinTileCol>1141</MinTileCol>
            <MaxTileCol>3744</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>659</MinTileRow>
            <MaxTileRow>9436</MaxTileRow>
            <MinTileCol>2283</MinTileCol>
            <MaxTileCol>7488</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1318</MinTileRow>
            <MaxTileRow>18872</MaxTileRow>
            <MinTileCol>4567</MinTileCol>
            <MaxTileCol>14976</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>163</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>326</MaxTileRow>
            <MinTileCol>488</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>584</MinTileRow>
            <MaxTileRow>652</MaxTileRow>
            <MinTileCol>977</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1169</MinTileRow>
            <MaxTileRow>1304</MaxTileRow>
            <MinTileCol>1954</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2339</MinTileRow>
            <MaxTileRow>2608</MaxTileRow>
            <MinTileCol>3908</MinTileCol>
            <MaxTileCol>4079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4678</MinTileRow>
            <MaxTileRow>5217</MaxTileRow>
            <MinTileCol>7817</MinTileCol>
            <MaxTileCol>8159</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9356</MinTileRow>
            <MaxTileRow>10434</MaxTileRow>
            <MinTileCol>15635</MinTileCol>
            <MaxTileCol>16319</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18712</MinTileRow>
            <MaxTileRow>20869</MaxTileRow>
            <MinTileCol>31271</MinTileCol>
            <MaxTileCol>32639</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37424</MinTileRow>
            <MaxTileRow>41739</MaxTileRow>
            <MinTileCol>62543</MinTileCol>
            <MaxTileCol>65278</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74849</MinTileRow>
            <MaxTileRow>83479</MaxTileRow>
            <MinTileCol>125087</MinTileCol>
            <MaxTileCol>130557</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149698</MinTileRow>
            <MaxTileRow>166958</MaxTileRow>
            <MinTileCol>250174</MinTileCol>
            <MaxTileCol>261114</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299397</MinTileRow>
            <MaxTileRow>333916</MaxTileRow>
            <MinTileCol>500348</MinTileCol>
            <MaxTileCol>522228</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_commcnc:pub_commcnc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_commcnc:pub_commcnc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_commcnc:pub_commcnc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_commcnc:pub_commcnc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_commcnc:pub_commcnc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_commcnc:pub_commcnc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_commcnc:pub_commcnc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_commcnc:pub_commcnc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Safety Features - Scotland</ows:Title>
      <ows:Identifier>sh_styf:pub_styf</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_styf%3Apub_styf&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_styf%3Apub_styf&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_styf%3Apub_styf&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_styf%3Apub_styf&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_styf%3Apub_styf&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_styf%3Apub_styf" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>16</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>32</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>45</MinTileRow>
            <MaxTileRow>65</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>51</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>91</MinTileRow>
            <MaxTileRow>130</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>102</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>183</MinTileRow>
            <MaxTileRow>260</MaxTileRow>
            <MinTileCol>121</MinTileCol>
            <MaxTileCol>205</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>366</MinTileRow>
            <MaxTileRow>520</MaxTileRow>
            <MinTileCol>242</MinTileCol>
            <MaxTileCol>410</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>733</MinTileRow>
            <MaxTileRow>1041</MaxTileRow>
            <MinTileCol>484</MinTileCol>
            <MaxTileCol>820</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1467</MinTileRow>
            <MaxTileRow>2082</MaxTileRow>
            <MinTileCol>968</MinTileCol>
            <MaxTileCol>1641</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2935</MinTileRow>
            <MaxTileRow>4164</MaxTileRow>
            <MinTileCol>1936</MinTileCol>
            <MaxTileCol>3282</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>5870</MinTileRow>
            <MaxTileRow>8328</MaxTileRow>
            <MinTileCol>3873</MinTileCol>
            <MaxTileCol>6565</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>11740</MinTileRow>
            <MaxTileRow>16656</MaxTileRow>
            <MinTileCol>7747</MinTileCol>
            <MaxTileCol>13130</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>78</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>156</MinTileRow>
            <MaxTileRow>160</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>312</MinTileRow>
            <MaxTileRow>321</MaxTileRow>
            <MinTileCol>496</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>625</MinTileRow>
            <MaxTileRow>643</MaxTileRow>
            <MinTileCol>992</MinTileCol>
            <MaxTileCol>1012</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1250</MinTileRow>
            <MaxTileRow>1287</MaxTileRow>
            <MinTileCol>1985</MinTileCol>
            <MaxTileCol>2024</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2501</MinTileRow>
            <MaxTileRow>2575</MaxTileRow>
            <MinTileCol>3970</MinTileCol>
            <MaxTileCol>4049</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>5003</MinTileRow>
            <MaxTileRow>5150</MaxTileRow>
            <MinTileCol>7940</MinTileCol>
            <MaxTileCol>8099</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>10007</MinTileRow>
            <MaxTileRow>10300</MaxTileRow>
            <MinTileCol>15880</MinTileCol>
            <MaxTileCol>16198</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>20015</MinTileRow>
            <MaxTileRow>20600</MaxTileRow>
            <MinTileCol>31760</MinTileCol>
            <MaxTileCol>32397</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>40030</MinTileRow>
            <MaxTileRow>41200</MaxTileRow>
            <MinTileCol>63520</MinTileCol>
            <MaxTileCol>64794</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>80060</MinTileRow>
            <MaxTileRow>82400</MaxTileRow>
            <MinTileCol>127041</MinTileCol>
            <MaxTileCol>129588</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>160120</MinTileRow>
            <MaxTileRow>164801</MaxTileRow>
            <MinTileCol>254082</MinTileCol>
            <MaxTileCol>259177</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>320241</MinTileRow>
            <MaxTileRow>329603</MaxTileRow>
            <MinTileCol>508164</MinTileCol>
            <MaxTileCol>518354</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_styf:pub_styf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_styf:pub_styf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_styf:pub_styf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_styf:pub_styf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_styf:pub_styf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_styf:pub_styf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_styf:pub_styf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_styf:pub_styf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>National Gas Transmission Network - Scotland</ows:Title>
      <ows:Identifier>ext_ngtn:pub_ngtn</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_ngtn%3Apub_ngtn&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_ngtn%3Apub_ngtn&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_ngtn%3Apub_ngtn&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_ngtn%3Apub_ngtn&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_ngtn%3Apub_ngtn&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_ngtn%3Apub_ngtn" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>34</MaxTileRow>
            <MinTileCol>19</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>69</MaxTileRow>
            <MinTileCol>39</MinTileCol>
            <MaxTileCol>52</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>138</MaxTileRow>
            <MinTileCol>78</MinTileCol>
            <MaxTileCol>104</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>165</MinTileRow>
            <MaxTileRow>277</MaxTileRow>
            <MinTileCol>156</MinTileCol>
            <MaxTileCol>209</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>330</MinTileRow>
            <MaxTileRow>555</MaxTileRow>
            <MinTileCol>312</MinTileCol>
            <MaxTileCol>419</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>661</MinTileRow>
            <MaxTileRow>1111</MaxTileRow>
            <MinTileCol>624</MinTileCol>
            <MaxTileCol>839</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1323</MinTileRow>
            <MaxTileRow>2222</MaxTileRow>
            <MinTileCol>1248</MinTileCol>
            <MaxTileCol>1678</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2647</MinTileRow>
            <MaxTileRow>4444</MaxTileRow>
            <MinTileCol>2497</MinTileCol>
            <MaxTileCol>3357</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>5295</MinTileRow>
            <MaxTileRow>8889</MaxTileRow>
            <MinTileCol>4994</MinTileCol>
            <MaxTileCol>6715</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>10591</MinTileRow>
            <MaxTileRow>17778</MaxTileRow>
            <MinTileCol>9989</MinTileCol>
            <MaxTileCol>13430</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>125</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>155</MinTileRow>
            <MaxTileRow>161</MaxTileRow>
            <MinTileCol>250</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>310</MinTileRow>
            <MaxTileRow>323</MaxTileRow>
            <MinTileCol>500</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>621</MinTileRow>
            <MaxTileRow>647</MaxTileRow>
            <MinTileCol>1000</MinTileCol>
            <MaxTileCol>1013</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1242</MinTileRow>
            <MaxTileRow>1294</MaxTileRow>
            <MinTileCol>2001</MinTileCol>
            <MaxTileCol>2027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2484</MinTileRow>
            <MaxTileRow>2589</MaxTileRow>
            <MinTileCol>4002</MinTileCol>
            <MaxTileCol>4054</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4969</MinTileRow>
            <MaxTileRow>5179</MaxTileRow>
            <MinTileCol>8005</MinTileCol>
            <MaxTileCol>8108</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9939</MinTileRow>
            <MaxTileRow>10358</MaxTileRow>
            <MinTileCol>16010</MinTileCol>
            <MaxTileCol>16216</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19878</MinTileRow>
            <MaxTileRow>20716</MaxTileRow>
            <MinTileCol>32020</MinTileCol>
            <MaxTileCol>32432</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39756</MinTileRow>
            <MaxTileRow>41433</MaxTileRow>
            <MinTileCol>64041</MinTileCol>
            <MaxTileCol>64865</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>79512</MinTileRow>
            <MaxTileRow>82867</MaxTileRow>
            <MinTileCol>128083</MinTileCol>
            <MaxTileCol>129731</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>159025</MinTileRow>
            <MaxTileRow>165734</MaxTileRow>
            <MinTileCol>256167</MinTileCol>
            <MaxTileCol>259462</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>318050</MinTileRow>
            <MaxTileRow>331469</MaxTileRow>
            <MinTileCol>512335</MinTileCol>
            <MaxTileCol>518924</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ngtn:pub_ngtn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ngtn:pub_ngtn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ngtn:pub_ngtn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ngtn:pub_ngtn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ngtn:pub_ngtn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ngtn:pub_ngtn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ngtn:pub_ngtn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ngtn:pub_ngtn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Marinas - Orkney Islands - Scotland</ows:Title>
      <ows:Identifier>ext_oimrn:pub_oimrn</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oimrn%3Apub_oimrn&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oimrn%3Apub_oimrn&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oimrn%3Apub_oimrn&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oimrn%3Apub_oimrn&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oimrn%3Apub_oimrn&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_oimrn%3Apub_oimrn" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>5</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>11</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>22</MinTileCol>
            <MaxTileCol>23</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>26</MaxTileRow>
            <MinTileCol>44</MinTileCol>
            <MaxTileCol>46</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>52</MaxTileRow>
            <MinTileCol>88</MinTileCol>
            <MaxTileCol>92</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>104</MaxTileRow>
            <MinTileCol>176</MinTileCol>
            <MaxTileCol>184</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>177</MinTileRow>
            <MaxTileRow>209</MaxTileRow>
            <MinTileCol>352</MinTileCol>
            <MaxTileCol>368</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>354</MinTileRow>
            <MaxTileRow>418</MaxTileRow>
            <MinTileCol>705</MinTileCol>
            <MaxTileCol>736</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>709</MinTileRow>
            <MaxTileRow>836</MaxTileRow>
            <MinTileCol>1411</MinTileCol>
            <MaxTileCol>1473</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1419</MinTileRow>
            <MaxTileRow>1672</MaxTileRow>
            <MinTileCol>2823</MinTileCol>
            <MaxTileCol>2946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>2838</MinTileRow>
            <MaxTileRow>3344</MaxTileRow>
            <MinTileCol>5646</MinTileCol>
            <MaxTileCol>5893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>5676</MinTileRow>
            <MaxTileRow>6688</MaxTileRow>
            <MinTileCol>11292</MinTileCol>
            <MaxTileCol>11787</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>37</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>75</MaxTileRow>
            <MinTileCol>125</MinTileCol>
            <MaxTileCol>125</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>150</MinTileRow>
            <MaxTileRow>151</MaxTileRow>
            <MinTileCol>251</MinTileCol>
            <MaxTileCol>251</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>301</MinTileRow>
            <MaxTileRow>303</MaxTileRow>
            <MinTileCol>502</MinTileCol>
            <MaxTileCol>503</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>602</MinTileRow>
            <MaxTileRow>606</MaxTileRow>
            <MinTileCol>1005</MinTileCol>
            <MaxTileCol>1007</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1204</MinTileRow>
            <MaxTileRow>1212</MaxTileRow>
            <MinTileCol>2010</MinTileCol>
            <MaxTileCol>2014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2409</MinTileRow>
            <MaxTileRow>2425</MaxTileRow>
            <MinTileCol>4020</MinTileCol>
            <MaxTileCol>4028</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4818</MinTileRow>
            <MaxTileRow>4850</MaxTileRow>
            <MinTileCol>8041</MinTileCol>
            <MaxTileCol>8057</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9637</MinTileRow>
            <MaxTileRow>9701</MaxTileRow>
            <MinTileCol>16082</MinTileCol>
            <MaxTileCol>16114</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19275</MinTileRow>
            <MaxTileRow>19403</MaxTileRow>
            <MinTileCol>32165</MinTileCol>
            <MaxTileCol>32229</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38550</MinTileRow>
            <MaxTileRow>38806</MaxTileRow>
            <MinTileCol>64330</MinTileCol>
            <MaxTileCol>64458</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77101</MinTileRow>
            <MaxTileRow>77612</MaxTileRow>
            <MinTileCol>128661</MinTileCol>
            <MaxTileCol>128917</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>154202</MinTileRow>
            <MaxTileRow>155225</MaxTileRow>
            <MinTileCol>257323</MinTileCol>
            <MaxTileCol>257835</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>308404</MinTileRow>
            <MaxTileRow>310450</MaxTileRow>
            <MinTileCol>514646</MinTileCol>
            <MaxTileCol>515671</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oimrn:pub_oimrn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oimrn:pub_oimrn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oimrn:pub_oimrn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oimrn:pub_oimrn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oimrn:pub_oimrn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oimrn:pub_oimrn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oimrn:pub_oimrn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oimrn:pub_oimrn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Alcohol Prohibition Areas - Scotland</ows:Title>
      <ows:Identifier>sh_apa:pub_apa</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_apa%3Apub_apa&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_apa%3Apub_apa&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_apa%3Apub_apa&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_apa%3Apub_apa&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_apa%3Apub_apa&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_apa%3Apub_apa" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>16</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>32</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>25</MinTileRow>
            <MaxTileRow>64</MaxTileRow>
            <MinTileCol>24</MinTileCol>
            <MaxTileCol>52</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>51</MinTileRow>
            <MaxTileRow>129</MaxTileRow>
            <MinTileCol>49</MinTileCol>
            <MaxTileCol>105</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>102</MinTileRow>
            <MaxTileRow>259</MaxTileRow>
            <MinTileCol>98</MinTileCol>
            <MaxTileCol>211</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>205</MinTileRow>
            <MaxTileRow>519</MaxTileRow>
            <MinTileCol>197</MinTileCol>
            <MaxTileCol>423</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>411</MinTileRow>
            <MaxTileRow>1038</MaxTileRow>
            <MinTileCol>395</MinTileCol>
            <MaxTileCol>846</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>823</MinTileRow>
            <MaxTileRow>2076</MaxTileRow>
            <MinTileCol>791</MinTileCol>
            <MaxTileCol>1693</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1647</MinTileRow>
            <MaxTileRow>4152</MaxTileRow>
            <MinTileCol>1583</MinTileCol>
            <MaxTileCol>3387</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3295</MinTileRow>
            <MaxTileRow>8304</MaxTileRow>
            <MinTileCol>3166</MinTileCol>
            <MaxTileCol>6774</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>6590</MinTileRow>
            <MaxTileRow>16609</MaxTileRow>
            <MinTileCol>6333</MinTileCol>
            <MaxTileCol>13548</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>151</MinTileRow>
            <MaxTileRow>160</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>302</MinTileRow>
            <MaxTileRow>321</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>507</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>605</MinTileRow>
            <MaxTileRow>643</MaxTileRow>
            <MinTileCol>985</MinTileCol>
            <MaxTileCol>1014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1211</MinTileRow>
            <MaxTileRow>1287</MaxTileRow>
            <MinTileCol>1971</MinTileCol>
            <MaxTileCol>2028</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2423</MinTileRow>
            <MaxTileRow>2575</MaxTileRow>
            <MinTileCol>3943</MinTileCol>
            <MaxTileCol>4056</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4847</MinTileRow>
            <MaxTileRow>5150</MaxTileRow>
            <MinTileCol>7887</MinTileCol>
            <MaxTileCol>8112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9694</MinTileRow>
            <MaxTileRow>10301</MaxTileRow>
            <MinTileCol>15775</MinTileCol>
            <MaxTileCol>16224</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19388</MinTileRow>
            <MaxTileRow>20603</MaxTileRow>
            <MinTileCol>31551</MinTileCol>
            <MaxTileCol>32448</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38777</MinTileRow>
            <MaxTileRow>41207</MaxTileRow>
            <MinTileCol>63102</MinTileCol>
            <MaxTileCol>64897</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77554</MinTileRow>
            <MaxTileRow>82414</MaxTileRow>
            <MinTileCol>126205</MinTileCol>
            <MaxTileCol>129794</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>155109</MinTileRow>
            <MaxTileRow>164829</MaxTileRow>
            <MinTileCol>252411</MinTileCol>
            <MaxTileCol>259589</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>310219</MinTileRow>
            <MaxTileRow>329658</MaxTileRow>
            <MinTileCol>504823</MinTileCol>
            <MaxTileCol>519178</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_apa:pub_apa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_apa:pub_apa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_apa:pub_apa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_apa:pub_apa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_apa:pub_apa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_apa:pub_apa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_apa:pub_apa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_apa:pub_apa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Building Standards: Official (Points) - Scotland</ows:Title>
      <ows:Identifier>sh_bldstd:pub_bldstdpnt</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>point</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_bldstd%3Apub_bldstdpnt" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>31</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>63</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>126</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>252</MaxTileRow>
            <MinTileCol>23</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>505</MaxTileRow>
            <MinTileCol>47</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1011</MaxTileRow>
            <MinTileCol>94</MinTileCol>
            <MaxTileCol>1023</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2022</MaxTileRow>
            <MinTileCol>188</MinTileCol>
            <MaxTileCol>2047</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4045</MaxTileRow>
            <MinTileCol>376</MinTileCol>
            <MaxTileCol>4095</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>8090</MaxTileRow>
            <MinTileCol>752</MinTileCol>
            <MaxTileCol>8191</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>16180</MaxTileRow>
            <MinTileCol>1505</MinTileCol>
            <MaxTileCol>16383</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>32361</MaxTileRow>
            <MinTileCol>3011</MinTileCol>
            <MaxTileCol>32767</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>31</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>63</MaxTileRow>
            <MinTileCol>25</MinTileCol>
            <MaxTileCol>51</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>127</MaxTileRow>
            <MinTileCol>50</MinTileCol>
            <MaxTileCol>102</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>254</MaxTileRow>
            <MinTileCol>100</MinTileCol>
            <MaxTileCol>204</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>508</MaxTileRow>
            <MinTileCol>200</MinTileCol>
            <MaxTileCol>409</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1016</MaxTileRow>
            <MinTileCol>400</MinTileCol>
            <MaxTileCol>818</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2032</MaxTileRow>
            <MinTileCol>801</MinTileCol>
            <MaxTileCol>1636</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4064</MaxTileRow>
            <MinTileCol>1602</MinTileCol>
            <MaxTileCol>3272</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>8129</MaxTileRow>
            <MinTileCol>3205</MinTileCol>
            <MaxTileCol>6544</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>16259</MaxTileRow>
            <MinTileCol>6410</MinTileCol>
            <MaxTileCol>13089</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>32518</MaxTileRow>
            <MinTileCol>12821</MinTileCol>
            <MaxTileCol>26179</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>65036</MaxTileRow>
            <MinTileCol>25642</MinTileCol>
            <MaxTileCol>52359</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>130073</MaxTileRow>
            <MinTileCol>51285</MinTileCol>
            <MaxTileCol>104718</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>260146</MaxTileRow>
            <MinTileCol>102571</MinTileCol>
            <MaxTileCol>209437</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>520292</MaxTileRow>
            <MinTileCol>205143</MinTileCol>
            <MaxTileCol>418874</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1040584</MaxTileRow>
            <MinTileCol>410286</MinTileCol>
            <MaxTileCol>837749</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd:pub_bldstdpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd:pub_bldstdpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd:pub_bldstdpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd:pub_bldstdpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd:pub_bldstdpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd:pub_bldstdpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd:pub_bldstdpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd:pub_bldstdpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Car Parking: Parking Zones - Scotland (PREMIUM)</ows:Title>
      <ows:Identifier>sh_crpk_premium:pub_crpkpz</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_crpk_premium%3Apub_crpkpz" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>14</MaxTileRow>
            <MinTileCol>10</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>23</MinTileRow>
            <MaxTileRow>29</MaxTileRow>
            <MinTileCol>21</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>46</MinTileRow>
            <MaxTileRow>59</MaxTileRow>
            <MinTileCol>42</MinTileCol>
            <MaxTileCol>51</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>92</MinTileRow>
            <MaxTileRow>119</MaxTileRow>
            <MinTileCol>85</MinTileCol>
            <MaxTileCol>102</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>184</MinTileRow>
            <MaxTileRow>239</MaxTileRow>
            <MinTileCol>170</MinTileCol>
            <MaxTileCol>204</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>368</MinTileRow>
            <MaxTileRow>478</MaxTileRow>
            <MinTileCol>341</MinTileCol>
            <MaxTileCol>408</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>736</MinTileRow>
            <MaxTileRow>957</MaxTileRow>
            <MinTileCol>683</MinTileCol>
            <MaxTileCol>816</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1473</MinTileRow>
            <MaxTileRow>1914</MaxTileRow>
            <MinTileCol>1366</MinTileCol>
            <MaxTileCol>1632</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2946</MinTileRow>
            <MaxTileRow>3828</MaxTileRow>
            <MinTileCol>2732</MinTileCol>
            <MaxTileCol>3265</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>5892</MinTileRow>
            <MaxTileRow>7656</MaxTileRow>
            <MinTileCol>5464</MinTileCol>
            <MaxTileCol>6531</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>11784</MinTileRow>
            <MaxTileRow>15312</MaxTileRow>
            <MinTileCol>10929</MinTileCol>
            <MaxTileCol>13062</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>19</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>39</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>78</MinTileRow>
            <MaxTileRow>79</MaxTileRow>
            <MinTileCol>125</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>156</MinTileRow>
            <MaxTileRow>159</MaxTileRow>
            <MinTileCol>251</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>312</MinTileRow>
            <MaxTileRow>319</MaxTileRow>
            <MinTileCol>502</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>625</MinTileRow>
            <MaxTileRow>638</MaxTileRow>
            <MinTileCol>1004</MinTileCol>
            <MaxTileCol>1012</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1251</MinTileRow>
            <MaxTileRow>1277</MaxTileRow>
            <MinTileCol>2008</MinTileCol>
            <MaxTileCol>2024</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2502</MinTileRow>
            <MaxTileRow>2554</MaxTileRow>
            <MinTileCol>4017</MinTileCol>
            <MaxTileCol>4048</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>5005</MinTileRow>
            <MaxTileRow>5108</MaxTileRow>
            <MinTileCol>8034</MinTileCol>
            <MaxTileCol>8097</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>10010</MinTileRow>
            <MaxTileRow>10217</MaxTileRow>
            <MinTileCol>16068</MinTileCol>
            <MaxTileCol>16194</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>20020</MinTileRow>
            <MaxTileRow>20434</MaxTileRow>
            <MinTileCol>32136</MinTileCol>
            <MaxTileCol>32389</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>40040</MinTileRow>
            <MaxTileRow>40869</MaxTileRow>
            <MinTileCol>64272</MinTileCol>
            <MaxTileCol>64778</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>80081</MinTileRow>
            <MaxTileRow>81738</MaxTileRow>
            <MinTileCol>128545</MinTileCol>
            <MaxTileCol>129557</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>160163</MinTileRow>
            <MaxTileRow>163476</MaxTileRow>
            <MinTileCol>257091</MinTileCol>
            <MaxTileCol>259114</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>320326</MinTileRow>
            <MaxTileRow>326953</MaxTileRow>
            <MinTileCol>514183</MinTileCol>
            <MaxTileCol>518229</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkpz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkpz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkpz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkpz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkpz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkpz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkpz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkpz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Trunk Roads - Scotland</ows:Title>
      <ows:Identifier>sh_tnkrd:pub_tnkrd</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tnkrd%3Apub_tnkrd&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tnkrd%3Apub_tnkrd&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tnkrd%3Apub_tnkrd&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tnkrd%3Apub_tnkrd&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tnkrd%3Apub_tnkrd&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_tnkrd%3Apub_tnkrd" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>35</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>71</MaxTileRow>
            <MinTileCol>25</MinTileCol>
            <MaxTileCol>52</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>59</MinTileRow>
            <MaxTileRow>143</MaxTileRow>
            <MinTileCol>51</MinTileCol>
            <MaxTileCol>105</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>119</MinTileRow>
            <MaxTileRow>286</MaxTileRow>
            <MinTileCol>102</MinTileCol>
            <MaxTileCol>211</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>239</MinTileRow>
            <MaxTileRow>572</MaxTileRow>
            <MinTileCol>204</MinTileCol>
            <MaxTileCol>422</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>479</MinTileRow>
            <MaxTileRow>1144</MaxTileRow>
            <MinTileCol>408</MinTileCol>
            <MaxTileCol>844</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>959</MinTileRow>
            <MaxTileRow>2289</MaxTileRow>
            <MinTileCol>816</MinTileCol>
            <MaxTileCol>1689</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1918</MinTileRow>
            <MaxTileRow>4578</MaxTileRow>
            <MinTileCol>1633</MinTileCol>
            <MaxTileCol>3378</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3836</MinTileRow>
            <MaxTileRow>9156</MaxTileRow>
            <MinTileCol>3267</MinTileCol>
            <MaxTileCol>6757</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>7673</MinTileRow>
            <MaxTileRow>18312</MaxTileRow>
            <MinTileCol>6535</MinTileCol>
            <MaxTileCol>13515</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>152</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>305</MinTileRow>
            <MaxTileRow>324</MaxTileRow>
            <MinTileCol>493</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>610</MinTileRow>
            <MaxTileRow>649</MaxTileRow>
            <MinTileCol>987</MinTileCol>
            <MaxTileCol>1013</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1220</MinTileRow>
            <MaxTileRow>1299</MaxTileRow>
            <MinTileCol>1974</MinTileCol>
            <MaxTileCol>2027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2440</MinTileRow>
            <MaxTileRow>2599</MaxTileRow>
            <MinTileCol>3948</MinTileCol>
            <MaxTileCol>4055</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4880</MinTileRow>
            <MaxTileRow>5198</MaxTileRow>
            <MinTileCol>7896</MinTileCol>
            <MaxTileCol>8111</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9761</MinTileRow>
            <MaxTileRow>10396</MaxTileRow>
            <MinTileCol>15792</MinTileCol>
            <MaxTileCol>16222</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19523</MinTileRow>
            <MaxTileRow>20793</MaxTileRow>
            <MinTileCol>31585</MinTileCol>
            <MaxTileCol>32444</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39046</MinTileRow>
            <MaxTileRow>41586</MaxTileRow>
            <MinTileCol>63170</MinTileCol>
            <MaxTileCol>64888</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>78092</MinTileRow>
            <MaxTileRow>83172</MaxTileRow>
            <MinTileCol>126341</MinTileCol>
            <MaxTileCol>129776</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>156185</MinTileRow>
            <MaxTileRow>166345</MaxTileRow>
            <MinTileCol>252683</MinTileCol>
            <MaxTileCol>259552</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>312370</MinTileRow>
            <MaxTileRow>332691</MaxTileRow>
            <MinTileCol>505367</MinTileCol>
            <MaxTileCol>519105</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Tree Preservation Orders: Polygons - Scotland</ows:Title>
      <ows:Identifier>sh_tpo:pub_tpopol</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tpo%3Apub_tpopol&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tpo%3Apub_tpopol&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tpo%3Apub_tpopol&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tpo%3Apub_tpopol&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tpo%3Apub_tpopol&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_tpo%3Apub_tpopol" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>16</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>33</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>67</MaxTileRow>
            <MinTileCol>25</MinTileCol>
            <MaxTileCol>51</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>134</MaxTileRow>
            <MinTileCol>51</MinTileCol>
            <MaxTileCol>102</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>154</MinTileRow>
            <MaxTileRow>269</MaxTileRow>
            <MinTileCol>102</MinTileCol>
            <MaxTileCol>204</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>308</MinTileRow>
            <MaxTileRow>539</MaxTileRow>
            <MinTileCol>205</MinTileCol>
            <MaxTileCol>409</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>617</MinTileRow>
            <MaxTileRow>1079</MaxTileRow>
            <MinTileCol>411</MinTileCol>
            <MaxTileCol>819</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1234</MinTileRow>
            <MaxTileRow>2159</MaxTileRow>
            <MinTileCol>823</MinTileCol>
            <MaxTileCol>1638</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2469</MinTileRow>
            <MaxTileRow>4319</MaxTileRow>
            <MinTileCol>1647</MinTileCol>
            <MaxTileCol>3276</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>4938</MinTileRow>
            <MaxTileRow>8638</MaxTileRow>
            <MinTileCol>3294</MinTileCol>
            <MaxTileCol>6552</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>9876</MinTileRow>
            <MaxTileRow>17276</MaxTileRow>
            <MinTileCol>6588</MinTileCol>
            <MaxTileCol>13105</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>154</MinTileRow>
            <MaxTileRow>161</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>309</MinTileRow>
            <MaxTileRow>323</MaxTileRow>
            <MinTileCol>493</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>618</MinTileRow>
            <MaxTileRow>646</MaxTileRow>
            <MinTileCol>987</MinTileCol>
            <MaxTileCol>1012</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1237</MinTileRow>
            <MaxTileRow>1292</MaxTileRow>
            <MinTileCol>1975</MinTileCol>
            <MaxTileCol>2024</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2474</MinTileRow>
            <MaxTileRow>2584</MaxTileRow>
            <MinTileCol>3951</MinTileCol>
            <MaxTileCol>4049</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4948</MinTileRow>
            <MaxTileRow>5169</MaxTileRow>
            <MinTileCol>7902</MinTileCol>
            <MaxTileCol>8098</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9896</MinTileRow>
            <MaxTileRow>10338</MaxTileRow>
            <MinTileCol>15804</MinTileCol>
            <MaxTileCol>16197</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19792</MinTileRow>
            <MaxTileRow>20677</MaxTileRow>
            <MinTileCol>31609</MinTileCol>
            <MaxTileCol>32394</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39584</MinTileRow>
            <MaxTileRow>41354</MaxTileRow>
            <MinTileCol>63218</MinTileCol>
            <MaxTileCol>64788</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>79168</MinTileRow>
            <MaxTileRow>82708</MaxTileRow>
            <MinTileCol>126437</MinTileCol>
            <MaxTileCol>129577</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>158336</MinTileRow>
            <MaxTileRow>165416</MaxTileRow>
            <MinTileCol>252875</MinTileCol>
            <MaxTileCol>259155</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>316673</MinTileRow>
            <MaxTileRow>330833</MaxTileRow>
            <MinTileCol>505751</MinTileCol>
            <MaxTileCol>518310</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tpo:pub_tpopol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tpo:pub_tpopol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tpo:pub_tpopol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tpo:pub_tpopol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tpo:pub_tpopol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tpo:pub_tpopol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tpo:pub_tpopol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tpo:pub_tpopol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>GHiGs DHN Viable (Public Buildings only)  - Scotland</ows:Title>
      <ows:Identifier>ext_ghigs:pub_ghigs-dhn-viable-pb</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_ghigs%3Apub_ghigs-dhn-viable-pb" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>146</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>116</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>23</MinTileRow>
            <MaxTileRow>292</MaxTileRow>
            <MinTileCol>72</MinTileCol>
            <MaxTileCol>233</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>47</MinTileRow>
            <MaxTileRow>584</MaxTileRow>
            <MinTileCol>144</MinTileCol>
            <MaxTileCol>466</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>94</MinTileRow>
            <MaxTileRow>1169</MaxTileRow>
            <MinTileCol>288</MinTileCol>
            <MaxTileCol>933</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>189</MinTileRow>
            <MaxTileRow>2339</MaxTileRow>
            <MinTileCol>577</MinTileCol>
            <MaxTileCol>1866</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>378</MinTileRow>
            <MaxTileRow>4679</MaxTileRow>
            <MinTileCol>1155</MinTileCol>
            <MaxTileCol>3733</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>756</MinTileRow>
            <MaxTileRow>9358</MaxTileRow>
            <MinTileCol>2310</MinTileCol>
            <MaxTileCol>7466</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1513</MinTileRow>
            <MaxTileRow>18717</MaxTileRow>
            <MinTileCol>4621</MinTileCol>
            <MaxTileCol>14932</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>488</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>977</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1171</MinTileRow>
            <MaxTileRow>1303</MaxTileRow>
            <MinTileCol>1955</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2342</MinTileRow>
            <MaxTileRow>2606</MaxTileRow>
            <MinTileCol>3910</MinTileCol>
            <MaxTileCol>4079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4684</MinTileRow>
            <MaxTileRow>5213</MaxTileRow>
            <MinTileCol>7820</MinTileCol>
            <MaxTileCol>8158</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9368</MinTileRow>
            <MaxTileRow>10426</MaxTileRow>
            <MinTileCol>15640</MinTileCol>
            <MaxTileCol>16316</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18737</MinTileRow>
            <MaxTileRow>20852</MaxTileRow>
            <MinTileCol>31281</MinTileCol>
            <MaxTileCol>32633</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37475</MinTileRow>
            <MaxTileRow>41704</MaxTileRow>
            <MinTileCol>62562</MinTileCol>
            <MaxTileCol>65266</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74951</MinTileRow>
            <MaxTileRow>83408</MaxTileRow>
            <MinTileCol>125125</MinTileCol>
            <MaxTileCol>130532</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149903</MinTileRow>
            <MaxTileRow>166817</MaxTileRow>
            <MinTileCol>250250</MinTileCol>
            <MaxTileCol>261064</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299806</MinTileRow>
            <MaxTileRow>333635</MaxTileRow>
            <MinTileCol>500501</MinTileCol>
            <MaxTileCol>522128</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-viable-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-viable-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-viable-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-viable-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-viable-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-viable-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-viable-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-viable-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Building Standards: Official (Polygons) - Scotland</ows:Title>
      <ows:Identifier>sh_bldstd:pub_bldstdpol</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_bldstd%3Apub_bldstdpol" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>31</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>63</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>127</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>116</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>254</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>233</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>508</MaxTileRow>
            <MinTileCol>143</MinTileCol>
            <MaxTileCol>466</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>1017</MaxTileRow>
            <MinTileCol>287</MinTileCol>
            <MaxTileCol>933</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>176</MinTileRow>
            <MaxTileRow>2035</MaxTileRow>
            <MinTileCol>574</MinTileCol>
            <MaxTileCol>1866</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>352</MinTileRow>
            <MaxTileRow>4071</MaxTileRow>
            <MinTileCol>1149</MinTileCol>
            <MaxTileCol>3732</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>705</MinTileRow>
            <MaxTileRow>8142</MaxTileRow>
            <MinTileCol>2299</MinTileCol>
            <MaxTileCol>7465</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1410</MinTileRow>
            <MaxTileRow>16285</MaxTileRow>
            <MinTileCol>4599</MinTileCol>
            <MaxTileCol>14930</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>160</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>321</MaxTileRow>
            <MinTileCol>488</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>643</MaxTileRow>
            <MinTileCol>977</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1170</MinTileRow>
            <MaxTileRow>1286</MaxTileRow>
            <MinTileCol>1954</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2340</MinTileRow>
            <MaxTileRow>2572</MaxTileRow>
            <MinTileCol>3909</MinTileCol>
            <MaxTileCol>4079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4681</MinTileRow>
            <MaxTileRow>5145</MaxTileRow>
            <MinTileCol>7819</MinTileCol>
            <MaxTileCol>8158</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9362</MinTileRow>
            <MaxTileRow>10290</MaxTileRow>
            <MinTileCol>15638</MinTileCol>
            <MaxTileCol>16316</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18724</MinTileRow>
            <MaxTileRow>20580</MaxTileRow>
            <MinTileCol>31277</MinTileCol>
            <MaxTileCol>32633</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37448</MinTileRow>
            <MaxTileRow>41161</MaxTileRow>
            <MinTileCol>62554</MinTileCol>
            <MaxTileCol>65266</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74897</MinTileRow>
            <MaxTileRow>82322</MaxTileRow>
            <MinTileCol>125108</MinTileCol>
            <MaxTileCol>130532</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149795</MinTileRow>
            <MaxTileRow>164644</MaxTileRow>
            <MinTileCol>250216</MinTileCol>
            <MaxTileCol>261064</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299590</MinTileRow>
            <MaxTileRow>329289</MaxTileRow>
            <MinTileCol>500433</MinTileCol>
            <MaxTileCol>522128</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd:pub_bldstdpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd:pub_bldstdpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd:pub_bldstdpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd:pub_bldstdpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd:pub_bldstdpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd:pub_bldstdpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd:pub_bldstdpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd:pub_bldstdpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>SGN: HP Pipes - Scotland</ows:Title>
      <ows:Identifier>ext_sgn:pub_sgnhp</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnhp&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnhp&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnhp&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnhp&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnhp&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_sgn%3Apub_sgnhp" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>8</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>16</MinTileRow>
            <MaxTileRow>35</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>33</MinTileRow>
            <MaxTileRow>71</MaxTileRow>
            <MinTileCol>25</MinTileCol>
            <MaxTileCol>50</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>67</MinTileRow>
            <MaxTileRow>142</MaxTileRow>
            <MinTileCol>51</MinTileCol>
            <MaxTileCol>101</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>134</MinTileRow>
            <MaxTileRow>284</MaxTileRow>
            <MinTileCol>103</MinTileCol>
            <MaxTileCol>203</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>269</MinTileRow>
            <MaxTileRow>569</MaxTileRow>
            <MinTileCol>207</MinTileCol>
            <MaxTileCol>406</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>539</MinTileRow>
            <MaxTileRow>1138</MaxTileRow>
            <MinTileCol>414</MinTileCol>
            <MaxTileCol>812</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1079</MinTileRow>
            <MaxTileRow>2276</MaxTileRow>
            <MinTileCol>828</MinTileCol>
            <MaxTileCol>1624</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2158</MinTileRow>
            <MaxTileRow>4553</MaxTileRow>
            <MinTileCol>1657</MinTileCol>
            <MaxTileCol>3248</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>4317</MinTileRow>
            <MaxTileRow>9107</MaxTileRow>
            <MinTileCol>3315</MinTileCol>
            <MaxTileCol>6496</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>8634</MinTileRow>
            <MaxTileRow>18215</MaxTileRow>
            <MinTileCol>6631</MinTileCol>
            <MaxTileCol>12993</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>153</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>306</MinTileRow>
            <MaxTileRow>324</MaxTileRow>
            <MinTileCol>493</MinTileCol>
            <MaxTileCol>505</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>613</MinTileRow>
            <MaxTileRow>649</MaxTileRow>
            <MinTileCol>987</MinTileCol>
            <MaxTileCol>1011</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1227</MinTileRow>
            <MaxTileRow>1298</MaxTileRow>
            <MinTileCol>1975</MinTileCol>
            <MaxTileCol>2023</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2455</MinTileRow>
            <MaxTileRow>2597</MaxTileRow>
            <MinTileCol>3950</MinTileCol>
            <MaxTileCol>4047</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4910</MinTileRow>
            <MaxTileRow>5195</MaxTileRow>
            <MinTileCol>7901</MinTileCol>
            <MaxTileCol>8095</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9820</MinTileRow>
            <MaxTileRow>10390</MaxTileRow>
            <MinTileCol>15802</MinTileCol>
            <MaxTileCol>16191</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19641</MinTileRow>
            <MaxTileRow>20781</MaxTileRow>
            <MinTileCol>31604</MinTileCol>
            <MaxTileCol>32382</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39282</MinTileRow>
            <MaxTileRow>41563</MaxTileRow>
            <MinTileCol>63209</MinTileCol>
            <MaxTileCol>64764</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>78564</MinTileRow>
            <MaxTileRow>83127</MaxTileRow>
            <MinTileCol>126419</MinTileCol>
            <MaxTileCol>129528</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>157129</MinTileRow>
            <MaxTileRow>166254</MaxTileRow>
            <MinTileCol>252839</MinTileCol>
            <MaxTileCol>259056</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>314258</MinTileRow>
            <MaxTileRow>332508</MaxTileRow>
            <MinTileCol>505678</MinTileCol>
            <MaxTileCol>518112</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>GHiGs DHN Highest Viability - Scotland</ows:Title>
      <ows:Identifier>ext_ghigs:pub_ghigs-dhn-highest</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_ghigs%3Apub_ghigs-dhn-highest" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>146</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>116</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>23</MinTileRow>
            <MaxTileRow>292</MaxTileRow>
            <MinTileCol>72</MinTileCol>
            <MaxTileCol>233</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>46</MinTileRow>
            <MaxTileRow>584</MaxTileRow>
            <MinTileCol>144</MinTileCol>
            <MaxTileCol>466</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>93</MinTileRow>
            <MaxTileRow>1169</MaxTileRow>
            <MinTileCol>288</MinTileCol>
            <MaxTileCol>932</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>186</MinTileRow>
            <MaxTileRow>2339</MaxTileRow>
            <MinTileCol>577</MinTileCol>
            <MaxTileCol>1865</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>373</MinTileRow>
            <MaxTileRow>4679</MaxTileRow>
            <MinTileCol>1155</MinTileCol>
            <MaxTileCol>3730</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>747</MinTileRow>
            <MaxTileRow>9359</MaxTileRow>
            <MinTileCol>2311</MinTileCol>
            <MaxTileCol>7460</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1495</MinTileRow>
            <MaxTileRow>18718</MaxTileRow>
            <MinTileCol>4622</MinTileCol>
            <MaxTileCol>14921</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>488</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>977</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1170</MinTileRow>
            <MaxTileRow>1303</MaxTileRow>
            <MinTileCol>1955</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2341</MinTileRow>
            <MaxTileRow>2606</MaxTileRow>
            <MinTileCol>3910</MinTileCol>
            <MaxTileCol>4078</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4683</MinTileRow>
            <MaxTileRow>5213</MaxTileRow>
            <MinTileCol>7820</MinTileCol>
            <MaxTileCol>8157</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9367</MinTileRow>
            <MaxTileRow>10426</MaxTileRow>
            <MinTileCol>15640</MinTileCol>
            <MaxTileCol>16315</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18735</MinTileRow>
            <MaxTileRow>20852</MaxTileRow>
            <MinTileCol>31281</MinTileCol>
            <MaxTileCol>32631</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37471</MinTileRow>
            <MaxTileRow>41704</MaxTileRow>
            <MinTileCol>62562</MinTileCol>
            <MaxTileCol>65263</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74942</MinTileRow>
            <MaxTileRow>83409</MaxTileRow>
            <MinTileCol>125124</MinTileCol>
            <MaxTileCol>130526</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149884</MinTileRow>
            <MaxTileRow>166818</MaxTileRow>
            <MinTileCol>250249</MinTileCol>
            <MaxTileCol>261052</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299769</MinTileRow>
            <MaxTileRow>333636</MaxTileRow>
            <MinTileCol>500498</MinTileCol>
            <MaxTileCol>522105</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-highest/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-highest/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-highest/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-highest/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-highest/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-highest/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-highest/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-highest/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Renewable Energy Sites: Polygons - Scotland</ows:Title>
      <ows:Identifier>sh_res:pub_respol</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_res%3Apub_respol" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>5</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>16</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>10</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>28</MinTileRow>
            <MaxTileRow>33</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>21</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>56</MinTileRow>
            <MaxTileRow>66</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>42</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>112</MinTileRow>
            <MaxTileRow>133</MaxTileRow>
            <MinTileCol>73</MinTileCol>
            <MaxTileCol>85</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>225</MinTileRow>
            <MaxTileRow>266</MaxTileRow>
            <MinTileCol>146</MinTileCol>
            <MaxTileCol>170</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>451</MinTileRow>
            <MaxTileRow>533</MaxTileRow>
            <MinTileCol>292</MinTileCol>
            <MaxTileCol>341</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>903</MinTileRow>
            <MaxTileRow>1066</MaxTileRow>
            <MinTileCol>584</MinTileCol>
            <MaxTileCol>682</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1806</MinTileRow>
            <MaxTileRow>2133</MaxTileRow>
            <MinTileCol>1168</MinTileCol>
            <MaxTileCol>1365</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>3613</MinTileRow>
            <MaxTileRow>4267</MaxTileRow>
            <MinTileCol>2337</MinTileCol>
            <MaxTileCol>2730</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>7227</MinTileRow>
            <MaxTileRow>8535</MaxTileRow>
            <MinTileCol>4674</MinTileCol>
            <MaxTileCol>5461</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>14455</MinTileRow>
            <MaxTileRow>17071</MaxTileRow>
            <MinTileCol>9349</MinTileCol>
            <MaxTileCol>10923</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>79</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>125</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>158</MinTileRow>
            <MaxTileRow>161</MaxTileRow>
            <MinTileCol>249</MinTileCol>
            <MaxTileCol>251</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>317</MinTileRow>
            <MaxTileRow>322</MaxTileRow>
            <MinTileCol>499</MinTileCol>
            <MaxTileCol>502</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>635</MinTileRow>
            <MaxTileRow>644</MaxTileRow>
            <MinTileCol>998</MinTileCol>
            <MaxTileCol>1004</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1270</MinTileRow>
            <MaxTileRow>1289</MaxTileRow>
            <MinTileCol>1997</MinTileCol>
            <MaxTileCol>2009</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2541</MinTileRow>
            <MaxTileRow>2579</MaxTileRow>
            <MinTileCol>3995</MinTileCol>
            <MaxTileCol>4018</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>5083</MinTileRow>
            <MaxTileRow>5159</MaxTileRow>
            <MinTileCol>7990</MinTileCol>
            <MaxTileCol>8037</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>10167</MinTileRow>
            <MaxTileRow>10319</MaxTileRow>
            <MinTileCol>15980</MinTileCol>
            <MaxTileCol>16074</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>20335</MinTileRow>
            <MaxTileRow>20639</MaxTileRow>
            <MinTileCol>31960</MinTileCol>
            <MaxTileCol>32148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>40671</MinTileRow>
            <MaxTileRow>41279</MaxTileRow>
            <MinTileCol>63921</MinTileCol>
            <MaxTileCol>64297</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>81343</MinTileRow>
            <MaxTileRow>82558</MaxTileRow>
            <MinTileCol>127843</MinTileCol>
            <MaxTileCol>128594</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>162687</MinTileRow>
            <MaxTileRow>165116</MaxTileRow>
            <MinTileCol>255687</MinTileCol>
            <MaxTileCol>257188</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>325374</MinTileRow>
            <MaxTileRow>330233</MaxTileRow>
            <MinTileCol>511375</MinTileCol>
            <MaxTileCol>514376</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res:pub_respol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res:pub_respol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res:pub_respol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res:pub_respol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res:pub_respol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res:pub_respol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res:pub_respol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res:pub_respol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Green Belts - Scotland</ows:Title>
      <ows:Identifier>sh_grnblt:pub_grnblt</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_grnblt%3Apub_grnblt&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_grnblt%3Apub_grnblt&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_grnblt%3Apub_grnblt&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_grnblt%3Apub_grnblt&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_grnblt%3Apub_grnblt&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_grnblt%3Apub_grnblt" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>16</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>32</MaxTileRow>
            <MinTileCol>16</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>45</MinTileRow>
            <MaxTileRow>65</MaxTileRow>
            <MinTileCol>33</MinTileCol>
            <MaxTileCol>51</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>90</MinTileRow>
            <MaxTileRow>130</MaxTileRow>
            <MinTileCol>66</MinTileCol>
            <MaxTileCol>102</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>180</MinTileRow>
            <MaxTileRow>261</MaxTileRow>
            <MinTileCol>133</MinTileCol>
            <MaxTileCol>205</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>360</MinTileRow>
            <MaxTileRow>523</MaxTileRow>
            <MinTileCol>267</MinTileCol>
            <MaxTileCol>410</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>721</MinTileRow>
            <MaxTileRow>1046</MaxTileRow>
            <MinTileCol>535</MinTileCol>
            <MaxTileCol>821</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1443</MinTileRow>
            <MaxTileRow>2093</MaxTileRow>
            <MinTileCol>1071</MinTileCol>
            <MaxTileCol>1643</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2887</MinTileRow>
            <MaxTileRow>4186</MaxTileRow>
            <MinTileCol>2142</MinTileCol>
            <MaxTileCol>3286</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>5775</MinTileRow>
            <MaxTileRow>8372</MaxTileRow>
            <MinTileCol>4284</MinTileCol>
            <MaxTileCol>6572</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>11550</MinTileRow>
            <MaxTileRow>16744</MaxTileRow>
            <MinTileCol>8569</MinTileCol>
            <MaxTileCol>13145</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>78</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>156</MinTileRow>
            <MaxTileRow>160</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>312</MinTileRow>
            <MaxTileRow>321</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>624</MinTileRow>
            <MaxTileRow>643</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>1012</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1249</MinTileRow>
            <MaxTileRow>1287</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>2024</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2499</MinTileRow>
            <MaxTileRow>2575</MaxTileRow>
            <MinTileCol>3982</MinTileCol>
            <MaxTileCol>4049</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4998</MinTileRow>
            <MaxTileRow>5151</MaxTileRow>
            <MinTileCol>7964</MinTileCol>
            <MaxTileCol>8099</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9996</MinTileRow>
            <MaxTileRow>10302</MaxTileRow>
            <MinTileCol>15928</MinTileCol>
            <MaxTileCol>16199</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19992</MinTileRow>
            <MaxTileRow>20605</MaxTileRow>
            <MinTileCol>31856</MinTileCol>
            <MaxTileCol>32398</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39985</MinTileRow>
            <MaxTileRow>41211</MaxTileRow>
            <MinTileCol>63712</MinTileCol>
            <MaxTileCol>64797</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>79970</MinTileRow>
            <MaxTileRow>82423</MaxTileRow>
            <MinTileCol>127425</MinTileCol>
            <MaxTileCol>129595</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>159940</MinTileRow>
            <MaxTileRow>164847</MaxTileRow>
            <MinTileCol>254850</MinTileCol>
            <MaxTileCol>259190</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>319881</MinTileRow>
            <MaxTileRow>329695</MaxTileRow>
            <MinTileCol>509701</MinTileCol>
            <MaxTileCol>518381</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grnblt:pub_grnblt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grnblt:pub_grnblt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grnblt:pub_grnblt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grnblt:pub_grnblt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grnblt:pub_grnblt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grnblt:pub_grnblt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grnblt:pub_grnblt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grnblt:pub_grnblt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Forestry and Woodland Strategy - Scotland</ows:Title>
      <ows:Identifier>sh_fws:pub_fws</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_fws%3Apub_fws" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>34</MaxTileRow>
            <MinTileCol>10</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>69</MaxTileRow>
            <MinTileCol>20</MinTileCol>
            <MaxTileCol>52</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>58</MinTileRow>
            <MaxTileRow>139</MaxTileRow>
            <MinTileCol>41</MinTileCol>
            <MaxTileCol>105</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>116</MinTileRow>
            <MaxTileRow>278</MaxTileRow>
            <MinTileCol>83</MinTileCol>
            <MaxTileCol>211</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>232</MinTileRow>
            <MaxTileRow>557</MaxTileRow>
            <MinTileCol>167</MinTileCol>
            <MaxTileCol>423</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>465</MinTileRow>
            <MaxTileRow>1114</MaxTileRow>
            <MinTileCol>334</MinTileCol>
            <MaxTileCol>846</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>930</MinTileRow>
            <MaxTileRow>2228</MaxTileRow>
            <MinTileCol>668</MinTileCol>
            <MaxTileCol>1693</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1861</MinTileRow>
            <MaxTileRow>4457</MaxTileRow>
            <MinTileCol>1336</MinTileCol>
            <MaxTileCol>3387</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3723</MinTileRow>
            <MaxTileRow>8914</MaxTileRow>
            <MinTileCol>2672</MinTileCol>
            <MaxTileCol>6774</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>7447</MinTileRow>
            <MaxTileRow>17829</MaxTileRow>
            <MinTileCol>5344</MinTileCol>
            <MaxTileCol>13548</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>152</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>304</MinTileRow>
            <MaxTileRow>324</MaxTileRow>
            <MinTileCol>491</MinTileCol>
            <MaxTileCol>507</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>609</MinTileRow>
            <MaxTileRow>648</MaxTileRow>
            <MinTileCol>982</MinTileCol>
            <MaxTileCol>1014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1218</MinTileRow>
            <MaxTileRow>1296</MaxTileRow>
            <MinTileCol>1964</MinTileCol>
            <MaxTileCol>2028</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2436</MinTileRow>
            <MaxTileRow>2593</MaxTileRow>
            <MinTileCol>3929</MinTileCol>
            <MaxTileCol>4056</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4873</MinTileRow>
            <MaxTileRow>5186</MaxTileRow>
            <MinTileCol>7859</MinTileCol>
            <MaxTileCol>8112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9747</MinTileRow>
            <MaxTileRow>10373</MaxTileRow>
            <MinTileCol>15718</MinTileCol>
            <MaxTileCol>16224</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19495</MinTileRow>
            <MaxTileRow>20747</MaxTileRow>
            <MinTileCol>31437</MinTileCol>
            <MaxTileCol>32448</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38990</MinTileRow>
            <MaxTileRow>41495</MaxTileRow>
            <MinTileCol>62874</MinTileCol>
            <MaxTileCol>64896</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77980</MinTileRow>
            <MaxTileRow>82991</MaxTileRow>
            <MinTileCol>125749</MinTileCol>
            <MaxTileCol>129793</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>155961</MinTileRow>
            <MaxTileRow>165982</MaxTileRow>
            <MinTileCol>251499</MinTileCol>
            <MaxTileCol>259586</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>311922</MinTileRow>
            <MaxTileRow>331965</MaxTileRow>
            <MinTileCol>502999</MinTileCol>
            <MaxTileCol>519172</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_fws:pub_fws/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_fws:pub_fws/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_fws:pub_fws/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_fws:pub_fws/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_fws:pub_fws/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_fws:pub_fws/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_fws:pub_fws/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_fws:pub_fws/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Historic Environment Records: Sites - Scotland</ows:Title>
      <ows:Identifier>sh_her:pub_herst</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_her%3Apub_herst&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_her%3Apub_herst&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_her%3Apub_herst&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_her%3Apub_herst&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_her%3Apub_herst&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_her%3Apub_herst" width="20" height="20"/>
      </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:27700</TileMatrixSet>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>31</MaxTileRow>
            <MinTileCol>10</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>63</MaxTileRow>
            <MinTileCol>20</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>127</MaxTileRow>
            <MinTileCol>40</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>255</MaxTileRow>
            <MinTileCol>80</MinTileCol>
            <MaxTileCol>117</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>511</MaxTileRow>
            <MinTileCol>160</MinTileCol>
            <MaxTileCol>234</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1023</MaxTileRow>
            <MinTileCol>321</MinTileCol>
            <MaxTileCol>468</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2047</MaxTileRow>
            <MinTileCol>643</MinTileCol>
            <MaxTileCol>936</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4095</MaxTileRow>
            <MinTileCol>1286</MinTileCol>
            <MaxTileCol>1873</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>8191</MaxTileRow>
            <MinTileCol>2572</MinTileCol>
            <MaxTileCol>3746</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>16383</MaxTileRow>
            <MinTileCol>5144</MinTileCol>
            <MaxTileCol>7493</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>32767</MaxTileRow>
            <MinTileCol>10289</MinTileCol>
            <MaxTileCol>14986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>65535</MaxTileRow>
            <MinTileCol>20579</MinTileCol>
            <MaxTileCol>29972</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>131071</MaxTileRow>
            <MinTileCol>41158</MinTileCol>
            <MaxTileCol>59944</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>262143</MaxTileRow>
            <MinTileCol>82317</MinTileCol>
            <MaxTileCol>119888</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>524287</MaxTileRow>
            <MinTileCol>164635</MinTileCol>
            <MaxTileCol>239776</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1048575</MaxTileRow>
            <MinTileCol>329270</MinTileCol>
            <MaxTileCol>479552</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_her:pub_herst/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_her:pub_herst/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_her:pub_herst/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_her:pub_herst/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_her:pub_herst/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_her:pub_herst/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_her:pub_herst/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_her:pub_herst/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Trunk Roads Buffer Unmerged - Scotland</ows:Title>
      <ows:Identifier>sh_tnkrd:pub_tnkrdbfum</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tnkrd%3Apub_tnkrdbfum&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tnkrd%3Apub_tnkrdbfum&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tnkrd%3Apub_tnkrdbfum&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tnkrd%3Apub_tnkrdbfum&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tnkrd%3Apub_tnkrdbfum&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_tnkrd%3Apub_tnkrdbfum" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>35</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>71</MaxTileRow>
            <MinTileCol>25</MinTileCol>
            <MaxTileCol>52</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>59</MinTileRow>
            <MaxTileRow>143</MaxTileRow>
            <MinTileCol>51</MinTileCol>
            <MaxTileCol>105</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>119</MinTileRow>
            <MaxTileRow>286</MaxTileRow>
            <MinTileCol>102</MinTileCol>
            <MaxTileCol>211</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>239</MinTileRow>
            <MaxTileRow>572</MaxTileRow>
            <MinTileCol>204</MinTileCol>
            <MaxTileCol>422</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>479</MinTileRow>
            <MaxTileRow>1144</MaxTileRow>
            <MinTileCol>408</MinTileCol>
            <MaxTileCol>844</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>958</MinTileRow>
            <MaxTileRow>2289</MaxTileRow>
            <MinTileCol>816</MinTileCol>
            <MaxTileCol>1689</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1917</MinTileRow>
            <MaxTileRow>4578</MaxTileRow>
            <MinTileCol>1633</MinTileCol>
            <MaxTileCol>3379</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3835</MinTileRow>
            <MaxTileRow>9157</MaxTileRow>
            <MinTileCol>3266</MinTileCol>
            <MaxTileCol>6758</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>7671</MinTileRow>
            <MaxTileRow>18314</MaxTileRow>
            <MinTileCol>6533</MinTileCol>
            <MaxTileCol>13517</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>152</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>305</MinTileRow>
            <MaxTileRow>324</MaxTileRow>
            <MinTileCol>493</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>610</MinTileRow>
            <MaxTileRow>649</MaxTileRow>
            <MinTileCol>987</MinTileCol>
            <MaxTileCol>1013</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1220</MinTileRow>
            <MaxTileRow>1299</MaxTileRow>
            <MinTileCol>1974</MinTileCol>
            <MaxTileCol>2027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2440</MinTileRow>
            <MaxTileRow>2599</MaxTileRow>
            <MinTileCol>3948</MinTileCol>
            <MaxTileCol>4055</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4880</MinTileRow>
            <MaxTileRow>5198</MaxTileRow>
            <MinTileCol>7896</MinTileCol>
            <MaxTileCol>8111</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9761</MinTileRow>
            <MaxTileRow>10396</MaxTileRow>
            <MinTileCol>15792</MinTileCol>
            <MaxTileCol>16222</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19522</MinTileRow>
            <MaxTileRow>20793</MaxTileRow>
            <MinTileCol>31585</MinTileCol>
            <MaxTileCol>32444</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39045</MinTileRow>
            <MaxTileRow>41586</MaxTileRow>
            <MinTileCol>63170</MinTileCol>
            <MaxTileCol>64888</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>78091</MinTileRow>
            <MaxTileRow>83173</MaxTileRow>
            <MinTileCol>126340</MinTileCol>
            <MaxTileCol>129777</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>156183</MinTileRow>
            <MaxTileRow>166347</MaxTileRow>
            <MinTileCol>252681</MinTileCol>
            <MaxTileCol>259554</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>312366</MinTileRow>
            <MaxTileRow>332694</MaxTileRow>
            <MinTileCol>505363</MinTileCol>
            <MaxTileCol>519109</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrdbfum/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrdbfum/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrdbfum/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrdbfum/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrdbfum/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrdbfum/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrdbfum/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrdbfum/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Gritting Routes: Paths - Scotland</ows:Title>
      <ows:Identifier>sh_grtrt:pub_grtrtpth</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_grtrt%3Apub_grtrtpth&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_grtrt%3Apub_grtrtpth&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_grtrt%3Apub_grtrtpth&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_grtrt%3Apub_grtrtpth&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_grtrt%3Apub_grtrtpth&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_grtrt%3Apub_grtrtpth" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>30</MaxTileRow>
            <MinTileCol>19</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>45</MinTileRow>
            <MaxTileRow>60</MaxTileRow>
            <MinTileCol>38</MinTileCol>
            <MaxTileCol>50</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>90</MinTileRow>
            <MaxTileRow>121</MaxTileRow>
            <MinTileCol>76</MinTileCol>
            <MaxTileCol>101</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>180</MinTileRow>
            <MaxTileRow>243</MaxTileRow>
            <MinTileCol>152</MinTileCol>
            <MaxTileCol>203</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>361</MinTileRow>
            <MaxTileRow>487</MaxTileRow>
            <MinTileCol>304</MinTileCol>
            <MaxTileCol>406</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>722</MinTileRow>
            <MaxTileRow>974</MaxTileRow>
            <MinTileCol>609</MinTileCol>
            <MaxTileCol>813</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1445</MinTileRow>
            <MaxTileRow>1948</MaxTileRow>
            <MinTileCol>1219</MinTileCol>
            <MaxTileCol>1626</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2890</MinTileRow>
            <MaxTileRow>3897</MaxTileRow>
            <MinTileCol>2439</MinTileCol>
            <MaxTileCol>3252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>5781</MinTileRow>
            <MaxTileRow>7794</MaxTileRow>
            <MinTileCol>4879</MinTileCol>
            <MaxTileCol>6505</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>11563</MinTileRow>
            <MaxTileRow>15588</MaxTileRow>
            <MinTileCol>9759</MinTileCol>
            <MaxTileCol>13011</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>19</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>39</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>78</MinTileRow>
            <MaxTileRow>79</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>156</MinTileRow>
            <MaxTileRow>159</MaxTileRow>
            <MinTileCol>249</MinTileCol>
            <MaxTileCol>252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>312</MinTileRow>
            <MaxTileRow>319</MaxTileRow>
            <MinTileCol>499</MinTileCol>
            <MaxTileCol>505</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>624</MinTileRow>
            <MaxTileRow>639</MaxTileRow>
            <MinTileCol>999</MinTileCol>
            <MaxTileCol>1011</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1249</MinTileRow>
            <MaxTileRow>1279</MaxTileRow>
            <MinTileCol>1999</MinTileCol>
            <MaxTileCol>2023</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2499</MinTileRow>
            <MaxTileRow>2558</MaxTileRow>
            <MinTileCol>3999</MinTileCol>
            <MaxTileCol>4047</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4998</MinTileRow>
            <MaxTileRow>5117</MaxTileRow>
            <MinTileCol>7999</MinTileCol>
            <MaxTileCol>8095</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9997</MinTileRow>
            <MaxTileRow>10234</MaxTileRow>
            <MinTileCol>15998</MinTileCol>
            <MaxTileCol>16191</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19994</MinTileRow>
            <MaxTileRow>20469</MaxTileRow>
            <MinTileCol>31997</MinTileCol>
            <MaxTileCol>32383</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39988</MinTileRow>
            <MaxTileRow>40939</MaxTileRow>
            <MinTileCol>63994</MinTileCol>
            <MaxTileCol>64767</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>79976</MinTileRow>
            <MaxTileRow>81878</MaxTileRow>
            <MinTileCol>127989</MinTileCol>
            <MaxTileCol>129534</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>159953</MinTileRow>
            <MaxTileRow>163756</MaxTileRow>
            <MinTileCol>255978</MinTileCol>
            <MaxTileCol>259068</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>319906</MinTileRow>
            <MaxTileRow>327513</MaxTileRow>
            <MinTileCol>511957</MinTileCol>
            <MaxTileCol>518136</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grtrt:pub_grtrtpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grtrt:pub_grtrtpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grtrt:pub_grtrtpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grtrt:pub_grtrtpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grtrt:pub_grtrtpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grtrt:pub_grtrtpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grtrt:pub_grtrtpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_grtrt:pub_grtrtpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Decrofted Areas - Scotland</ows:Title>
      <ows:Identifier>ext_dcrfa:pub_dcrfa</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_dcrfa%3Apub_dcrfa&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_dcrfa%3Apub_dcrfa&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_dcrfa%3Apub_dcrfa&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_dcrfa%3Apub_dcrfa&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_dcrfa%3Apub_dcrfa&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_dcrfa%3Apub_dcrfa" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>16</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>32</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>65</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>130</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>116</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>260</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>233</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>45</MinTileRow>
            <MaxTileRow>520</MaxTileRow>
            <MinTileCol>143</MinTileCol>
            <MaxTileCol>466</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>91</MinTileRow>
            <MaxTileRow>1040</MaxTileRow>
            <MinTileCol>287</MinTileCol>
            <MaxTileCol>933</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>182</MinTileRow>
            <MaxTileRow>2080</MaxTileRow>
            <MinTileCol>574</MinTileCol>
            <MaxTileCol>1867</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>365</MinTileRow>
            <MaxTileRow>4160</MaxTileRow>
            <MinTileCol>1149</MinTileCol>
            <MaxTileCol>3734</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>730</MinTileRow>
            <MaxTileRow>8320</MaxTileRow>
            <MinTileCol>2299</MinTileCol>
            <MaxTileCol>7469</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1460</MinTileRow>
            <MaxTileRow>16641</MaxTileRow>
            <MinTileCol>4599</MinTileCol>
            <MaxTileCol>14939</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>161</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>322</MaxTileRow>
            <MinTileCol>488</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>644</MaxTileRow>
            <MinTileCol>977</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1170</MinTileRow>
            <MaxTileRow>1288</MaxTileRow>
            <MinTileCol>1954</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2341</MinTileRow>
            <MaxTileRow>2577</MaxTileRow>
            <MinTileCol>3909</MinTileCol>
            <MaxTileCol>4079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4682</MinTileRow>
            <MaxTileRow>5155</MaxTileRow>
            <MinTileCol>7819</MinTileCol>
            <MaxTileCol>8158</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9365</MinTileRow>
            <MaxTileRow>10310</MaxTileRow>
            <MinTileCol>15638</MinTileCol>
            <MaxTileCol>16316</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18731</MinTileRow>
            <MaxTileRow>20620</MaxTileRow>
            <MinTileCol>31277</MinTileCol>
            <MaxTileCol>32633</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37462</MinTileRow>
            <MaxTileRow>41241</MaxTileRow>
            <MinTileCol>62555</MinTileCol>
            <MaxTileCol>65267</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74924</MinTileRow>
            <MaxTileRow>82483</MaxTileRow>
            <MinTileCol>125111</MinTileCol>
            <MaxTileCol>130535</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149848</MinTileRow>
            <MaxTileRow>164966</MaxTileRow>
            <MinTileCol>250222</MinTileCol>
            <MaxTileCol>261071</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299696</MinTileRow>
            <MaxTileRow>329932</MaxTileRow>
            <MinTileCol>500444</MinTileCol>
            <MaxTileCol>522143</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_dcrfa:pub_dcrfa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_dcrfa:pub_dcrfa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_dcrfa:pub_dcrfa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_dcrfa:pub_dcrfa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_dcrfa:pub_dcrfa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_dcrfa:pub_dcrfa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_dcrfa:pub_dcrfa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_dcrfa:pub_dcrfa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Indicative Ferry Routes - Orkney Islands - Scotland</ows:Title>
      <ows:Identifier>ext_oiifr:pub_oiifr</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oiifr%3Apub_oiifr&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oiifr%3Apub_oiifr&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oiifr%3Apub_oiifr&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oiifr%3Apub_oiifr&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oiifr%3Apub_oiifr&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_oiifr%3Apub_oiifr" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>10</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>8</MinTileRow>
            <MaxTileRow>21</MaxTileRow>
            <MinTileCol>21</MinTileCol>
            <MaxTileCol>27</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>17</MinTileRow>
            <MaxTileRow>42</MaxTileRow>
            <MinTileCol>42</MinTileCol>
            <MaxTileCol>55</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>34</MinTileRow>
            <MaxTileRow>85</MaxTileRow>
            <MinTileCol>85</MinTileCol>
            <MaxTileCol>110</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>68</MinTileRow>
            <MaxTileRow>170</MaxTileRow>
            <MinTileCol>170</MinTileCol>
            <MaxTileCol>221</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>136</MinTileRow>
            <MaxTileRow>341</MaxTileRow>
            <MinTileCol>341</MinTileCol>
            <MaxTileCol>443</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>273</MinTileRow>
            <MaxTileRow>682</MaxTileRow>
            <MinTileCol>682</MinTileCol>
            <MaxTileCol>886</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>546</MinTileRow>
            <MaxTileRow>1364</MaxTileRow>
            <MinTileCol>1364</MinTileCol>
            <MaxTileCol>1773</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1093</MinTileRow>
            <MaxTileRow>2728</MaxTileRow>
            <MinTileCol>2728</MinTileCol>
            <MaxTileCol>3546</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>2186</MinTileRow>
            <MaxTileRow>5456</MaxTileRow>
            <MinTileCol>5456</MinTileCol>
            <MaxTileCol>7092</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>4373</MinTileRow>
            <MaxTileRow>10912</MaxTileRow>
            <MinTileCol>10913</MinTileCol>
            <MaxTileCol>14184</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>19</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>38</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>74</MinTileRow>
            <MaxTileRow>77</MaxTileRow>
            <MinTileCol>125</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>149</MinTileRow>
            <MaxTileRow>155</MaxTileRow>
            <MinTileCol>250</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>298</MinTileRow>
            <MaxTileRow>311</MaxTileRow>
            <MinTileCol>501</MinTileCol>
            <MaxTileCol>508</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>597</MinTileRow>
            <MaxTileRow>622</MaxTileRow>
            <MinTileCol>1003</MinTileCol>
            <MaxTileCol>1016</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1194</MinTileRow>
            <MaxTileRow>1244</MaxTileRow>
            <MinTileCol>2007</MinTileCol>
            <MaxTileCol>2033</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2388</MinTileRow>
            <MaxTileRow>2489</MaxTileRow>
            <MinTileCol>4014</MinTileCol>
            <MaxTileCol>4066</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4777</MinTileRow>
            <MaxTileRow>4979</MaxTileRow>
            <MinTileCol>8028</MinTileCol>
            <MaxTileCol>8132</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9554</MinTileRow>
            <MaxTileRow>9959</MaxTileRow>
            <MinTileCol>16056</MinTileCol>
            <MaxTileCol>16265</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19108</MinTileRow>
            <MaxTileRow>19919</MaxTileRow>
            <MinTileCol>32113</MinTileCol>
            <MaxTileCol>32530</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38217</MinTileRow>
            <MaxTileRow>39839</MaxTileRow>
            <MinTileCol>64227</MinTileCol>
            <MaxTileCol>65061</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>76435</MinTileRow>
            <MaxTileRow>79678</MaxTileRow>
            <MinTileCol>128455</MinTileCol>
            <MaxTileCol>130122</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>152870</MinTileRow>
            <MaxTileRow>159356</MaxTileRow>
            <MinTileCol>256910</MinTileCol>
            <MaxTileCol>260245</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>305741</MinTileRow>
            <MaxTileRow>318712</MaxTileRow>
            <MinTileCol>513821</MinTileCol>
            <MaxTileCol>520490</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiifr:pub_oiifr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiifr:pub_oiifr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiifr:pub_oiifr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiifr:pub_oiifr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiifr:pub_oiifr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiifr:pub_oiifr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiifr:pub_oiifr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiifr:pub_oiifr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>School Catchments: Primary denominational (PD) - Scotland</ows:Title>
      <ows:Identifier>sh_schl:pub_schlpd</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_schl%3Apub_schlpd&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_schl%3Apub_schlpd&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_schl%3Apub_schlpd&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_schl%3Apub_schlpd&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_schl%3Apub_schlpd&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_schl%3Apub_schlpd" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>34</MaxTileRow>
            <MinTileCol>14</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>48</MinTileRow>
            <MaxTileRow>69</MaxTileRow>
            <MinTileCol>29</MinTileCol>
            <MaxTileCol>51</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>96</MinTileRow>
            <MaxTileRow>139</MaxTileRow>
            <MinTileCol>58</MinTileCol>
            <MaxTileCol>102</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>193</MinTileRow>
            <MaxTileRow>279</MaxTileRow>
            <MinTileCol>117</MinTileCol>
            <MaxTileCol>205</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>387</MinTileRow>
            <MaxTileRow>558</MaxTileRow>
            <MinTileCol>234</MinTileCol>
            <MaxTileCol>411</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>774</MinTileRow>
            <MaxTileRow>1116</MaxTileRow>
            <MinTileCol>468</MinTileCol>
            <MaxTileCol>822</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1549</MinTileRow>
            <MaxTileRow>2232</MaxTileRow>
            <MinTileCol>937</MinTileCol>
            <MaxTileCol>1645</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>3099</MinTileRow>
            <MaxTileRow>4464</MaxTileRow>
            <MinTileCol>1875</MinTileCol>
            <MaxTileCol>3291</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>6199</MinTileRow>
            <MaxTileRow>8928</MaxTileRow>
            <MinTileCol>3751</MinTileCol>
            <MaxTileCol>6582</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>12399</MinTileRow>
            <MaxTileRow>17857</MaxTileRow>
            <MinTileCol>7503</MinTileCol>
            <MaxTileCol>13164</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>78</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>156</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>247</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>313</MinTileRow>
            <MaxTileRow>324</MaxTileRow>
            <MinTileCol>495</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>627</MinTileRow>
            <MaxTileRow>648</MaxTileRow>
            <MinTileCol>991</MinTileCol>
            <MaxTileCol>1012</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1255</MinTileRow>
            <MaxTileRow>1296</MaxTileRow>
            <MinTileCol>1983</MinTileCol>
            <MaxTileCol>2025</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2511</MinTileRow>
            <MaxTileRow>2592</MaxTileRow>
            <MinTileCol>3966</MinTileCol>
            <MaxTileCol>4050</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>5023</MinTileRow>
            <MaxTileRow>5184</MaxTileRow>
            <MinTileCol>7933</MinTileCol>
            <MaxTileCol>8100</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>10046</MinTileRow>
            <MaxTileRow>10368</MaxTileRow>
            <MinTileCol>15867</MinTileCol>
            <MaxTileCol>16200</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>20093</MinTileRow>
            <MaxTileRow>20736</MaxTileRow>
            <MinTileCol>31735</MinTileCol>
            <MaxTileCol>32401</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>40186</MinTileRow>
            <MaxTileRow>41473</MaxTileRow>
            <MinTileCol>63471</MinTileCol>
            <MaxTileCol>64802</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>80372</MinTileRow>
            <MaxTileRow>82946</MaxTileRow>
            <MinTileCol>126942</MinTileCol>
            <MaxTileCol>129604</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>160744</MinTileRow>
            <MaxTileRow>165892</MaxTileRow>
            <MinTileCol>253885</MinTileCol>
            <MaxTileCol>259208</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>321489</MinTileRow>
            <MaxTileRow>331784</MaxTileRow>
            <MinTileCol>507770</MinTileCol>
            <MaxTileCol>518417</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlpd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlpd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlpd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlpd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlpd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlpd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlpd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlpd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>SGN: HP Pipes 1km Buffer - Scotland</ows:Title>
      <ows:Identifier>ext_sgn:pub_sgnhp1kbuffer</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnhp1kbuffer&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnhp1kbuffer&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnhp1kbuffer&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnhp1kbuffer&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnhp1kbuffer&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_sgn%3Apub_sgnhp1kbuffer" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>35</MaxTileRow>
            <MinTileCol>16</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>40</MinTileRow>
            <MaxTileRow>71</MaxTileRow>
            <MinTileCol>32</MinTileCol>
            <MaxTileCol>50</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>80</MinTileRow>
            <MaxTileRow>142</MaxTileRow>
            <MinTileCol>64</MinTileCol>
            <MaxTileCol>101</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>161</MinTileRow>
            <MaxTileRow>285</MaxTileRow>
            <MinTileCol>128</MinTileCol>
            <MaxTileCol>203</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>323</MinTileRow>
            <MaxTileRow>570</MaxTileRow>
            <MinTileCol>257</MinTileCol>
            <MaxTileCol>406</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>647</MinTileRow>
            <MaxTileRow>1140</MaxTileRow>
            <MinTileCol>515</MinTileCol>
            <MaxTileCol>813</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1295</MinTileRow>
            <MaxTileRow>2280</MaxTileRow>
            <MinTileCol>1030</MinTileCol>
            <MaxTileCol>1627</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2591</MinTileRow>
            <MaxTileRow>4560</MaxTileRow>
            <MinTileCol>2060</MinTileCol>
            <MaxTileCol>3254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>5182</MinTileRow>
            <MaxTileRow>9120</MaxTileRow>
            <MinTileCol>4121</MinTileCol>
            <MaxTileCol>6509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>10364</MinTileRow>
            <MaxTileRow>18241</MaxTileRow>
            <MinTileCol>8242</MinTileCol>
            <MaxTileCol>13018</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>155</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>310</MinTileRow>
            <MaxTileRow>324</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>620</MinTileRow>
            <MaxTileRow>649</MaxTileRow>
            <MinTileCol>994</MinTileCol>
            <MaxTileCol>1012</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1240</MinTileRow>
            <MaxTileRow>1298</MaxTileRow>
            <MinTileCol>1988</MinTileCol>
            <MaxTileCol>2024</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2481</MinTileRow>
            <MaxTileRow>2596</MaxTileRow>
            <MinTileCol>3976</MinTileCol>
            <MaxTileCol>4048</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4962</MinTileRow>
            <MaxTileRow>5193</MaxTileRow>
            <MinTileCol>7952</MinTileCol>
            <MaxTileCol>8096</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9925</MinTileRow>
            <MaxTileRow>10387</MaxTileRow>
            <MinTileCol>15905</MinTileCol>
            <MaxTileCol>16192</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19850</MinTileRow>
            <MaxTileRow>20775</MaxTileRow>
            <MinTileCol>31810</MinTileCol>
            <MaxTileCol>32384</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39701</MinTileRow>
            <MaxTileRow>41551</MaxTileRow>
            <MinTileCol>63621</MinTileCol>
            <MaxTileCol>64769</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>79403</MinTileRow>
            <MaxTileRow>83102</MaxTileRow>
            <MinTileCol>127243</MinTileCol>
            <MaxTileCol>129539</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>158806</MinTileRow>
            <MaxTileRow>166204</MaxTileRow>
            <MinTileCol>254487</MinTileCol>
            <MaxTileCol>259078</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>317613</MinTileRow>
            <MaxTileRow>332409</MaxTileRow>
            <MinTileCol>508975</MinTileCol>
            <MaxTileCol>518157</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhp1kbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhp1kbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhp1kbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhp1kbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhp1kbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhp1kbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhp1kbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhp1kbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Renewable Energy Sites: Points - Scotland</ows:Title>
      <ows:Identifier>sh_res:pub_respnt</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>point</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_res%3Apub_respnt" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>10</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>27</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>21</MinTileCol>
            <MaxTileCol>51</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>55</MinTileRow>
            <MaxTileRow>147</MaxTileRow>
            <MinTileCol>42</MinTileCol>
            <MaxTileCol>102</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>110</MinTileRow>
            <MaxTileRow>294</MaxTileRow>
            <MinTileCol>84</MinTileCol>
            <MaxTileCol>204</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>220</MinTileRow>
            <MaxTileRow>588</MaxTileRow>
            <MinTileCol>169</MinTileCol>
            <MaxTileCol>409</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>441</MinTileRow>
            <MaxTileRow>1177</MaxTileRow>
            <MinTileCol>338</MinTileCol>
            <MaxTileCol>818</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>883</MinTileRow>
            <MaxTileRow>2354</MaxTileRow>
            <MinTileCol>676</MinTileCol>
            <MaxTileCol>1636</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1766</MinTileRow>
            <MaxTileRow>4709</MaxTileRow>
            <MinTileCol>1352</MinTileCol>
            <MaxTileCol>3273</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3532</MinTileRow>
            <MaxTileRow>9419</MaxTileRow>
            <MinTileCol>2705</MinTileCol>
            <MaxTileCol>6546</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>7065</MinTileRow>
            <MaxTileRow>18839</MaxTileRow>
            <MinTileCol>5411</MinTileCol>
            <MaxTileCol>13092</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>151</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>303</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>491</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>607</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>982</MinTileCol>
            <MaxTileCol>1012</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1215</MinTileRow>
            <MaxTileRow>1303</MaxTileRow>
            <MinTileCol>1965</MinTileCol>
            <MaxTileCol>2024</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2430</MinTileRow>
            <MaxTileRow>2607</MaxTileRow>
            <MinTileCol>3930</MinTileCol>
            <MaxTileCol>4049</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4861</MinTileRow>
            <MaxTileRow>5214</MaxTileRow>
            <MinTileCol>7860</MinTileCol>
            <MaxTileCol>8098</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9723</MinTileRow>
            <MaxTileRow>10429</MaxTileRow>
            <MinTileCol>15721</MinTileCol>
            <MaxTileCol>16196</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19447</MinTileRow>
            <MaxTileRow>20859</MaxTileRow>
            <MinTileCol>31442</MinTileCol>
            <MaxTileCol>32393</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38895</MinTileRow>
            <MaxTileRow>41718</MaxTileRow>
            <MinTileCol>62884</MinTileCol>
            <MaxTileCol>64786</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77791</MinTileRow>
            <MaxTileRow>83437</MaxTileRow>
            <MinTileCol>125768</MinTileCol>
            <MaxTileCol>129572</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>155582</MinTileRow>
            <MaxTileRow>166875</MaxTileRow>
            <MinTileCol>251536</MinTileCol>
            <MaxTileCol>259144</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>311164</MinTileRow>
            <MaxTileRow>333750</MaxTileRow>
            <MinTileCol>503073</MinTileCol>
            <MaxTileCol>518289</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res:pub_respnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res:pub_respnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res:pub_respnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res:pub_respnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res:pub_respnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res:pub_respnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res:pub_respnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res:pub_respnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Mine Water Geothermal Resource Atlas - Scotland</ows:Title>
      <ows:Identifier>sh_mwgt:pub_mwgt</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>sh_mwgt:polygon_mwgt</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=103&amp;height=140&amp;layer=sh_mwgt%3Apub_mwgt" width="103" height="140"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>5</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>16</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>11</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>27</MinTileRow>
            <MaxTileRow>33</MaxTileRow>
            <MinTileCol>16</MinTileCol>
            <MaxTileCol>23</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>55</MinTileRow>
            <MaxTileRow>66</MaxTileRow>
            <MinTileCol>33</MinTileCol>
            <MaxTileCol>46</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>111</MinTileRow>
            <MaxTileRow>133</MaxTileRow>
            <MinTileCol>67</MinTileCol>
            <MaxTileCol>93</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>223</MinTileRow>
            <MaxTileRow>266</MaxTileRow>
            <MinTileCol>135</MinTileCol>
            <MaxTileCol>187</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>446</MinTileRow>
            <MaxTileRow>533</MaxTileRow>
            <MinTileCol>271</MinTileCol>
            <MaxTileCol>375</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>893</MinTileRow>
            <MaxTileRow>1067</MaxTileRow>
            <MinTileCol>543</MinTileCol>
            <MaxTileCol>750</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1787</MinTileRow>
            <MaxTileRow>2135</MaxTileRow>
            <MinTileCol>1086</MinTileCol>
            <MaxTileCol>1501</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>3574</MinTileRow>
            <MaxTileRow>4271</MaxTileRow>
            <MinTileCol>2173</MinTileCol>
            <MaxTileCol>3002</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>7149</MinTileRow>
            <MaxTileRow>8542</MaxTileRow>
            <MinTileCol>4346</MinTileCol>
            <MaxTileCol>6005</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>14299</MinTileRow>
            <MaxTileRow>17084</MaxTileRow>
            <MinTileCol>8692</MinTileCol>
            <MaxTileCol>12010</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>79</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>158</MinTileRow>
            <MaxTileRow>161</MaxTileRow>
            <MinTileCol>249</MinTileCol>
            <MaxTileCol>252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>317</MinTileRow>
            <MaxTileRow>322</MaxTileRow>
            <MinTileCol>498</MinTileCol>
            <MaxTileCol>504</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>634</MinTileRow>
            <MaxTileRow>645</MaxTileRow>
            <MinTileCol>996</MinTileCol>
            <MaxTileCol>1008</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1269</MinTileRow>
            <MaxTileRow>1290</MaxTileRow>
            <MinTileCol>1992</MinTileCol>
            <MaxTileCol>2016</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2539</MinTileRow>
            <MaxTileRow>2580</MaxTileRow>
            <MinTileCol>3985</MinTileCol>
            <MaxTileCol>4033</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>5078</MinTileRow>
            <MaxTileRow>5160</MaxTileRow>
            <MinTileCol>7971</MinTileCol>
            <MaxTileCol>8067</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>10157</MinTileRow>
            <MaxTileRow>10321</MaxTileRow>
            <MinTileCol>15942</MinTileCol>
            <MaxTileCol>16135</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>20315</MinTileRow>
            <MaxTileRow>20643</MaxTileRow>
            <MinTileCol>31884</MinTileCol>
            <MaxTileCol>32271</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>40631</MinTileRow>
            <MaxTileRow>41287</MaxTileRow>
            <MinTileCol>63768</MinTileCol>
            <MaxTileCol>64542</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>81263</MinTileRow>
            <MaxTileRow>82575</MaxTileRow>
            <MinTileCol>127537</MinTileCol>
            <MaxTileCol>129084</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>162527</MinTileRow>
            <MaxTileRow>165150</MaxTileRow>
            <MinTileCol>255075</MinTileCol>
            <MaxTileCol>258168</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>325054</MinTileRow>
            <MaxTileRow>330300</MaxTileRow>
            <MinTileCol>510151</MinTileCol>
            <MaxTileCol>516336</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_mwgt:pub_mwgt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_mwgt:pub_mwgt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_mwgt:pub_mwgt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_mwgt:pub_mwgt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_mwgt:pub_mwgt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_mwgt:pub_mwgt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_mwgt:pub_mwgt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_mwgt:pub_mwgt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>GHiGs Settlements - Scotland</ows:Title>
      <ows:Identifier>ext_ghigs:pub_ghigs-stlmnt</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_ghigs%3Apub_ghigs-stlmnt" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>72</MaxTileRow>
            <MinTileCol>19</MinTileCol>
            <MaxTileCol>56</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>145</MaxTileRow>
            <MinTileCol>38</MinTileCol>
            <MaxTileCol>112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>291</MaxTileRow>
            <MinTileCol>77</MinTileCol>
            <MaxTileCol>225</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>582</MaxTileRow>
            <MinTileCol>155</MinTileCol>
            <MaxTileCol>450</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>164</MinTileRow>
            <MaxTileRow>1165</MaxTileRow>
            <MinTileCol>310</MinTileCol>
            <MaxTileCol>900</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>328</MinTileRow>
            <MaxTileRow>2330</MaxTileRow>
            <MinTileCol>620</MinTileCol>
            <MaxTileCol>1801</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>656</MinTileRow>
            <MaxTileRow>4660</MaxTileRow>
            <MinTileCol>1240</MinTileCol>
            <MaxTileCol>3603</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>1312</MinTileRow>
            <MaxTileRow>9321</MaxTileRow>
            <MinTileCol>2480</MinTileCol>
            <MaxTileCol>7207</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>2625</MinTileRow>
            <MaxTileRow>18642</MaxTileRow>
            <MinTileCol>4961</MinTileCol>
            <MaxTileCol>14415</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>147</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>295</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>489</MinTileCol>
            <MaxTileCol>508</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>590</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>979</MinTileCol>
            <MaxTileCol>1017</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1180</MinTileRow>
            <MaxTileRow>1302</MaxTileRow>
            <MinTileCol>1958</MinTileCol>
            <MaxTileCol>2035</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2360</MinTileRow>
            <MaxTileRow>2605</MaxTileRow>
            <MinTileCol>3917</MinTileCol>
            <MaxTileCol>4070</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4720</MinTileRow>
            <MaxTileRow>5210</MaxTileRow>
            <MinTileCol>7834</MinTileCol>
            <MaxTileCol>8140</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9441</MinTileRow>
            <MaxTileRow>10420</MaxTileRow>
            <MinTileCol>15669</MinTileCol>
            <MaxTileCol>16281</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18883</MinTileRow>
            <MaxTileRow>20841</MaxTileRow>
            <MinTileCol>31338</MinTileCol>
            <MaxTileCol>32563</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37767</MinTileRow>
            <MaxTileRow>41682</MaxTileRow>
            <MinTileCol>62676</MinTileCol>
            <MaxTileCol>65126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>75534</MinTileRow>
            <MaxTileRow>83364</MaxTileRow>
            <MinTileCol>125353</MinTileCol>
            <MaxTileCol>130252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>151068</MinTileRow>
            <MaxTileRow>166729</MaxTileRow>
            <MinTileCol>250707</MinTileCol>
            <MaxTileCol>260504</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>302137</MinTileRow>
            <MaxTileRow>333458</MaxTileRow>
            <MinTileCol>501415</MinTileCol>
            <MaxTileCol>521009</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-stlmnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-stlmnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-stlmnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-stlmnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-stlmnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-stlmnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-stlmnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-stlmnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Car Parking: Car Parks (points) - Scotland (PREMIUM)</ows:Title>
      <ows:Identifier>sh_crpk_premium:pub_crpkcppnt</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>point</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_crpk_premium%3Apub_crpkcppnt" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>34</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>68</MaxTileRow>
            <MinTileCol>23</MinTileCol>
            <MaxTileCol>52</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>48</MinTileRow>
            <MaxTileRow>136</MaxTileRow>
            <MinTileCol>47</MinTileCol>
            <MaxTileCol>105</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>96</MinTileRow>
            <MaxTileRow>272</MaxTileRow>
            <MinTileCol>95</MinTileCol>
            <MaxTileCol>211</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>193</MinTileRow>
            <MaxTileRow>544</MaxTileRow>
            <MinTileCol>191</MinTileCol>
            <MaxTileCol>422</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>387</MinTileRow>
            <MaxTileRow>1089</MaxTileRow>
            <MinTileCol>383</MinTileCol>
            <MaxTileCol>845</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>775</MinTileRow>
            <MaxTileRow>2178</MaxTileRow>
            <MinTileCol>766</MinTileCol>
            <MaxTileCol>1691</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1550</MinTileRow>
            <MaxTileRow>4356</MaxTileRow>
            <MinTileCol>1532</MinTileCol>
            <MaxTileCol>3382</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3100</MinTileRow>
            <MaxTileRow>8712</MaxTileRow>
            <MinTileCol>3064</MinTileCol>
            <MaxTileCol>6765</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>6201</MinTileRow>
            <MaxTileRow>17424</MaxTileRow>
            <MinTileCol>6129</MinTileCol>
            <MaxTileCol>13530</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>151</MinTileRow>
            <MaxTileRow>161</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>302</MinTileRow>
            <MaxTileRow>323</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>604</MinTileRow>
            <MaxTileRow>646</MaxTileRow>
            <MinTileCol>985</MinTileCol>
            <MaxTileCol>1013</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1208</MinTileRow>
            <MaxTileRow>1293</MaxTileRow>
            <MinTileCol>1970</MinTileCol>
            <MaxTileCol>2027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2417</MinTileRow>
            <MaxTileRow>2587</MaxTileRow>
            <MinTileCol>3940</MinTileCol>
            <MaxTileCol>4055</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4835</MinTileRow>
            <MaxTileRow>5174</MaxTileRow>
            <MinTileCol>7880</MinTileCol>
            <MaxTileCol>8111</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9670</MinTileRow>
            <MaxTileRow>10348</MaxTileRow>
            <MinTileCol>15761</MinTileCol>
            <MaxTileCol>16223</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19340</MinTileRow>
            <MaxTileRow>20696</MaxTileRow>
            <MinTileCol>31522</MinTileCol>
            <MaxTileCol>32446</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38680</MinTileRow>
            <MaxTileRow>41393</MaxTileRow>
            <MinTileCol>63045</MinTileCol>
            <MaxTileCol>64893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77360</MinTileRow>
            <MaxTileRow>82786</MaxTileRow>
            <MinTileCol>126090</MinTileCol>
            <MaxTileCol>129786</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>154721</MinTileRow>
            <MaxTileRow>165573</MaxTileRow>
            <MinTileCol>252181</MinTileCol>
            <MaxTileCol>259572</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>309442</MinTileRow>
            <MaxTileRow>331147</MaxTileRow>
            <MinTileCol>504363</MinTileCol>
            <MaxTileCol>519145</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkcppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkcppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkcppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkcppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkcppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkcppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkcppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkcppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Local Landscape Areas - Scotland</ows:Title>
      <ows:Identifier>sh_llandd:pub_llandd</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_llandd%3Apub_llandd&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_llandd%3Apub_llandd&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_llandd%3Apub_llandd&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_llandd%3Apub_llandd&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_llandd%3Apub_llandd&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_llandd%3Apub_llandd" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>22</MinTileCol>
            <MaxTileCol>53</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>58</MinTileRow>
            <MaxTileRow>147</MaxTileRow>
            <MinTileCol>45</MinTileCol>
            <MaxTileCol>106</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>116</MinTileRow>
            <MaxTileRow>295</MaxTileRow>
            <MinTileCol>90</MinTileCol>
            <MaxTileCol>212</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>232</MinTileRow>
            <MaxTileRow>591</MaxTileRow>
            <MinTileCol>181</MinTileCol>
            <MaxTileCol>424</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>465</MinTileRow>
            <MaxTileRow>1183</MaxTileRow>
            <MinTileCol>363</MinTileCol>
            <MaxTileCol>848</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>931</MinTileRow>
            <MaxTileRow>2366</MaxTileRow>
            <MinTileCol>727</MinTileCol>
            <MaxTileCol>1697</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1862</MinTileRow>
            <MaxTileRow>4732</MaxTileRow>
            <MinTileCol>1455</MinTileCol>
            <MaxTileCol>3394</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3724</MinTileRow>
            <MaxTileRow>9465</MaxTileRow>
            <MinTileCol>2910</MinTileCol>
            <MaxTileCol>6788</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>7449</MinTileRow>
            <MaxTileRow>18931</MaxTileRow>
            <MinTileCol>5820</MinTileCol>
            <MaxTileCol>13577</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>152</MinTileRow>
            <MaxTileRow>163</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>304</MinTileRow>
            <MaxTileRow>326</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>507</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>609</MinTileRow>
            <MaxTileRow>652</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1218</MinTileRow>
            <MaxTileRow>1304</MaxTileRow>
            <MinTileCol>1968</MinTileCol>
            <MaxTileCol>2028</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2436</MinTileRow>
            <MaxTileRow>2608</MaxTileRow>
            <MinTileCol>3936</MinTileCol>
            <MaxTileCol>4056</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4873</MinTileRow>
            <MaxTileRow>5216</MaxTileRow>
            <MinTileCol>7873</MinTileCol>
            <MaxTileCol>8112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9747</MinTileRow>
            <MaxTileRow>10433</MaxTileRow>
            <MinTileCol>15747</MinTileCol>
            <MaxTileCol>16225</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19495</MinTileRow>
            <MaxTileRow>20866</MaxTileRow>
            <MinTileCol>31495</MinTileCol>
            <MaxTileCol>32451</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38990</MinTileRow>
            <MaxTileRow>41733</MaxTileRow>
            <MinTileCol>62991</MinTileCol>
            <MaxTileCol>64903</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77981</MinTileRow>
            <MaxTileRow>83466</MaxTileRow>
            <MinTileCol>125983</MinTileCol>
            <MaxTileCol>129807</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>155963</MinTileRow>
            <MaxTileRow>166933</MaxTileRow>
            <MinTileCol>251967</MinTileCol>
            <MaxTileCol>259614</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>311927</MinTileRow>
            <MaxTileRow>333867</MaxTileRow>
            <MinTileCol>503934</MinTileCol>
            <MaxTileCol>519228</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_llandd:pub_llandd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_llandd:pub_llandd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_llandd:pub_llandd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_llandd:pub_llandd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_llandd:pub_llandd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_llandd:pub_llandd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_llandd:pub_llandd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_llandd:pub_llandd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Trunk Roads buffer - Scotland</ows:Title>
      <ows:Identifier>sh_tnkrd:pub_tnkrdbf</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tnkrd%3Apub_tnkrdbf&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tnkrd%3Apub_tnkrdbf&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tnkrd%3Apub_tnkrdbf&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tnkrd%3Apub_tnkrdbf&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tnkrd%3Apub_tnkrdbf&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_tnkrd%3Apub_tnkrdbf" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>35</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>71</MaxTileRow>
            <MinTileCol>25</MinTileCol>
            <MaxTileCol>52</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>59</MinTileRow>
            <MaxTileRow>143</MaxTileRow>
            <MinTileCol>51</MinTileCol>
            <MaxTileCol>105</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>119</MinTileRow>
            <MaxTileRow>286</MaxTileRow>
            <MinTileCol>102</MinTileCol>
            <MaxTileCol>211</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>239</MinTileRow>
            <MaxTileRow>572</MaxTileRow>
            <MinTileCol>204</MinTileCol>
            <MaxTileCol>422</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>479</MinTileRow>
            <MaxTileRow>1144</MaxTileRow>
            <MinTileCol>408</MinTileCol>
            <MaxTileCol>844</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>958</MinTileRow>
            <MaxTileRow>2289</MaxTileRow>
            <MinTileCol>816</MinTileCol>
            <MaxTileCol>1689</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1917</MinTileRow>
            <MaxTileRow>4578</MaxTileRow>
            <MinTileCol>1633</MinTileCol>
            <MaxTileCol>3379</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3835</MinTileRow>
            <MaxTileRow>9157</MaxTileRow>
            <MinTileCol>3266</MinTileCol>
            <MaxTileCol>6758</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>7671</MinTileRow>
            <MaxTileRow>18314</MaxTileRow>
            <MinTileCol>6533</MinTileCol>
            <MaxTileCol>13517</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>152</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>305</MinTileRow>
            <MaxTileRow>324</MaxTileRow>
            <MinTileCol>493</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>610</MinTileRow>
            <MaxTileRow>649</MaxTileRow>
            <MinTileCol>987</MinTileCol>
            <MaxTileCol>1013</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1220</MinTileRow>
            <MaxTileRow>1299</MaxTileRow>
            <MinTileCol>1974</MinTileCol>
            <MaxTileCol>2027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2440</MinTileRow>
            <MaxTileRow>2599</MaxTileRow>
            <MinTileCol>3948</MinTileCol>
            <MaxTileCol>4055</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4880</MinTileRow>
            <MaxTileRow>5198</MaxTileRow>
            <MinTileCol>7896</MinTileCol>
            <MaxTileCol>8111</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9761</MinTileRow>
            <MaxTileRow>10396</MaxTileRow>
            <MinTileCol>15792</MinTileCol>
            <MaxTileCol>16222</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19522</MinTileRow>
            <MaxTileRow>20793</MaxTileRow>
            <MinTileCol>31585</MinTileCol>
            <MaxTileCol>32444</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39045</MinTileRow>
            <MaxTileRow>41586</MaxTileRow>
            <MinTileCol>63170</MinTileCol>
            <MaxTileCol>64888</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>78091</MinTileRow>
            <MaxTileRow>83173</MaxTileRow>
            <MinTileCol>126340</MinTileCol>
            <MaxTileCol>129777</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>156183</MinTileRow>
            <MaxTileRow>166347</MaxTileRow>
            <MinTileCol>252681</MinTileCol>
            <MaxTileCol>259554</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>312366</MinTileRow>
            <MaxTileRow>332694</MaxTileRow>
            <MinTileCol>505363</MinTileCol>
            <MaxTileCol>519109</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrdbf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrdbf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrdbf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrdbf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrdbf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrdbf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrdbf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tnkrd:pub_tnkrdbf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>School Catchments: Primary non-denominational (PN) - Scotland</ows:Title>
      <ows:Identifier>sh_schl:pub_schlpn</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_schl%3Apub_schlpn&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_schl%3Apub_schlpn&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_schl%3Apub_schlpn&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_schl%3Apub_schlpn&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_schl%3Apub_schlpn&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_schl%3Apub_schlpn" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>53</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>147</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>107</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>295</MaxTileRow>
            <MinTileCol>73</MinTileCol>
            <MaxTileCol>215</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>155</MinTileRow>
            <MaxTileRow>591</MaxTileRow>
            <MinTileCol>147</MinTileCol>
            <MaxTileCol>431</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>310</MinTileRow>
            <MaxTileRow>1183</MaxTileRow>
            <MinTileCol>294</MinTileCol>
            <MaxTileCol>863</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>620</MinTileRow>
            <MaxTileRow>2367</MaxTileRow>
            <MinTileCol>589</MinTileCol>
            <MaxTileCol>1726</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1240</MinTileRow>
            <MaxTileRow>4735</MaxTileRow>
            <MinTileCol>1178</MinTileCol>
            <MaxTileCol>3453</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>2481</MinTileRow>
            <MaxTileRow>9471</MaxTileRow>
            <MinTileCol>2356</MinTileCol>
            <MaxTileCol>6907</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>4962</MinTileRow>
            <MaxTileRow>18942</MaxTileRow>
            <MinTileCol>4713</MinTileCol>
            <MaxTileCol>13814</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>74</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>149</MinTileRow>
            <MaxTileRow>163</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>299</MinTileRow>
            <MaxTileRow>326</MaxTileRow>
            <MinTileCol>489</MinTileCol>
            <MaxTileCol>507</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>599</MinTileRow>
            <MaxTileRow>652</MaxTileRow>
            <MinTileCol>979</MinTileCol>
            <MaxTileCol>1015</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1199</MinTileRow>
            <MaxTileRow>1304</MaxTileRow>
            <MinTileCol>1958</MinTileCol>
            <MaxTileCol>2030</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2398</MinTileRow>
            <MaxTileRow>2609</MaxTileRow>
            <MinTileCol>3916</MinTileCol>
            <MaxTileCol>4060</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4796</MinTileRow>
            <MaxTileRow>5219</MaxTileRow>
            <MinTileCol>7833</MinTileCol>
            <MaxTileCol>8120</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9592</MinTileRow>
            <MaxTileRow>10438</MaxTileRow>
            <MinTileCol>15666</MinTileCol>
            <MaxTileCol>16241</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19184</MinTileRow>
            <MaxTileRow>20876</MaxTileRow>
            <MinTileCol>31333</MinTileCol>
            <MaxTileCol>32483</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38368</MinTileRow>
            <MaxTileRow>41752</MaxTileRow>
            <MinTileCol>62666</MinTileCol>
            <MaxTileCol>64966</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>76736</MinTileRow>
            <MaxTileRow>83505</MaxTileRow>
            <MinTileCol>125333</MinTileCol>
            <MaxTileCol>129932</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>153472</MinTileRow>
            <MaxTileRow>167010</MaxTileRow>
            <MinTileCol>250667</MinTileCol>
            <MaxTileCol>259864</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>306944</MinTileRow>
            <MaxTileRow>334021</MaxTileRow>
            <MinTileCol>501334</MinTileCol>
            <MaxTileCol>519728</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlpn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlpn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlpn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlpn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlpn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlpn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlpn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlpn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Scapa Designated Anchor Berths - Orkney Islands - Scotland</ows:Title>
      <ows:Identifier>ext_oisdab:pub_oisdab</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oisdab%3Apub_oisdab&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oisdab%3Apub_oisdab&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oisdab%3Apub_oisdab&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oisdab%3Apub_oisdab&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oisdab%3Apub_oisdab&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_oisdab%3Apub_oisdab" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>5</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>11</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>22</MinTileCol>
            <MaxTileCol>23</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>26</MinTileRow>
            <MaxTileRow>27</MaxTileRow>
            <MinTileCol>45</MinTileCol>
            <MaxTileCol>46</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>52</MinTileRow>
            <MaxTileRow>54</MaxTileRow>
            <MinTileCol>90</MinTileCol>
            <MaxTileCol>92</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>105</MinTileRow>
            <MaxTileRow>109</MaxTileRow>
            <MinTileCol>180</MinTileCol>
            <MaxTileCol>184</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>211</MinTileRow>
            <MaxTileRow>219</MaxTileRow>
            <MinTileCol>360</MinTileCol>
            <MaxTileCol>369</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>423</MinTileRow>
            <MaxTileRow>438</MaxTileRow>
            <MinTileCol>721</MinTileCol>
            <MaxTileCol>738</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>847</MinTileRow>
            <MaxTileRow>876</MaxTileRow>
            <MinTileCol>1443</MinTileCol>
            <MaxTileCol>1477</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1695</MinTileRow>
            <MaxTileRow>1752</MaxTileRow>
            <MinTileCol>2887</MinTileCol>
            <MaxTileCol>2954</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3390</MinTileRow>
            <MaxTileRow>3504</MaxTileRow>
            <MinTileCol>5775</MinTileCol>
            <MaxTileCol>5909</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>6781</MinTileRow>
            <MaxTileRow>7009</MaxTileRow>
            <MinTileCol>11550</MinTileCol>
            <MaxTileCol>11818</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>37</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>75</MaxTileRow>
            <MinTileCol>125</MinTileCol>
            <MaxTileCol>125</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>151</MinTileRow>
            <MaxTileRow>151</MaxTileRow>
            <MinTileCol>251</MinTileCol>
            <MaxTileCol>251</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>303</MinTileRow>
            <MaxTileRow>303</MaxTileRow>
            <MinTileCol>503</MinTileCol>
            <MaxTileCol>503</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>606</MinTileRow>
            <MaxTileRow>607</MaxTileRow>
            <MinTileCol>1006</MinTileCol>
            <MaxTileCol>1007</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1213</MinTileRow>
            <MaxTileRow>1215</MaxTileRow>
            <MinTileCol>2012</MinTileCol>
            <MaxTileCol>2014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2426</MinTileRow>
            <MaxTileRow>2430</MaxTileRow>
            <MinTileCol>4025</MinTileCol>
            <MaxTileCol>4029</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4853</MinTileRow>
            <MaxTileRow>4860</MaxTileRow>
            <MinTileCol>8050</MinTileCol>
            <MaxTileCol>8058</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9706</MinTileRow>
            <MaxTileRow>9721</MaxTileRow>
            <MinTileCol>16100</MinTileCol>
            <MaxTileCol>16116</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19413</MinTileRow>
            <MaxTileRow>19442</MaxTileRow>
            <MinTileCol>32200</MinTileCol>
            <MaxTileCol>32233</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38827</MinTileRow>
            <MaxTileRow>38885</MaxTileRow>
            <MinTileCol>64400</MinTileCol>
            <MaxTileCol>64467</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77654</MinTileRow>
            <MaxTileRow>77770</MaxTileRow>
            <MinTileCol>128800</MinTileCol>
            <MaxTileCol>128935</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>155309</MinTileRow>
            <MaxTileRow>155540</MaxTileRow>
            <MinTileCol>257600</MinTileCol>
            <MaxTileCol>257871</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>310618</MinTileRow>
            <MaxTileRow>311081</MaxTileRow>
            <MinTileCol>515201</MinTileCol>
            <MaxTileCol>515742</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdab:pub_oisdab/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdab:pub_oisdab/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdab:pub_oisdab/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdab:pub_oisdab/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdab:pub_oisdab/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdab:pub_oisdab/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdab:pub_oisdab/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdab:pub_oisdab/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Edinburgh Airport Safeguarding Zones - Scotland</ows:Title>
      <ows:Identifier>ext_easz:pub_easz</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_easz%3Apub_easz&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_easz%3Apub_easz&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_easz%3Apub_easz&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_easz%3Apub_easz&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_easz%3Apub_easz&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_easz%3Apub_easz" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>16</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>26</MinTileRow>
            <MaxTileRow>32</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>24</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>53</MinTileRow>
            <MaxTileRow>65</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>49</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>107</MinTileRow>
            <MaxTileRow>130</MaxTileRow>
            <MinTileCol>73</MinTileCol>
            <MaxTileCol>98</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>214</MinTileRow>
            <MaxTileRow>261</MaxTileRow>
            <MinTileCol>146</MinTileCol>
            <MaxTileCol>196</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>428</MinTileRow>
            <MaxTileRow>523</MaxTileRow>
            <MinTileCol>293</MinTileCol>
            <MaxTileCol>392</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>857</MinTileRow>
            <MaxTileRow>1047</MaxTileRow>
            <MinTileCol>586</MinTileCol>
            <MaxTileCol>785</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1715</MinTileRow>
            <MaxTileRow>2095</MaxTileRow>
            <MinTileCol>1173</MinTileCol>
            <MaxTileCol>1570</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>3431</MinTileRow>
            <MaxTileRow>4191</MaxTileRow>
            <MinTileCol>2346</MinTileCol>
            <MaxTileCol>3140</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>6863</MinTileRow>
            <MaxTileRow>8383</MaxTileRow>
            <MinTileCol>4692</MinTileCol>
            <MaxTileCol>6281</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>13727</MinTileRow>
            <MaxTileRow>16767</MaxTileRow>
            <MinTileCol>9384</MinTileCol>
            <MaxTileCol>12563</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>79</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>158</MinTileRow>
            <MaxTileRow>160</MaxTileRow>
            <MinTileCol>249</MinTileCol>
            <MaxTileCol>252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>316</MinTileRow>
            <MaxTileRow>321</MaxTileRow>
            <MinTileCol>499</MinTileCol>
            <MaxTileCol>505</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>632</MinTileRow>
            <MaxTileRow>643</MaxTileRow>
            <MinTileCol>998</MinTileCol>
            <MaxTileCol>1010</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1265</MinTileRow>
            <MaxTileRow>1287</MaxTileRow>
            <MinTileCol>1997</MinTileCol>
            <MaxTileCol>2020</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2531</MinTileRow>
            <MaxTileRow>2575</MaxTileRow>
            <MinTileCol>3995</MinTileCol>
            <MaxTileCol>4041</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>5062</MinTileRow>
            <MaxTileRow>5151</MaxTileRow>
            <MinTileCol>7990</MinTileCol>
            <MaxTileCol>8083</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>10124</MinTileRow>
            <MaxTileRow>10302</MaxTileRow>
            <MinTileCol>15980</MinTileCol>
            <MaxTileCol>16166</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>20248</MinTileRow>
            <MaxTileRow>20605</MaxTileRow>
            <MinTileCol>31961</MinTileCol>
            <MaxTileCol>32333</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>40497</MinTileRow>
            <MaxTileRow>41210</MaxTileRow>
            <MinTileCol>63923</MinTileCol>
            <MaxTileCol>64666</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>80995</MinTileRow>
            <MaxTileRow>82420</MaxTileRow>
            <MinTileCol>127847</MinTileCol>
            <MaxTileCol>129332</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>161991</MinTileRow>
            <MaxTileRow>164840</MaxTileRow>
            <MinTileCol>255695</MinTileCol>
            <MaxTileCol>258665</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>323982</MinTileRow>
            <MaxTileRow>329681</MaxTileRow>
            <MinTileCol>511391</MinTileCol>
            <MaxTileCol>517330</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_easz:pub_easz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_easz:pub_easz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_easz:pub_easz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_easz:pub_easz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_easz:pub_easz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_easz:pub_easz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_easz:pub_easz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_easz:pub_easz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Golf Courses - Scotland</ows:Title>
      <ows:Identifier>ext_spf:pub_spfgc</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfgc&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfgc&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfgc&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfgc&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfgc&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_spf%3Apub_spfgc" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>72</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>57</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>21</MinTileRow>
            <MaxTileRow>145</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>114</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>42</MinTileRow>
            <MaxTileRow>291</MaxTileRow>
            <MinTileCol>73</MinTileCol>
            <MaxTileCol>229</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>84</MinTileRow>
            <MaxTileRow>582</MaxTileRow>
            <MinTileCol>147</MinTileCol>
            <MaxTileCol>458</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>168</MinTileRow>
            <MaxTileRow>1164</MaxTileRow>
            <MinTileCol>294</MinTileCol>
            <MaxTileCol>917</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>336</MinTileRow>
            <MaxTileRow>2328</MaxTileRow>
            <MinTileCol>589</MinTileCol>
            <MaxTileCol>1835</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>673</MinTileRow>
            <MaxTileRow>4657</MaxTileRow>
            <MinTileCol>1179</MinTileCol>
            <MaxTileCol>3670</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>1346</MinTileRow>
            <MaxTileRow>9314</MaxTileRow>
            <MinTileCol>2358</MinTileCol>
            <MaxTileCol>7341</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>2692</MinTileRow>
            <MaxTileRow>18629</MaxTileRow>
            <MinTileCol>4716</MinTileCol>
            <MaxTileCol>14683</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>147</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>295</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>489</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>590</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>978</MinTileCol>
            <MaxTileCol>1018</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1180</MinTileRow>
            <MaxTileRow>1302</MaxTileRow>
            <MinTileCol>1956</MinTileCol>
            <MaxTileCol>2037</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2361</MinTileRow>
            <MaxTileRow>2605</MaxTileRow>
            <MinTileCol>3913</MinTileCol>
            <MaxTileCol>4074</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4723</MinTileRow>
            <MaxTileRow>5210</MaxTileRow>
            <MinTileCol>7826</MinTileCol>
            <MaxTileCol>8149</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9446</MinTileRow>
            <MaxTileRow>10420</MaxTileRow>
            <MinTileCol>15653</MinTileCol>
            <MaxTileCol>16298</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18892</MinTileRow>
            <MaxTileRow>20841</MaxTileRow>
            <MinTileCol>31307</MinTileCol>
            <MaxTileCol>32597</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37784</MinTileRow>
            <MaxTileRow>41683</MaxTileRow>
            <MinTileCol>62615</MinTileCol>
            <MaxTileCol>65195</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>75568</MinTileRow>
            <MaxTileRow>83366</MaxTileRow>
            <MinTileCol>125230</MinTileCol>
            <MaxTileCol>130391</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>151137</MinTileRow>
            <MaxTileRow>166733</MaxTileRow>
            <MinTileCol>250461</MinTileCol>
            <MaxTileCol>260782</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>302275</MinTileRow>
            <MaxTileRow>333467</MaxTileRow>
            <MinTileCol>500922</MinTileCol>
            <MaxTileCol>521564</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfgc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfgc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfgc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfgc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfgc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfgc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfgc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfgc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Outdoor Tennis Courts - Scotland</ows:Title>
      <ows:Identifier>ext_spf:pub_spfotc</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfotc&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfotc&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfotc&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfotc&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfotc&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_spf%3Apub_spfotc" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>72</MaxTileRow>
            <MinTileCol>19</MinTileCol>
            <MaxTileCol>57</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>145</MaxTileRow>
            <MinTileCol>39</MinTileCol>
            <MaxTileCol>115</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>25</MinTileRow>
            <MaxTileRow>290</MaxTileRow>
            <MinTileCol>78</MinTileCol>
            <MaxTileCol>230</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>50</MinTileRow>
            <MaxTileRow>581</MaxTileRow>
            <MinTileCol>156</MinTileCol>
            <MaxTileCol>460</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>100</MinTileRow>
            <MaxTileRow>1163</MaxTileRow>
            <MinTileCol>313</MinTileCol>
            <MaxTileCol>920</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>200</MinTileRow>
            <MaxTileRow>2327</MaxTileRow>
            <MinTileCol>626</MinTileCol>
            <MaxTileCol>1841</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>401</MinTileRow>
            <MaxTileRow>4654</MaxTileRow>
            <MinTileCol>1253</MinTileCol>
            <MaxTileCol>3683</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>803</MinTileRow>
            <MaxTileRow>9308</MaxTileRow>
            <MinTileCol>2507</MinTileCol>
            <MaxTileCol>7366</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1606</MinTileRow>
            <MaxTileRow>18617</MaxTileRow>
            <MinTileCol>5014</MinTileCol>
            <MaxTileCol>14733</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>489</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>979</MinTileCol>
            <MaxTileCol>1018</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1171</MinTileRow>
            <MaxTileRow>1302</MaxTileRow>
            <MinTileCol>1958</MinTileCol>
            <MaxTileCol>2037</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2343</MinTileRow>
            <MaxTileRow>2604</MaxTileRow>
            <MinTileCol>3916</MinTileCol>
            <MaxTileCol>4075</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4687</MinTileRow>
            <MaxTileRow>5209</MaxTileRow>
            <MinTileCol>7833</MinTileCol>
            <MaxTileCol>8151</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9375</MinTileRow>
            <MaxTileRow>10418</MaxTileRow>
            <MinTileCol>15666</MinTileCol>
            <MaxTileCol>16303</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18750</MinTileRow>
            <MaxTileRow>20837</MaxTileRow>
            <MinTileCol>31333</MinTileCol>
            <MaxTileCol>32606</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37500</MinTileRow>
            <MaxTileRow>41675</MaxTileRow>
            <MinTileCol>62667</MinTileCol>
            <MaxTileCol>65213</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>75000</MinTileRow>
            <MaxTileRow>83351</MaxTileRow>
            <MinTileCol>125334</MinTileCol>
            <MaxTileCol>130426</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>150001</MinTileRow>
            <MaxTileRow>166703</MaxTileRow>
            <MinTileCol>250668</MinTileCol>
            <MaxTileCol>260853</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>300003</MinTileRow>
            <MaxTileRow>333406</MaxTileRow>
            <MinTileCol>501336</MinTileCol>
            <MaxTileCol>521706</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfotc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfotc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfotc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfotc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfotc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfotc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfotc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfotc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Core Paths - Scotland</ows:Title>
      <ows:Identifier>sh_cpth:pub_cpth</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_cpth%3Apub_cpth&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_cpth%3Apub_cpth&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_cpth%3Apub_cpth&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_cpth%3Apub_cpth&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_cpth%3Apub_cpth&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_cpth%3Apub_cpth" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>23</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>53</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>47</MinTileRow>
            <MaxTileRow>147</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>106</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>95</MinTileRow>
            <MaxTileRow>295</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>212</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>191</MinTileRow>
            <MaxTileRow>591</MaxTileRow>
            <MinTileCol>142</MinTileCol>
            <MaxTileCol>424</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>383</MinTileRow>
            <MaxTileRow>1183</MaxTileRow>
            <MinTileCol>285</MinTileCol>
            <MaxTileCol>848</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>766</MinTileRow>
            <MaxTileRow>2366</MaxTileRow>
            <MinTileCol>570</MinTileCol>
            <MaxTileCol>1696</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1533</MinTileRow>
            <MaxTileRow>4733</MaxTileRow>
            <MinTileCol>1140</MinTileCol>
            <MaxTileCol>3392</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3066</MinTileRow>
            <MaxTileRow>9466</MaxTileRow>
            <MinTileCol>2281</MinTileCol>
            <MaxTileCol>6785</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>6133</MinTileRow>
            <MaxTileRow>18933</MaxTileRow>
            <MinTileCol>4562</MinTileCol>
            <MaxTileCol>13571</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>151</MinTileRow>
            <MaxTileRow>163</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>302</MinTileRow>
            <MaxTileRow>326</MaxTileRow>
            <MinTileCol>489</MinTileCol>
            <MaxTileCol>507</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>604</MinTileRow>
            <MaxTileRow>652</MaxTileRow>
            <MinTileCol>978</MinTileCol>
            <MaxTileCol>1014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1208</MinTileRow>
            <MaxTileRow>1304</MaxTileRow>
            <MinTileCol>1957</MinTileCol>
            <MaxTileCol>2028</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2416</MinTileRow>
            <MaxTileRow>2609</MaxTileRow>
            <MinTileCol>3915</MinTileCol>
            <MaxTileCol>4056</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4832</MinTileRow>
            <MaxTileRow>5219</MaxTileRow>
            <MinTileCol>7831</MinTileCol>
            <MaxTileCol>8112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9665</MinTileRow>
            <MaxTileRow>10438</MaxTileRow>
            <MinTileCol>15663</MinTileCol>
            <MaxTileCol>16225</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19331</MinTileRow>
            <MaxTileRow>20876</MaxTileRow>
            <MinTileCol>31327</MinTileCol>
            <MaxTileCol>32451</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38663</MinTileRow>
            <MaxTileRow>41753</MaxTileRow>
            <MinTileCol>62654</MinTileCol>
            <MaxTileCol>64903</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77326</MinTileRow>
            <MaxTileRow>83506</MaxTileRow>
            <MinTileCol>125309</MinTileCol>
            <MaxTileCol>129806</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>154652</MinTileRow>
            <MaxTileRow>167012</MaxTileRow>
            <MinTileCol>250619</MinTileCol>
            <MaxTileCol>259613</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>309305</MinTileRow>
            <MaxTileRow>334025</MaxTileRow>
            <MinTileCol>501238</MinTileCol>
            <MaxTileCol>519227</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cpth:pub_cpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cpth:pub_cpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cpth:pub_cpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cpth:pub_cpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cpth:pub_cpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cpth:pub_cpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cpth:pub_cpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cpth:pub_cpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Polling Places - Scotland</ows:Title>
      <ows:Identifier>sh_polpl:pub_polpl</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_polpl%3Apub_polpl&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_polpl%3Apub_polpl&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_polpl%3Apub_polpl&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_polpl%3Apub_polpl&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_polpl%3Apub_polpl&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_polpl%3Apub_polpl" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>10</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>21</MinTileCol>
            <MaxTileCol>52</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>48</MinTileRow>
            <MaxTileRow>146</MaxTileRow>
            <MinTileCol>43</MinTileCol>
            <MaxTileCol>105</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>96</MinTileRow>
            <MaxTileRow>293</MaxTileRow>
            <MinTileCol>86</MinTileCol>
            <MaxTileCol>211</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>193</MinTileRow>
            <MaxTileRow>586</MaxTileRow>
            <MinTileCol>172</MinTileCol>
            <MaxTileCol>423</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>386</MinTileRow>
            <MaxTileRow>1173</MaxTileRow>
            <MinTileCol>344</MinTileCol>
            <MaxTileCol>847</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>773</MinTileRow>
            <MaxTileRow>2346</MaxTileRow>
            <MinTileCol>688</MinTileCol>
            <MaxTileCol>1695</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1547</MinTileRow>
            <MaxTileRow>4693</MaxTileRow>
            <MinTileCol>1376</MinTileCol>
            <MaxTileCol>3391</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3095</MinTileRow>
            <MaxTileRow>9387</MaxTileRow>
            <MinTileCol>2752</MinTileCol>
            <MaxTileCol>6782</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>6191</MinTileRow>
            <MaxTileRow>18774</MaxTileRow>
            <MinTileCol>5505</MinTileCol>
            <MaxTileCol>13564</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>151</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>302</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>491</MinTileCol>
            <MaxTileCol>507</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>604</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>982</MinTileCol>
            <MaxTileCol>1014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1208</MinTileRow>
            <MaxTileRow>1303</MaxTileRow>
            <MinTileCol>1965</MinTileCol>
            <MaxTileCol>2028</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2417</MinTileRow>
            <MaxTileRow>2606</MaxTileRow>
            <MinTileCol>3930</MinTileCol>
            <MaxTileCol>4056</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4834</MinTileRow>
            <MaxTileRow>5212</MaxTileRow>
            <MinTileCol>7861</MinTileCol>
            <MaxTileCol>8112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9669</MinTileRow>
            <MaxTileRow>10425</MaxTileRow>
            <MinTileCol>15722</MinTileCol>
            <MaxTileCol>16225</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19338</MinTileRow>
            <MaxTileRow>20851</MaxTileRow>
            <MinTileCol>31445</MinTileCol>
            <MaxTileCol>32450</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38677</MinTileRow>
            <MaxTileRow>41703</MaxTileRow>
            <MinTileCol>62890</MinTileCol>
            <MaxTileCol>64901</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77355</MinTileRow>
            <MaxTileRow>83406</MaxTileRow>
            <MinTileCol>125780</MinTileCol>
            <MaxTileCol>129803</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>154710</MinTileRow>
            <MaxTileRow>166812</MaxTileRow>
            <MinTileCol>251560</MinTileCol>
            <MaxTileCol>259606</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>309421</MinTileRow>
            <MaxTileRow>333625</MaxTileRow>
            <MinTileCol>503121</MinTileCol>
            <MaxTileCol>519212</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_polpl:pub_polpl/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_polpl:pub_polpl/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_polpl:pub_polpl/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_polpl:pub_polpl/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_polpl:pub_polpl/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_polpl:pub_polpl/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_polpl:pub_polpl/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_polpl:pub_polpl/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>National Cycle Network - Scotland</ows:Title>
      <ows:Identifier>sh_cycnt:pub_cycntncn</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_cycnt%3Apub_cycntncn&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_cycnt%3Apub_cycntncn&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_cycnt%3Apub_cycntncn&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_cycnt%3Apub_cycntncn&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_cycnt%3Apub_cycntncn&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_cycnt%3Apub_cycntncn" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>14</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>72</MaxTileRow>
            <MinTileCol>29</MinTileCol>
            <MaxTileCol>51</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>144</MaxTileRow>
            <MinTileCol>59</MinTileCol>
            <MaxTileCol>102</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>154</MinTileRow>
            <MaxTileRow>288</MaxTileRow>
            <MinTileCol>118</MinTileCol>
            <MaxTileCol>204</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>309</MinTileRow>
            <MaxTileRow>576</MaxTileRow>
            <MinTileCol>236</MinTileCol>
            <MaxTileCol>409</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>619</MinTileRow>
            <MaxTileRow>1152</MaxTileRow>
            <MinTileCol>472</MinTileCol>
            <MaxTileCol>819</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1238</MinTileRow>
            <MaxTileRow>2304</MaxTileRow>
            <MinTileCol>945</MinTileCol>
            <MaxTileCol>1639</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2476</MinTileRow>
            <MaxTileRow>4608</MaxTileRow>
            <MinTileCol>1890</MinTileCol>
            <MaxTileCol>3279</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>4952</MinTileRow>
            <MaxTileRow>9216</MaxTileRow>
            <MinTileCol>3781</MinTileCol>
            <MaxTileCol>6558</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>9905</MinTileRow>
            <MaxTileRow>18433</MaxTileRow>
            <MinTileCol>7562</MinTileCol>
            <MaxTileCol>13116</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>154</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>247</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>309</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>495</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>618</MinTileRow>
            <MaxTileRow>650</MaxTileRow>
            <MinTileCol>991</MinTileCol>
            <MaxTileCol>1012</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1237</MinTileRow>
            <MaxTileRow>1300</MaxTileRow>
            <MinTileCol>1982</MinTileCol>
            <MaxTileCol>2024</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2474</MinTileRow>
            <MaxTileRow>2600</MaxTileRow>
            <MinTileCol>3965</MinTileCol>
            <MaxTileCol>4049</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4948</MinTileRow>
            <MaxTileRow>5200</MaxTileRow>
            <MinTileCol>7931</MinTileCol>
            <MaxTileCol>8098</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9897</MinTileRow>
            <MaxTileRow>10400</MaxTileRow>
            <MinTileCol>15863</MinTileCol>
            <MaxTileCol>16197</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19795</MinTileRow>
            <MaxTileRow>20800</MaxTileRow>
            <MinTileCol>31726</MinTileCol>
            <MaxTileCol>32395</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39591</MinTileRow>
            <MaxTileRow>41601</MaxTileRow>
            <MinTileCol>63453</MinTileCol>
            <MaxTileCol>64791</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>79182</MinTileRow>
            <MaxTileRow>83202</MaxTileRow>
            <MinTileCol>126906</MinTileCol>
            <MaxTileCol>129582</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>158364</MinTileRow>
            <MaxTileRow>166404</MaxTileRow>
            <MinTileCol>253812</MinTileCol>
            <MaxTileCol>259165</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>316728</MinTileRow>
            <MaxTileRow>332808</MaxTileRow>
            <MinTileCol>507625</MinTileCol>
            <MaxTileCol>518331</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cycnt:pub_cycntncn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cycnt:pub_cycntncn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cycnt:pub_cycntncn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cycnt:pub_cycntncn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cycnt:pub_cycntncn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cycnt:pub_cycntncn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cycnt:pub_cycntncn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cycnt:pub_cycntncn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Housing Land Supply 2022-23 - Scotland</ows:Title>
      <ows:Identifier>sh_hls:pub_hls22to23</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_hls%3Apub_hls22to23&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_hls%3Apub_hls22to23&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_hls%3Apub_hls22to23&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_hls%3Apub_hls22to23&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_hls%3Apub_hls22to23&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_hls%3Apub_hls22to23" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>25</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>19</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>51</MaxTileRow>
            <MinTileCol>10</MinTileCol>
            <MaxTileCol>39</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>102</MaxTileRow>
            <MinTileCol>21</MinTileCol>
            <MaxTileCol>78</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>59</MinTileRow>
            <MaxTileRow>204</MaxTileRow>
            <MinTileCol>43</MinTileCol>
            <MaxTileCol>157</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>118</MinTileRow>
            <MaxTileRow>409</MaxTileRow>
            <MinTileCol>86</MinTileCol>
            <MaxTileCol>315</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>237</MinTileRow>
            <MaxTileRow>819</MaxTileRow>
            <MinTileCol>172</MinTileCol>
            <MaxTileCol>631</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>475</MinTileRow>
            <MaxTileRow>1639</MaxTileRow>
            <MinTileCol>344</MinTileCol>
            <MaxTileCol>1263</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>951</MinTileRow>
            <MaxTileRow>3279</MaxTileRow>
            <MinTileCol>688</MinTileCol>
            <MaxTileCol>2527</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1903</MinTileRow>
            <MaxTileRow>6558</MaxTileRow>
            <MinTileCol>1377</MinTileCol>
            <MaxTileCol>5055</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3807</MinTileRow>
            <MaxTileRow>13117</MaxTileRow>
            <MinTileCol>2755</MinTileCol>
            <MaxTileCol>10111</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>7614</MinTileRow>
            <MaxTileRow>26235</MaxTileRow>
            <MinTileCol>5510</MinTileCol>
            <MaxTileCol>20223</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>8</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>16</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>21</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>32</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>42</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>64</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>84</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>129</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>152</MinTileRow>
            <MaxTileRow>169</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>259</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>304</MinTileRow>
            <MaxTileRow>338</MaxTileRow>
            <MinTileCol>491</MinTileCol>
            <MaxTileCol>519</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>609</MinTileRow>
            <MaxTileRow>676</MaxTileRow>
            <MinTileCol>983</MinTileCol>
            <MaxTileCol>1039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1219</MinTileRow>
            <MaxTileRow>1353</MaxTileRow>
            <MinTileCol>1966</MinTileCol>
            <MaxTileCol>2079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2439</MinTileRow>
            <MaxTileRow>2706</MaxTileRow>
            <MinTileCol>3932</MinTileCol>
            <MaxTileCol>4158</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4878</MinTileRow>
            <MaxTileRow>5413</MaxTileRow>
            <MinTileCol>7864</MinTileCol>
            <MaxTileCol>8317</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9757</MinTileRow>
            <MaxTileRow>10826</MaxTileRow>
            <MinTileCol>15729</MinTileCol>
            <MaxTileCol>16634</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19515</MinTileRow>
            <MaxTileRow>21652</MaxTileRow>
            <MinTileCol>31459</MinTileCol>
            <MaxTileCol>33269</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39031</MinTileRow>
            <MaxTileRow>43304</MaxTileRow>
            <MinTileCol>62918</MinTileCol>
            <MaxTileCol>66538</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>78063</MinTileRow>
            <MaxTileRow>86609</MaxTileRow>
            <MinTileCol>125837</MinTileCol>
            <MaxTileCol>133077</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>156126</MinTileRow>
            <MaxTileRow>173219</MaxTileRow>
            <MinTileCol>251675</MinTileCol>
            <MaxTileCol>266154</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>312253</MinTileRow>
            <MaxTileRow>346438</MaxTileRow>
            <MinTileCol>503350</MinTileCol>
            <MaxTileCol>532309</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls:pub_hls22to23/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls:pub_hls22to23/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls:pub_hls22to23/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls:pub_hls22to23/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls:pub_hls22to23/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls:pub_hls22to23/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls:pub_hls22to23/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls:pub_hls22to23/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Place Name Gazetteer - Scotland</ows:Title>
      <ows:Identifier>sh_png:pub_png</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_png%3Apub_png&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_png%3Apub_png&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_png%3Apub_png&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_png%3Apub_png&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_png%3Apub_png&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_png%3Apub_png" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>147</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>116</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>294</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>233</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>589</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>467</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>1179</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>935</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>165</MinTileRow>
            <MaxTileRow>2359</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1871</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>330</MinTileRow>
            <MaxTileRow>4718</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3742</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>660</MinTileRow>
            <MaxTileRow>9436</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>7485</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1321</MinTileRow>
            <MaxTileRow>18872</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>14970</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>14</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>29</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>58</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>117</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>163</MaxTileRow>
            <MinTileCol>235</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>327</MaxTileRow>
            <MinTileCol>470</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>584</MinTileRow>
            <MaxTileRow>655</MaxTileRow>
            <MinTileCol>941</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1169</MinTileRow>
            <MaxTileRow>1311</MaxTileRow>
            <MinTileCol>1882</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2339</MinTileRow>
            <MaxTileRow>2622</MaxTileRow>
            <MinTileCol>3764</MinTileCol>
            <MaxTileCol>4079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4678</MinTileRow>
            <MaxTileRow>5245</MaxTileRow>
            <MinTileCol>7528</MinTileCol>
            <MaxTileCol>8159</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9357</MinTileRow>
            <MaxTileRow>10490</MaxTileRow>
            <MinTileCol>15056</MinTileCol>
            <MaxTileCol>16319</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18714</MinTileRow>
            <MaxTileRow>20981</MaxTileRow>
            <MinTileCol>30112</MinTileCol>
            <MaxTileCol>32638</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37428</MinTileRow>
            <MaxTileRow>41963</MaxTileRow>
            <MinTileCol>60225</MinTileCol>
            <MaxTileCol>65276</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74856</MinTileRow>
            <MaxTileRow>83927</MaxTileRow>
            <MinTileCol>120450</MinTileCol>
            <MaxTileCol>130553</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149713</MinTileRow>
            <MaxTileRow>167854</MaxTileRow>
            <MinTileCol>240900</MinTileCol>
            <MaxTileCol>261107</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299427</MinTileRow>
            <MaxTileRow>335708</MaxTileRow>
            <MinTileCol>481800</MinTileCol>
            <MaxTileCol>522215</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_png:pub_png/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_png:pub_png/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_png:pub_png/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_png:pub_png/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_png:pub_png/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_png:pub_png/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_png:pub_png/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_png:pub_png/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Low Emission Zones - Scotland</ows:Title>
      <ows:Identifier>sh_lez:pub_lez</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lez%3Apub_lez&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lez%3Apub_lez&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lez%3Apub_lez&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lez%3Apub_lez&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lez%3Apub_lez&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_lez%3Apub_lez" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>23</MinTileRow>
            <MaxTileRow>30</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>46</MinTileRow>
            <MaxTileRow>60</MaxTileRow>
            <MinTileCol>37</MinTileCol>
            <MaxTileCol>50</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>92</MinTileRow>
            <MaxTileRow>120</MaxTileRow>
            <MinTileCol>74</MinTileCol>
            <MaxTileCol>101</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>185</MinTileRow>
            <MaxTileRow>241</MaxTileRow>
            <MinTileCol>149</MinTileCol>
            <MaxTileCol>203</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>370</MinTileRow>
            <MaxTileRow>483</MaxTileRow>
            <MinTileCol>299</MinTileCol>
            <MaxTileCol>407</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>740</MinTileRow>
            <MaxTileRow>966</MaxTileRow>
            <MinTileCol>598</MinTileCol>
            <MaxTileCol>815</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1480</MinTileRow>
            <MaxTileRow>1933</MaxTileRow>
            <MinTileCol>1196</MinTileCol>
            <MaxTileCol>1631</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2960</MinTileRow>
            <MaxTileRow>3866</MaxTileRow>
            <MinTileCol>2393</MinTileCol>
            <MaxTileCol>3263</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>5921</MinTileRow>
            <MaxTileRow>7732</MaxTileRow>
            <MinTileCol>4787</MinTileCol>
            <MaxTileCol>6526</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>11842</MinTileRow>
            <MaxTileRow>15464</MaxTileRow>
            <MinTileCol>9574</MinTileCol>
            <MaxTileCol>13053</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>19</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>39</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>78</MinTileRow>
            <MaxTileRow>79</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>156</MinTileRow>
            <MaxTileRow>159</MaxTileRow>
            <MinTileCol>249</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>312</MinTileRow>
            <MaxTileRow>319</MaxTileRow>
            <MinTileCol>499</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>625</MinTileRow>
            <MaxTileRow>639</MaxTileRow>
            <MinTileCol>999</MinTileCol>
            <MaxTileCol>1012</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1251</MinTileRow>
            <MaxTileRow>1278</MaxTileRow>
            <MinTileCol>1998</MinTileCol>
            <MaxTileCol>2024</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2503</MinTileRow>
            <MaxTileRow>2557</MaxTileRow>
            <MinTileCol>3997</MinTileCol>
            <MaxTileCol>4048</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>5006</MinTileRow>
            <MaxTileRow>5114</MaxTileRow>
            <MinTileCol>7994</MinTileCol>
            <MaxTileCol>8097</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>10013</MinTileRow>
            <MaxTileRow>10228</MaxTileRow>
            <MinTileCol>15988</MinTileCol>
            <MaxTileCol>16194</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>20027</MinTileRow>
            <MaxTileRow>20456</MaxTileRow>
            <MinTileCol>31976</MinTileCol>
            <MaxTileCol>32388</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>40054</MinTileRow>
            <MaxTileRow>40912</MaxTileRow>
            <MinTileCol>63953</MinTileCol>
            <MaxTileCol>64776</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>80108</MinTileRow>
            <MaxTileRow>81824</MaxTileRow>
            <MinTileCol>127906</MinTileCol>
            <MaxTileCol>129553</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>160217</MinTileRow>
            <MaxTileRow>163648</MaxTileRow>
            <MinTileCol>255812</MinTileCol>
            <MaxTileCol>259106</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>320435</MinTileRow>
            <MaxTileRow>327297</MaxTileRow>
            <MinTileCol>511624</MinTileCol>
            <MaxTileCol>518213</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lez:pub_lez/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lez:pub_lez/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lez:pub_lez/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lez:pub_lez/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lez:pub_lez/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lez:pub_lez/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lez:pub_lez/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lez:pub_lez/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Air Quality Management Areas - Scotland</ows:Title>
      <ows:Identifier>sh_aqma:pub_aqma</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_aqma%3Apub_aqma&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_aqma%3Apub_aqma&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_aqma%3Apub_aqma&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_aqma%3Apub_aqma&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_aqma%3Apub_aqma&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_aqma%3Apub_aqma" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>21</MinTileRow>
            <MaxTileRow>31</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>42</MinTileRow>
            <MaxTileRow>62</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>51</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>84</MinTileRow>
            <MaxTileRow>125</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>102</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>169</MinTileRow>
            <MaxTileRow>250</MaxTileRow>
            <MinTileCol>143</MinTileCol>
            <MaxTileCol>204</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>339</MinTileRow>
            <MaxTileRow>500</MaxTileRow>
            <MinTileCol>286</MinTileCol>
            <MaxTileCol>408</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>678</MinTileRow>
            <MaxTileRow>1000</MaxTileRow>
            <MinTileCol>573</MinTileCol>
            <MaxTileCol>816</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1356</MinTileRow>
            <MaxTileRow>2001</MaxTileRow>
            <MinTileCol>1147</MinTileCol>
            <MaxTileCol>1632</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2713</MinTileRow>
            <MaxTileRow>4003</MaxTileRow>
            <MinTileCol>2294</MinTileCol>
            <MaxTileCol>3264</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>5426</MinTileRow>
            <MaxTileRow>8006</MaxTileRow>
            <MinTileCol>4589</MinTileCol>
            <MaxTileCol>6528</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>10853</MinTileRow>
            <MaxTileRow>16013</MaxTileRow>
            <MinTileCol>9178</MinTileCol>
            <MaxTileCol>13056</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>155</MinTileRow>
            <MaxTileRow>160</MaxTileRow>
            <MinTileCol>249</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>311</MinTileRow>
            <MaxTileRow>320</MaxTileRow>
            <MinTileCol>498</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>622</MinTileRow>
            <MaxTileRow>641</MaxTileRow>
            <MinTileCol>997</MinTileCol>
            <MaxTileCol>1012</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1244</MinTileRow>
            <MaxTileRow>1282</MaxTileRow>
            <MinTileCol>1995</MinTileCol>
            <MaxTileCol>2024</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2488</MinTileRow>
            <MaxTileRow>2565</MaxTileRow>
            <MinTileCol>3990</MinTileCol>
            <MaxTileCol>4048</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4977</MinTileRow>
            <MaxTileRow>5130</MaxTileRow>
            <MinTileCol>7981</MinTileCol>
            <MaxTileCol>8097</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9954</MinTileRow>
            <MaxTileRow>10260</MaxTileRow>
            <MinTileCol>15962</MinTileCol>
            <MaxTileCol>16194</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19909</MinTileRow>
            <MaxTileRow>20520</MaxTileRow>
            <MinTileCol>31925</MinTileCol>
            <MaxTileCol>32388</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39818</MinTileRow>
            <MaxTileRow>41040</MaxTileRow>
            <MinTileCol>63850</MinTileCol>
            <MaxTileCol>64777</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>79637</MinTileRow>
            <MaxTileRow>82081</MaxTileRow>
            <MinTileCol>127700</MinTileCol>
            <MaxTileCol>129555</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>159275</MinTileRow>
            <MaxTileRow>164162</MaxTileRow>
            <MinTileCol>255401</MinTileCol>
            <MaxTileCol>259110</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>318551</MinTileRow>
            <MaxTileRow>328325</MaxTileRow>
            <MinTileCol>510803</MinTileCol>
            <MaxTileCol>518220</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_aqma:pub_aqma/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_aqma:pub_aqma/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_aqma:pub_aqma/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_aqma:pub_aqma/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_aqma:pub_aqma/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_aqma:pub_aqma/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_aqma:pub_aqma/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_aqma:pub_aqma/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Culvert (Points) - Scotland</ows:Title>
      <ows:Identifier>sh_clvt:pub_clvtpnt</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_clvt%3Apub_clvtpnt&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_clvt%3Apub_clvtpnt&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_clvt%3Apub_clvtpnt&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_clvt%3Apub_clvtpnt&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_clvt%3Apub_clvtpnt&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_clvt%3Apub_clvtpnt" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>16</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>33</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>66</MaxTileRow>
            <MinTileCol>24</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>132</MaxTileRow>
            <MinTileCol>49</MinTileCol>
            <MaxTileCol>117</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>21</MinTileRow>
            <MaxTileRow>265</MaxTileRow>
            <MinTileCol>98</MinTileCol>
            <MaxTileCol>234</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>42</MinTileRow>
            <MaxTileRow>530</MaxTileRow>
            <MinTileCol>197</MinTileCol>
            <MaxTileCol>468</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>84</MinTileRow>
            <MaxTileRow>1061</MaxTileRow>
            <MinTileCol>395</MinTileCol>
            <MaxTileCol>936</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>168</MinTileRow>
            <MaxTileRow>2123</MaxTileRow>
            <MinTileCol>790</MinTileCol>
            <MaxTileCol>1872</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>337</MinTileRow>
            <MaxTileRow>4246</MaxTileRow>
            <MinTileCol>1580</MinTileCol>
            <MaxTileCol>3745</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>675</MinTileRow>
            <MaxTileRow>8492</MaxTileRow>
            <MinTileCol>3160</MinTileCol>
            <MaxTileCol>7491</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1351</MinTileRow>
            <MaxTileRow>16984</MaxTileRow>
            <MinTileCol>6321</MinTileCol>
            <MaxTileCol>14982</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>161</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>322</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>584</MinTileRow>
            <MaxTileRow>645</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1169</MinTileRow>
            <MaxTileRow>1290</MaxTileRow>
            <MinTileCol>1968</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2339</MinTileRow>
            <MaxTileRow>2580</MaxTileRow>
            <MinTileCol>3937</MinTileCol>
            <MaxTileCol>4079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4679</MinTileRow>
            <MaxTileRow>5161</MaxTileRow>
            <MinTileCol>7875</MinTileCol>
            <MaxTileCol>8159</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9358</MinTileRow>
            <MaxTileRow>10323</MaxTileRow>
            <MinTileCol>15750</MinTileCol>
            <MaxTileCol>16319</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18716</MinTileRow>
            <MaxTileRow>20646</MaxTileRow>
            <MinTileCol>31501</MinTileCol>
            <MaxTileCol>32639</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37433</MinTileRow>
            <MaxTileRow>41292</MaxTileRow>
            <MinTileCol>63002</MinTileCol>
            <MaxTileCol>65279</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74866</MinTileRow>
            <MaxTileRow>82584</MaxTileRow>
            <MinTileCol>126005</MinTileCol>
            <MaxTileCol>130559</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149733</MinTileRow>
            <MaxTileRow>165168</MaxTileRow>
            <MinTileCol>252010</MinTileCol>
            <MaxTileCol>261119</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299467</MinTileRow>
            <MaxTileRow>330336</MaxTileRow>
            <MinTileCol>504020</MinTileCol>
            <MaxTileCol>522238</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Local Nature Conservation Sites - Scotland</ows:Title>
      <ows:Identifier>sh_lnatcs:pub_lnatcs</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lnatcs%3Apub_lnatcs&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lnatcs%3Apub_lnatcs&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lnatcs%3Apub_lnatcs&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lnatcs%3Apub_lnatcs&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lnatcs%3Apub_lnatcs&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_lnatcs%3Apub_lnatcs" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>10</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>21</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>21</MinTileCol>
            <MaxTileCol>53</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>42</MinTileRow>
            <MaxTileRow>147</MaxTileRow>
            <MinTileCol>43</MinTileCol>
            <MaxTileCol>106</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>84</MinTileRow>
            <MaxTileRow>294</MaxTileRow>
            <MinTileCol>86</MinTileCol>
            <MaxTileCol>213</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>169</MinTileRow>
            <MaxTileRow>589</MaxTileRow>
            <MinTileCol>172</MinTileCol>
            <MaxTileCol>426</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>338</MinTileRow>
            <MaxTileRow>1179</MaxTileRow>
            <MinTileCol>344</MinTileCol>
            <MaxTileCol>852</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>677</MinTileRow>
            <MaxTileRow>2359</MaxTileRow>
            <MinTileCol>688</MinTileCol>
            <MaxTileCol>1704</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1354</MinTileRow>
            <MaxTileRow>4719</MaxTileRow>
            <MinTileCol>1377</MinTileCol>
            <MaxTileCol>3408</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>2709</MinTileRow>
            <MaxTileRow>9438</MaxTileRow>
            <MinTileCol>2754</MinTileCol>
            <MaxTileCol>6817</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>5418</MinTileRow>
            <MaxTileRow>18876</MaxTileRow>
            <MinTileCol>5508</MinTileCol>
            <MaxTileCol>13635</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>150</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>300</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>491</MinTileCol>
            <MaxTileCol>507</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>601</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>982</MinTileCol>
            <MaxTileCol>1014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1202</MinTileRow>
            <MaxTileRow>1303</MaxTileRow>
            <MinTileCol>1964</MinTileCol>
            <MaxTileCol>2028</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2405</MinTileRow>
            <MaxTileRow>2607</MaxTileRow>
            <MinTileCol>3929</MinTileCol>
            <MaxTileCol>4057</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4810</MinTileRow>
            <MaxTileRow>5215</MaxTileRow>
            <MinTileCol>7859</MinTileCol>
            <MaxTileCol>8115</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9620</MinTileRow>
            <MaxTileRow>10431</MaxTileRow>
            <MinTileCol>15718</MinTileCol>
            <MaxTileCol>16230</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19241</MinTileRow>
            <MaxTileRow>20862</MaxTileRow>
            <MinTileCol>31437</MinTileCol>
            <MaxTileCol>32460</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38483</MinTileRow>
            <MaxTileRow>41725</MaxTileRow>
            <MinTileCol>62875</MinTileCol>
            <MaxTileCol>64920</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>76966</MinTileRow>
            <MaxTileRow>83451</MaxTileRow>
            <MinTileCol>125751</MinTileCol>
            <MaxTileCol>129840</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>153933</MinTileRow>
            <MaxTileRow>166902</MaxTileRow>
            <MinTileCol>251502</MinTileCol>
            <MaxTileCol>259680</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>307866</MinTileRow>
            <MaxTileRow>333805</MaxTileRow>
            <MinTileCol>503004</MinTileCol>
            <MaxTileCol>519361</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lnatcs:pub_lnatcs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lnatcs:pub_lnatcs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lnatcs:pub_lnatcs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lnatcs:pub_lnatcs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lnatcs:pub_lnatcs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lnatcs:pub_lnatcs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lnatcs:pub_lnatcs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lnatcs:pub_lnatcs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Path Network - Scotland</ows:Title>
      <ows:Identifier>ext_rpth:pub_rpth</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_rpth%3Apub_rpth&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_rpth%3Apub_rpth&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_rpth%3Apub_rpth&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_rpth%3Apub_rpth&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_rpth%3Apub_rpth&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_rpth%3Apub_rpth" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>14</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>29</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>58</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>117</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>235</MaxTileRow>
            <MinTileCol>25</MinTileCol>
            <MaxTileCol>116</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>21</MinTileRow>
            <MaxTileRow>471</MaxTileRow>
            <MinTileCol>50</MinTileCol>
            <MaxTileCol>233</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>43</MinTileRow>
            <MaxTileRow>942</MaxTileRow>
            <MinTileCol>101</MinTileCol>
            <MaxTileCol>467</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>86</MinTileRow>
            <MaxTileRow>1885</MaxTileRow>
            <MinTileCol>203</MinTileCol>
            <MaxTileCol>935</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>172</MinTileRow>
            <MaxTileRow>3771</MaxTileRow>
            <MinTileCol>407</MinTileCol>
            <MaxTileCol>1871</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>344</MinTileRow>
            <MaxTileRow>7543</MaxTileRow>
            <MinTileCol>815</MinTileCol>
            <MaxTileCol>3742</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>689</MinTileRow>
            <MaxTileRow>15086</MaxTileRow>
            <MinTileCol>1631</MinTileCol>
            <MaxTileCol>7485</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1378</MinTileRow>
            <MaxTileRow>30173</MaxTileRow>
            <MinTileCol>3263</MinTileCol>
            <MaxTileCol>14971</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>21</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>43</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>86</MaxTileRow>
            <MinTileCol>121</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>172</MaxTileRow>
            <MinTileCol>242</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>344</MaxTileRow>
            <MinTileCol>485</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>689</MaxTileRow>
            <MinTileCol>971</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1170</MinTileRow>
            <MaxTileRow>1379</MaxTileRow>
            <MinTileCol>1943</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2340</MinTileRow>
            <MaxTileRow>2758</MaxTileRow>
            <MinTileCol>3887</MinTileCol>
            <MaxTileCol>4079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4680</MinTileRow>
            <MaxTileRow>5517</MaxTileRow>
            <MinTileCol>7775</MinTileCol>
            <MaxTileCol>8159</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9360</MinTileRow>
            <MaxTileRow>11035</MaxTileRow>
            <MinTileCol>15551</MinTileCol>
            <MaxTileCol>16319</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18720</MinTileRow>
            <MaxTileRow>22071</MaxTileRow>
            <MinTileCol>31102</MinTileCol>
            <MaxTileCol>32638</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37440</MinTileRow>
            <MaxTileRow>44142</MaxTileRow>
            <MinTileCol>62205</MinTileCol>
            <MaxTileCol>65276</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74880</MinTileRow>
            <MaxTileRow>88285</MaxTileRow>
            <MinTileCol>124411</MinTileCol>
            <MaxTileCol>130553</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149761</MinTileRow>
            <MaxTileRow>176571</MaxTileRow>
            <MinTileCol>248823</MinTileCol>
            <MaxTileCol>261107</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299522</MinTileRow>
            <MaxTileRow>353142</MaxTileRow>
            <MinTileCol>497646</MinTileCol>
            <MaxTileCol>522215</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_rpth:pub_rpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_rpth:pub_rpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_rpth:pub_rpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_rpth:pub_rpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_rpth:pub_rpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_rpth:pub_rpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_rpth:pub_rpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_rpth:pub_rpth/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Fitness Suites - Scotland</ows:Title>
      <ows:Identifier>ext_spf:pub_spffs</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spffs&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spffs&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spffs&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spffs&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spffs&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_spf%3Apub_spffs" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>72</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>57</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>144</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>115</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>25</MinTileRow>
            <MaxTileRow>288</MaxTileRow>
            <MinTileCol>73</MinTileCol>
            <MaxTileCol>230</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>50</MinTileRow>
            <MaxTileRow>577</MaxTileRow>
            <MinTileCol>146</MinTileCol>
            <MaxTileCol>460</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>100</MinTileRow>
            <MaxTileRow>1155</MaxTileRow>
            <MinTileCol>293</MinTileCol>
            <MaxTileCol>920</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>200</MinTileRow>
            <MaxTileRow>2310</MaxTileRow>
            <MinTileCol>586</MinTileCol>
            <MaxTileCol>1841</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>401</MinTileRow>
            <MaxTileRow>4620</MaxTileRow>
            <MinTileCol>1172</MinTileCol>
            <MaxTileCol>3683</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>803</MinTileRow>
            <MaxTileRow>9241</MaxTileRow>
            <MinTileCol>2344</MinTileCol>
            <MaxTileCol>7366</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1606</MinTileRow>
            <MaxTileRow>18482</MaxTileRow>
            <MinTileCol>4688</MinTileCol>
            <MaxTileCol>14733</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>488</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>650</MaxTileRow>
            <MinTileCol>977</MinTileCol>
            <MaxTileCol>1018</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1171</MinTileRow>
            <MaxTileRow>1301</MaxTileRow>
            <MinTileCol>1955</MinTileCol>
            <MaxTileCol>2037</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2343</MinTileRow>
            <MaxTileRow>2603</MaxTileRow>
            <MinTileCol>3911</MinTileCol>
            <MaxTileCol>4075</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4687</MinTileRow>
            <MaxTileRow>5206</MaxTileRow>
            <MinTileCol>7822</MinTileCol>
            <MaxTileCol>8151</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9375</MinTileRow>
            <MaxTileRow>10412</MaxTileRow>
            <MinTileCol>15645</MinTileCol>
            <MaxTileCol>16303</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18750</MinTileRow>
            <MaxTileRow>20825</MaxTileRow>
            <MinTileCol>31291</MinTileCol>
            <MaxTileCol>32606</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37500</MinTileRow>
            <MaxTileRow>41651</MaxTileRow>
            <MinTileCol>62582</MinTileCol>
            <MaxTileCol>65213</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>75000</MinTileRow>
            <MaxTileRow>83302</MaxTileRow>
            <MinTileCol>125164</MinTileCol>
            <MaxTileCol>130426</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>150001</MinTileRow>
            <MaxTileRow>166604</MaxTileRow>
            <MinTileCol>250329</MinTileCol>
            <MaxTileCol>260853</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>300003</MinTileRow>
            <MaxTileRow>333209</MaxTileRow>
            <MinTileCol>500658</MinTileCol>
            <MaxTileCol>521706</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spffs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spffs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spffs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spffs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spffs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spffs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spffs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spffs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>GHiGs Strategic Greenspaces - Scotland</ows:Title>
      <ows:Identifier>ext_ghigs:pub_ghigs-s-green</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_ghigs%3Apub_ghigs-s-green" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>35</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>71</MaxTileRow>
            <MinTileCol>19</MinTileCol>
            <MaxTileCol>56</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>143</MaxTileRow>
            <MinTileCol>38</MinTileCol>
            <MaxTileCol>112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>40</MinTileRow>
            <MaxTileRow>286</MaxTileRow>
            <MinTileCol>77</MinTileCol>
            <MaxTileCol>225</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>81</MinTileRow>
            <MaxTileRow>573</MaxTileRow>
            <MinTileCol>154</MinTileCol>
            <MaxTileCol>450</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>163</MinTileRow>
            <MaxTileRow>1147</MaxTileRow>
            <MinTileCol>309</MinTileCol>
            <MaxTileCol>900</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>326</MinTileRow>
            <MaxTileRow>2294</MaxTileRow>
            <MinTileCol>619</MinTileCol>
            <MaxTileCol>1801</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>652</MinTileRow>
            <MaxTileRow>4588</MaxTileRow>
            <MinTileCol>1238</MinTileCol>
            <MaxTileCol>3603</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>1305</MinTileRow>
            <MaxTileRow>9177</MaxTileRow>
            <MinTileCol>2476</MinTileCol>
            <MaxTileCol>7207</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>2611</MinTileRow>
            <MaxTileRow>18354</MaxTileRow>
            <MinTileCol>4952</MinTileCol>
            <MaxTileCol>14415</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>147</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>295</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>489</MinTileCol>
            <MaxTileCol>508</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>590</MinTileRow>
            <MaxTileRow>650</MaxTileRow>
            <MinTileCol>979</MinTileCol>
            <MaxTileCol>1017</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1180</MinTileRow>
            <MaxTileRow>1300</MaxTileRow>
            <MinTileCol>1958</MinTileCol>
            <MaxTileCol>2035</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2360</MinTileRow>
            <MaxTileRow>2601</MaxTileRow>
            <MinTileCol>3917</MinTileCol>
            <MaxTileCol>4070</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4720</MinTileRow>
            <MaxTileRow>5202</MaxTileRow>
            <MinTileCol>7834</MinTileCol>
            <MaxTileCol>8140</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9440</MinTileRow>
            <MaxTileRow>10404</MaxTileRow>
            <MinTileCol>15668</MinTileCol>
            <MaxTileCol>16281</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18881</MinTileRow>
            <MaxTileRow>20809</MaxTileRow>
            <MinTileCol>31337</MinTileCol>
            <MaxTileCol>32563</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37763</MinTileRow>
            <MaxTileRow>41618</MaxTileRow>
            <MinTileCol>62674</MinTileCol>
            <MaxTileCol>65126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>75526</MinTileRow>
            <MaxTileRow>83237</MaxTileRow>
            <MinTileCol>125348</MinTileCol>
            <MaxTileCol>130252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>151053</MinTileRow>
            <MaxTileRow>166474</MaxTileRow>
            <MinTileCol>250696</MinTileCol>
            <MaxTileCol>260505</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>302107</MinTileRow>
            <MaxTileRow>332948</MaxTileRow>
            <MinTileCol>501393</MinTileCol>
            <MaxTileCol>521010</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-s-green/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-s-green/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-s-green/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-s-green/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-s-green/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-s-green/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-s-green/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-s-green/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Flotta Safeguarded Area</ows:Title>
      <ows:Identifier>ext_oifsa_premium:pub_oifsa</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_oifsa_premium%3Apub_oifsa" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>5</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>11</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>22</MinTileCol>
            <MaxTileCol>22</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>27</MinTileRow>
            <MaxTileRow>27</MaxTileRow>
            <MinTileCol>44</MinTileCol>
            <MaxTileCol>45</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>54</MinTileRow>
            <MaxTileRow>55</MaxTileRow>
            <MinTileCol>89</MinTileCol>
            <MaxTileCol>90</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>108</MinTileRow>
            <MaxTileRow>110</MaxTileRow>
            <MinTileCol>179</MinTileCol>
            <MaxTileCol>181</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>217</MinTileRow>
            <MaxTileRow>220</MaxTileRow>
            <MinTileCol>359</MinTileCol>
            <MaxTileCol>362</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>434</MinTileRow>
            <MaxTileRow>441</MaxTileRow>
            <MinTileCol>719</MinTileCol>
            <MaxTileCol>725</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>868</MinTileRow>
            <MaxTileRow>882</MaxTileRow>
            <MinTileCol>1439</MinTileCol>
            <MaxTileCol>1450</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1736</MinTileRow>
            <MaxTileRow>1764</MaxTileRow>
            <MinTileCol>2879</MinTileCol>
            <MaxTileCol>2901</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3472</MinTileRow>
            <MaxTileRow>3528</MaxTileRow>
            <MinTileCol>5759</MinTileCol>
            <MaxTileCol>5802</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>6945</MinTileRow>
            <MaxTileRow>7057</MaxTileRow>
            <MinTileCol>11519</MinTileCol>
            <MaxTileCol>11604</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>37</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>75</MaxTileRow>
            <MinTileCol>125</MinTileCol>
            <MaxTileCol>125</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>151</MinTileRow>
            <MaxTileRow>151</MaxTileRow>
            <MinTileCol>251</MinTileCol>
            <MaxTileCol>251</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>303</MinTileRow>
            <MaxTileRow>303</MaxTileRow>
            <MinTileCol>503</MinTileCol>
            <MaxTileCol>503</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>607</MinTileRow>
            <MaxTileRow>607</MaxTileRow>
            <MinTileCol>1006</MinTileCol>
            <MaxTileCol>1006</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1214</MinTileRow>
            <MaxTileRow>1215</MaxTileRow>
            <MinTileCol>2012</MinTileCol>
            <MaxTileCol>2012</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2429</MinTileRow>
            <MaxTileRow>2431</MaxTileRow>
            <MinTileCol>4024</MinTileCol>
            <MaxTileCol>4025</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4858</MinTileRow>
            <MaxTileRow>4862</MaxTileRow>
            <MinTileCol>8049</MinTileCol>
            <MaxTileCol>8051</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9717</MinTileRow>
            <MaxTileRow>9724</MaxTileRow>
            <MinTileCol>16098</MinTileCol>
            <MaxTileCol>16103</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19434</MinTileRow>
            <MaxTileRow>19448</MaxTileRow>
            <MinTileCol>32196</MinTileCol>
            <MaxTileCol>32207</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38869</MinTileRow>
            <MaxTileRow>38897</MaxTileRow>
            <MinTileCol>64393</MinTileCol>
            <MaxTileCol>64414</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77738</MinTileRow>
            <MaxTileRow>77794</MaxTileRow>
            <MinTileCol>128786</MinTileCol>
            <MaxTileCol>128829</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>155476</MinTileRow>
            <MaxTileRow>155589</MaxTileRow>
            <MinTileCol>257572</MinTileCol>
            <MaxTileCol>257659</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>310952</MinTileRow>
            <MaxTileRow>311178</MaxTileRow>
            <MinTileCol>515145</MinTileCol>
            <MaxTileCol>515318</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oifsa_premium:pub_oifsa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oifsa_premium:pub_oifsa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oifsa_premium:pub_oifsa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oifsa_premium:pub_oifsa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oifsa_premium:pub_oifsa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oifsa_premium:pub_oifsa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oifsa_premium:pub_oifsa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oifsa_premium:pub_oifsa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Scapa Designated Anchor Berths - Orkney Islands</ows:Title>
      <ows:Identifier>ext_oisdab_premium:pub_oisdab</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_oisdab_premium%3Apub_oisdab" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>5</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>11</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>22</MinTileCol>
            <MaxTileCol>23</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>26</MinTileRow>
            <MaxTileRow>27</MaxTileRow>
            <MinTileCol>45</MinTileCol>
            <MaxTileCol>46</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>52</MinTileRow>
            <MaxTileRow>54</MaxTileRow>
            <MinTileCol>90</MinTileCol>
            <MaxTileCol>92</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>105</MinTileRow>
            <MaxTileRow>109</MaxTileRow>
            <MinTileCol>180</MinTileCol>
            <MaxTileCol>184</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>211</MinTileRow>
            <MaxTileRow>219</MaxTileRow>
            <MinTileCol>360</MinTileCol>
            <MaxTileCol>369</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>423</MinTileRow>
            <MaxTileRow>438</MaxTileRow>
            <MinTileCol>721</MinTileCol>
            <MaxTileCol>738</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>847</MinTileRow>
            <MaxTileRow>876</MaxTileRow>
            <MinTileCol>1443</MinTileCol>
            <MaxTileCol>1477</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1695</MinTileRow>
            <MaxTileRow>1752</MaxTileRow>
            <MinTileCol>2887</MinTileCol>
            <MaxTileCol>2954</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3390</MinTileRow>
            <MaxTileRow>3504</MaxTileRow>
            <MinTileCol>5775</MinTileCol>
            <MaxTileCol>5909</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>6781</MinTileRow>
            <MaxTileRow>7009</MaxTileRow>
            <MinTileCol>11550</MinTileCol>
            <MaxTileCol>11818</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>37</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>75</MaxTileRow>
            <MinTileCol>125</MinTileCol>
            <MaxTileCol>125</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>151</MinTileRow>
            <MaxTileRow>151</MaxTileRow>
            <MinTileCol>251</MinTileCol>
            <MaxTileCol>251</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>303</MinTileRow>
            <MaxTileRow>303</MaxTileRow>
            <MinTileCol>503</MinTileCol>
            <MaxTileCol>503</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>606</MinTileRow>
            <MaxTileRow>607</MaxTileRow>
            <MinTileCol>1006</MinTileCol>
            <MaxTileCol>1007</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1213</MinTileRow>
            <MaxTileRow>1215</MaxTileRow>
            <MinTileCol>2012</MinTileCol>
            <MaxTileCol>2014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2426</MinTileRow>
            <MaxTileRow>2430</MaxTileRow>
            <MinTileCol>4025</MinTileCol>
            <MaxTileCol>4029</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4853</MinTileRow>
            <MaxTileRow>4860</MaxTileRow>
            <MinTileCol>8050</MinTileCol>
            <MaxTileCol>8058</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9706</MinTileRow>
            <MaxTileRow>9721</MaxTileRow>
            <MinTileCol>16100</MinTileCol>
            <MaxTileCol>16116</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19413</MinTileRow>
            <MaxTileRow>19442</MaxTileRow>
            <MinTileCol>32200</MinTileCol>
            <MaxTileCol>32233</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38827</MinTileRow>
            <MaxTileRow>38885</MaxTileRow>
            <MinTileCol>64400</MinTileCol>
            <MaxTileCol>64467</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77654</MinTileRow>
            <MaxTileRow>77770</MaxTileRow>
            <MinTileCol>128800</MinTileCol>
            <MaxTileCol>128935</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>155309</MinTileRow>
            <MaxTileRow>155540</MaxTileRow>
            <MinTileCol>257600</MinTileCol>
            <MaxTileCol>257871</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>310618</MinTileRow>
            <MaxTileRow>311081</MaxTileRow>
            <MinTileCol>515201</MinTileCol>
            <MaxTileCol>515742</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdab_premium:pub_oisdab/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdab_premium:pub_oisdab/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdab_premium:pub_oisdab/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdab_premium:pub_oisdab/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdab_premium:pub_oisdab/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdab_premium:pub_oisdab/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdab_premium:pub_oisdab/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdab_premium:pub_oisdab/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Housing Land Supply - Scotland (PREMIUM)</ows:Title>
      <ows:Identifier>sh_hls_premium:pub_hls</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_hls_premium%3Apub_hls&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_hls_premium%3Apub_hls&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_hls_premium%3Apub_hls&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_hls_premium%3Apub_hls&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_hls_premium%3Apub_hls&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_hls_premium%3Apub_hls" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>8</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>56</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>17</MinTileRow>
            <MaxTileRow>146</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>113</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>35</MinTileRow>
            <MaxTileRow>292</MaxTileRow>
            <MinTileCol>72</MinTileCol>
            <MaxTileCol>226</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>71</MinTileRow>
            <MaxTileRow>584</MaxTileRow>
            <MinTileCol>144</MinTileCol>
            <MaxTileCol>453</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>143</MinTileRow>
            <MaxTileRow>1169</MaxTileRow>
            <MinTileCol>288</MinTileCol>
            <MaxTileCol>906</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>286</MinTileRow>
            <MaxTileRow>2339</MaxTileRow>
            <MinTileCol>577</MinTileCol>
            <MaxTileCol>1813</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>572</MinTileRow>
            <MaxTileRow>4678</MaxTileRow>
            <MinTileCol>1154</MinTileCol>
            <MaxTileCol>3627</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>1144</MinTileRow>
            <MaxTileRow>9356</MaxTileRow>
            <MinTileCol>2309</MinTileCol>
            <MaxTileCol>7255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>2289</MinTileRow>
            <MaxTileRow>18713</MaxTileRow>
            <MinTileCol>4618</MinTileCol>
            <MaxTileCol>14510</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>147</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>294</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>488</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>588</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>977</MinTileCol>
            <MaxTileCol>1018</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1177</MinTileRow>
            <MaxTileRow>1303</MaxTileRow>
            <MinTileCol>1955</MinTileCol>
            <MaxTileCol>2036</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2354</MinTileRow>
            <MaxTileRow>2606</MaxTileRow>
            <MinTileCol>3911</MinTileCol>
            <MaxTileCol>4072</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4709</MinTileRow>
            <MaxTileRow>5212</MaxTileRow>
            <MinTileCol>7822</MinTileCol>
            <MaxTileCol>8144</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9419</MinTileRow>
            <MaxTileRow>10425</MaxTileRow>
            <MinTileCol>15645</MinTileCol>
            <MaxTileCol>16288</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18839</MinTileRow>
            <MaxTileRow>20851</MaxTileRow>
            <MinTileCol>31290</MinTileCol>
            <MaxTileCol>32576</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37679</MinTileRow>
            <MaxTileRow>41703</MaxTileRow>
            <MinTileCol>62580</MinTileCol>
            <MaxTileCol>65152</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>75359</MinTileRow>
            <MaxTileRow>83406</MaxTileRow>
            <MinTileCol>125161</MinTileCol>
            <MaxTileCol>130304</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>150718</MinTileRow>
            <MaxTileRow>166813</MaxTileRow>
            <MinTileCol>250322</MinTileCol>
            <MaxTileCol>260608</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>301436</MinTileRow>
            <MaxTileRow>333627</MaxTileRow>
            <MinTileCol>500645</MinTileCol>
            <MaxTileCol>521217</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls_premium:pub_hls/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls_premium:pub_hls/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls_premium:pub_hls/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls_premium:pub_hls/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls_premium:pub_hls/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls_premium:pub_hls/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls_premium:pub_hls/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls_premium:pub_hls/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Housing Land Supply - Scotland</ows:Title>
      <ows:Identifier>sh_hls:pub_hls</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_hls%3Apub_hls" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>8</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>56</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>17</MinTileRow>
            <MaxTileRow>146</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>113</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>35</MinTileRow>
            <MaxTileRow>292</MaxTileRow>
            <MinTileCol>72</MinTileCol>
            <MaxTileCol>226</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>71</MinTileRow>
            <MaxTileRow>584</MaxTileRow>
            <MinTileCol>144</MinTileCol>
            <MaxTileCol>453</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>143</MinTileRow>
            <MaxTileRow>1169</MaxTileRow>
            <MinTileCol>288</MinTileCol>
            <MaxTileCol>906</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>286</MinTileRow>
            <MaxTileRow>2339</MaxTileRow>
            <MinTileCol>577</MinTileCol>
            <MaxTileCol>1813</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>572</MinTileRow>
            <MaxTileRow>4678</MaxTileRow>
            <MinTileCol>1154</MinTileCol>
            <MaxTileCol>3627</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>1144</MinTileRow>
            <MaxTileRow>9356</MaxTileRow>
            <MinTileCol>2309</MinTileCol>
            <MaxTileCol>7255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>2289</MinTileRow>
            <MaxTileRow>18713</MaxTileRow>
            <MinTileCol>4618</MinTileCol>
            <MaxTileCol>14510</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>147</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>294</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>488</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>588</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>977</MinTileCol>
            <MaxTileCol>1018</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1177</MinTileRow>
            <MaxTileRow>1303</MaxTileRow>
            <MinTileCol>1955</MinTileCol>
            <MaxTileCol>2036</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2354</MinTileRow>
            <MaxTileRow>2606</MaxTileRow>
            <MinTileCol>3911</MinTileCol>
            <MaxTileCol>4072</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4709</MinTileRow>
            <MaxTileRow>5212</MaxTileRow>
            <MinTileCol>7822</MinTileCol>
            <MaxTileCol>8144</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9419</MinTileRow>
            <MaxTileRow>10425</MaxTileRow>
            <MinTileCol>15645</MinTileCol>
            <MaxTileCol>16288</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18839</MinTileRow>
            <MaxTileRow>20851</MaxTileRow>
            <MinTileCol>31290</MinTileCol>
            <MaxTileCol>32576</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37679</MinTileRow>
            <MaxTileRow>41703</MaxTileRow>
            <MinTileCol>62580</MinTileCol>
            <MaxTileCol>65152</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>75359</MinTileRow>
            <MaxTileRow>83406</MaxTileRow>
            <MinTileCol>125161</MinTileCol>
            <MaxTileCol>130304</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>150718</MinTileRow>
            <MaxTileRow>166813</MaxTileRow>
            <MinTileCol>250322</MinTileCol>
            <MaxTileCol>260608</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>301436</MinTileRow>
            <MaxTileRow>333627</MaxTileRow>
            <MinTileCol>500645</MinTileCol>
            <MaxTileCol>521217</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls:pub_hls/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls:pub_hls/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls:pub_hls/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls:pub_hls/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls:pub_hls/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls:pub_hls/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls:pub_hls/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls:pub_hls/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Local Authority Boundaries - Scotland</ows:Title>
      <ows:Identifier>sh_las:pub_las</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_las%3Apub_las&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_las%3Apub_las&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_las%3Apub_las&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_las%3Apub_las&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_las%3Apub_las&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_las%3Apub_las" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>147</MaxTileRow>
            <MinTileCol>24</MinTileCol>
            <MaxTileCol>117</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>294</MaxTileRow>
            <MinTileCol>49</MinTileCol>
            <MaxTileCol>234</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>589</MaxTileRow>
            <MinTileCol>98</MinTileCol>
            <MaxTileCol>468</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>1179</MaxTileRow>
            <MinTileCol>197</MinTileCol>
            <MaxTileCol>936</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>164</MinTileRow>
            <MaxTileRow>2359</MaxTileRow>
            <MinTileCol>394</MinTileCol>
            <MaxTileCol>1872</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>329</MinTileRow>
            <MaxTileRow>4718</MaxTileRow>
            <MinTileCol>788</MinTileCol>
            <MaxTileCol>3744</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>659</MinTileRow>
            <MaxTileRow>9436</MaxTileRow>
            <MinTileCol>1576</MinTileCol>
            <MaxTileCol>7488</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1318</MinTileRow>
            <MaxTileRow>18872</MaxTileRow>
            <MinTileCol>3152</MinTileCol>
            <MaxTileCol>14976</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>121</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>163</MaxTileRow>
            <MinTileCol>242</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>326</MaxTileRow>
            <MinTileCol>485</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>584</MinTileRow>
            <MaxTileRow>652</MaxTileRow>
            <MinTileCol>971</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1169</MinTileRow>
            <MaxTileRow>1305</MaxTileRow>
            <MinTileCol>1942</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2339</MinTileRow>
            <MaxTileRow>2610</MaxTileRow>
            <MinTileCol>3885</MinTileCol>
            <MaxTileCol>4079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4678</MinTileRow>
            <MaxTileRow>5220</MaxTileRow>
            <MinTileCol>7771</MinTileCol>
            <MaxTileCol>8159</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9356</MinTileRow>
            <MaxTileRow>10441</MaxTileRow>
            <MinTileCol>15543</MinTileCol>
            <MaxTileCol>16319</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18712</MinTileRow>
            <MaxTileRow>20882</MaxTileRow>
            <MinTileCol>31087</MinTileCol>
            <MaxTileCol>32639</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37424</MinTileRow>
            <MaxTileRow>41764</MaxTileRow>
            <MinTileCol>62175</MinTileCol>
            <MaxTileCol>65278</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74849</MinTileRow>
            <MaxTileRow>83529</MaxTileRow>
            <MinTileCol>124350</MinTileCol>
            <MaxTileCol>130557</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149698</MinTileRow>
            <MaxTileRow>167059</MaxTileRow>
            <MinTileCol>248700</MinTileCol>
            <MaxTileCol>261114</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299397</MinTileRow>
            <MaxTileRow>334118</MaxTileRow>
            <MinTileCol>497401</MinTileCol>
            <MaxTileCol>522228</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_las:pub_las/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_las:pub_las/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_las:pub_las/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_las:pub_las/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_las:pub_las/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_las:pub_las/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_las:pub_las/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_las:pub_las/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Orkney Logistics Base - Scotland</ows:Title>
      <ows:Identifier>ext_oiolb:pub_oiolb</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oiolb%3Apub_oiolb&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oiolb%3Apub_oiolb&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oiolb%3Apub_oiolb&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oiolb%3Apub_oiolb&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oiolb%3Apub_oiolb&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_oiolb%3Apub_oiolb" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>5</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>11</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>22</MinTileCol>
            <MaxTileCol>22</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>25</MinTileRow>
            <MaxTileRow>25</MaxTileRow>
            <MinTileCol>45</MinTileCol>
            <MaxTileCol>45</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>51</MinTileRow>
            <MaxTileRow>51</MaxTileRow>
            <MinTileCol>91</MinTileCol>
            <MaxTileCol>91</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>103</MinTileRow>
            <MaxTileRow>103</MaxTileRow>
            <MinTileCol>183</MinTileCol>
            <MaxTileCol>183</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>206</MinTileRow>
            <MaxTileRow>206</MaxTileRow>
            <MinTileCol>367</MinTileCol>
            <MaxTileCol>367</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>412</MinTileRow>
            <MaxTileRow>412</MaxTileRow>
            <MinTileCol>735</MinTileCol>
            <MaxTileCol>735</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>824</MinTileRow>
            <MaxTileRow>824</MaxTileRow>
            <MinTileCol>1470</MinTileCol>
            <MaxTileCol>1470</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1648</MinTileRow>
            <MaxTileRow>1648</MaxTileRow>
            <MinTileCol>2940</MinTileCol>
            <MaxTileCol>2940</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3296</MinTileRow>
            <MaxTileRow>3296</MaxTileRow>
            <MinTileCol>5880</MinTileCol>
            <MaxTileCol>5880</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>6593</MinTileRow>
            <MaxTileRow>6593</MaxTileRow>
            <MinTileCol>11760</MinTileCol>
            <MaxTileCol>11760</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>37</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>75</MaxTileRow>
            <MinTileCol>125</MinTileCol>
            <MaxTileCol>125</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>151</MinTileRow>
            <MaxTileRow>151</MaxTileRow>
            <MinTileCol>251</MinTileCol>
            <MaxTileCol>251</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>302</MinTileRow>
            <MaxTileRow>302</MaxTileRow>
            <MinTileCol>503</MinTileCol>
            <MaxTileCol>503</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>605</MinTileRow>
            <MaxTileRow>605</MaxTileRow>
            <MinTileCol>1007</MinTileCol>
            <MaxTileCol>1007</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1211</MinTileRow>
            <MaxTileRow>1211</MaxTileRow>
            <MinTileCol>2014</MinTileCol>
            <MaxTileCol>2014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2423</MinTileRow>
            <MaxTileRow>2423</MaxTileRow>
            <MinTileCol>4028</MinTileCol>
            <MaxTileCol>4028</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4847</MinTileRow>
            <MaxTileRow>4847</MaxTileRow>
            <MinTileCol>8056</MinTileCol>
            <MaxTileCol>8056</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9695</MinTileRow>
            <MaxTileRow>9695</MaxTileRow>
            <MinTileCol>16112</MinTileCol>
            <MaxTileCol>16112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19390</MinTileRow>
            <MaxTileRow>19390</MaxTileRow>
            <MinTileCol>32225</MinTileCol>
            <MaxTileCol>32225</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38780</MinTileRow>
            <MaxTileRow>38780</MaxTileRow>
            <MinTileCol>64451</MinTileCol>
            <MaxTileCol>64451</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77561</MinTileRow>
            <MaxTileRow>77561</MaxTileRow>
            <MinTileCol>128903</MinTileCol>
            <MaxTileCol>128903</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>155123</MinTileRow>
            <MaxTileRow>155123</MaxTileRow>
            <MinTileCol>257806</MinTileCol>
            <MaxTileCol>257806</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>310246</MinTileRow>
            <MaxTileRow>310246</MaxTileRow>
            <MinTileCol>515613</MinTileCol>
            <MaxTileCol>515613</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiolb:pub_oiolb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiolb:pub_oiolb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiolb:pub_oiolb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiolb:pub_oiolb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiolb:pub_oiolb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiolb:pub_oiolb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiolb:pub_oiolb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiolb:pub_oiolb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Car Parking: Car Parks (points) - Scotland</ows:Title>
      <ows:Identifier>sh_crpk:pub_crpkcppnt</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>point</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_crpk%3Apub_crpkcppnt" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>34</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>68</MaxTileRow>
            <MinTileCol>23</MinTileCol>
            <MaxTileCol>52</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>48</MinTileRow>
            <MaxTileRow>136</MaxTileRow>
            <MinTileCol>47</MinTileCol>
            <MaxTileCol>105</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>96</MinTileRow>
            <MaxTileRow>272</MaxTileRow>
            <MinTileCol>95</MinTileCol>
            <MaxTileCol>211</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>193</MinTileRow>
            <MaxTileRow>544</MaxTileRow>
            <MinTileCol>191</MinTileCol>
            <MaxTileCol>422</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>387</MinTileRow>
            <MaxTileRow>1089</MaxTileRow>
            <MinTileCol>383</MinTileCol>
            <MaxTileCol>845</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>775</MinTileRow>
            <MaxTileRow>2178</MaxTileRow>
            <MinTileCol>766</MinTileCol>
            <MaxTileCol>1691</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1550</MinTileRow>
            <MaxTileRow>4356</MaxTileRow>
            <MinTileCol>1532</MinTileCol>
            <MaxTileCol>3382</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3100</MinTileRow>
            <MaxTileRow>8712</MaxTileRow>
            <MinTileCol>3064</MinTileCol>
            <MaxTileCol>6765</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>6201</MinTileRow>
            <MaxTileRow>17424</MaxTileRow>
            <MinTileCol>6129</MinTileCol>
            <MaxTileCol>13530</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>151</MinTileRow>
            <MaxTileRow>161</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>302</MinTileRow>
            <MaxTileRow>323</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>604</MinTileRow>
            <MaxTileRow>646</MaxTileRow>
            <MinTileCol>985</MinTileCol>
            <MaxTileCol>1013</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1208</MinTileRow>
            <MaxTileRow>1293</MaxTileRow>
            <MinTileCol>1970</MinTileCol>
            <MaxTileCol>2027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2417</MinTileRow>
            <MaxTileRow>2587</MaxTileRow>
            <MinTileCol>3940</MinTileCol>
            <MaxTileCol>4055</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4835</MinTileRow>
            <MaxTileRow>5174</MaxTileRow>
            <MinTileCol>7880</MinTileCol>
            <MaxTileCol>8111</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9670</MinTileRow>
            <MaxTileRow>10348</MaxTileRow>
            <MinTileCol>15761</MinTileCol>
            <MaxTileCol>16223</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19340</MinTileRow>
            <MaxTileRow>20696</MaxTileRow>
            <MinTileCol>31522</MinTileCol>
            <MaxTileCol>32446</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38680</MinTileRow>
            <MaxTileRow>41393</MaxTileRow>
            <MinTileCol>63045</MinTileCol>
            <MaxTileCol>64893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77360</MinTileRow>
            <MaxTileRow>82786</MaxTileRow>
            <MinTileCol>126090</MinTileCol>
            <MaxTileCol>129786</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>154721</MinTileRow>
            <MaxTileRow>165573</MaxTileRow>
            <MinTileCol>252181</MinTileCol>
            <MaxTileCol>259572</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>309442</MinTileRow>
            <MaxTileRow>331147</MaxTileRow>
            <MinTileCol>504363</MinTileCol>
            <MaxTileCol>519145</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkcppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkcppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkcppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkcppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkcppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkcppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkcppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkcppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Contaminated Land - Scotland</ows:Title>
      <ows:Identifier>sh_cntml:pub_cntml</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_cntml%3Apub_cntml&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_cntml%3Apub_cntml&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_cntml%3Apub_cntml&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_cntml%3Apub_cntml&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_cntml%3Apub_cntml&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_cntml%3Apub_cntml" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>35</MaxTileRow>
            <MinTileCol>16</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>71</MaxTileRow>
            <MinTileCol>32</MinTileCol>
            <MaxTileCol>51</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>79</MinTileRow>
            <MaxTileRow>143</MaxTileRow>
            <MinTileCol>64</MinTileCol>
            <MaxTileCol>102</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>159</MinTileRow>
            <MaxTileRow>286</MaxTileRow>
            <MinTileCol>128</MinTileCol>
            <MaxTileCol>205</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>319</MinTileRow>
            <MaxTileRow>572</MaxTileRow>
            <MinTileCol>257</MinTileCol>
            <MaxTileCol>410</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>638</MinTileRow>
            <MaxTileRow>1144</MaxTileRow>
            <MinTileCol>514</MinTileCol>
            <MaxTileCol>820</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1277</MinTileRow>
            <MaxTileRow>2288</MaxTileRow>
            <MinTileCol>1028</MinTileCol>
            <MaxTileCol>1640</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2555</MinTileRow>
            <MaxTileRow>4577</MaxTileRow>
            <MinTileCol>2056</MinTileCol>
            <MaxTileCol>3281</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>5111</MinTileRow>
            <MaxTileRow>9155</MaxTileRow>
            <MinTileCol>4113</MinTileCol>
            <MaxTileCol>6563</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>10222</MinTileRow>
            <MaxTileRow>18310</MaxTileRow>
            <MinTileCol>8227</MinTileCol>
            <MaxTileCol>13127</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>154</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>309</MinTileRow>
            <MaxTileRow>324</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>619</MinTileRow>
            <MaxTileRow>649</MaxTileRow>
            <MinTileCol>994</MinTileCol>
            <MaxTileCol>1012</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1239</MinTileRow>
            <MaxTileRow>1298</MaxTileRow>
            <MinTileCol>1988</MinTileCol>
            <MaxTileCol>2024</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2479</MinTileRow>
            <MaxTileRow>2597</MaxTileRow>
            <MinTileCol>3976</MinTileCol>
            <MaxTileCol>4049</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4958</MinTileRow>
            <MaxTileRow>5195</MaxTileRow>
            <MinTileCol>7952</MinTileCol>
            <MaxTileCol>8099</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9916</MinTileRow>
            <MaxTileRow>10391</MaxTileRow>
            <MinTileCol>15904</MinTileCol>
            <MaxTileCol>16198</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19833</MinTileRow>
            <MaxTileRow>20783</MaxTileRow>
            <MinTileCol>31808</MinTileCol>
            <MaxTileCol>32396</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39667</MinTileRow>
            <MaxTileRow>41566</MaxTileRow>
            <MinTileCol>63616</MinTileCol>
            <MaxTileCol>64793</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>79335</MinTileRow>
            <MaxTileRow>83133</MaxTileRow>
            <MinTileCol>127233</MinTileCol>
            <MaxTileCol>129587</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>158670</MinTileRow>
            <MaxTileRow>166267</MaxTileRow>
            <MinTileCol>254466</MinTileCol>
            <MaxTileCol>259175</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>317340</MinTileRow>
            <MaxTileRow>332534</MaxTileRow>
            <MinTileCol>508933</MinTileCol>
            <MaxTileCol>518351</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cntml:pub_cntml/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cntml:pub_cntml/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cntml:pub_cntml/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cntml:pub_cntml/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cntml:pub_cntml/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cntml:pub_cntml/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cntml:pub_cntml/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cntml:pub_cntml/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Housing Land Supply 2022-23 - Scotland (PREMIUM)</ows:Title>
      <ows:Identifier>sh_hls_premium:pub_hls22to23</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_hls_premium%3Apub_hls22to23&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_hls_premium%3Apub_hls22to23&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_hls_premium%3Apub_hls22to23&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_hls_premium%3Apub_hls22to23&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_hls_premium%3Apub_hls22to23&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_hls_premium%3Apub_hls22to23" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>25</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>19</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>51</MaxTileRow>
            <MinTileCol>10</MinTileCol>
            <MaxTileCol>39</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>102</MaxTileRow>
            <MinTileCol>21</MinTileCol>
            <MaxTileCol>78</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>59</MinTileRow>
            <MaxTileRow>204</MaxTileRow>
            <MinTileCol>43</MinTileCol>
            <MaxTileCol>157</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>118</MinTileRow>
            <MaxTileRow>409</MaxTileRow>
            <MinTileCol>86</MinTileCol>
            <MaxTileCol>315</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>237</MinTileRow>
            <MaxTileRow>819</MaxTileRow>
            <MinTileCol>172</MinTileCol>
            <MaxTileCol>631</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>475</MinTileRow>
            <MaxTileRow>1639</MaxTileRow>
            <MinTileCol>344</MinTileCol>
            <MaxTileCol>1263</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>951</MinTileRow>
            <MaxTileRow>3279</MaxTileRow>
            <MinTileCol>688</MinTileCol>
            <MaxTileCol>2527</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1903</MinTileRow>
            <MaxTileRow>6558</MaxTileRow>
            <MinTileCol>1377</MinTileCol>
            <MaxTileCol>5055</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3807</MinTileRow>
            <MaxTileRow>13117</MaxTileRow>
            <MinTileCol>2755</MinTileCol>
            <MaxTileCol>10111</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>7614</MinTileRow>
            <MaxTileRow>26235</MaxTileRow>
            <MinTileCol>5510</MinTileCol>
            <MaxTileCol>20223</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>8</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>16</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>21</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>32</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>42</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>64</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>84</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>129</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>152</MinTileRow>
            <MaxTileRow>169</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>259</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>304</MinTileRow>
            <MaxTileRow>338</MaxTileRow>
            <MinTileCol>491</MinTileCol>
            <MaxTileCol>519</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>609</MinTileRow>
            <MaxTileRow>676</MaxTileRow>
            <MinTileCol>983</MinTileCol>
            <MaxTileCol>1039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1219</MinTileRow>
            <MaxTileRow>1353</MaxTileRow>
            <MinTileCol>1966</MinTileCol>
            <MaxTileCol>2079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2439</MinTileRow>
            <MaxTileRow>2706</MaxTileRow>
            <MinTileCol>3932</MinTileCol>
            <MaxTileCol>4158</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4878</MinTileRow>
            <MaxTileRow>5413</MaxTileRow>
            <MinTileCol>7864</MinTileCol>
            <MaxTileCol>8317</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9757</MinTileRow>
            <MaxTileRow>10826</MaxTileRow>
            <MinTileCol>15729</MinTileCol>
            <MaxTileCol>16634</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19515</MinTileRow>
            <MaxTileRow>21652</MaxTileRow>
            <MinTileCol>31459</MinTileCol>
            <MaxTileCol>33269</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39031</MinTileRow>
            <MaxTileRow>43304</MaxTileRow>
            <MinTileCol>62918</MinTileCol>
            <MaxTileCol>66538</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>78063</MinTileRow>
            <MaxTileRow>86609</MaxTileRow>
            <MinTileCol>125837</MinTileCol>
            <MaxTileCol>133077</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>156126</MinTileRow>
            <MaxTileRow>173219</MaxTileRow>
            <MinTileCol>251675</MinTileCol>
            <MaxTileCol>266154</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>312253</MinTileRow>
            <MaxTileRow>346438</MaxTileRow>
            <MinTileCol>503350</MinTileCol>
            <MaxTileCol>532309</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls_premium:pub_hls22to23/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls_premium:pub_hls22to23/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls_premium:pub_hls22to23/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls_premium:pub_hls22to23/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls_premium:pub_hls22to23/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls_premium:pub_hls22to23/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls_premium:pub_hls22to23/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hls_premium:pub_hls22to23/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Cycling Network - Scotland</ows:Title>
      <ows:Identifier>sh_cycnt:pub_cycnt</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_cycnt%3Apub_cycnt&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_cycnt%3Apub_cycnt&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_cycnt%3Apub_cycnt&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_cycnt%3Apub_cycnt&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_cycnt%3Apub_cycnt&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_cycnt%3Apub_cycnt" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>25</MinTileRow>
            <MaxTileRow>34</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>51</MinTileRow>
            <MaxTileRow>68</MaxTileRow>
            <MinTileCol>23</MinTileCol>
            <MaxTileCol>51</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>102</MinTileRow>
            <MaxTileRow>136</MaxTileRow>
            <MinTileCol>46</MinTileCol>
            <MaxTileCol>103</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>205</MinTileRow>
            <MaxTileRow>273</MaxTileRow>
            <MinTileCol>92</MinTileCol>
            <MaxTileCol>206</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>410</MinTileRow>
            <MaxTileRow>547</MaxTileRow>
            <MinTileCol>185</MinTileCol>
            <MaxTileCol>413</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>820</MinTileRow>
            <MaxTileRow>1094</MaxTileRow>
            <MinTileCol>371</MinTileCol>
            <MaxTileCol>826</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1640</MinTileRow>
            <MaxTileRow>2188</MaxTileRow>
            <MinTileCol>742</MinTileCol>
            <MaxTileCol>1652</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>3281</MinTileRow>
            <MaxTileRow>4377</MaxTileRow>
            <MinTileCol>1485</MinTileCol>
            <MaxTileCol>3305</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>6562</MinTileRow>
            <MaxTileRow>8755</MaxTileRow>
            <MinTileCol>2970</MinTileCol>
            <MaxTileCol>6611</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>13125</MinTileRow>
            <MaxTileRow>17510</MaxTileRow>
            <MinTileCol>5940</MinTileCol>
            <MaxTileCol>13223</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>78</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>157</MinTileRow>
            <MaxTileRow>161</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>315</MinTileRow>
            <MaxTileRow>323</MaxTileRow>
            <MinTileCol>493</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>630</MinTileRow>
            <MaxTileRow>647</MaxTileRow>
            <MinTileCol>986</MinTileCol>
            <MaxTileCol>1012</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1261</MinTileRow>
            <MaxTileRow>1294</MaxTileRow>
            <MinTileCol>1972</MinTileCol>
            <MaxTileCol>2025</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2522</MinTileRow>
            <MaxTileRow>2588</MaxTileRow>
            <MinTileCol>3944</MinTileCol>
            <MaxTileCol>4050</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>5044</MinTileRow>
            <MaxTileRow>5176</MaxTileRow>
            <MinTileCol>7889</MinTileCol>
            <MaxTileCol>8101</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>10089</MinTileRow>
            <MaxTileRow>10353</MaxTileRow>
            <MinTileCol>15779</MinTileCol>
            <MaxTileCol>16203</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>20178</MinTileRow>
            <MaxTileRow>20707</MaxTileRow>
            <MinTileCol>31558</MinTileCol>
            <MaxTileCol>32407</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>40356</MinTileRow>
            <MaxTileRow>41415</MaxTileRow>
            <MinTileCol>63116</MinTileCol>
            <MaxTileCol>64815</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>80713</MinTileRow>
            <MaxTileRow>82830</MaxTileRow>
            <MinTileCol>126233</MinTileCol>
            <MaxTileCol>129631</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>161426</MinTileRow>
            <MaxTileRow>165661</MaxTileRow>
            <MinTileCol>252467</MinTileCol>
            <MaxTileCol>259262</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>322853</MinTileRow>
            <MaxTileRow>331322</MaxTileRow>
            <MinTileCol>504934</MinTileCol>
            <MaxTileCol>518525</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cycnt:pub_cycnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cycnt:pub_cycnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cycnt:pub_cycnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cycnt:pub_cycnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cycnt:pub_cycnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cycnt:pub_cycnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cycnt:pub_cycnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_cycnt:pub_cycnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Car Parking: Car Parks (polygons) - Scotland</ows:Title>
      <ows:Identifier>sh_crpk:pub_crpkcppol</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_crpk%3Apub_crpkcppol" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>16</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>27</MinTileRow>
            <MaxTileRow>33</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>24</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>54</MinTileRow>
            <MaxTileRow>66</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>49</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>109</MinTileRow>
            <MaxTileRow>132</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>98</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>219</MinTileRow>
            <MaxTileRow>264</MaxTileRow>
            <MinTileCol>121</MinTileCol>
            <MaxTileCol>196</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>438</MinTileRow>
            <MaxTileRow>529</MaxTileRow>
            <MinTileCol>242</MinTileCol>
            <MaxTileCol>392</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>876</MinTileRow>
            <MaxTileRow>1059</MaxTileRow>
            <MinTileCol>485</MinTileCol>
            <MaxTileCol>784</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1752</MinTileRow>
            <MaxTileRow>2118</MaxTileRow>
            <MinTileCol>970</MinTileCol>
            <MaxTileCol>1569</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>3505</MinTileRow>
            <MaxTileRow>4237</MaxTileRow>
            <MinTileCol>1941</MinTileCol>
            <MaxTileCol>3138</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>7011</MinTileRow>
            <MaxTileRow>8475</MaxTileRow>
            <MinTileCol>3883</MinTileCol>
            <MaxTileCol>6277</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>14023</MinTileRow>
            <MaxTileRow>16951</MaxTileRow>
            <MinTileCol>7766</MinTileCol>
            <MaxTileCol>12554</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>79</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>158</MinTileRow>
            <MaxTileRow>161</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>316</MinTileRow>
            <MaxTileRow>322</MaxTileRow>
            <MinTileCol>496</MinTileCol>
            <MaxTileCol>505</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>633</MinTileRow>
            <MaxTileRow>644</MaxTileRow>
            <MinTileCol>993</MinTileCol>
            <MaxTileCol>1010</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1267</MinTileRow>
            <MaxTileRow>1289</MaxTileRow>
            <MinTileCol>1986</MinTileCol>
            <MaxTileCol>2020</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2535</MinTileRow>
            <MaxTileRow>2579</MaxTileRow>
            <MinTileCol>3972</MinTileCol>
            <MaxTileCol>4041</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>5070</MinTileRow>
            <MaxTileRow>5158</MaxTileRow>
            <MinTileCol>7944</MinTileCol>
            <MaxTileCol>8083</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>10141</MinTileRow>
            <MaxTileRow>10316</MaxTileRow>
            <MinTileCol>15888</MinTileCol>
            <MaxTileCol>16166</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>20283</MinTileRow>
            <MaxTileRow>20633</MaxTileRow>
            <MinTileCol>31776</MinTileCol>
            <MaxTileCol>32332</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>40566</MinTileRow>
            <MaxTileRow>41266</MaxTileRow>
            <MinTileCol>63552</MinTileCol>
            <MaxTileCol>64664</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>81133</MinTileRow>
            <MaxTileRow>82533</MaxTileRow>
            <MinTileCol>127104</MinTileCol>
            <MaxTileCol>129329</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>162266</MinTileRow>
            <MaxTileRow>165067</MaxTileRow>
            <MinTileCol>254208</MinTileCol>
            <MaxTileCol>258658</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>324532</MinTileRow>
            <MaxTileRow>330134</MaxTileRow>
            <MinTileCol>508417</MinTileCol>
            <MaxTileCol>517316</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkcppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkcppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkcppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkcppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkcppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkcppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkcppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkcppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Street Furniture - Scotland (PREMIUM)</ows:Title>
      <ows:Identifier>sh_stfnt_premium:pub_stfnt</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>point</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_stfnt_premium%3Apub_stfnt" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>31</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>63</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>126</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>252</MaxTileRow>
            <MinTileCol>23</MinTileCol>
            <MaxTileCol>116</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>505</MaxTileRow>
            <MinTileCol>47</MinTileCol>
            <MaxTileCol>233</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>1011</MaxTileRow>
            <MinTileCol>94</MinTileCol>
            <MaxTileCol>466</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>89</MinTileRow>
            <MaxTileRow>2022</MaxTileRow>
            <MinTileCol>188</MinTileCol>
            <MaxTileCol>932</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>179</MinTileRow>
            <MaxTileRow>4045</MaxTileRow>
            <MinTileCol>376</MinTileCol>
            <MaxTileCol>1865</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>359</MinTileRow>
            <MaxTileRow>8090</MaxTileRow>
            <MinTileCol>752</MinTileCol>
            <MaxTileCol>3731</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>719</MinTileRow>
            <MaxTileRow>16180</MaxTileRow>
            <MinTileCol>1505</MinTileCol>
            <MaxTileCol>7463</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1439</MinTileRow>
            <MaxTileRow>32361</MaxTileRow>
            <MinTileCol>3011</MinTileCol>
            <MaxTileCol>14927</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>21</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>43</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>87</MaxTileRow>
            <MinTileCol>121</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>174</MaxTileRow>
            <MinTileCol>242</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>348</MaxTileRow>
            <MinTileCol>485</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>696</MaxTileRow>
            <MinTileCol>970</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1170</MinTileRow>
            <MaxTileRow>1393</MaxTileRow>
            <MinTileCol>1941</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2341</MinTileRow>
            <MaxTileRow>2786</MaxTileRow>
            <MinTileCol>3883</MinTileCol>
            <MaxTileCol>4079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4682</MinTileRow>
            <MaxTileRow>5573</MaxTileRow>
            <MinTileCol>7767</MinTileCol>
            <MaxTileCol>8158</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9364</MinTileRow>
            <MaxTileRow>11146</MaxTileRow>
            <MinTileCol>15535</MinTileCol>
            <MaxTileCol>16316</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18728</MinTileRow>
            <MaxTileRow>22292</MaxTileRow>
            <MinTileCol>31071</MinTileCol>
            <MaxTileCol>32632</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37456</MinTileRow>
            <MaxTileRow>44584</MaxTileRow>
            <MinTileCol>62142</MinTileCol>
            <MaxTileCol>65265</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74912</MinTileRow>
            <MaxTileRow>89168</MaxTileRow>
            <MinTileCol>124284</MinTileCol>
            <MaxTileCol>130530</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149825</MinTileRow>
            <MaxTileRow>178336</MaxTileRow>
            <MinTileCol>248569</MinTileCol>
            <MaxTileCol>261060</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299651</MinTileRow>
            <MaxTileRow>356673</MaxTileRow>
            <MinTileCol>497138</MinTileCol>
            <MaxTileCol>522121</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt_premium:pub_stfnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt_premium:pub_stfnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt_premium:pub_stfnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt_premium:pub_stfnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt_premium:pub_stfnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt_premium:pub_stfnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt_premium:pub_stfnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt_premium:pub_stfnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Car Parking: Parking Bays (polygons) - Scotland</ows:Title>
      <ows:Identifier>sh_crpk:pub_crpkpbpol</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_crpk%3Apub_crpkpbpol" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>10</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>30</MaxTileRow>
            <MinTileCol>21</MinTileCol>
            <MaxTileCol>24</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>49</MinTileRow>
            <MaxTileRow>60</MaxTileRow>
            <MinTileCol>42</MinTileCol>
            <MaxTileCol>48</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>99</MinTileRow>
            <MaxTileRow>120</MaxTileRow>
            <MinTileCol>85</MinTileCol>
            <MaxTileCol>97</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>199</MinTileRow>
            <MaxTileRow>241</MaxTileRow>
            <MinTileCol>170</MinTileCol>
            <MaxTileCol>195</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>399</MinTileRow>
            <MaxTileRow>482</MaxTileRow>
            <MinTileCol>341</MinTileCol>
            <MaxTileCol>390</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>799</MinTileRow>
            <MaxTileRow>964</MaxTileRow>
            <MinTileCol>683</MinTileCol>
            <MaxTileCol>780</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1599</MinTileRow>
            <MaxTileRow>1928</MaxTileRow>
            <MinTileCol>1367</MinTileCol>
            <MaxTileCol>1560</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>3199</MinTileRow>
            <MaxTileRow>3857</MaxTileRow>
            <MinTileCol>2734</MinTileCol>
            <MaxTileCol>3120</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>6398</MinTileRow>
            <MaxTileRow>7714</MaxTileRow>
            <MinTileCol>5468</MinTileCol>
            <MaxTileCol>6241</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>12797</MinTileRow>
            <MaxTileRow>15428</MaxTileRow>
            <MinTileCol>10937</MinTileCol>
            <MaxTileCol>12483</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>19</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>39</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>78</MinTileRow>
            <MaxTileRow>79</MaxTileRow>
            <MinTileCol>125</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>157</MinTileRow>
            <MaxTileRow>159</MaxTileRow>
            <MinTileCol>251</MinTileCol>
            <MaxTileCol>252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>314</MinTileRow>
            <MaxTileRow>319</MaxTileRow>
            <MinTileCol>502</MinTileCol>
            <MaxTileCol>505</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>629</MinTileRow>
            <MaxTileRow>638</MaxTileRow>
            <MinTileCol>1004</MinTileCol>
            <MaxTileCol>1010</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1258</MinTileRow>
            <MaxTileRow>1277</MaxTileRow>
            <MinTileCol>2008</MinTileCol>
            <MaxTileCol>2020</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2517</MinTileRow>
            <MaxTileRow>2555</MaxTileRow>
            <MinTileCol>4017</MinTileCol>
            <MaxTileCol>4040</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>5035</MinTileRow>
            <MaxTileRow>5111</MaxTileRow>
            <MinTileCol>8034</MinTileCol>
            <MaxTileCol>8080</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>10070</MinTileRow>
            <MaxTileRow>10223</MaxTileRow>
            <MinTileCol>16069</MinTileCol>
            <MaxTileCol>16161</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>20140</MinTileRow>
            <MaxTileRow>20447</MaxTileRow>
            <MinTileCol>32139</MinTileCol>
            <MaxTileCol>32323</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>40280</MinTileRow>
            <MaxTileRow>40895</MaxTileRow>
            <MinTileCol>64279</MinTileCol>
            <MaxTileCol>64646</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>80560</MinTileRow>
            <MaxTileRow>81791</MaxTileRow>
            <MinTileCol>128559</MinTileCol>
            <MaxTileCol>129292</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>161121</MinTileRow>
            <MaxTileRow>163582</MaxTileRow>
            <MinTileCol>257119</MinTileCol>
            <MaxTileCol>258584</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>322243</MinTileRow>
            <MaxTileRow>327165</MaxTileRow>
            <MinTileCol>514239</MinTileCol>
            <MaxTileCol>517169</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkpbpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkpbpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkpbpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkpbpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkpbpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkpbpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkpbpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkpbpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Pitches - Scotland</ows:Title>
      <ows:Identifier>ext_spf:pub_spfp</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfp&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfp&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfp&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfp&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfp&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_spf%3Apub_spfp" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>57</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>146</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>115</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>25</MinTileRow>
            <MaxTileRow>292</MaxTileRow>
            <MinTileCol>73</MinTileCol>
            <MaxTileCol>230</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>50</MinTileRow>
            <MaxTileRow>584</MaxTileRow>
            <MinTileCol>146</MinTileCol>
            <MaxTileCol>460</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>100</MinTileRow>
            <MaxTileRow>1169</MaxTileRow>
            <MinTileCol>293</MinTileCol>
            <MaxTileCol>920</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>200</MinTileRow>
            <MaxTileRow>2339</MaxTileRow>
            <MinTileCol>586</MinTileCol>
            <MaxTileCol>1841</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>401</MinTileRow>
            <MaxTileRow>4678</MaxTileRow>
            <MinTileCol>1172</MinTileCol>
            <MaxTileCol>3683</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>803</MinTileRow>
            <MaxTileRow>9356</MaxTileRow>
            <MinTileCol>2344</MinTileCol>
            <MaxTileCol>7366</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1606</MinTileRow>
            <MaxTileRow>18713</MaxTileRow>
            <MinTileCol>4688</MinTileCol>
            <MaxTileCol>14733</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>488</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>977</MinTileCol>
            <MaxTileCol>1018</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1171</MinTileRow>
            <MaxTileRow>1303</MaxTileRow>
            <MinTileCol>1955</MinTileCol>
            <MaxTileCol>2037</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2343</MinTileRow>
            <MaxTileRow>2606</MaxTileRow>
            <MinTileCol>3911</MinTileCol>
            <MaxTileCol>4075</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4687</MinTileRow>
            <MaxTileRow>5212</MaxTileRow>
            <MinTileCol>7822</MinTileCol>
            <MaxTileCol>8151</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9375</MinTileRow>
            <MaxTileRow>10425</MaxTileRow>
            <MinTileCol>15645</MinTileCol>
            <MaxTileCol>16303</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18750</MinTileRow>
            <MaxTileRow>20851</MaxTileRow>
            <MinTileCol>31291</MinTileCol>
            <MaxTileCol>32606</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37500</MinTileRow>
            <MaxTileRow>41702</MaxTileRow>
            <MinTileCol>62582</MinTileCol>
            <MaxTileCol>65213</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>75000</MinTileRow>
            <MaxTileRow>83404</MaxTileRow>
            <MinTileCol>125164</MinTileCol>
            <MaxTileCol>130426</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>150001</MinTileRow>
            <MaxTileRow>166809</MaxTileRow>
            <MinTileCol>250329</MinTileCol>
            <MaxTileCol>260853</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>300003</MinTileRow>
            <MaxTileRow>333619</MaxTileRow>
            <MinTileCol>500658</MinTileCol>
            <MaxTileCol>521706</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Libraries Mobile - Scotland</ows:Title>
      <ows:Identifier>sh_lib:pub_libmob</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lib%3Apub_libmob&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lib%3Apub_libmob&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lib%3Apub_libmob&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lib%3Apub_libmob&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lib%3Apub_libmob&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_lib%3Apub_libmob" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>10</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>30</MaxTileRow>
            <MinTileCol>21</MinTileCol>
            <MaxTileCol>24</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>49</MinTileRow>
            <MaxTileRow>60</MaxTileRow>
            <MinTileCol>42</MinTileCol>
            <MaxTileCol>48</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>99</MinTileRow>
            <MaxTileRow>121</MaxTileRow>
            <MinTileCol>85</MinTileCol>
            <MaxTileCol>97</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>199</MinTileRow>
            <MaxTileRow>242</MaxTileRow>
            <MinTileCol>170</MinTileCol>
            <MaxTileCol>194</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>399</MinTileRow>
            <MaxTileRow>484</MaxTileRow>
            <MinTileCol>341</MinTileCol>
            <MaxTileCol>389</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>798</MinTileRow>
            <MaxTileRow>968</MaxTileRow>
            <MinTileCol>682</MinTileCol>
            <MaxTileCol>779</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1597</MinTileRow>
            <MaxTileRow>1936</MaxTileRow>
            <MinTileCol>1365</MinTileCol>
            <MaxTileCol>1559</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>3194</MinTileRow>
            <MaxTileRow>3873</MaxTileRow>
            <MinTileCol>2731</MinTileCol>
            <MaxTileCol>3119</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>6389</MinTileRow>
            <MaxTileRow>7746</MaxTileRow>
            <MinTileCol>5462</MinTileCol>
            <MaxTileCol>6239</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>12779</MinTileRow>
            <MaxTileRow>15492</MaxTileRow>
            <MinTileCol>10924</MinTileCol>
            <MaxTileCol>12478</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>19</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>39</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>78</MinTileRow>
            <MaxTileRow>79</MaxTileRow>
            <MinTileCol>125</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>157</MinTileRow>
            <MaxTileRow>159</MaxTileRow>
            <MinTileCol>251</MinTileCol>
            <MaxTileCol>252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>314</MinTileRow>
            <MaxTileRow>319</MaxTileRow>
            <MinTileCol>502</MinTileCol>
            <MaxTileCol>505</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>629</MinTileRow>
            <MaxTileRow>639</MaxTileRow>
            <MinTileCol>1004</MinTileCol>
            <MaxTileCol>1010</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1258</MinTileRow>
            <MaxTileRow>1278</MaxTileRow>
            <MinTileCol>2008</MinTileCol>
            <MaxTileCol>2020</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2517</MinTileRow>
            <MaxTileRow>2556</MaxTileRow>
            <MinTileCol>4017</MinTileCol>
            <MaxTileCol>4040</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>5034</MinTileRow>
            <MaxTileRow>5113</MaxTileRow>
            <MinTileCol>8034</MinTileCol>
            <MaxTileCol>8080</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>10069</MinTileRow>
            <MaxTileRow>10227</MaxTileRow>
            <MinTileCol>16069</MinTileCol>
            <MaxTileCol>16161</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>20138</MinTileRow>
            <MaxTileRow>20455</MaxTileRow>
            <MinTileCol>32138</MinTileCol>
            <MaxTileCol>32322</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>40276</MinTileRow>
            <MaxTileRow>40910</MaxTileRow>
            <MinTileCol>64276</MinTileCol>
            <MaxTileCol>64645</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>80552</MinTileRow>
            <MaxTileRow>81820</MaxTileRow>
            <MinTileCol>128553</MinTileCol>
            <MaxTileCol>129290</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>161104</MinTileRow>
            <MaxTileRow>163641</MaxTileRow>
            <MinTileCol>257107</MinTileCol>
            <MaxTileCol>258581</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>322209</MinTileRow>
            <MaxTileRow>327283</MaxTileRow>
            <MinTileCol>514214</MinTileCol>
            <MaxTileCol>517162</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lib:pub_libmob/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lib:pub_libmob/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lib:pub_libmob/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lib:pub_libmob/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lib:pub_libmob/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lib:pub_libmob/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lib:pub_libmob/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lib:pub_libmob/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>SGN: IP Pipes Buffer- Scotland</ows:Title>
      <ows:Identifier>ext_sgn:pub_sgnipbuffer</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnipbuffer&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnipbuffer&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnipbuffer&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnipbuffer&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnipbuffer&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_sgn%3Apub_sgnipbuffer" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>35</MaxTileRow>
            <MinTileCol>16</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>70</MaxTileRow>
            <MinTileCol>32</MinTileCol>
            <MaxTileCol>52</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>79</MinTileRow>
            <MaxTileRow>140</MaxTileRow>
            <MinTileCol>64</MinTileCol>
            <MaxTileCol>105</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>159</MinTileRow>
            <MaxTileRow>280</MaxTileRow>
            <MinTileCol>129</MinTileCol>
            <MaxTileCol>210</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>319</MinTileRow>
            <MaxTileRow>561</MaxTileRow>
            <MinTileCol>259</MinTileCol>
            <MaxTileCol>421</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>638</MinTileRow>
            <MaxTileRow>1122</MaxTileRow>
            <MinTileCol>518</MinTileCol>
            <MaxTileCol>842</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1277</MinTileRow>
            <MaxTileRow>2244</MaxTileRow>
            <MinTileCol>1036</MinTileCol>
            <MaxTileCol>1684</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2555</MinTileRow>
            <MaxTileRow>4489</MaxTileRow>
            <MinTileCol>2073</MinTileCol>
            <MaxTileCol>3369</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>5110</MinTileRow>
            <MaxTileRow>8978</MaxTileRow>
            <MinTileCol>4146</MinTileCol>
            <MaxTileCol>6739</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>10221</MinTileRow>
            <MaxTileRow>17956</MaxTileRow>
            <MinTileCol>8293</MinTileCol>
            <MaxTileCol>13478</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>154</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>309</MinTileRow>
            <MaxTileRow>324</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>619</MinTileRow>
            <MaxTileRow>648</MaxTileRow>
            <MinTileCol>994</MinTileCol>
            <MaxTileCol>1013</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1239</MinTileRow>
            <MaxTileRow>1296</MaxTileRow>
            <MinTileCol>1988</MinTileCol>
            <MaxTileCol>2027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2479</MinTileRow>
            <MaxTileRow>2592</MaxTileRow>
            <MinTileCol>3977</MinTileCol>
            <MaxTileCol>4054</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4958</MinTileRow>
            <MaxTileRow>5185</MaxTileRow>
            <MinTileCol>7954</MinTileCol>
            <MaxTileCol>8109</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9916</MinTileRow>
            <MaxTileRow>10371</MaxTileRow>
            <MinTileCol>15908</MinTileCol>
            <MaxTileCol>16219</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19833</MinTileRow>
            <MaxTileRow>20743</MaxTileRow>
            <MinTileCol>31816</MinTileCol>
            <MaxTileCol>32438</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39667</MinTileRow>
            <MaxTileRow>41487</MaxTileRow>
            <MinTileCol>63632</MinTileCol>
            <MaxTileCol>64877</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>79334</MinTileRow>
            <MaxTileRow>82974</MaxTileRow>
            <MinTileCol>127265</MinTileCol>
            <MaxTileCol>129754</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>158669</MinTileRow>
            <MaxTileRow>165948</MaxTileRow>
            <MinTileCol>254530</MinTileCol>
            <MaxTileCol>259508</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>317339</MinTileRow>
            <MaxTileRow>331897</MaxTileRow>
            <MinTileCol>509060</MinTileCol>
            <MaxTileCol>519017</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnipbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnipbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnipbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnipbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnipbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnipbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnipbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnipbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Town Centres - Scotland</ows:Title>
      <ows:Identifier>sh_townc:pub_townc</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_townc%3Apub_townc&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_townc%3Apub_townc&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_townc%3Apub_townc&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_townc%3Apub_townc&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_townc%3Apub_townc&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_townc%3Apub_townc" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>72</MaxTileRow>
            <MinTileCol>25</MinTileCol>
            <MaxTileCol>53</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>145</MaxTileRow>
            <MinTileCol>50</MinTileCol>
            <MaxTileCol>106</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>147</MinTileRow>
            <MaxTileRow>291</MaxTileRow>
            <MinTileCol>101</MinTileCol>
            <MaxTileCol>212</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>294</MinTileRow>
            <MaxTileRow>583</MaxTileRow>
            <MinTileCol>202</MinTileCol>
            <MaxTileCol>424</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>588</MinTileRow>
            <MaxTileRow>1166</MaxTileRow>
            <MinTileCol>405</MinTileCol>
            <MaxTileCol>848</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1176</MinTileRow>
            <MaxTileRow>2333</MaxTileRow>
            <MinTileCol>810</MinTileCol>
            <MaxTileCol>1696</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2353</MinTileRow>
            <MaxTileRow>4666</MaxTileRow>
            <MinTileCol>1621</MinTileCol>
            <MaxTileCol>3392</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>4707</MinTileRow>
            <MaxTileRow>9333</MaxTileRow>
            <MinTileCol>3242</MinTileCol>
            <MaxTileCol>6784</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>9414</MinTileRow>
            <MaxTileRow>18667</MaxTileRow>
            <MinTileCol>6485</MinTileCol>
            <MaxTileCol>13569</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>154</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>308</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>493</MinTileCol>
            <MaxTileCol>507</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>616</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>987</MinTileCol>
            <MaxTileCol>1014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1233</MinTileRow>
            <MaxTileRow>1302</MaxTileRow>
            <MinTileCol>1974</MinTileCol>
            <MaxTileCol>2028</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2467</MinTileRow>
            <MaxTileRow>2604</MaxTileRow>
            <MinTileCol>3949</MinTileCol>
            <MaxTileCol>4056</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4934</MinTileRow>
            <MaxTileRow>5208</MaxTileRow>
            <MinTileCol>7898</MinTileCol>
            <MaxTileCol>8112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9868</MinTileRow>
            <MaxTileRow>10416</MaxTileRow>
            <MinTileCol>15796</MinTileCol>
            <MaxTileCol>16224</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19736</MinTileRow>
            <MaxTileRow>20832</MaxTileRow>
            <MinTileCol>31593</MinTileCol>
            <MaxTileCol>32449</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39472</MinTileRow>
            <MaxTileRow>41665</MaxTileRow>
            <MinTileCol>63186</MinTileCol>
            <MaxTileCol>64899</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>78945</MinTileRow>
            <MaxTileRow>83331</MaxTileRow>
            <MinTileCol>126373</MinTileCol>
            <MaxTileCol>129799</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>157890</MinTileRow>
            <MaxTileRow>166663</MaxTileRow>
            <MinTileCol>252747</MinTileCol>
            <MaxTileCol>259599</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>315780</MinTileRow>
            <MaxTileRow>333326</MaxTileRow>
            <MinTileCol>505495</MinTileCol>
            <MaxTileCol>519198</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_townc:pub_townc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_townc:pub_townc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_townc:pub_townc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_townc:pub_townc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_townc:pub_townc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_townc:pub_townc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_townc:pub_townc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_townc:pub_townc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Community Asset Transfer Register - Scotland</ows:Title>
      <ows:Identifier>sh_catr:pub_catr</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>point</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_catr%3Apub_catr" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>31</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>63</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>126</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>52</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>58</MinTileRow>
            <MaxTileRow>252</MaxTileRow>
            <MinTileCol>23</MinTileCol>
            <MaxTileCol>105</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>117</MinTileRow>
            <MaxTileRow>505</MaxTileRow>
            <MinTileCol>47</MinTileCol>
            <MaxTileCol>211</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>234</MinTileRow>
            <MaxTileRow>1011</MaxTileRow>
            <MinTileCol>94</MinTileCol>
            <MaxTileCol>422</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>469</MinTileRow>
            <MaxTileRow>2022</MaxTileRow>
            <MinTileCol>188</MinTileCol>
            <MaxTileCol>845</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>939</MinTileRow>
            <MaxTileRow>4045</MaxTileRow>
            <MinTileCol>376</MinTileCol>
            <MaxTileCol>1691</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1878</MinTileRow>
            <MaxTileRow>8090</MaxTileRow>
            <MinTileCol>752</MinTileCol>
            <MaxTileCol>3383</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3756</MinTileRow>
            <MaxTileRow>16180</MaxTileRow>
            <MinTileCol>1505</MinTileCol>
            <MaxTileCol>6766</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>7512</MinTileRow>
            <MaxTileRow>32361</MaxTileRow>
            <MinTileCol>3011</MinTileCol>
            <MaxTileCol>13533</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>21</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>43</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>87</MaxTileRow>
            <MinTileCol>121</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>152</MinTileRow>
            <MaxTileRow>174</MaxTileRow>
            <MinTileCol>243</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>304</MinTileRow>
            <MaxTileRow>348</MaxTileRow>
            <MinTileCol>486</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>609</MinTileRow>
            <MaxTileRow>696</MaxTileRow>
            <MinTileCol>973</MinTileCol>
            <MaxTileCol>1013</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1218</MinTileRow>
            <MaxTileRow>1393</MaxTileRow>
            <MinTileCol>1947</MinTileCol>
            <MaxTileCol>2027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2437</MinTileRow>
            <MaxTileRow>2786</MaxTileRow>
            <MinTileCol>3894</MinTileCol>
            <MaxTileCol>4055</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4875</MinTileRow>
            <MaxTileRow>5573</MaxTileRow>
            <MinTileCol>7788</MinTileCol>
            <MaxTileCol>8111</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9751</MinTileRow>
            <MaxTileRow>11146</MaxTileRow>
            <MinTileCol>15576</MinTileCol>
            <MaxTileCol>16223</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19503</MinTileRow>
            <MaxTileRow>22292</MaxTileRow>
            <MinTileCol>31153</MinTileCol>
            <MaxTileCol>32446</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39006</MinTileRow>
            <MaxTileRow>44584</MaxTileRow>
            <MinTileCol>62306</MinTileCol>
            <MaxTileCol>64892</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>78013</MinTileRow>
            <MaxTileRow>89168</MaxTileRow>
            <MinTileCol>124612</MinTileCol>
            <MaxTileCol>129785</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>156026</MinTileRow>
            <MaxTileRow>178336</MaxTileRow>
            <MinTileCol>249224</MinTileCol>
            <MaxTileCol>259570</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>312052</MinTileRow>
            <MaxTileRow>356673</MaxTileRow>
            <MinTileCol>498449</MinTileCol>
            <MaxTileCol>519141</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_catr:pub_catr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_catr:pub_catr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_catr:pub_catr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_catr:pub_catr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_catr:pub_catr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_catr:pub_catr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_catr:pub_catr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_catr:pub_catr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>GHiGs Energy from Waste Sites - Scotland</ows:Title>
      <ows:Identifier>ext_ghigs:pub_ghigs-efw</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>point</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_ghigs%3Apub_ghigs-efw" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>34</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>69</MaxTileRow>
            <MinTileCol>34</MinTileCol>
            <MaxTileCol>56</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>25</MinTileRow>
            <MaxTileRow>139</MaxTileRow>
            <MinTileCol>69</MinTileCol>
            <MaxTileCol>112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>50</MinTileRow>
            <MaxTileRow>279</MaxTileRow>
            <MinTileCol>139</MinTileCol>
            <MaxTileCol>224</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>101</MinTileRow>
            <MaxTileRow>559</MaxTileRow>
            <MinTileCol>279</MinTileCol>
            <MaxTileCol>449</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>202</MinTileRow>
            <MaxTileRow>1118</MaxTileRow>
            <MinTileCol>558</MinTileCol>
            <MaxTileCol>898</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>405</MinTileRow>
            <MaxTileRow>2236</MaxTileRow>
            <MinTileCol>1117</MinTileCol>
            <MaxTileCol>1797</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>811</MinTileRow>
            <MaxTileRow>4473</MaxTileRow>
            <MinTileCol>2235</MinTileCol>
            <MaxTileCol>3595</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>1623</MinTileRow>
            <MaxTileRow>8947</MaxTileRow>
            <MinTileCol>4471</MinTileCol>
            <MaxTileCol>7190</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>3246</MinTileRow>
            <MaxTileRow>17894</MaxTileRow>
            <MinTileCol>8942</MinTileCol>
            <MaxTileCol>14380</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>74</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>148</MinTileRow>
            <MaxTileRow>161</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>296</MinTileRow>
            <MaxTileRow>323</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>508</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>592</MinTileRow>
            <MaxTileRow>647</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>1017</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1185</MinTileRow>
            <MaxTileRow>1295</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>2034</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2370</MinTileRow>
            <MaxTileRow>2591</MaxTileRow>
            <MinTileCol>3982</MinTileCol>
            <MaxTileCol>4069</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4741</MinTileRow>
            <MaxTileRow>5183</MaxTileRow>
            <MinTileCol>7964</MinTileCol>
            <MaxTileCol>8139</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9482</MinTileRow>
            <MaxTileRow>10366</MaxTileRow>
            <MinTileCol>15928</MinTileCol>
            <MaxTileCol>16278</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18964</MinTileRow>
            <MaxTileRow>20733</MaxTileRow>
            <MinTileCol>31856</MinTileCol>
            <MaxTileCol>32557</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37928</MinTileRow>
            <MaxTileRow>41467</MaxTileRow>
            <MinTileCol>63712</MinTileCol>
            <MaxTileCol>65114</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>75856</MinTileRow>
            <MaxTileRow>82934</MaxTileRow>
            <MinTileCol>127425</MinTileCol>
            <MaxTileCol>130229</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>151712</MinTileRow>
            <MaxTileRow>165869</MaxTileRow>
            <MinTileCol>254851</MinTileCol>
            <MaxTileCol>260459</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>303425</MinTileRow>
            <MaxTileRow>331739</MaxTileRow>
            <MinTileCol>509702</MinTileCol>
            <MaxTileCol>520919</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-efw/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-efw/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-efw/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-efw/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-efw/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-efw/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-efw/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-efw/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Piers and commercial ports - Orkney Islands</ows:Title>
      <ows:Identifier>ext_oipcp_premium:pub_oipcp</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>orkney</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_oipcp_premium%3Apub_oipcp" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>14</MaxTileRow>
            <MinTileCol>22</MinTileCol>
            <MaxTileCol>24</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>21</MinTileRow>
            <MaxTileRow>28</MaxTileRow>
            <MinTileCol>44</MinTileCol>
            <MaxTileCol>49</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>43</MinTileRow>
            <MaxTileRow>57</MaxTileRow>
            <MinTileCol>88</MinTileCol>
            <MaxTileCol>98</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>87</MinTileRow>
            <MaxTileRow>114</MaxTileRow>
            <MinTileCol>176</MinTileCol>
            <MaxTileCol>196</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>174</MinTileRow>
            <MaxTileRow>229</MaxTileRow>
            <MinTileCol>352</MinTileCol>
            <MaxTileCol>392</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>349</MinTileRow>
            <MaxTileRow>458</MaxTileRow>
            <MinTileCol>704</MinTileCol>
            <MaxTileCol>784</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>699</MinTileRow>
            <MaxTileRow>916</MaxTileRow>
            <MinTileCol>1408</MinTileCol>
            <MaxTileCol>1568</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1398</MinTileRow>
            <MaxTileRow>1832</MaxTileRow>
            <MinTileCol>2816</MinTileCol>
            <MaxTileCol>3137</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>2796</MinTileRow>
            <MaxTileRow>3665</MaxTileRow>
            <MinTileCol>5633</MinTileCol>
            <MaxTileCol>6275</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>5593</MinTileRow>
            <MaxTileRow>7331</MaxTileRow>
            <MinTileCol>11267</MinTileCol>
            <MaxTileCol>12551</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>19</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>38</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>76</MaxTileRow>
            <MinTileCol>125</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>150</MinTileRow>
            <MaxTileRow>152</MaxTileRow>
            <MinTileCol>251</MinTileCol>
            <MaxTileCol>252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>300</MinTileRow>
            <MaxTileRow>304</MaxTileRow>
            <MinTileCol>502</MinTileCol>
            <MaxTileCol>505</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>601</MinTileRow>
            <MaxTileRow>608</MaxTileRow>
            <MinTileCol>1005</MinTileCol>
            <MaxTileCol>1010</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1203</MinTileRow>
            <MaxTileRow>1217</MaxTileRow>
            <MinTileCol>2010</MinTileCol>
            <MaxTileCol>2020</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2407</MinTileRow>
            <MaxTileRow>2435</MaxTileRow>
            <MinTileCol>4020</MinTileCol>
            <MaxTileCol>4040</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4815</MinTileRow>
            <MaxTileRow>4870</MaxTileRow>
            <MinTileCol>8040</MinTileCol>
            <MaxTileCol>8081</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9631</MinTileRow>
            <MaxTileRow>9741</MaxTileRow>
            <MinTileCol>16080</MinTileCol>
            <MaxTileCol>16162</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19263</MinTileRow>
            <MaxTileRow>19483</MaxTileRow>
            <MinTileCol>32161</MinTileCol>
            <MaxTileCol>32324</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38527</MinTileRow>
            <MaxTileRow>38966</MaxTileRow>
            <MinTileCol>64323</MinTileCol>
            <MaxTileCol>64649</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77055</MinTileRow>
            <MaxTileRow>77932</MaxTileRow>
            <MinTileCol>128647</MinTileCol>
            <MaxTileCol>129299</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>154110</MinTileRow>
            <MaxTileRow>155864</MaxTileRow>
            <MinTileCol>257295</MinTileCol>
            <MaxTileCol>258599</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>308221</MinTileRow>
            <MaxTileRow>311729</MaxTileRow>
            <MinTileCol>514591</MinTileCol>
            <MaxTileCol>517199</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oipcp_premium:pub_oipcp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oipcp_premium:pub_oipcp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oipcp_premium:pub_oipcp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oipcp_premium:pub_oipcp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oipcp_premium:pub_oipcp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oipcp_premium:pub_oipcp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oipcp_premium:pub_oipcp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oipcp_premium:pub_oipcp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Council Asset Register - Scotland</ows:Title>
      <ows:Identifier>sh_car:pub_car</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>point</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_car%3Apub_car" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>31</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>63</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>126</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>252</MaxTileRow>
            <MinTileCol>23</MinTileCol>
            <MaxTileCol>116</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>23</MinTileRow>
            <MaxTileRow>505</MaxTileRow>
            <MinTileCol>47</MinTileCol>
            <MaxTileCol>233</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>46</MinTileRow>
            <MaxTileRow>1011</MaxTileRow>
            <MinTileCol>94</MinTileCol>
            <MaxTileCol>466</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>92</MinTileRow>
            <MaxTileRow>2022</MaxTileRow>
            <MinTileCol>188</MinTileCol>
            <MaxTileCol>933</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>184</MinTileRow>
            <MaxTileRow>4045</MaxTileRow>
            <MinTileCol>376</MinTileCol>
            <MaxTileCol>1867</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>369</MinTileRow>
            <MaxTileRow>8090</MaxTileRow>
            <MinTileCol>752</MinTileCol>
            <MaxTileCol>3734</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>738</MinTileRow>
            <MaxTileRow>16180</MaxTileRow>
            <MinTileCol>1505</MinTileCol>
            <MaxTileCol>7469</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1476</MinTileRow>
            <MaxTileRow>32361</MaxTileRow>
            <MinTileCol>3011</MinTileCol>
            <MaxTileCol>14939</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>21</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>43</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>87</MaxTileRow>
            <MinTileCol>121</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>174</MaxTileRow>
            <MinTileCol>242</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>348</MaxTileRow>
            <MinTileCol>485</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>696</MaxTileRow>
            <MinTileCol>970</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1170</MinTileRow>
            <MaxTileRow>1393</MaxTileRow>
            <MinTileCol>1941</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2341</MinTileRow>
            <MaxTileRow>2786</MaxTileRow>
            <MinTileCol>3883</MinTileCol>
            <MaxTileCol>4079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4683</MinTileRow>
            <MaxTileRow>5573</MaxTileRow>
            <MinTileCol>7767</MinTileCol>
            <MaxTileCol>8158</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9366</MinTileRow>
            <MaxTileRow>11146</MaxTileRow>
            <MinTileCol>15535</MinTileCol>
            <MaxTileCol>16317</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18733</MinTileRow>
            <MaxTileRow>22292</MaxTileRow>
            <MinTileCol>31071</MinTileCol>
            <MaxTileCol>32634</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37466</MinTileRow>
            <MaxTileRow>44584</MaxTileRow>
            <MinTileCol>62143</MinTileCol>
            <MaxTileCol>65268</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74932</MinTileRow>
            <MaxTileRow>89168</MaxTileRow>
            <MinTileCol>124286</MinTileCol>
            <MaxTileCol>130536</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149864</MinTileRow>
            <MaxTileRow>178336</MaxTileRow>
            <MinTileCol>248573</MinTileCol>
            <MaxTileCol>261072</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299729</MinTileRow>
            <MaxTileRow>356673</MaxTileRow>
            <MinTileCol>497147</MinTileCol>
            <MaxTileCol>522145</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_car:pub_car/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_car:pub_car/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_car:pub_car/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_car:pub_car/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_car:pub_car/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_car:pub_car/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_car:pub_car/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_car:pub_car/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Planning Applications: Official  (Points) - Scotland (PREMIUM)</ows:Title>
      <ows:Identifier>sh_plnapp_premium:pub_plnapppnt</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_plnapp_premium%3Apub_plnapppnt&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_plnapp_premium%3Apub_plnapppnt&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_plnapp_premium%3Apub_plnapppnt&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_plnapp_premium%3Apub_plnapppnt&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_plnapp_premium%3Apub_plnapppnt&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_plnapp_premium%3Apub_plnapppnt" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>31</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>63</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>126</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>252</MaxTileRow>
            <MinTileCol>23</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>505</MaxTileRow>
            <MinTileCol>47</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1011</MaxTileRow>
            <MinTileCol>94</MinTileCol>
            <MaxTileCol>1023</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2022</MaxTileRow>
            <MinTileCol>188</MinTileCol>
            <MaxTileCol>2047</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4045</MaxTileRow>
            <MinTileCol>376</MinTileCol>
            <MaxTileCol>4095</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>8090</MaxTileRow>
            <MinTileCol>752</MinTileCol>
            <MaxTileCol>8191</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>16180</MaxTileRow>
            <MinTileCol>1505</MinTileCol>
            <MaxTileCol>16383</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>32361</MaxTileRow>
            <MinTileCol>3011</MinTileCol>
            <MaxTileCol>32767</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>25</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>51</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>59</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>102</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>119</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>205</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>238</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>411</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>476</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>823</MaxTileRow>
            <MinTileCol>25</MinTileCol>
            <MaxTileCol>953</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1646</MaxTileRow>
            <MinTileCol>50</MinTileCol>
            <MaxTileCol>1907</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3292</MaxTileRow>
            <MinTileCol>100</MinTileCol>
            <MaxTileCol>3815</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>6584</MaxTileRow>
            <MinTileCol>201</MinTileCol>
            <MaxTileCol>7630</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>13169</MaxTileRow>
            <MinTileCol>402</MinTileCol>
            <MaxTileCol>15260</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>26338</MaxTileRow>
            <MinTileCol>804</MinTileCol>
            <MaxTileCol>30520</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>52676</MaxTileRow>
            <MinTileCol>1609</MinTileCol>
            <MaxTileCol>61040</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>105352</MaxTileRow>
            <MinTileCol>3219</MinTileCol>
            <MaxTileCol>122080</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>210704</MaxTileRow>
            <MinTileCol>6439</MinTileCol>
            <MaxTileCol>244160</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>421409</MaxTileRow>
            <MinTileCol>12878</MinTileCol>
            <MaxTileCol>488320</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>842819</MaxTileRow>
            <MinTileCol>25756</MinTileCol>
            <MaxTileCol>976640</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp_premium:pub_plnapppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp_premium:pub_plnapppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp_premium:pub_plnapppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp_premium:pub_plnapppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp_premium:pub_plnapppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp_premium:pub_plnapppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp_premium:pub_plnapppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp_premium:pub_plnapppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Widewall Bay Refuge</ows:Title>
      <ows:Identifier>ext_oiwbr_premium:pub_oiwbr</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_oiwbr_premium%3Apub_oiwbr" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>5</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>11</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>22</MinTileCol>
            <MaxTileCol>22</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>27</MinTileRow>
            <MaxTileRow>27</MaxTileRow>
            <MinTileCol>45</MinTileCol>
            <MaxTileCol>45</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>55</MinTileRow>
            <MaxTileRow>55</MaxTileRow>
            <MinTileCol>91</MinTileCol>
            <MaxTileCol>91</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>110</MinTileRow>
            <MaxTileRow>111</MaxTileRow>
            <MinTileCol>182</MinTileCol>
            <MaxTileCol>183</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>221</MinTileRow>
            <MaxTileRow>223</MaxTileRow>
            <MinTileCol>364</MinTileCol>
            <MaxTileCol>367</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>442</MinTileRow>
            <MaxTileRow>447</MaxTileRow>
            <MinTileCol>729</MinTileCol>
            <MaxTileCol>734</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>885</MinTileRow>
            <MaxTileRow>895</MaxTileRow>
            <MinTileCol>1458</MinTileCol>
            <MaxTileCol>1469</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1770</MinTileRow>
            <MaxTileRow>1790</MaxTileRow>
            <MinTileCol>2917</MinTileCol>
            <MaxTileCol>2939</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3541</MinTileRow>
            <MaxTileRow>3580</MaxTileRow>
            <MinTileCol>5835</MinTileCol>
            <MaxTileCol>5879</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>7083</MinTileRow>
            <MaxTileRow>7160</MaxTileRow>
            <MinTileCol>11670</MinTileCol>
            <MaxTileCol>11758</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>19</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>38</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>76</MaxTileRow>
            <MinTileCol>125</MinTileCol>
            <MaxTileCol>125</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>151</MinTileRow>
            <MaxTileRow>152</MaxTileRow>
            <MinTileCol>251</MinTileCol>
            <MaxTileCol>251</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>303</MinTileRow>
            <MaxTileRow>304</MaxTileRow>
            <MinTileCol>503</MinTileCol>
            <MaxTileCol>503</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>607</MinTileRow>
            <MaxTileRow>608</MaxTileRow>
            <MinTileCol>1006</MinTileCol>
            <MaxTileCol>1007</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1215</MinTileRow>
            <MaxTileRow>1216</MaxTileRow>
            <MinTileCol>2013</MinTileCol>
            <MaxTileCol>2014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2431</MinTileRow>
            <MaxTileRow>2432</MaxTileRow>
            <MinTileCol>4026</MinTileCol>
            <MaxTileCol>4028</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4862</MinTileRow>
            <MaxTileRow>4865</MaxTileRow>
            <MinTileCol>8053</MinTileCol>
            <MaxTileCol>8056</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9725</MinTileRow>
            <MaxTileRow>9730</MaxTileRow>
            <MinTileCol>16107</MinTileCol>
            <MaxTileCol>16113</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19451</MinTileRow>
            <MaxTileRow>19461</MaxTileRow>
            <MinTileCol>32215</MinTileCol>
            <MaxTileCol>32226</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38902</MinTileRow>
            <MaxTileRow>38922</MaxTileRow>
            <MinTileCol>64431</MinTileCol>
            <MaxTileCol>64453</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77805</MinTileRow>
            <MaxTileRow>77844</MaxTileRow>
            <MinTileCol>128862</MinTileCol>
            <MaxTileCol>128906</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>155610</MinTileRow>
            <MaxTileRow>155688</MaxTileRow>
            <MinTileCol>257724</MinTileCol>
            <MaxTileCol>257813</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>311221</MinTileRow>
            <MaxTileRow>311376</MaxTileRow>
            <MinTileCol>515449</MinTileCol>
            <MaxTileCol>515626</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiwbr_premium:pub_oiwbr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiwbr_premium:pub_oiwbr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiwbr_premium:pub_oiwbr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiwbr_premium:pub_oiwbr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiwbr_premium:pub_oiwbr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiwbr_premium:pub_oiwbr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiwbr_premium:pub_oiwbr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiwbr_premium:pub_oiwbr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Building Standards: Official (Polygons) - Scotland (PREMIUM)</ows:Title>
      <ows:Identifier>sh_bldstd_premium:pub_bldstdpol</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_bldstd_premium%3Apub_bldstdpol" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>31</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>63</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>127</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>116</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>254</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>233</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>508</MaxTileRow>
            <MinTileCol>143</MinTileCol>
            <MaxTileCol>466</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>1017</MaxTileRow>
            <MinTileCol>287</MinTileCol>
            <MaxTileCol>933</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>176</MinTileRow>
            <MaxTileRow>2035</MaxTileRow>
            <MinTileCol>574</MinTileCol>
            <MaxTileCol>1866</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>352</MinTileRow>
            <MaxTileRow>4071</MaxTileRow>
            <MinTileCol>1149</MinTileCol>
            <MaxTileCol>3732</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>705</MinTileRow>
            <MaxTileRow>8142</MaxTileRow>
            <MinTileCol>2299</MinTileCol>
            <MaxTileCol>7465</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1410</MinTileRow>
            <MaxTileRow>16285</MaxTileRow>
            <MinTileCol>4599</MinTileCol>
            <MaxTileCol>14930</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>160</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>321</MaxTileRow>
            <MinTileCol>488</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>643</MaxTileRow>
            <MinTileCol>977</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1170</MinTileRow>
            <MaxTileRow>1286</MaxTileRow>
            <MinTileCol>1954</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2340</MinTileRow>
            <MaxTileRow>2572</MaxTileRow>
            <MinTileCol>3909</MinTileCol>
            <MaxTileCol>4079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4681</MinTileRow>
            <MaxTileRow>5145</MaxTileRow>
            <MinTileCol>7819</MinTileCol>
            <MaxTileCol>8158</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9362</MinTileRow>
            <MaxTileRow>10290</MaxTileRow>
            <MinTileCol>15638</MinTileCol>
            <MaxTileCol>16316</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18724</MinTileRow>
            <MaxTileRow>20580</MaxTileRow>
            <MinTileCol>31277</MinTileCol>
            <MaxTileCol>32633</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37448</MinTileRow>
            <MaxTileRow>41161</MaxTileRow>
            <MinTileCol>62554</MinTileCol>
            <MaxTileCol>65266</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74897</MinTileRow>
            <MaxTileRow>82322</MaxTileRow>
            <MinTileCol>125108</MinTileCol>
            <MaxTileCol>130532</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149795</MinTileRow>
            <MaxTileRow>164644</MaxTileRow>
            <MinTileCol>250216</MinTileCol>
            <MaxTileCol>261064</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299590</MinTileRow>
            <MaxTileRow>329289</MaxTileRow>
            <MinTileCol>500433</MinTileCol>
            <MaxTileCol>522128</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd_premium:pub_bldstdpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd_premium:pub_bldstdpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd_premium:pub_bldstdpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd_premium:pub_bldstdpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd_premium:pub_bldstdpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd_premium:pub_bldstdpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd_premium:pub_bldstdpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd_premium:pub_bldstdpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>GHiGs Public Buildings near Greenspaces - Scotland</ows:Title>
      <ows:Identifier>ext_ghigs:pub_ghigs-pb-nr-gs</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>point</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_ghigs%3Apub_ghigs-pb-nr-gs" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>72</MaxTileRow>
            <MinTileCol>19</MinTileCol>
            <MaxTileCol>56</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>145</MaxTileRow>
            <MinTileCol>38</MinTileCol>
            <MaxTileCol>112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>290</MaxTileRow>
            <MinTileCol>77</MinTileCol>
            <MaxTileCol>224</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>581</MaxTileRow>
            <MinTileCol>155</MinTileCol>
            <MaxTileCol>449</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>164</MinTileRow>
            <MaxTileRow>1163</MaxTileRow>
            <MinTileCol>310</MinTileCol>
            <MaxTileCol>898</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>329</MinTileRow>
            <MaxTileRow>2327</MaxTileRow>
            <MinTileCol>621</MinTileCol>
            <MaxTileCol>1797</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>659</MinTileRow>
            <MaxTileRow>4654</MaxTileRow>
            <MinTileCol>1243</MinTileCol>
            <MaxTileCol>3595</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>1318</MinTileRow>
            <MaxTileRow>9308</MaxTileRow>
            <MinTileCol>2487</MinTileCol>
            <MaxTileCol>7191</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>2636</MinTileRow>
            <MaxTileRow>18617</MaxTileRow>
            <MinTileCol>4974</MinTileCol>
            <MaxTileCol>14383</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>147</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>295</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>489</MinTileCol>
            <MaxTileCol>508</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>590</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>979</MinTileCol>
            <MaxTileCol>1017</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1180</MinTileRow>
            <MaxTileRow>1302</MaxTileRow>
            <MinTileCol>1958</MinTileCol>
            <MaxTileCol>2034</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2360</MinTileRow>
            <MaxTileRow>2604</MaxTileRow>
            <MinTileCol>3917</MinTileCol>
            <MaxTileCol>4069</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4721</MinTileRow>
            <MaxTileRow>5209</MaxTileRow>
            <MinTileCol>7835</MinTileCol>
            <MaxTileCol>8139</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9442</MinTileRow>
            <MaxTileRow>10419</MaxTileRow>
            <MinTileCol>15670</MinTileCol>
            <MaxTileCol>16279</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18884</MinTileRow>
            <MaxTileRow>20838</MaxTileRow>
            <MinTileCol>31340</MinTileCol>
            <MaxTileCol>32558</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37769</MinTileRow>
            <MaxTileRow>41676</MaxTileRow>
            <MinTileCol>62680</MinTileCol>
            <MaxTileCol>65117</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>75539</MinTileRow>
            <MaxTileRow>83353</MaxTileRow>
            <MinTileCol>125360</MinTileCol>
            <MaxTileCol>130235</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>151079</MinTileRow>
            <MaxTileRow>166706</MaxTileRow>
            <MinTileCol>250721</MinTileCol>
            <MaxTileCol>260471</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>302159</MinTileRow>
            <MaxTileRow>333413</MaxTileRow>
            <MinTileCol>501443</MinTileCol>
            <MaxTileCol>520943</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb-nr-gs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb-nr-gs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb-nr-gs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb-nr-gs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb-nr-gs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb-nr-gs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb-nr-gs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb-nr-gs/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Recycling and Waste Facilities - Scotland</ows:Title>
      <ows:Identifier>sh_rcywst:pub_rcywst</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_rcywst%3Apub_rcywst&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_rcywst%3Apub_rcywst&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_rcywst%3Apub_rcywst&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_rcywst%3Apub_rcywst&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_rcywst%3Apub_rcywst&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_rcywst%3Apub_rcywst" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>34</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>25</MinTileRow>
            <MaxTileRow>68</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>52</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>51</MinTileRow>
            <MaxTileRow>137</MaxTileRow>
            <MinTileCol>25</MinTileCol>
            <MaxTileCol>105</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>103</MinTileRow>
            <MaxTileRow>274</MaxTileRow>
            <MinTileCol>51</MinTileCol>
            <MaxTileCol>211</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>206</MinTileRow>
            <MaxTileRow>549</MaxTileRow>
            <MinTileCol>102</MinTileCol>
            <MaxTileCol>422</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>412</MinTileRow>
            <MaxTileRow>1098</MaxTileRow>
            <MinTileCol>204</MinTileCol>
            <MaxTileCol>844</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>825</MinTileRow>
            <MaxTileRow>2197</MaxTileRow>
            <MinTileCol>408</MinTileCol>
            <MaxTileCol>1689</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1651</MinTileRow>
            <MaxTileRow>4395</MaxTileRow>
            <MinTileCol>816</MinTileCol>
            <MaxTileCol>3379</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3302</MinTileRow>
            <MaxTileRow>8791</MaxTileRow>
            <MinTileCol>1633</MinTileCol>
            <MaxTileCol>6759</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>6604</MinTileRow>
            <MaxTileRow>17582</MaxTileRow>
            <MinTileCol>3266</MinTileCol>
            <MaxTileCol>13518</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>121</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>151</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>243</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>302</MinTileRow>
            <MaxTileRow>324</MaxTileRow>
            <MinTileCol>487</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>605</MinTileRow>
            <MaxTileRow>648</MaxTileRow>
            <MinTileCol>974</MinTileCol>
            <MaxTileCol>1013</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1211</MinTileRow>
            <MaxTileRow>1296</MaxTileRow>
            <MinTileCol>1948</MinTileCol>
            <MaxTileCol>2027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2423</MinTileRow>
            <MaxTileRow>2592</MaxTileRow>
            <MinTileCol>3896</MinTileCol>
            <MaxTileCol>4055</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4847</MinTileRow>
            <MaxTileRow>5184</MaxTileRow>
            <MinTileCol>7793</MinTileCol>
            <MaxTileCol>8111</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9695</MinTileRow>
            <MaxTileRow>10369</MaxTileRow>
            <MinTileCol>15586</MinTileCol>
            <MaxTileCol>16222</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19390</MinTileRow>
            <MaxTileRow>20738</MaxTileRow>
            <MinTileCol>31172</MinTileCol>
            <MaxTileCol>32444</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38780</MinTileRow>
            <MaxTileRow>41476</MaxTileRow>
            <MinTileCol>62345</MinTileCol>
            <MaxTileCol>64889</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77561</MinTileRow>
            <MaxTileRow>82953</MaxTileRow>
            <MinTileCol>124691</MinTileCol>
            <MaxTileCol>129779</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>155123</MinTileRow>
            <MaxTileRow>165907</MaxTileRow>
            <MinTileCol>249383</MinTileCol>
            <MaxTileCol>259559</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>310246</MinTileRow>
            <MaxTileRow>331814</MaxTileRow>
            <MinTileCol>498766</MinTileCol>
            <MaxTileCol>519118</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_rcywst:pub_rcywst/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_rcywst:pub_rcywst/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_rcywst:pub_rcywst/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_rcywst:pub_rcywst/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_rcywst:pub_rcywst/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_rcywst:pub_rcywst/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_rcywst:pub_rcywst/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_rcywst:pub_rcywst/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>SGN: MP Pipes - Scotland</ows:Title>
      <ows:Identifier>ext_sgn:pub_sgnmp</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnmp&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnmp&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnmp&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnmp&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnmp&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_sgn%3Apub_sgnmp" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>15</MinTileRow>
            <MaxTileRow>35</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>30</MinTileRow>
            <MaxTileRow>71</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>52</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>60</MinTileRow>
            <MaxTileRow>143</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>105</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>121</MinTileRow>
            <MaxTileRow>286</MaxTileRow>
            <MinTileCol>120</MinTileCol>
            <MaxTileCol>211</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>242</MinTileRow>
            <MaxTileRow>573</MaxTileRow>
            <MinTileCol>241</MinTileCol>
            <MaxTileCol>422</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>484</MinTileRow>
            <MaxTileRow>1146</MaxTileRow>
            <MinTileCol>483</MinTileCol>
            <MaxTileCol>845</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>968</MinTileRow>
            <MaxTileRow>2292</MaxTileRow>
            <MinTileCol>966</MinTileCol>
            <MaxTileCol>1690</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1936</MinTileRow>
            <MaxTileRow>4585</MaxTileRow>
            <MinTileCol>1933</MinTileCol>
            <MaxTileCol>3381</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3872</MinTileRow>
            <MaxTileRow>9170</MaxTileRow>
            <MinTileCol>3867</MinTileCol>
            <MaxTileCol>6763</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>7744</MinTileRow>
            <MaxTileRow>18341</MaxTileRow>
            <MinTileCol>7734</MinTileCol>
            <MaxTileCol>13526</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>152</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>247</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>305</MinTileRow>
            <MaxTileRow>324</MaxTileRow>
            <MinTileCol>495</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>610</MinTileRow>
            <MaxTileRow>649</MaxTileRow>
            <MinTileCol>991</MinTileCol>
            <MaxTileCol>1013</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1220</MinTileRow>
            <MaxTileRow>1299</MaxTileRow>
            <MinTileCol>1983</MinTileCol>
            <MaxTileCol>2027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2441</MinTileRow>
            <MaxTileRow>2598</MaxTileRow>
            <MinTileCol>3966</MinTileCol>
            <MaxTileCol>4055</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4882</MinTileRow>
            <MaxTileRow>5197</MaxTileRow>
            <MinTileCol>7933</MinTileCol>
            <MaxTileCol>8111</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9765</MinTileRow>
            <MaxTileRow>10394</MaxTileRow>
            <MinTileCol>15866</MinTileCol>
            <MaxTileCol>16222</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19531</MinTileRow>
            <MaxTileRow>20789</MaxTileRow>
            <MinTileCol>31733</MinTileCol>
            <MaxTileCol>32445</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39063</MinTileRow>
            <MaxTileRow>41578</MaxTileRow>
            <MinTileCol>63466</MinTileCol>
            <MaxTileCol>64890</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>78127</MinTileRow>
            <MaxTileRow>83157</MaxTileRow>
            <MinTileCol>126932</MinTileCol>
            <MaxTileCol>129781</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>156254</MinTileRow>
            <MaxTileRow>166314</MaxTileRow>
            <MinTileCol>253864</MinTileCol>
            <MaxTileCol>259562</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>312509</MinTileRow>
            <MaxTileRow>332629</MaxTileRow>
            <MinTileCol>507729</MinTileCol>
            <MaxTileCol>519125</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnmp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnmp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnmp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnmp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnmp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnmp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnmp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnmp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>SGN: MP Pipes Buffer- Scotland</ows:Title>
      <ows:Identifier>ext_sgn:pub_sgnmpbuffer</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnmpbuffer&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnmpbuffer&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnmpbuffer&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnmpbuffer&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnmpbuffer&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_sgn%3Apub_sgnmpbuffer" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>15</MinTileRow>
            <MaxTileRow>35</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>30</MinTileRow>
            <MaxTileRow>71</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>52</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>60</MinTileRow>
            <MaxTileRow>143</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>105</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>120</MinTileRow>
            <MaxTileRow>286</MaxTileRow>
            <MinTileCol>120</MinTileCol>
            <MaxTileCol>211</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>241</MinTileRow>
            <MaxTileRow>573</MaxTileRow>
            <MinTileCol>241</MinTileCol>
            <MaxTileCol>422</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>483</MinTileRow>
            <MaxTileRow>1146</MaxTileRow>
            <MinTileCol>483</MinTileCol>
            <MaxTileCol>845</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>967</MinTileRow>
            <MaxTileRow>2292</MaxTileRow>
            <MinTileCol>966</MinTileCol>
            <MaxTileCol>1690</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1935</MinTileRow>
            <MaxTileRow>4585</MaxTileRow>
            <MinTileCol>1933</MinTileCol>
            <MaxTileCol>3381</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3871</MinTileRow>
            <MaxTileRow>9170</MaxTileRow>
            <MinTileCol>3867</MinTileCol>
            <MaxTileCol>6763</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>7743</MinTileRow>
            <MaxTileRow>18341</MaxTileRow>
            <MinTileCol>7734</MinTileCol>
            <MaxTileCol>13526</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>152</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>247</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>305</MinTileRow>
            <MaxTileRow>324</MaxTileRow>
            <MinTileCol>495</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>610</MinTileRow>
            <MaxTileRow>649</MaxTileRow>
            <MinTileCol>991</MinTileCol>
            <MaxTileCol>1013</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1220</MinTileRow>
            <MaxTileRow>1299</MaxTileRow>
            <MinTileCol>1983</MinTileCol>
            <MaxTileCol>2027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2441</MinTileRow>
            <MaxTileRow>2598</MaxTileRow>
            <MinTileCol>3966</MinTileCol>
            <MaxTileCol>4055</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4882</MinTileRow>
            <MaxTileRow>5197</MaxTileRow>
            <MinTileCol>7933</MinTileCol>
            <MaxTileCol>8111</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9765</MinTileRow>
            <MaxTileRow>10394</MaxTileRow>
            <MinTileCol>15866</MinTileCol>
            <MaxTileCol>16222</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19531</MinTileRow>
            <MaxTileRow>20789</MaxTileRow>
            <MinTileCol>31733</MinTileCol>
            <MaxTileCol>32445</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39063</MinTileRow>
            <MaxTileRow>41578</MaxTileRow>
            <MinTileCol>63466</MinTileCol>
            <MaxTileCol>64890</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>78127</MinTileRow>
            <MaxTileRow>83157</MaxTileRow>
            <MinTileCol>126932</MinTileCol>
            <MaxTileCol>129781</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>156254</MinTileRow>
            <MaxTileRow>166314</MaxTileRow>
            <MinTileCol>253864</MinTileCol>
            <MaxTileCol>259563</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>312509</MinTileRow>
            <MaxTileRow>332629</MaxTileRow>
            <MinTileCol>507728</MinTileCol>
            <MaxTileCol>519126</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnmpbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnmpbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnmpbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnmpbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnmpbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnmpbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnmpbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnmpbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Street Lighting Columns - Scotland</ows:Title>
      <ows:Identifier>sh_stfnt_premium:pub_stlghts</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_stfnt_premium%3Apub_stlghts&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_stfnt_premium%3Apub_stlghts&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_stfnt_premium%3Apub_stlghts&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_stfnt_premium%3Apub_stlghts&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_stfnt_premium%3Apub_stlghts&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_stfnt_premium%3Apub_stlghts" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>31</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>63</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>126</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>57</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>252</MaxTileRow>
            <MinTileCol>23</MinTileCol>
            <MaxTileCol>115</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>23</MinTileRow>
            <MaxTileRow>505</MaxTileRow>
            <MinTileCol>47</MinTileCol>
            <MaxTileCol>231</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>46</MinTileRow>
            <MaxTileRow>1011</MaxTileRow>
            <MinTileCol>94</MinTileCol>
            <MaxTileCol>463</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>93</MinTileRow>
            <MaxTileRow>2022</MaxTileRow>
            <MinTileCol>188</MinTileCol>
            <MaxTileCol>926</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>186</MinTileRow>
            <MaxTileRow>4045</MaxTileRow>
            <MinTileCol>376</MinTileCol>
            <MaxTileCol>1853</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>373</MinTileRow>
            <MaxTileRow>8090</MaxTileRow>
            <MinTileCol>752</MinTileCol>
            <MaxTileCol>3707</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>746</MinTileRow>
            <MaxTileRow>16180</MaxTileRow>
            <MinTileCol>1505</MinTileCol>
            <MaxTileCol>7415</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1492</MinTileRow>
            <MaxTileRow>32361</MaxTileRow>
            <MinTileCol>3011</MinTileCol>
            <MaxTileCol>14831</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>21</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>43</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>87</MaxTileRow>
            <MinTileCol>121</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>174</MaxTileRow>
            <MinTileCol>242</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>348</MaxTileRow>
            <MinTileCol>485</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>696</MaxTileRow>
            <MinTileCol>970</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1170</MinTileRow>
            <MaxTileRow>1393</MaxTileRow>
            <MinTileCol>1941</MinTileCol>
            <MaxTileCol>2038</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2341</MinTileRow>
            <MaxTileRow>2786</MaxTileRow>
            <MinTileCol>3883</MinTileCol>
            <MaxTileCol>4077</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4683</MinTileRow>
            <MaxTileRow>5573</MaxTileRow>
            <MinTileCol>7767</MinTileCol>
            <MaxTileCol>8154</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9367</MinTileRow>
            <MaxTileRow>11146</MaxTileRow>
            <MinTileCol>15535</MinTileCol>
            <MaxTileCol>16309</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18735</MinTileRow>
            <MaxTileRow>22292</MaxTileRow>
            <MinTileCol>31071</MinTileCol>
            <MaxTileCol>32619</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37470</MinTileRow>
            <MaxTileRow>44584</MaxTileRow>
            <MinTileCol>62143</MinTileCol>
            <MaxTileCol>65239</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74941</MinTileRow>
            <MaxTileRow>89168</MaxTileRow>
            <MinTileCol>124287</MinTileCol>
            <MaxTileCol>130479</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149882</MinTileRow>
            <MaxTileRow>178336</MaxTileRow>
            <MinTileCol>248575</MinTileCol>
            <MaxTileCol>260958</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299764</MinTileRow>
            <MaxTileRow>356673</MaxTileRow>
            <MinTileCol>497150</MinTileCol>
            <MaxTileCol>521916</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt_premium:pub_stlghts/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt_premium:pub_stlghts/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt_premium:pub_stlghts/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt_premium:pub_stlghts/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt_premium:pub_stlghts/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt_premium:pub_stlghts/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt_premium:pub_stlghts/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt_premium:pub_stlghts/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Culvert (Lines) - Scotland</ows:Title>
      <ows:Identifier>sh_clvt:pub_clvtlin</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_clvt%3Apub_clvtlin&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_clvt%3Apub_clvtlin&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_clvt%3Apub_clvtlin&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_clvt%3Apub_clvtlin&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_clvt%3Apub_clvtlin&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_clvt%3Apub_clvtlin" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>30</MaxTileRow>
            <MinTileCol>13</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>21</MinTileRow>
            <MaxTileRow>60</MaxTileRow>
            <MinTileCol>26</MinTileCol>
            <MaxTileCol>51</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>42</MinTileRow>
            <MaxTileRow>120</MaxTileRow>
            <MinTileCol>52</MinTileCol>
            <MaxTileCol>102</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>85</MinTileRow>
            <MaxTileRow>240</MaxTileRow>
            <MinTileCol>105</MinTileCol>
            <MaxTileCol>205</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>170</MinTileRow>
            <MaxTileRow>480</MaxTileRow>
            <MinTileCol>210</MinTileCol>
            <MaxTileCol>410</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>341</MinTileRow>
            <MaxTileRow>961</MaxTileRow>
            <MinTileCol>420</MinTileCol>
            <MaxTileCol>820</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>682</MinTileRow>
            <MaxTileRow>1923</MaxTileRow>
            <MinTileCol>840</MinTileCol>
            <MaxTileCol>1641</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1364</MinTileRow>
            <MaxTileRow>3846</MaxTileRow>
            <MinTileCol>1681</MinTileCol>
            <MaxTileCol>3282</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>2729</MinTileRow>
            <MaxTileRow>7693</MaxTileRow>
            <MinTileCol>3363</MinTileCol>
            <MaxTileCol>6565</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>5458</MinTileRow>
            <MaxTileRow>15386</MaxTileRow>
            <MinTileCol>6726</MinTileCol>
            <MaxTileCol>13130</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>19</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>39</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>79</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>150</MinTileRow>
            <MaxTileRow>159</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>300</MinTileRow>
            <MaxTileRow>319</MaxTileRow>
            <MinTileCol>493</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>601</MinTileRow>
            <MaxTileRow>639</MaxTileRow>
            <MinTileCol>987</MinTileCol>
            <MaxTileCol>1012</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1202</MinTileRow>
            <MaxTileRow>1278</MaxTileRow>
            <MinTileCol>1974</MinTileCol>
            <MaxTileCol>2024</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2405</MinTileRow>
            <MaxTileRow>2557</MaxTileRow>
            <MinTileCol>3948</MinTileCol>
            <MaxTileCol>4049</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4811</MinTileRow>
            <MaxTileRow>5115</MaxTileRow>
            <MinTileCol>7897</MinTileCol>
            <MaxTileCol>8099</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9623</MinTileRow>
            <MaxTileRow>10231</MaxTileRow>
            <MinTileCol>15795</MinTileCol>
            <MaxTileCol>16198</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19246</MinTileRow>
            <MaxTileRow>20462</MaxTileRow>
            <MinTileCol>31590</MinTileCol>
            <MaxTileCol>32397</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38493</MinTileRow>
            <MaxTileRow>40924</MaxTileRow>
            <MinTileCol>63181</MinTileCol>
            <MaxTileCol>64794</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>76986</MinTileRow>
            <MaxTileRow>81848</MaxTileRow>
            <MinTileCol>126362</MinTileCol>
            <MaxTileCol>129588</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>153972</MinTileRow>
            <MaxTileRow>163696</MaxTileRow>
            <MinTileCol>252725</MinTileCol>
            <MaxTileCol>259176</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>307945</MinTileRow>
            <MaxTileRow>327393</MaxTileRow>
            <MinTileCol>505450</MinTileCol>
            <MaxTileCol>518353</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtlin/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtlin/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtlin/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtlin/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtlin/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtlin/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtlin/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtlin/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>GHiGs DHN High Viability - Scotland</ows:Title>
      <ows:Identifier>ext_ghigs:pub_ghigs-dhn-high</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_ghigs%3Apub_ghigs-dhn-high" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>147</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>116</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>23</MinTileRow>
            <MaxTileRow>294</MaxTileRow>
            <MinTileCol>72</MinTileCol>
            <MaxTileCol>233</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>46</MinTileRow>
            <MaxTileRow>589</MaxTileRow>
            <MinTileCol>144</MinTileCol>
            <MaxTileCol>466</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>93</MinTileRow>
            <MaxTileRow>1179</MaxTileRow>
            <MinTileCol>288</MinTileCol>
            <MaxTileCol>933</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>186</MinTileRow>
            <MaxTileRow>2358</MaxTileRow>
            <MinTileCol>577</MinTileCol>
            <MaxTileCol>1866</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>373</MinTileRow>
            <MaxTileRow>4717</MaxTileRow>
            <MinTileCol>1155</MinTileCol>
            <MaxTileCol>3733</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>747</MinTileRow>
            <MaxTileRow>9434</MaxTileRow>
            <MinTileCol>2311</MinTileCol>
            <MaxTileCol>7466</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1495</MinTileRow>
            <MaxTileRow>18869</MaxTileRow>
            <MinTileCol>4622</MinTileCol>
            <MaxTileCol>14932</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>163</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>326</MaxTileRow>
            <MinTileCol>488</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>652</MaxTileRow>
            <MinTileCol>977</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1170</MinTileRow>
            <MaxTileRow>1304</MaxTileRow>
            <MinTileCol>1955</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2341</MinTileRow>
            <MaxTileRow>2608</MaxTileRow>
            <MinTileCol>3910</MinTileCol>
            <MaxTileCol>4079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4683</MinTileRow>
            <MaxTileRow>5217</MaxTileRow>
            <MinTileCol>7820</MinTileCol>
            <MaxTileCol>8158</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9367</MinTileRow>
            <MaxTileRow>10434</MaxTileRow>
            <MinTileCol>15640</MinTileCol>
            <MaxTileCol>16316</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18735</MinTileRow>
            <MaxTileRow>20869</MaxTileRow>
            <MinTileCol>31281</MinTileCol>
            <MaxTileCol>32633</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37471</MinTileRow>
            <MaxTileRow>41738</MaxTileRow>
            <MinTileCol>62562</MinTileCol>
            <MaxTileCol>65266</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74942</MinTileRow>
            <MaxTileRow>83476</MaxTileRow>
            <MinTileCol>125124</MinTileCol>
            <MaxTileCol>130532</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149884</MinTileRow>
            <MaxTileRow>166952</MaxTileRow>
            <MinTileCol>250249</MinTileCol>
            <MaxTileCol>261064</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299768</MinTileRow>
            <MaxTileRow>333904</MaxTileRow>
            <MinTileCol>500498</MinTileCol>
            <MaxTileCol>522128</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-high/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-high/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-high/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-high/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-high/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-high/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-high/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-high/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Visiting Yacht Moorings - Orkney Islands - Scotland</ows:Title>
      <ows:Identifier>ext_oivym:pub_oivym</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oivym%3Apub_oivym&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oivym%3Apub_oivym&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oivym%3Apub_oivym&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oivym%3Apub_oivym&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_oivym%3Apub_oivym&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_oivym%3Apub_oivym" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>22</MinTileCol>
            <MaxTileCol>24</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>21</MinTileRow>
            <MaxTileRow>27</MaxTileRow>
            <MinTileCol>44</MinTileCol>
            <MaxTileCol>49</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>43</MinTileRow>
            <MaxTileRow>55</MaxTileRow>
            <MinTileCol>89</MinTileCol>
            <MaxTileCol>98</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>87</MinTileRow>
            <MaxTileRow>111</MaxTileRow>
            <MinTileCol>178</MinTileCol>
            <MaxTileCol>196</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>174</MinTileRow>
            <MaxTileRow>223</MaxTileRow>
            <MinTileCol>357</MinTileCol>
            <MaxTileCol>392</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>349</MinTileRow>
            <MaxTileRow>447</MaxTileRow>
            <MinTileCol>714</MinTileCol>
            <MaxTileCol>785</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>699</MinTileRow>
            <MaxTileRow>894</MaxTileRow>
            <MinTileCol>1428</MinTileCol>
            <MaxTileCol>1570</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1399</MinTileRow>
            <MaxTileRow>1788</MaxTileRow>
            <MinTileCol>2856</MinTileCol>
            <MaxTileCol>3140</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>2799</MinTileRow>
            <MaxTileRow>3576</MaxTileRow>
            <MinTileCol>5712</MinTileCol>
            <MaxTileCol>6280</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>5598</MinTileRow>
            <MaxTileRow>7152</MaxTileRow>
            <MinTileCol>11425</MinTileCol>
            <MaxTileCol>12560</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>19</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>38</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>76</MaxTileRow>
            <MinTileCol>125</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>150</MinTileRow>
            <MaxTileRow>152</MaxTileRow>
            <MinTileCol>251</MinTileCol>
            <MaxTileCol>252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>301</MinTileRow>
            <MaxTileRow>304</MaxTileRow>
            <MinTileCol>502</MinTileCol>
            <MaxTileCol>505</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>602</MinTileRow>
            <MaxTileRow>608</MaxTileRow>
            <MinTileCol>1005</MinTileCol>
            <MaxTileCol>1010</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1204</MinTileRow>
            <MaxTileRow>1216</MaxTileRow>
            <MinTileCol>2011</MinTileCol>
            <MaxTileCol>2020</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2408</MinTileRow>
            <MaxTileRow>2432</MaxTileRow>
            <MinTileCol>4022</MinTileCol>
            <MaxTileCol>4040</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4816</MinTileRow>
            <MaxTileRow>4865</MaxTileRow>
            <MinTileCol>8045</MinTileCol>
            <MaxTileCol>8081</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9632</MinTileRow>
            <MaxTileRow>9730</MaxTileRow>
            <MinTileCol>16090</MinTileCol>
            <MaxTileCol>16163</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19264</MinTileRow>
            <MaxTileRow>19460</MaxTileRow>
            <MinTileCol>32181</MinTileCol>
            <MaxTileCol>32326</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38528</MinTileRow>
            <MaxTileRow>38921</MaxTileRow>
            <MinTileCol>64363</MinTileCol>
            <MaxTileCol>64652</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77057</MinTileRow>
            <MaxTileRow>77842</MaxTileRow>
            <MinTileCol>128727</MinTileCol>
            <MaxTileCol>129304</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>154115</MinTileRow>
            <MaxTileRow>155684</MaxTileRow>
            <MinTileCol>257455</MinTileCol>
            <MaxTileCol>258608</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>308231</MinTileRow>
            <MaxTileRow>311368</MaxTileRow>
            <MinTileCol>514911</MinTileCol>
            <MaxTileCol>517216</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oivym:pub_oivym/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oivym:pub_oivym/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oivym:pub_oivym/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oivym:pub_oivym/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oivym:pub_oivym/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oivym:pub_oivym/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oivym:pub_oivym/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oivym:pub_oivym/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Scapa Deep Water Quay</ows:Title>
      <ows:Identifier>ext_oisdwq_premium:pub_oisdwq</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>orkney</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_oisdwq_premium%3Apub_oisdwq" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>5</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>11</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>23</MinTileCol>
            <MaxTileCol>23</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>26</MinTileRow>
            <MaxTileRow>26</MaxTileRow>
            <MinTileCol>46</MinTileCol>
            <MaxTileCol>46</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>53</MinTileRow>
            <MaxTileRow>53</MaxTileRow>
            <MinTileCol>92</MinTileCol>
            <MaxTileCol>92</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>106</MinTileRow>
            <MaxTileRow>106</MaxTileRow>
            <MinTileCol>184</MinTileCol>
            <MaxTileCol>184</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>213</MinTileRow>
            <MaxTileRow>213</MaxTileRow>
            <MinTileCol>368</MinTileCol>
            <MaxTileCol>368</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>426</MinTileRow>
            <MaxTileRow>426</MaxTileRow>
            <MinTileCol>737</MinTileCol>
            <MaxTileCol>737</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>852</MinTileRow>
            <MaxTileRow>852</MaxTileRow>
            <MinTileCol>1474</MinTileCol>
            <MaxTileCol>1474</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1704</MinTileRow>
            <MaxTileRow>1704</MaxTileRow>
            <MinTileCol>2948</MinTileCol>
            <MaxTileCol>2948</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3408</MinTileRow>
            <MaxTileRow>3408</MaxTileRow>
            <MinTileCol>5897</MinTileCol>
            <MaxTileCol>5897</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>6816</MinTileRow>
            <MaxTileRow>6816</MaxTileRow>
            <MinTileCol>11794</MinTileCol>
            <MaxTileCol>11794</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>37</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>75</MaxTileRow>
            <MinTileCol>125</MinTileCol>
            <MaxTileCol>125</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>151</MinTileRow>
            <MaxTileRow>151</MaxTileRow>
            <MinTileCol>251</MinTileCol>
            <MaxTileCol>251</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>303</MinTileRow>
            <MaxTileRow>303</MaxTileRow>
            <MinTileCol>503</MinTileCol>
            <MaxTileCol>503</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>606</MinTileRow>
            <MaxTileRow>606</MaxTileRow>
            <MinTileCol>1007</MinTileCol>
            <MaxTileCol>1007</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1213</MinTileRow>
            <MaxTileRow>1213</MaxTileRow>
            <MinTileCol>2014</MinTileCol>
            <MaxTileCol>2014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2427</MinTileRow>
            <MaxTileRow>2427</MaxTileRow>
            <MinTileCol>4028</MinTileCol>
            <MaxTileCol>4028</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4854</MinTileRow>
            <MaxTileRow>4854</MaxTileRow>
            <MinTileCol>8057</MinTileCol>
            <MaxTileCol>8057</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9709</MinTileRow>
            <MaxTileRow>9709</MaxTileRow>
            <MinTileCol>16115</MinTileCol>
            <MaxTileCol>16115</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19418</MinTileRow>
            <MaxTileRow>19418</MaxTileRow>
            <MinTileCol>32230</MinTileCol>
            <MaxTileCol>32230</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38836</MinTileRow>
            <MaxTileRow>38836</MaxTileRow>
            <MinTileCol>64460</MinTileCol>
            <MaxTileCol>64460</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77672</MinTileRow>
            <MaxTileRow>77672</MaxTileRow>
            <MinTileCol>128921</MinTileCol>
            <MaxTileCol>128921</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>155344</MinTileRow>
            <MaxTileRow>155344</MaxTileRow>
            <MinTileCol>257843</MinTileCol>
            <MaxTileCol>257843</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>310689</MinTileRow>
            <MaxTileRow>310689</MaxTileRow>
            <MinTileCol>515687</MinTileCol>
            <MaxTileCol>515687</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdwq_premium:pub_oisdwq/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdwq_premium:pub_oisdwq/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdwq_premium:pub_oisdwq/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdwq_premium:pub_oisdwq/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdwq_premium:pub_oisdwq/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdwq_premium:pub_oisdwq/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdwq_premium:pub_oisdwq/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisdwq_premium:pub_oisdwq/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Polling Districts - Scotland</ows:Title>
      <ows:Identifier>sh_poldi:pub_poldi</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_poldi%3Apub_poldi&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_poldi%3Apub_poldi&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_poldi%3Apub_poldi&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_poldi%3Apub_poldi&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_poldi%3Apub_poldi&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_poldi%3Apub_poldi" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>26</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>19</MinTileCol>
            <MaxTileCol>53</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>52</MinTileRow>
            <MaxTileRow>147</MaxTileRow>
            <MinTileCol>39</MinTileCol>
            <MaxTileCol>106</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>104</MinTileRow>
            <MaxTileRow>295</MaxTileRow>
            <MinTileCol>79</MinTileCol>
            <MaxTileCol>212</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>209</MinTileRow>
            <MaxTileRow>591</MaxTileRow>
            <MinTileCol>159</MinTileCol>
            <MaxTileCol>424</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>419</MinTileRow>
            <MaxTileRow>1183</MaxTileRow>
            <MinTileCol>318</MinTileCol>
            <MaxTileCol>849</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>838</MinTileRow>
            <MaxTileRow>2366</MaxTileRow>
            <MinTileCol>637</MinTileCol>
            <MaxTileCol>1698</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1677</MinTileRow>
            <MaxTileRow>4733</MaxTileRow>
            <MinTileCol>1274</MinTileCol>
            <MaxTileCol>3397</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3355</MinTileRow>
            <MaxTileRow>9466</MaxTileRow>
            <MinTileCol>2549</MinTileCol>
            <MaxTileCol>6795</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>6711</MinTileRow>
            <MaxTileRow>18933</MaxTileRow>
            <MinTileCol>5098</MinTileCol>
            <MaxTileCol>13590</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>151</MinTileRow>
            <MaxTileRow>163</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>303</MinTileRow>
            <MaxTileRow>326</MaxTileRow>
            <MinTileCol>490</MinTileCol>
            <MaxTileCol>507</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>606</MinTileRow>
            <MaxTileRow>652</MaxTileRow>
            <MinTileCol>981</MinTileCol>
            <MaxTileCol>1014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1212</MinTileRow>
            <MaxTileRow>1304</MaxTileRow>
            <MinTileCol>1962</MinTileCol>
            <MaxTileCol>2028</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2425</MinTileRow>
            <MaxTileRow>2609</MaxTileRow>
            <MinTileCol>3924</MinTileCol>
            <MaxTileCol>4056</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4850</MinTileRow>
            <MaxTileRow>5218</MaxTileRow>
            <MinTileCol>7849</MinTileCol>
            <MaxTileCol>8113</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9701</MinTileRow>
            <MaxTileRow>10436</MaxTileRow>
            <MinTileCol>15699</MinTileCol>
            <MaxTileCol>16226</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19403</MinTileRow>
            <MaxTileRow>20872</MaxTileRow>
            <MinTileCol>31399</MinTileCol>
            <MaxTileCol>32453</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38807</MinTileRow>
            <MaxTileRow>41744</MaxTileRow>
            <MinTileCol>62799</MinTileCol>
            <MaxTileCol>64907</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77615</MinTileRow>
            <MaxTileRow>83488</MaxTileRow>
            <MinTileCol>125599</MinTileCol>
            <MaxTileCol>129815</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>155231</MinTileRow>
            <MaxTileRow>166977</MaxTileRow>
            <MinTileCol>251198</MinTileCol>
            <MaxTileCol>259630</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>310462</MinTileRow>
            <MaxTileRow>333955</MaxTileRow>
            <MinTileCol>502397</MinTileCol>
            <MaxTileCol>519261</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_poldi:pub_poldi/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_poldi:pub_poldi/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_poldi:pub_poldi/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_poldi:pub_poldi/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_poldi:pub_poldi/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_poldi:pub_poldi/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_poldi:pub_poldi/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_poldi:pub_poldi/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Conservation Area - Scotland</ows:Title>
      <ows:Identifier>sh_coar:pub_coar</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_coar%3Apub_coar&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_coar%3Apub_coar&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_coar%3Apub_coar&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_coar%3Apub_coar&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_coar%3Apub_coar&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_coar%3Apub_coar" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>23</MinTileCol>
            <MaxTileCol>53</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>59</MinTileRow>
            <MaxTileRow>146</MaxTileRow>
            <MinTileCol>46</MinTileCol>
            <MaxTileCol>106</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>119</MinTileRow>
            <MaxTileRow>293</MaxTileRow>
            <MinTileCol>92</MinTileCol>
            <MaxTileCol>212</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>239</MinTileRow>
            <MaxTileRow>587</MaxTileRow>
            <MinTileCol>185</MinTileCol>
            <MaxTileCol>424</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>478</MinTileRow>
            <MaxTileRow>1174</MaxTileRow>
            <MinTileCol>371</MinTileCol>
            <MaxTileCol>848</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>957</MinTileRow>
            <MaxTileRow>2348</MaxTileRow>
            <MinTileCol>742</MinTileCol>
            <MaxTileCol>1697</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1915</MinTileRow>
            <MaxTileRow>4696</MaxTileRow>
            <MinTileCol>1484</MinTileCol>
            <MaxTileCol>3394</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3831</MinTileRow>
            <MaxTileRow>9392</MaxTileRow>
            <MinTileCol>2968</MinTileCol>
            <MaxTileCol>6788</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>7663</MinTileRow>
            <MaxTileRow>18784</MaxTileRow>
            <MinTileCol>5937</MinTileCol>
            <MaxTileCol>13576</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>152</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>305</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>507</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>610</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1220</MinTileRow>
            <MaxTileRow>1303</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2028</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2440</MinTileRow>
            <MaxTileRow>2606</MaxTileRow>
            <MinTileCol>3939</MinTileCol>
            <MaxTileCol>4056</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4880</MinTileRow>
            <MaxTileRow>5212</MaxTileRow>
            <MinTileCol>7878</MinTileCol>
            <MaxTileCol>8112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9760</MinTileRow>
            <MaxTileRow>10424</MaxTileRow>
            <MinTileCol>15756</MinTileCol>
            <MaxTileCol>16225</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19521</MinTileRow>
            <MaxTileRow>20849</MaxTileRow>
            <MinTileCol>31512</MinTileCol>
            <MaxTileCol>32451</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39043</MinTileRow>
            <MaxTileRow>41699</MaxTileRow>
            <MinTileCol>63024</MinTileCol>
            <MaxTileCol>64903</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>78087</MinTileRow>
            <MaxTileRow>83398</MaxTileRow>
            <MinTileCol>126048</MinTileCol>
            <MaxTileCol>129806</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>156175</MinTileRow>
            <MaxTileRow>166796</MaxTileRow>
            <MinTileCol>252097</MinTileCol>
            <MaxTileCol>259612</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>312350</MinTileRow>
            <MaxTileRow>333592</MaxTileRow>
            <MinTileCol>504195</MinTileCol>
            <MaxTileCol>519225</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_coar:pub_coar/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_coar:pub_coar/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_coar:pub_coar/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_coar:pub_coar/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_coar:pub_coar/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_coar:pub_coar/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_coar:pub_coar/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_coar:pub_coar/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Septic Tanks - Scotland</ows:Title>
      <ows:Identifier>sh_sptk:pub_sptk</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_sptk%3Apub_sptk&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_sptk%3Apub_sptk&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_sptk%3Apub_sptk&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_sptk%3Apub_sptk&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_sptk%3Apub_sptk&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_sptk%3Apub_sptk" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>56</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>147</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>113</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>294</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>226</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>589</MaxTileRow>
            <MinTileCol>143</MinTileCol>
            <MaxTileCol>453</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>176</MinTileRow>
            <MaxTileRow>1179</MaxTileRow>
            <MinTileCol>286</MinTileCol>
            <MaxTileCol>907</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>353</MinTileRow>
            <MaxTileRow>2358</MaxTileRow>
            <MinTileCol>572</MinTileCol>
            <MaxTileCol>1814</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>707</MinTileRow>
            <MaxTileRow>4717</MaxTileRow>
            <MinTileCol>1144</MinTileCol>
            <MaxTileCol>3628</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>1415</MinTileRow>
            <MaxTileRow>9434</MaxTileRow>
            <MinTileCol>2289</MinTileCol>
            <MaxTileCol>7256</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>2831</MinTileRow>
            <MaxTileRow>18868</MaxTileRow>
            <MinTileCol>4579</MinTileCol>
            <MaxTileCol>14512</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>147</MinTileRow>
            <MaxTileRow>163</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>295</MinTileRow>
            <MaxTileRow>326</MaxTileRow>
            <MinTileCol>488</MinTileCol>
            <MaxTileCol>508</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>590</MinTileRow>
            <MaxTileRow>652</MaxTileRow>
            <MinTileCol>977</MinTileCol>
            <MaxTileCol>1017</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1181</MinTileRow>
            <MaxTileRow>1304</MaxTileRow>
            <MinTileCol>1955</MinTileCol>
            <MaxTileCol>2035</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2363</MinTileRow>
            <MaxTileRow>2608</MaxTileRow>
            <MinTileCol>3911</MinTileCol>
            <MaxTileCol>4071</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4727</MinTileRow>
            <MaxTileRow>5217</MaxTileRow>
            <MinTileCol>7822</MinTileCol>
            <MaxTileCol>8143</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9455</MinTileRow>
            <MaxTileRow>10434</MaxTileRow>
            <MinTileCol>15645</MinTileCol>
            <MaxTileCol>16287</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18910</MinTileRow>
            <MaxTileRow>20869</MaxTileRow>
            <MinTileCol>31291</MinTileCol>
            <MaxTileCol>32575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37820</MinTileRow>
            <MaxTileRow>41738</MaxTileRow>
            <MinTileCol>62583</MinTileCol>
            <MaxTileCol>65150</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>75641</MinTileRow>
            <MaxTileRow>83476</MaxTileRow>
            <MinTileCol>125166</MinTileCol>
            <MaxTileCol>130301</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>151282</MinTileRow>
            <MaxTileRow>166953</MaxTileRow>
            <MinTileCol>250333</MinTileCol>
            <MaxTileCol>260602</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>302565</MinTileRow>
            <MaxTileRow>333907</MaxTileRow>
            <MinTileCol>500667</MinTileCol>
            <MaxTileCol>521204</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_sptk:pub_sptk/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_sptk:pub_sptk/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_sptk:pub_sptk/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_sptk:pub_sptk/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_sptk:pub_sptk/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_sptk:pub_sptk/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_sptk:pub_sptk/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_sptk:pub_sptk/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Wind Turbine Spatial Framework - Scotland</ows:Title>
      <ows:Identifier>sh_wtsf:pub_wtsf</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_wtsf%3Apub_wtsf&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_wtsf%3Apub_wtsf&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_wtsf%3Apub_wtsf&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_wtsf%3Apub_wtsf&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_wtsf%3Apub_wtsf&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_wtsf%3Apub_wtsf" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>34</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>23</MinTileRow>
            <MaxTileRow>68</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>52</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>46</MinTileRow>
            <MaxTileRow>137</MaxTileRow>
            <MinTileCol>23</MinTileCol>
            <MaxTileCol>105</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>93</MinTileRow>
            <MaxTileRow>275</MaxTileRow>
            <MinTileCol>47</MinTileCol>
            <MaxTileCol>211</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>187</MinTileRow>
            <MaxTileRow>550</MaxTileRow>
            <MinTileCol>94</MinTileCol>
            <MaxTileCol>423</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>375</MinTileRow>
            <MaxTileRow>1100</MaxTileRow>
            <MinTileCol>189</MinTileCol>
            <MaxTileCol>846</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>750</MinTileRow>
            <MaxTileRow>2201</MaxTileRow>
            <MinTileCol>378</MinTileCol>
            <MaxTileCol>1693</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1501</MinTileRow>
            <MaxTileRow>4403</MaxTileRow>
            <MinTileCol>757</MinTileCol>
            <MaxTileCol>3387</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3003</MinTileRow>
            <MaxTileRow>8807</MaxTileRow>
            <MinTileCol>1514</MinTileCol>
            <MaxTileCol>6774</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>6007</MinTileRow>
            <MaxTileRow>17615</MaxTileRow>
            <MinTileCol>3029</MinTileCol>
            <MaxTileCol>13548</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>121</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>150</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>243</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>301</MinTileRow>
            <MaxTileRow>324</MaxTileRow>
            <MinTileCol>486</MinTileCol>
            <MaxTileCol>507</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>603</MinTileRow>
            <MaxTileRow>648</MaxTileRow>
            <MinTileCol>973</MinTileCol>
            <MaxTileCol>1014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1207</MinTileRow>
            <MaxTileRow>1296</MaxTileRow>
            <MinTileCol>1946</MinTileCol>
            <MaxTileCol>2028</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2414</MinTileRow>
            <MaxTileRow>2593</MaxTileRow>
            <MinTileCol>3892</MinTileCol>
            <MaxTileCol>4056</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4828</MinTileRow>
            <MaxTileRow>5186</MaxTileRow>
            <MinTileCol>7784</MinTileCol>
            <MaxTileCol>8112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9657</MinTileRow>
            <MaxTileRow>10372</MaxTileRow>
            <MinTileCol>15568</MinTileCol>
            <MaxTileCol>16224</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19315</MinTileRow>
            <MaxTileRow>20744</MaxTileRow>
            <MinTileCol>31136</MinTileCol>
            <MaxTileCol>32448</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38631</MinTileRow>
            <MaxTileRow>41488</MaxTileRow>
            <MinTileCol>62272</MinTileCol>
            <MaxTileCol>64897</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77262</MinTileRow>
            <MaxTileRow>82977</MaxTileRow>
            <MinTileCol>124544</MinTileCol>
            <MaxTileCol>129795</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>154525</MinTileRow>
            <MaxTileRow>165955</MaxTileRow>
            <MinTileCol>249088</MinTileCol>
            <MaxTileCol>259590</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>309051</MinTileRow>
            <MaxTileRow>331910</MaxTileRow>
            <MinTileCol>498176</MinTileCol>
            <MaxTileCol>519181</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_wtsf:pub_wtsf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_wtsf:pub_wtsf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_wtsf:pub_wtsf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_wtsf:pub_wtsf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_wtsf:pub_wtsf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_wtsf:pub_wtsf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_wtsf:pub_wtsf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_wtsf:pub_wtsf/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NATS Safeguarding Zones - Scotland</ows:Title>
      <ows:Identifier>ext_nats:pub_nats</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_nats%3Apub_nats&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_nats%3Apub_nats&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_nats%3Apub_nats&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_nats%3Apub_nats&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_nats%3Apub_nats&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_nats%3Apub_nats" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>16</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>33</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>27</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>15</MinTileRow>
            <MaxTileRow>66</MaxTileRow>
            <MinTileCol>19</MinTileCol>
            <MaxTileCol>55</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>30</MinTileRow>
            <MaxTileRow>132</MaxTileRow>
            <MinTileCol>38</MinTileCol>
            <MaxTileCol>111</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>61</MinTileRow>
            <MaxTileRow>265</MaxTileRow>
            <MinTileCol>77</MinTileCol>
            <MaxTileCol>222</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>122</MinTileRow>
            <MaxTileRow>530</MaxTileRow>
            <MinTileCol>155</MinTileCol>
            <MaxTileCol>444</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>244</MinTileRow>
            <MaxTileRow>1061</MaxTileRow>
            <MinTileCol>311</MinTileCol>
            <MaxTileCol>889</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>488</MinTileRow>
            <MaxTileRow>2122</MaxTileRow>
            <MinTileCol>623</MinTileCol>
            <MaxTileCol>1778</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>977</MinTileRow>
            <MaxTileRow>4244</MaxTileRow>
            <MinTileCol>1247</MinTileCol>
            <MaxTileCol>3557</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>1954</MinTileRow>
            <MaxTileRow>8489</MaxTileRow>
            <MinTileCol>2494</MinTileCol>
            <MaxTileCol>7115</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>3908</MinTileRow>
            <MaxTileRow>16978</MaxTileRow>
            <MinTileCol>4988</MinTileCol>
            <MaxTileCol>14230</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>74</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>148</MinTileRow>
            <MaxTileRow>161</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>297</MinTileRow>
            <MaxTileRow>322</MaxTileRow>
            <MinTileCol>489</MinTileCol>
            <MaxTileCol>508</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>595</MinTileRow>
            <MaxTileRow>645</MaxTileRow>
            <MinTileCol>979</MinTileCol>
            <MaxTileCol>1016</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1190</MinTileRow>
            <MaxTileRow>1290</MaxTileRow>
            <MinTileCol>1959</MinTileCol>
            <MaxTileCol>2033</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2381</MinTileRow>
            <MaxTileRow>2581</MaxTileRow>
            <MinTileCol>3919</MinTileCol>
            <MaxTileCol>4067</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4762</MinTileRow>
            <MaxTileRow>5163</MaxTileRow>
            <MinTileCol>7839</MinTileCol>
            <MaxTileCol>8134</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9524</MinTileRow>
            <MaxTileRow>10327</MaxTileRow>
            <MinTileCol>15678</MinTileCol>
            <MaxTileCol>16268</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19049</MinTileRow>
            <MaxTileRow>20655</MaxTileRow>
            <MinTileCol>31356</MinTileCol>
            <MaxTileCol>32537</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38098</MinTileRow>
            <MaxTileRow>41310</MaxTileRow>
            <MinTileCol>62712</MinTileCol>
            <MaxTileCol>65074</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>76197</MinTileRow>
            <MaxTileRow>82621</MaxTileRow>
            <MinTileCol>125425</MinTileCol>
            <MaxTileCol>130148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>152395</MinTileRow>
            <MaxTileRow>165243</MaxTileRow>
            <MinTileCol>250850</MinTileCol>
            <MaxTileCol>260297</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>304791</MinTileRow>
            <MaxTileRow>330486</MaxTileRow>
            <MinTileCol>501701</MinTileCol>
            <MaxTileCol>520595</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_nats:pub_nats/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_nats:pub_nats/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_nats:pub_nats/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_nats:pub_nats/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_nats:pub_nats/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_nats:pub_nats/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_nats:pub_nats/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_nats:pub_nats/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>GHiGs DHN Highest Viability (Public Buildings only) - Scotland</ows:Title>
      <ows:Identifier>ext_ghigs:pub_ghigs-dhn-highest-pb</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_ghigs%3Apub_ghigs-dhn-highest-pb" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>146</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>116</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>23</MinTileRow>
            <MaxTileRow>292</MaxTileRow>
            <MinTileCol>72</MinTileCol>
            <MaxTileCol>233</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>46</MinTileRow>
            <MaxTileRow>584</MaxTileRow>
            <MinTileCol>144</MinTileCol>
            <MaxTileCol>466</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>93</MinTileRow>
            <MaxTileRow>1169</MaxTileRow>
            <MinTileCol>288</MinTileCol>
            <MaxTileCol>932</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>187</MinTileRow>
            <MaxTileRow>2339</MaxTileRow>
            <MinTileCol>577</MinTileCol>
            <MaxTileCol>1865</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>374</MinTileRow>
            <MaxTileRow>4678</MaxTileRow>
            <MinTileCol>1155</MinTileCol>
            <MaxTileCol>3730</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>748</MinTileRow>
            <MaxTileRow>9356</MaxTileRow>
            <MinTileCol>2311</MinTileCol>
            <MaxTileCol>7460</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1496</MinTileRow>
            <MaxTileRow>18712</MaxTileRow>
            <MinTileCol>4622</MinTileCol>
            <MaxTileCol>14921</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>488</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>977</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1170</MinTileRow>
            <MaxTileRow>1303</MaxTileRow>
            <MinTileCol>1955</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2341</MinTileRow>
            <MaxTileRow>2606</MaxTileRow>
            <MinTileCol>3910</MinTileCol>
            <MaxTileCol>4078</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4683</MinTileRow>
            <MaxTileRow>5212</MaxTileRow>
            <MinTileCol>7820</MinTileCol>
            <MaxTileCol>8157</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9367</MinTileRow>
            <MaxTileRow>10425</MaxTileRow>
            <MinTileCol>15640</MinTileCol>
            <MaxTileCol>16315</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18735</MinTileRow>
            <MaxTileRow>20851</MaxTileRow>
            <MinTileCol>31281</MinTileCol>
            <MaxTileCol>32631</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37471</MinTileRow>
            <MaxTileRow>41703</MaxTileRow>
            <MinTileCol>62562</MinTileCol>
            <MaxTileCol>65263</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74942</MinTileRow>
            <MaxTileRow>83406</MaxTileRow>
            <MinTileCol>125124</MinTileCol>
            <MaxTileCol>130526</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149885</MinTileRow>
            <MaxTileRow>166812</MaxTileRow>
            <MinTileCol>250249</MinTileCol>
            <MaxTileCol>261052</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299771</MinTileRow>
            <MaxTileRow>333625</MaxTileRow>
            <MinTileCol>500499</MinTileCol>
            <MaxTileCol>522105</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-highest-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-highest-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-highest-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-highest-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-highest-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-highest-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-highest-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-highest-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>HIAL Safeguarding Zones - Scotland</ows:Title>
      <ows:Identifier>ext_hial:pub_hial</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_hial%3Apub_hial&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_hial%3Apub_hial&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_hial%3Apub_hial&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_hial%3Apub_hial&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_hial%3Apub_hial&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_hial%3Apub_hial" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>30</MaxTileRow>
            <MinTileCol>16</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>60</MaxTileRow>
            <MinTileCol>33</MinTileCol>
            <MaxTileCol>53</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>72</MinTileRow>
            <MaxTileRow>120</MaxTileRow>
            <MinTileCol>67</MinTileCol>
            <MaxTileCol>107</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>144</MinTileRow>
            <MaxTileRow>240</MaxTileRow>
            <MinTileCol>135</MinTileCol>
            <MaxTileCol>214</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>289</MinTileRow>
            <MaxTileRow>481</MaxTileRow>
            <MinTileCol>270</MinTileCol>
            <MaxTileCol>428</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>578</MinTileRow>
            <MaxTileRow>963</MaxTileRow>
            <MinTileCol>541</MinTileCol>
            <MaxTileCol>857</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1157</MinTileRow>
            <MaxTileRow>1927</MaxTileRow>
            <MinTileCol>1082</MinTileCol>
            <MaxTileCol>1715</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2315</MinTileRow>
            <MaxTileRow>3854</MaxTileRow>
            <MinTileCol>2164</MinTileCol>
            <MaxTileCol>3430</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>4631</MinTileRow>
            <MaxTileRow>7709</MaxTileRow>
            <MinTileCol>4329</MinTileCol>
            <MaxTileCol>6860</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>9263</MinTileRow>
            <MaxTileRow>15419</MaxTileRow>
            <MinTileCol>8659</MinTileCol>
            <MaxTileCol>13721</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>19</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>39</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>79</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>154</MinTileRow>
            <MaxTileRow>159</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>308</MinTileRow>
            <MaxTileRow>319</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>507</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>616</MinTileRow>
            <MaxTileRow>639</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>1014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1232</MinTileRow>
            <MaxTileRow>1278</MaxTileRow>
            <MinTileCol>1990</MinTileCol>
            <MaxTileCol>2029</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2464</MinTileRow>
            <MaxTileRow>2556</MaxTileRow>
            <MinTileCol>3981</MinTileCol>
            <MaxTileCol>4058</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4929</MinTileRow>
            <MaxTileRow>5113</MaxTileRow>
            <MinTileCol>7963</MinTileCol>
            <MaxTileCol>8117</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9858</MinTileRow>
            <MaxTileRow>10227</MaxTileRow>
            <MinTileCol>15927</MinTileCol>
            <MaxTileCol>16234</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19717</MinTileRow>
            <MaxTileRow>20454</MaxTileRow>
            <MinTileCol>31854</MinTileCol>
            <MaxTileCol>32468</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39435</MinTileRow>
            <MaxTileRow>40909</MaxTileRow>
            <MinTileCol>63709</MinTileCol>
            <MaxTileCol>64936</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>78871</MinTileRow>
            <MaxTileRow>81819</MaxTileRow>
            <MinTileCol>127419</MinTileCol>
            <MaxTileCol>129873</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>157742</MinTileRow>
            <MaxTileRow>163638</MaxTileRow>
            <MinTileCol>254839</MinTileCol>
            <MaxTileCol>259747</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>315485</MinTileRow>
            <MaxTileRow>327277</MaxTileRow>
            <MinTileCol>509678</MinTileCol>
            <MaxTileCol>519494</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_hial:pub_hial/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_hial:pub_hial/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_hial:pub_hial/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_hial:pub_hial/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_hial:pub_hial/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_hial:pub_hial/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_hial:pub_hial/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_hial:pub_hial/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>SGN: LP Pipes - Scotland</ows:Title>
      <ows:Identifier>ext_sgn:pub_sgnlp</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnlp&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnlp&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnlp&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnlp&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnlp&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_sgn%3Apub_sgnlp" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>15</MinTileRow>
            <MaxTileRow>35</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>30</MinTileRow>
            <MaxTileRow>71</MaxTileRow>
            <MinTileCol>25</MinTileCol>
            <MaxTileCol>52</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>60</MinTileRow>
            <MaxTileRow>143</MaxTileRow>
            <MinTileCol>51</MinTileCol>
            <MaxTileCol>105</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>120</MinTileRow>
            <MaxTileRow>286</MaxTileRow>
            <MinTileCol>103</MinTileCol>
            <MaxTileCol>211</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>240</MinTileRow>
            <MaxTileRow>573</MaxTileRow>
            <MinTileCol>207</MinTileCol>
            <MaxTileCol>423</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>481</MinTileRow>
            <MaxTileRow>1147</MaxTileRow>
            <MinTileCol>414</MinTileCol>
            <MaxTileCol>846</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>963</MinTileRow>
            <MaxTileRow>2295</MaxTileRow>
            <MinTileCol>828</MinTileCol>
            <MaxTileCol>1692</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1927</MinTileRow>
            <MaxTileRow>4591</MaxTileRow>
            <MinTileCol>1656</MinTileCol>
            <MaxTileCol>3385</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3855</MinTileRow>
            <MaxTileRow>9182</MaxTileRow>
            <MinTileCol>3313</MinTileCol>
            <MaxTileCol>6770</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>7711</MinTileRow>
            <MaxTileRow>18364</MaxTileRow>
            <MinTileCol>6626</MinTileCol>
            <MaxTileCol>13540</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>152</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>305</MinTileRow>
            <MaxTileRow>324</MaxTileRow>
            <MinTileCol>493</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>610</MinTileRow>
            <MaxTileRow>649</MaxTileRow>
            <MinTileCol>987</MinTileCol>
            <MaxTileCol>1013</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1220</MinTileRow>
            <MaxTileRow>1299</MaxTileRow>
            <MinTileCol>1974</MinTileCol>
            <MaxTileCol>2027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2440</MinTileRow>
            <MaxTileRow>2599</MaxTileRow>
            <MinTileCol>3949</MinTileCol>
            <MaxTileCol>4055</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4881</MinTileRow>
            <MaxTileRow>5199</MaxTileRow>
            <MinTileCol>7899</MinTileCol>
            <MaxTileCol>8111</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9763</MinTileRow>
            <MaxTileRow>10399</MaxTileRow>
            <MinTileCol>15798</MinTileCol>
            <MaxTileCol>16223</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19527</MinTileRow>
            <MaxTileRow>20798</MaxTileRow>
            <MinTileCol>31597</MinTileCol>
            <MaxTileCol>32447</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39055</MinTileRow>
            <MaxTileRow>41596</MaxTileRow>
            <MinTileCol>63194</MinTileCol>
            <MaxTileCol>64894</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>78111</MinTileRow>
            <MaxTileRow>83193</MaxTileRow>
            <MinTileCol>126388</MinTileCol>
            <MaxTileCol>129788</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>156222</MinTileRow>
            <MaxTileRow>166386</MaxTileRow>
            <MinTileCol>252776</MinTileCol>
            <MaxTileCol>259577</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>312444</MinTileRow>
            <MaxTileRow>332773</MaxTileRow>
            <MinTileCol>505552</MinTileCol>
            <MaxTileCol>519154</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnlp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnlp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnlp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnlp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnlp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnlp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnlp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnlp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Planning Applications: Official (Polygons) - Scotland</ows:Title>
      <ows:Identifier>sh_plnapp:pub_plnapppol</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_plnapp%3Apub_plnapppol" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>5</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>10</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>31</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>21</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>63</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>43</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>127</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>86</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>255</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>172</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>511</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>345</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1023</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>691</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2047</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1382</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4095</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>2765</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>8191</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>5531</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>16383</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>11063</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>32767</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>22127</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>8</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>14</MinTileCol>
            <MaxTileCol>16</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>21</MaxTileRow>
            <MinTileCol>29</MinTileCol>
            <MaxTileCol>32</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>43</MaxTileRow>
            <MinTileCol>59</MinTileCol>
            <MaxTileCol>65</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>72</MinTileRow>
            <MaxTileRow>87</MaxTileRow>
            <MinTileCol>119</MinTileCol>
            <MaxTileCol>131</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>144</MinTileRow>
            <MaxTileRow>174</MaxTileRow>
            <MinTileCol>239</MinTileCol>
            <MaxTileCol>262</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>289</MinTileRow>
            <MaxTileRow>349</MaxTileRow>
            <MinTileCol>478</MinTileCol>
            <MaxTileCol>524</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>579</MinTileRow>
            <MaxTileRow>698</MaxTileRow>
            <MinTileCol>957</MinTileCol>
            <MaxTileCol>1049</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1158</MinTileRow>
            <MaxTileRow>1397</MaxTileRow>
            <MinTileCol>1915</MinTileCol>
            <MaxTileCol>2099</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2317</MinTileRow>
            <MaxTileRow>2794</MaxTileRow>
            <MinTileCol>3831</MinTileCol>
            <MaxTileCol>4199</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4634</MinTileRow>
            <MaxTileRow>5589</MaxTileRow>
            <MinTileCol>7663</MinTileCol>
            <MaxTileCol>8398</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9269</MinTileRow>
            <MaxTileRow>11178</MaxTileRow>
            <MinTileCol>15327</MinTileCol>
            <MaxTileCol>16797</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18538</MinTileRow>
            <MaxTileRow>22357</MaxTileRow>
            <MinTileCol>30655</MinTileCol>
            <MaxTileCol>33594</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37077</MinTileRow>
            <MaxTileRow>44715</MaxTileRow>
            <MinTileCol>61310</MinTileCol>
            <MaxTileCol>67188</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74155</MinTileRow>
            <MaxTileRow>89430</MaxTileRow>
            <MinTileCol>122620</MinTileCol>
            <MaxTileCol>134377</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>148310</MinTileRow>
            <MaxTileRow>178860</MaxTileRow>
            <MinTileCol>245240</MinTileCol>
            <MaxTileCol>268754</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>296621</MinTileRow>
            <MaxTileRow>357720</MaxTileRow>
            <MinTileCol>490480</MinTileCol>
            <MaxTileCol>537508</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp:pub_plnapppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp:pub_plnapppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp:pub_plnapppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp:pub_plnapppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp:pub_plnapppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp:pub_plnapppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp:pub_plnapppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp:pub_plnapppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NHS Hospitals - Scotland</ows:Title>
      <ows:Identifier>sh_hosp:pub_hosp</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_hosp%3Apub_hosp&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_hosp%3Apub_hosp&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_hosp%3Apub_hosp&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_hosp%3Apub_hosp&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_hosp%3Apub_hosp&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>point</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_hosp%3Apub_hosp" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>35</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>26</MinTileRow>
            <MaxTileRow>71</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>52</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>52</MinTileRow>
            <MaxTileRow>143</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>105</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>104</MinTileRow>
            <MaxTileRow>286</MaxTileRow>
            <MinTileCol>73</MinTileCol>
            <MaxTileCol>211</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>208</MinTileRow>
            <MaxTileRow>573</MaxTileRow>
            <MinTileCol>146</MinTileCol>
            <MaxTileCol>422</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>416</MinTileRow>
            <MaxTileRow>1146</MaxTileRow>
            <MinTileCol>293</MinTileCol>
            <MaxTileCol>844</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>833</MinTileRow>
            <MaxTileRow>2293</MaxTileRow>
            <MinTileCol>586</MinTileCol>
            <MaxTileCol>1688</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1667</MinTileRow>
            <MaxTileRow>4587</MaxTileRow>
            <MinTileCol>1172</MinTileCol>
            <MaxTileCol>3376</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3334</MinTileRow>
            <MaxTileRow>9175</MaxTileRow>
            <MinTileCol>2344</MinTileCol>
            <MaxTileCol>6752</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>6668</MinTileRow>
            <MaxTileRow>18350</MaxTileRow>
            <MinTileCol>4688</MinTileCol>
            <MaxTileCol>13504</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>151</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>303</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>489</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>606</MinTileRow>
            <MaxTileRow>650</MaxTileRow>
            <MinTileCol>979</MinTileCol>
            <MaxTileCol>1013</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1212</MinTileRow>
            <MaxTileRow>1300</MaxTileRow>
            <MinTileCol>1959</MinTileCol>
            <MaxTileCol>2027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2424</MinTileRow>
            <MaxTileRow>2601</MaxTileRow>
            <MinTileCol>3918</MinTileCol>
            <MaxTileCol>4055</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4849</MinTileRow>
            <MaxTileRow>5202</MaxTileRow>
            <MinTileCol>7837</MinTileCol>
            <MaxTileCol>8110</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9699</MinTileRow>
            <MaxTileRow>10405</MaxTileRow>
            <MinTileCol>15674</MinTileCol>
            <MaxTileCol>16221</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19398</MinTileRow>
            <MaxTileRow>20810</MaxTileRow>
            <MinTileCol>31348</MinTileCol>
            <MaxTileCol>32443</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38796</MinTileRow>
            <MaxTileRow>41621</MaxTileRow>
            <MinTileCol>62697</MinTileCol>
            <MaxTileCol>64886</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77593</MinTileRow>
            <MaxTileRow>83243</MaxTileRow>
            <MinTileCol>125395</MinTileCol>
            <MaxTileCol>129772</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>155187</MinTileRow>
            <MaxTileRow>166487</MaxTileRow>
            <MinTileCol>250791</MinTileCol>
            <MaxTileCol>259544</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>310374</MinTileRow>
            <MaxTileRow>332975</MaxTileRow>
            <MinTileCol>501582</MinTileCol>
            <MaxTileCol>519089</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hosp:pub_hosp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hosp:pub_hosp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hosp:pub_hosp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hosp:pub_hosp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hosp:pub_hosp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hosp:pub_hosp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hosp:pub_hosp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_hosp:pub_hosp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Building Standards: Official (Points) - Scotland (PREMIUM)</ows:Title>
      <ows:Identifier>sh_bldstd_premium:pub_bldstdpnt</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>point</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_bldstd_premium%3Apub_bldstdpnt" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>31</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>63</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>126</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>252</MaxTileRow>
            <MinTileCol>23</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>505</MaxTileRow>
            <MinTileCol>47</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1011</MaxTileRow>
            <MinTileCol>94</MinTileCol>
            <MaxTileCol>1023</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2022</MaxTileRow>
            <MinTileCol>188</MinTileCol>
            <MaxTileCol>2047</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4045</MaxTileRow>
            <MinTileCol>376</MinTileCol>
            <MaxTileCol>4095</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>8090</MaxTileRow>
            <MinTileCol>752</MinTileCol>
            <MaxTileCol>8191</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>16180</MaxTileRow>
            <MinTileCol>1505</MinTileCol>
            <MaxTileCol>16383</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>32361</MaxTileRow>
            <MinTileCol>3011</MinTileCol>
            <MaxTileCol>32767</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>31</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>63</MaxTileRow>
            <MinTileCol>25</MinTileCol>
            <MaxTileCol>51</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>127</MaxTileRow>
            <MinTileCol>50</MinTileCol>
            <MaxTileCol>102</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>254</MaxTileRow>
            <MinTileCol>100</MinTileCol>
            <MaxTileCol>204</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>508</MaxTileRow>
            <MinTileCol>200</MinTileCol>
            <MaxTileCol>409</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1016</MaxTileRow>
            <MinTileCol>400</MinTileCol>
            <MaxTileCol>818</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2032</MaxTileRow>
            <MinTileCol>801</MinTileCol>
            <MaxTileCol>1636</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4064</MaxTileRow>
            <MinTileCol>1602</MinTileCol>
            <MaxTileCol>3272</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>8129</MaxTileRow>
            <MinTileCol>3205</MinTileCol>
            <MaxTileCol>6544</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>16259</MaxTileRow>
            <MinTileCol>6410</MinTileCol>
            <MaxTileCol>13089</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>32518</MaxTileRow>
            <MinTileCol>12821</MinTileCol>
            <MaxTileCol>26179</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>65036</MaxTileRow>
            <MinTileCol>25642</MinTileCol>
            <MaxTileCol>52359</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>130073</MaxTileRow>
            <MinTileCol>51285</MinTileCol>
            <MaxTileCol>104718</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>260146</MaxTileRow>
            <MinTileCol>102571</MinTileCol>
            <MaxTileCol>209437</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>520292</MaxTileRow>
            <MinTileCol>205143</MinTileCol>
            <MaxTileCol>418874</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1040584</MaxTileRow>
            <MinTileCol>410286</MinTileCol>
            <MaxTileCol>837749</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd_premium:pub_bldstdpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd_premium:pub_bldstdpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd_premium:pub_bldstdpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd_premium:pub_bldstdpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd_premium:pub_bldstdpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd_premium:pub_bldstdpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd_premium:pub_bldstdpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_bldstd_premium:pub_bldstdpnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Bowling Greens - Scotland</ows:Title>
      <ows:Identifier>ext_spf:pub_spfbg</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfbg&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfbg&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfbg&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfbg&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfbg&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_spf%3Apub_spfbg" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>8</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>27</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>16</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>54</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>32</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>108</MaxTileRow>
            <MinTileCol>25</MinTileCol>
            <MaxTileCol>64</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>26</MinTileRow>
            <MaxTileRow>217</MaxTileRow>
            <MinTileCol>51</MinTileCol>
            <MaxTileCol>128</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>52</MinTileRow>
            <MaxTileRow>434</MaxTileRow>
            <MinTileCol>103</MinTileCol>
            <MaxTileCol>257</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>104</MinTileRow>
            <MaxTileRow>869</MaxTileRow>
            <MinTileCol>207</MinTileCol>
            <MaxTileCol>515</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>208</MinTileRow>
            <MaxTileRow>1738</MaxTileRow>
            <MinTileCol>414</MinTileCol>
            <MaxTileCol>1030</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>416</MinTileRow>
            <MaxTileRow>3476</MaxTileRow>
            <MinTileCol>829</MinTileCol>
            <MaxTileCol>2061</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>832</MinTileRow>
            <MaxTileRow>6953</MaxTileRow>
            <MinTileCol>1658</MinTileCol>
            <MaxTileCol>4122</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>1664</MinTileRow>
            <MaxTileRow>13907</MaxTileRow>
            <MinTileCol>3317</MinTileCol>
            <MaxTileCol>8244</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>3328</MinTileRow>
            <MaxTileRow>27815</MaxTileRow>
            <MinTileCol>6634</MinTileCol>
            <MaxTileCol>16489</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>8</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>16</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>21</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>32</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>42</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>64</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>74</MinTileRow>
            <MaxTileRow>85</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>128</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>148</MinTileRow>
            <MaxTileRow>170</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>256</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>296</MinTileRow>
            <MaxTileRow>340</MaxTileRow>
            <MinTileCol>493</MinTileCol>
            <MaxTileCol>512</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>592</MinTileRow>
            <MaxTileRow>681</MaxTileRow>
            <MinTileCol>986</MinTileCol>
            <MaxTileCol>1025</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1185</MinTileRow>
            <MaxTileRow>1363</MaxTileRow>
            <MinTileCol>1972</MinTileCol>
            <MaxTileCol>2051</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2371</MinTileRow>
            <MaxTileRow>2726</MaxTileRow>
            <MinTileCol>3945</MinTileCol>
            <MaxTileCol>4103</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4743</MinTileRow>
            <MaxTileRow>5452</MaxTileRow>
            <MinTileCol>7890</MinTileCol>
            <MaxTileCol>8207</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9487</MinTileRow>
            <MaxTileRow>10904</MaxTileRow>
            <MinTileCol>15780</MinTileCol>
            <MaxTileCol>16414</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18974</MinTileRow>
            <MaxTileRow>21809</MaxTileRow>
            <MinTileCol>31560</MinTileCol>
            <MaxTileCol>32829</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37949</MinTileRow>
            <MaxTileRow>43619</MaxTileRow>
            <MinTileCol>63120</MinTileCol>
            <MaxTileCol>65658</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>75898</MinTileRow>
            <MaxTileRow>87238</MaxTileRow>
            <MinTileCol>126241</MinTileCol>
            <MaxTileCol>131316</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>151797</MinTileRow>
            <MaxTileRow>174476</MaxTileRow>
            <MinTileCol>252483</MinTileCol>
            <MaxTileCol>262632</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>303594</MinTileRow>
            <MaxTileRow>348953</MaxTileRow>
            <MinTileCol>504967</MinTileCol>
            <MaxTileCol>525265</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfbg/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfbg/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfbg/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfbg/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfbg/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfbg/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfbg/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfbg/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Smoke Control Areas - Scotland</ows:Title>
      <ows:Identifier>sh_sca:pub_sca</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_sca%3Apub_sca&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_sca%3Apub_sca&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_sca%3Apub_sca&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_sca%3Apub_sca&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_sca%3Apub_sca&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_sca%3Apub_sca" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>5</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>11</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>26</MinTileRow>
            <MaxTileRow>34</MaxTileRow>
            <MinTileCol>16</MinTileCol>
            <MaxTileCol>23</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>53</MinTileRow>
            <MaxTileRow>69</MaxTileRow>
            <MinTileCol>33</MinTileCol>
            <MaxTileCol>46</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>106</MinTileRow>
            <MaxTileRow>138</MaxTileRow>
            <MinTileCol>67</MinTileCol>
            <MaxTileCol>93</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>213</MinTileRow>
            <MaxTileRow>277</MaxTileRow>
            <MinTileCol>134</MinTileCol>
            <MaxTileCol>187</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>426</MinTileRow>
            <MaxTileRow>555</MaxTileRow>
            <MinTileCol>269</MinTileCol>
            <MaxTileCol>374</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>852</MinTileRow>
            <MaxTileRow>1110</MaxTileRow>
            <MinTileCol>539</MinTileCol>
            <MaxTileCol>748</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1705</MinTileRow>
            <MaxTileRow>2221</MaxTileRow>
            <MinTileCol>1079</MinTileCol>
            <MaxTileCol>1496</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>3411</MinTileRow>
            <MaxTileRow>4442</MaxTileRow>
            <MinTileCol>2159</MinTileCol>
            <MaxTileCol>2993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>6822</MinTileRow>
            <MaxTileRow>8885</MaxTileRow>
            <MinTileCol>4318</MinTileCol>
            <MaxTileCol>5986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>13644</MinTileRow>
            <MaxTileRow>17770</MaxTileRow>
            <MinTileCol>8636</MinTileCol>
            <MaxTileCol>11973</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>79</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>158</MinTileRow>
            <MaxTileRow>161</MaxTileRow>
            <MinTileCol>249</MinTileCol>
            <MaxTileCol>252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>316</MinTileRow>
            <MaxTileRow>323</MaxTileRow>
            <MinTileCol>498</MinTileCol>
            <MaxTileCol>504</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>632</MinTileRow>
            <MaxTileRow>647</MaxTileRow>
            <MinTileCol>996</MinTileCol>
            <MaxTileCol>1008</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1264</MinTileRow>
            <MaxTileRow>1295</MaxTileRow>
            <MinTileCol>1992</MinTileCol>
            <MaxTileCol>2016</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2529</MinTileRow>
            <MaxTileRow>2590</MaxTileRow>
            <MinTileCol>3984</MinTileCol>
            <MaxTileCol>4033</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>5059</MinTileRow>
            <MaxTileRow>5180</MaxTileRow>
            <MinTileCol>7968</MinTileCol>
            <MaxTileCol>8066</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>10119</MinTileRow>
            <MaxTileRow>10360</MaxTileRow>
            <MinTileCol>15937</MinTileCol>
            <MaxTileCol>16133</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>20239</MinTileRow>
            <MaxTileRow>20721</MaxTileRow>
            <MinTileCol>31874</MinTileCol>
            <MaxTileCol>32267</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>40479</MinTileRow>
            <MaxTileRow>41442</MaxTileRow>
            <MinTileCol>63749</MinTileCol>
            <MaxTileCol>64535</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>80959</MinTileRow>
            <MaxTileRow>82884</MaxTileRow>
            <MinTileCol>127499</MinTileCol>
            <MaxTileCol>129070</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>161918</MinTileRow>
            <MaxTileRow>165769</MaxTileRow>
            <MinTileCol>254998</MinTileCol>
            <MaxTileCol>258141</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>323837</MinTileRow>
            <MaxTileRow>331538</MaxTileRow>
            <MinTileCol>509996</MinTileCol>
            <MaxTileCol>516283</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_sca:pub_sca/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_sca:pub_sca/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_sca:pub_sca/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_sca:pub_sca/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_sca:pub_sca/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_sca:pub_sca/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_sca:pub_sca/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_sca:pub_sca/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Planning Applications: Official (Polygons) - Scotland (PREMIUM)</ows:Title>
      <ows:Identifier>sh_plnapp_premium:pub_plnapppol</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_plnapp_premium%3Apub_plnapppol&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_plnapp_premium%3Apub_plnapppol&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_plnapp_premium%3Apub_plnapppol&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_plnapp_premium%3Apub_plnapppol&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_plnapp_premium%3Apub_plnapppol&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_plnapp_premium%3Apub_plnapppol" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>31</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>63</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>126</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>252</MaxTileRow>
            <MinTileCol>23</MinTileCol>
            <MaxTileCol>116</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>21</MinTileRow>
            <MaxTileRow>505</MaxTileRow>
            <MinTileCol>47</MinTileCol>
            <MaxTileCol>233</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>43</MinTileRow>
            <MaxTileRow>1011</MaxTileRow>
            <MinTileCol>94</MinTileCol>
            <MaxTileCol>466</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>86</MinTileRow>
            <MaxTileRow>2022</MaxTileRow>
            <MinTileCol>188</MinTileCol>
            <MaxTileCol>933</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>173</MinTileRow>
            <MaxTileRow>4044</MaxTileRow>
            <MinTileCol>376</MinTileCol>
            <MaxTileCol>1867</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>346</MinTileRow>
            <MaxTileRow>8089</MaxTileRow>
            <MinTileCol>752</MinTileCol>
            <MaxTileCol>3735</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>692</MinTileRow>
            <MaxTileRow>16179</MaxTileRow>
            <MinTileCol>1505</MinTileCol>
            <MaxTileCol>7470</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1384</MinTileRow>
            <MaxTileRow>32359</MaxTileRow>
            <MinTileCol>3011</MinTileCol>
            <MaxTileCol>14941</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>21</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>43</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>87</MaxTileRow>
            <MinTileCol>121</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>174</MaxTileRow>
            <MinTileCol>242</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>348</MaxTileRow>
            <MinTileCol>485</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>696</MaxTileRow>
            <MinTileCol>970</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1170</MinTileRow>
            <MaxTileRow>1393</MaxTileRow>
            <MinTileCol>1941</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2340</MinTileRow>
            <MaxTileRow>2786</MaxTileRow>
            <MinTileCol>3883</MinTileCol>
            <MaxTileCol>4079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4680</MinTileRow>
            <MaxTileRow>5572</MaxTileRow>
            <MinTileCol>7767</MinTileCol>
            <MaxTileCol>8158</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9360</MinTileRow>
            <MaxTileRow>11145</MaxTileRow>
            <MinTileCol>15535</MinTileCol>
            <MaxTileCol>16317</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18720</MinTileRow>
            <MaxTileRow>22291</MaxTileRow>
            <MinTileCol>31070</MinTileCol>
            <MaxTileCol>32634</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37441</MinTileRow>
            <MaxTileRow>44583</MaxTileRow>
            <MinTileCol>62140</MinTileCol>
            <MaxTileCol>65269</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74883</MinTileRow>
            <MaxTileRow>89167</MaxTileRow>
            <MinTileCol>124281</MinTileCol>
            <MaxTileCol>130538</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149767</MinTileRow>
            <MaxTileRow>178335</MaxTileRow>
            <MinTileCol>248562</MinTileCol>
            <MaxTileCol>261076</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299535</MinTileRow>
            <MaxTileRow>356670</MaxTileRow>
            <MinTileCol>497125</MinTileCol>
            <MaxTileCol>522152</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp_premium:pub_plnapppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp_premium:pub_plnapppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp_premium:pub_plnapppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp_premium:pub_plnapppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp_premium:pub_plnapppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp_premium:pub_plnapppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp_premium:pub_plnapppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp_premium:pub_plnapppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Indicative Ferry Routes - Orkney Islands</ows:Title>
      <ows:Identifier>ext_oiifr_premium:pub_oiifr</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>line</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_oiifr_premium%3Apub_oiifr" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>10</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>8</MinTileRow>
            <MaxTileRow>21</MaxTileRow>
            <MinTileCol>21</MinTileCol>
            <MaxTileCol>27</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>17</MinTileRow>
            <MaxTileRow>42</MaxTileRow>
            <MinTileCol>42</MinTileCol>
            <MaxTileCol>55</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>34</MinTileRow>
            <MaxTileRow>85</MaxTileRow>
            <MinTileCol>85</MinTileCol>
            <MaxTileCol>110</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>68</MinTileRow>
            <MaxTileRow>170</MaxTileRow>
            <MinTileCol>170</MinTileCol>
            <MaxTileCol>221</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>136</MinTileRow>
            <MaxTileRow>341</MaxTileRow>
            <MinTileCol>341</MinTileCol>
            <MaxTileCol>443</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>273</MinTileRow>
            <MaxTileRow>682</MaxTileRow>
            <MinTileCol>682</MinTileCol>
            <MaxTileCol>886</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>546</MinTileRow>
            <MaxTileRow>1364</MaxTileRow>
            <MinTileCol>1364</MinTileCol>
            <MaxTileCol>1773</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1093</MinTileRow>
            <MaxTileRow>2728</MaxTileRow>
            <MinTileCol>2728</MinTileCol>
            <MaxTileCol>3546</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>2186</MinTileRow>
            <MaxTileRow>5456</MaxTileRow>
            <MinTileCol>5456</MinTileCol>
            <MaxTileCol>7092</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>4373</MinTileRow>
            <MaxTileRow>10912</MaxTileRow>
            <MinTileCol>10913</MinTileCol>
            <MaxTileCol>14184</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>19</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>38</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>74</MinTileRow>
            <MaxTileRow>77</MaxTileRow>
            <MinTileCol>125</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>149</MinTileRow>
            <MaxTileRow>155</MaxTileRow>
            <MinTileCol>250</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>298</MinTileRow>
            <MaxTileRow>311</MaxTileRow>
            <MinTileCol>501</MinTileCol>
            <MaxTileCol>508</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>597</MinTileRow>
            <MaxTileRow>622</MaxTileRow>
            <MinTileCol>1003</MinTileCol>
            <MaxTileCol>1016</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1194</MinTileRow>
            <MaxTileRow>1244</MaxTileRow>
            <MinTileCol>2007</MinTileCol>
            <MaxTileCol>2033</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2388</MinTileRow>
            <MaxTileRow>2489</MaxTileRow>
            <MinTileCol>4014</MinTileCol>
            <MaxTileCol>4066</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4777</MinTileRow>
            <MaxTileRow>4979</MaxTileRow>
            <MinTileCol>8028</MinTileCol>
            <MaxTileCol>8132</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9554</MinTileRow>
            <MaxTileRow>9959</MaxTileRow>
            <MinTileCol>16056</MinTileCol>
            <MaxTileCol>16265</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19108</MinTileRow>
            <MaxTileRow>19919</MaxTileRow>
            <MinTileCol>32113</MinTileCol>
            <MaxTileCol>32530</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38217</MinTileRow>
            <MaxTileRow>39839</MaxTileRow>
            <MinTileCol>64227</MinTileCol>
            <MaxTileCol>65061</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>76435</MinTileRow>
            <MaxTileRow>79678</MaxTileRow>
            <MinTileCol>128455</MinTileCol>
            <MaxTileCol>130122</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>152870</MinTileRow>
            <MaxTileRow>159356</MaxTileRow>
            <MinTileCol>256910</MinTileCol>
            <MaxTileCol>260245</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>305741</MinTileRow>
            <MaxTileRow>318712</MaxTileRow>
            <MinTileCol>513821</MinTileCol>
            <MaxTileCol>520490</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiifr_premium:pub_oiifr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiifr_premium:pub_oiifr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiifr_premium:pub_oiifr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiifr_premium:pub_oiifr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiifr_premium:pub_oiifr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiifr_premium:pub_oiifr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiifr_premium:pub_oiifr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiifr_premium:pub_oiifr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Local Nature Reserves - Scotland</ows:Title>
      <ows:Identifier>sh_lnatr:pub_lnatr</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lnatr%3Apub_lnatr&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lnatr%3Apub_lnatr&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lnatr%3Apub_lnatr&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lnatr%3Apub_lnatr&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lnatr%3Apub_lnatr&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_lnatr%3Apub_lnatr" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>35</MaxTileRow>
            <MinTileCol>16</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>40</MinTileRow>
            <MaxTileRow>71</MaxTileRow>
            <MinTileCol>33</MinTileCol>
            <MaxTileCol>51</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>80</MinTileRow>
            <MaxTileRow>143</MaxTileRow>
            <MinTileCol>66</MinTileCol>
            <MaxTileCol>103</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>161</MinTileRow>
            <MaxTileRow>287</MaxTileRow>
            <MinTileCol>132</MinTileCol>
            <MaxTileCol>207</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>322</MinTileRow>
            <MaxTileRow>574</MaxTileRow>
            <MinTileCol>264</MinTileCol>
            <MaxTileCol>415</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>644</MinTileRow>
            <MaxTileRow>1149</MaxTileRow>
            <MinTileCol>528</MinTileCol>
            <MaxTileCol>830</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1288</MinTileRow>
            <MaxTileRow>2298</MaxTileRow>
            <MinTileCol>1057</MinTileCol>
            <MaxTileCol>1660</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2577</MinTileRow>
            <MaxTileRow>4596</MaxTileRow>
            <MinTileCol>2115</MinTileCol>
            <MaxTileCol>3320</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>5154</MinTileRow>
            <MaxTileRow>9193</MaxTileRow>
            <MinTileCol>4230</MinTileCol>
            <MaxTileCol>6641</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>10308</MinTileRow>
            <MaxTileRow>18387</MaxTileRow>
            <MinTileCol>8460</MinTileCol>
            <MaxTileCol>13283</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>155</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>310</MinTileRow>
            <MaxTileRow>324</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>620</MinTileRow>
            <MaxTileRow>649</MaxTileRow>
            <MinTileCol>994</MinTileCol>
            <MaxTileCol>1012</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1240</MinTileRow>
            <MaxTileRow>1299</MaxTileRow>
            <MinTileCol>1989</MinTileCol>
            <MaxTileCol>2025</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2480</MinTileRow>
            <MaxTileRow>2598</MaxTileRow>
            <MinTileCol>3979</MinTileCol>
            <MaxTileCol>4051</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4961</MinTileRow>
            <MaxTileRow>5197</MaxTileRow>
            <MinTileCol>7959</MinTileCol>
            <MaxTileCol>8103</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9922</MinTileRow>
            <MaxTileRow>10395</MaxTileRow>
            <MinTileCol>15918</MinTileCol>
            <MaxTileCol>16207</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19844</MinTileRow>
            <MaxTileRow>20790</MaxTileRow>
            <MinTileCol>31836</MinTileCol>
            <MaxTileCol>32415</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39688</MinTileRow>
            <MaxTileRow>41581</MaxTileRow>
            <MinTileCol>63673</MinTileCol>
            <MaxTileCol>64830</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>79376</MinTileRow>
            <MaxTileRow>83163</MaxTileRow>
            <MinTileCol>127346</MinTileCol>
            <MaxTileCol>129660</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>158753</MinTileRow>
            <MaxTileRow>166326</MaxTileRow>
            <MinTileCol>254693</MinTileCol>
            <MaxTileCol>259321</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>317506</MinTileRow>
            <MaxTileRow>332653</MaxTileRow>
            <MinTileCol>509386</MinTileCol>
            <MaxTileCol>518643</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lnatr:pub_lnatr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lnatr:pub_lnatr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lnatr:pub_lnatr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lnatr:pub_lnatr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lnatr:pub_lnatr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lnatr:pub_lnatr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lnatr:pub_lnatr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lnatr:pub_lnatr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Land Ownership - Scotland</ows:Title>
      <ows:Identifier>sh_lndown:pub_lndown</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lndown%3Apub_lndown&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lndown%3Apub_lndown&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lndown%3Apub_lndown&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lndown%3Apub_lndown&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lndown%3Apub_lndown&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_lndown%3Apub_lndown" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>31</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>63</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>126</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>51</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>58</MinTileRow>
            <MaxTileRow>252</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>102</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>117</MinTileRow>
            <MaxTileRow>505</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>204</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>235</MinTileRow>
            <MaxTileRow>1011</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>409</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>470</MinTileRow>
            <MaxTileRow>2022</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>819</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>940</MinTileRow>
            <MaxTileRow>4045</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1639</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1880</MinTileRow>
            <MaxTileRow>8090</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3279</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3761</MinTileRow>
            <MaxTileRow>16180</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>6559</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>7523</MinTileRow>
            <MaxTileRow>32361</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>13118</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>14</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>21</MaxTileRow>
            <MinTileCol>29</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>43</MaxTileRow>
            <MinTileCol>59</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>87</MaxTileRow>
            <MinTileCol>118</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>152</MinTileRow>
            <MaxTileRow>174</MaxTileRow>
            <MinTileCol>237</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>304</MinTileRow>
            <MaxTileRow>349</MaxTileRow>
            <MinTileCol>474</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>609</MinTileRow>
            <MaxTileRow>698</MaxTileRow>
            <MinTileCol>948</MinTileCol>
            <MaxTileCol>1012</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1219</MinTileRow>
            <MaxTileRow>1397</MaxTileRow>
            <MinTileCol>1897</MinTileCol>
            <MaxTileCol>2024</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2438</MinTileRow>
            <MaxTileRow>2794</MaxTileRow>
            <MinTileCol>3795</MinTileCol>
            <MaxTileCol>4049</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4876</MinTileRow>
            <MaxTileRow>5588</MaxTileRow>
            <MinTileCol>7590</MinTileCol>
            <MaxTileCol>8099</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9752</MinTileRow>
            <MaxTileRow>11177</MaxTileRow>
            <MinTileCol>15180</MinTileCol>
            <MaxTileCol>16198</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19504</MinTileRow>
            <MaxTileRow>22355</MaxTileRow>
            <MinTileCol>30361</MinTileCol>
            <MaxTileCol>32396</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39009</MinTileRow>
            <MaxTileRow>44711</MaxTileRow>
            <MinTileCol>60722</MinTileCol>
            <MaxTileCol>64793</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>78018</MinTileRow>
            <MaxTileRow>89422</MaxTileRow>
            <MinTileCol>121445</MinTileCol>
            <MaxTileCol>129587</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>156036</MinTileRow>
            <MaxTileRow>178844</MaxTileRow>
            <MinTileCol>242891</MinTileCol>
            <MaxTileCol>259174</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>312073</MinTileRow>
            <MaxTileRow>357688</MaxTileRow>
            <MinTileCol>485783</MinTileCol>
            <MaxTileCol>518348</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lndown:pub_lndown/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lndown:pub_lndown/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lndown:pub_lndown/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lndown:pub_lndown/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lndown:pub_lndown/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lndown:pub_lndown/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lndown:pub_lndown/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lndown:pub_lndown/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Ice Rinks - Scotland</ows:Title>
      <ows:Identifier>ext_spf:pub_spfir</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfir&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfir&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfir&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfir&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfir&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_spf%3Apub_spfir" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>35</MaxTileRow>
            <MinTileCol>16</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>40</MinTileRow>
            <MaxTileRow>70</MaxTileRow>
            <MinTileCol>32</MinTileCol>
            <MaxTileCol>50</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>81</MinTileRow>
            <MaxTileRow>141</MaxTileRow>
            <MinTileCol>64</MinTileCol>
            <MaxTileCol>100</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>162</MinTileRow>
            <MaxTileRow>282</MaxTileRow>
            <MinTileCol>129</MinTileCol>
            <MaxTileCol>201</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>325</MinTileRow>
            <MaxTileRow>565</MaxTileRow>
            <MinTileCol>258</MinTileCol>
            <MaxTileCol>403</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>650</MinTileRow>
            <MaxTileRow>1130</MaxTileRow>
            <MinTileCol>516</MinTileCol>
            <MaxTileCol>807</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1300</MinTileRow>
            <MaxTileRow>2261</MaxTileRow>
            <MinTileCol>1032</MinTileCol>
            <MaxTileCol>1615</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2601</MinTileRow>
            <MaxTileRow>4523</MaxTileRow>
            <MinTileCol>2065</MinTileCol>
            <MaxTileCol>3231</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>5202</MinTileRow>
            <MaxTileRow>9046</MaxTileRow>
            <MinTileCol>4130</MinTileCol>
            <MaxTileCol>6462</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>10404</MinTileRow>
            <MaxTileRow>18093</MaxTileRow>
            <MinTileCol>8260</MinTileCol>
            <MaxTileCol>12925</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>155</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>310</MinTileRow>
            <MaxTileRow>324</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>505</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>620</MinTileRow>
            <MaxTileRow>648</MaxTileRow>
            <MinTileCol>994</MinTileCol>
            <MaxTileCol>1011</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1240</MinTileRow>
            <MaxTileRow>1297</MaxTileRow>
            <MinTileCol>1988</MinTileCol>
            <MaxTileCol>2023</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2481</MinTileRow>
            <MaxTileRow>2594</MaxTileRow>
            <MinTileCol>3976</MinTileCol>
            <MaxTileCol>4046</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4963</MinTileRow>
            <MaxTileRow>5189</MaxTileRow>
            <MinTileCol>7953</MinTileCol>
            <MaxTileCol>8093</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9927</MinTileRow>
            <MaxTileRow>10379</MaxTileRow>
            <MinTileCol>15906</MinTileCol>
            <MaxTileCol>16187</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19855</MinTileRow>
            <MaxTileRow>20759</MaxTileRow>
            <MinTileCol>31813</MinTileCol>
            <MaxTileCol>32374</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39711</MinTileRow>
            <MaxTileRow>41518</MaxTileRow>
            <MinTileCol>63626</MinTileCol>
            <MaxTileCol>64748</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>79422</MinTileRow>
            <MaxTileRow>83036</MaxTileRow>
            <MinTileCol>127253</MinTileCol>
            <MaxTileCol>129497</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>158845</MinTileRow>
            <MaxTileRow>166072</MaxTileRow>
            <MinTileCol>254506</MinTileCol>
            <MaxTileCol>258995</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>317690</MinTileRow>
            <MaxTileRow>332144</MaxTileRow>
            <MinTileCol>509013</MinTileCol>
            <MaxTileCol>517990</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfir/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfir/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfir/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfir/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfir/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfir/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfir/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfir/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>SGN: HP Pipes Buffer- Scotland</ows:Title>
      <ows:Identifier>ext_sgn:pub_sgnhpbuffer</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnhpbuffer&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnhpbuffer&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnhpbuffer&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnhpbuffer&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnhpbuffer&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_sgn%3Apub_sgnhpbuffer" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>35</MaxTileRow>
            <MinTileCol>16</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>40</MinTileRow>
            <MaxTileRow>71</MaxTileRow>
            <MinTileCol>32</MinTileCol>
            <MaxTileCol>50</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>81</MinTileRow>
            <MaxTileRow>142</MaxTileRow>
            <MinTileCol>64</MinTileCol>
            <MaxTileCol>101</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>162</MinTileRow>
            <MaxTileRow>284</MaxTileRow>
            <MinTileCol>129</MinTileCol>
            <MaxTileCol>203</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>324</MinTileRow>
            <MaxTileRow>569</MaxTileRow>
            <MinTileCol>258</MinTileCol>
            <MaxTileCol>406</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>649</MinTileRow>
            <MaxTileRow>1138</MaxTileRow>
            <MinTileCol>516</MinTileCol>
            <MaxTileCol>812</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1298</MinTileRow>
            <MaxTileRow>2277</MaxTileRow>
            <MinTileCol>1033</MinTileCol>
            <MaxTileCol>1624</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2596</MinTileRow>
            <MaxTileRow>4554</MaxTileRow>
            <MinTileCol>2066</MinTileCol>
            <MaxTileCol>3248</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>5193</MinTileRow>
            <MaxTileRow>9108</MaxTileRow>
            <MinTileCol>4133</MinTileCol>
            <MaxTileCol>6497</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>10387</MinTileRow>
            <MaxTileRow>18217</MaxTileRow>
            <MinTileCol>8266</MinTileCol>
            <MaxTileCol>12995</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>155</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>310</MinTileRow>
            <MaxTileRow>324</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>505</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>620</MinTileRow>
            <MaxTileRow>649</MaxTileRow>
            <MinTileCol>994</MinTileCol>
            <MaxTileCol>1011</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1240</MinTileRow>
            <MaxTileRow>1298</MaxTileRow>
            <MinTileCol>1988</MinTileCol>
            <MaxTileCol>2023</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2481</MinTileRow>
            <MaxTileRow>2596</MaxTileRow>
            <MinTileCol>3976</MinTileCol>
            <MaxTileCol>4047</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4963</MinTileRow>
            <MaxTileRow>5193</MaxTileRow>
            <MinTileCol>7953</MinTileCol>
            <MaxTileCol>8095</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9926</MinTileRow>
            <MaxTileRow>10386</MaxTileRow>
            <MinTileCol>15906</MinTileCol>
            <MaxTileCol>16191</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19853</MinTileRow>
            <MaxTileRow>20772</MaxTileRow>
            <MinTileCol>31813</MinTileCol>
            <MaxTileCol>32382</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39707</MinTileRow>
            <MaxTileRow>41545</MaxTileRow>
            <MinTileCol>63627</MinTileCol>
            <MaxTileCol>64764</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>79414</MinTileRow>
            <MaxTileRow>83091</MaxTileRow>
            <MinTileCol>127255</MinTileCol>
            <MaxTileCol>129528</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>158829</MinTileRow>
            <MaxTileRow>166182</MaxTileRow>
            <MinTileCol>254511</MinTileCol>
            <MaxTileCol>259057</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>317658</MinTileRow>
            <MaxTileRow>332365</MaxTileRow>
            <MinTileCol>509022</MinTileCol>
            <MaxTileCol>518115</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhpbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhpbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhpbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhpbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhpbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhpbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhpbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnhpbuffer/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Planning Applications: Official (Points) - Scotland</ows:Title>
      <ows:Identifier>sh_plnapp:pub_plnapppnt</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>point</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_plnapp%3Apub_plnapppnt" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>31</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>63</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>126</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>252</MaxTileRow>
            <MinTileCol>23</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>505</MaxTileRow>
            <MinTileCol>47</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1011</MaxTileRow>
            <MinTileCol>94</MinTileCol>
            <MaxTileCol>1023</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2022</MaxTileRow>
            <MinTileCol>188</MinTileCol>
            <MaxTileCol>2047</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4045</MaxTileRow>
            <MinTileCol>376</MinTileCol>
            <MaxTileCol>4095</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>8090</MaxTileRow>
            <MinTileCol>752</MinTileCol>
            <MaxTileCol>8191</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>16180</MaxTileRow>
            <MinTileCol>1505</MinTileCol>
            <MaxTileCol>16383</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>32361</MaxTileRow>
            <MinTileCol>3011</MinTileCol>
            <MaxTileCol>32767</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>25</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>51</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>59</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>102</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>119</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>205</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>238</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>411</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>476</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>823</MaxTileRow>
            <MinTileCol>25</MinTileCol>
            <MaxTileCol>953</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1646</MaxTileRow>
            <MinTileCol>50</MinTileCol>
            <MaxTileCol>1907</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3292</MaxTileRow>
            <MinTileCol>100</MinTileCol>
            <MaxTileCol>3815</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>6584</MaxTileRow>
            <MinTileCol>201</MinTileCol>
            <MaxTileCol>7630</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>13169</MaxTileRow>
            <MinTileCol>402</MinTileCol>
            <MaxTileCol>15260</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>26338</MaxTileRow>
            <MinTileCol>804</MinTileCol>
            <MaxTileCol>30520</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>52676</MaxTileRow>
            <MinTileCol>1609</MinTileCol>
            <MaxTileCol>61040</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>105352</MaxTileRow>
            <MinTileCol>3218</MinTileCol>
            <MaxTileCol>122080</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>210704</MaxTileRow>
            <MinTileCol>6437</MinTileCol>
            <MaxTileCol>244160</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>421409</MaxTileRow>
            <MinTileCol>12874</MinTileCol>
            <MaxTileCol>488320</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>842819</MaxTileRow>
            <MinTileCol>25748</MinTileCol>
            <MaxTileCol>976640</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp:pub_plnapppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp:pub_plnapppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp:pub_plnapppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp:pub_plnapppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp:pub_plnapppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp:pub_plnapppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp:pub_plnapppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_plnapp:pub_plnapppnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Community Asset Transfer Register - Scotland (PREMIUM)</ows:Title>
      <ows:Identifier>sh_catr_premium:pub_catr</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>point</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_catr_premium%3Apub_catr" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>31</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>63</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>126</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>52</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>58</MinTileRow>
            <MaxTileRow>252</MaxTileRow>
            <MinTileCol>23</MinTileCol>
            <MaxTileCol>105</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>117</MinTileRow>
            <MaxTileRow>505</MaxTileRow>
            <MinTileCol>47</MinTileCol>
            <MaxTileCol>211</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>234</MinTileRow>
            <MaxTileRow>1011</MaxTileRow>
            <MinTileCol>94</MinTileCol>
            <MaxTileCol>422</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>469</MinTileRow>
            <MaxTileRow>2022</MaxTileRow>
            <MinTileCol>188</MinTileCol>
            <MaxTileCol>845</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>939</MinTileRow>
            <MaxTileRow>4045</MaxTileRow>
            <MinTileCol>376</MinTileCol>
            <MaxTileCol>1691</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1878</MinTileRow>
            <MaxTileRow>8090</MaxTileRow>
            <MinTileCol>752</MinTileCol>
            <MaxTileCol>3383</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3756</MinTileRow>
            <MaxTileRow>16180</MaxTileRow>
            <MinTileCol>1505</MinTileCol>
            <MaxTileCol>6766</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>7512</MinTileRow>
            <MaxTileRow>32361</MaxTileRow>
            <MinTileCol>3011</MinTileCol>
            <MaxTileCol>13533</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>21</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>43</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>87</MaxTileRow>
            <MinTileCol>121</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>152</MinTileRow>
            <MaxTileRow>174</MaxTileRow>
            <MinTileCol>243</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>304</MinTileRow>
            <MaxTileRow>348</MaxTileRow>
            <MinTileCol>486</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>609</MinTileRow>
            <MaxTileRow>696</MaxTileRow>
            <MinTileCol>973</MinTileCol>
            <MaxTileCol>1013</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1218</MinTileRow>
            <MaxTileRow>1393</MaxTileRow>
            <MinTileCol>1947</MinTileCol>
            <MaxTileCol>2027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2437</MinTileRow>
            <MaxTileRow>2786</MaxTileRow>
            <MinTileCol>3894</MinTileCol>
            <MaxTileCol>4055</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4875</MinTileRow>
            <MaxTileRow>5573</MaxTileRow>
            <MinTileCol>7788</MinTileCol>
            <MaxTileCol>8111</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9751</MinTileRow>
            <MaxTileRow>11146</MaxTileRow>
            <MinTileCol>15576</MinTileCol>
            <MaxTileCol>16223</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19503</MinTileRow>
            <MaxTileRow>22292</MaxTileRow>
            <MinTileCol>31153</MinTileCol>
            <MaxTileCol>32446</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39006</MinTileRow>
            <MaxTileRow>44584</MaxTileRow>
            <MinTileCol>62306</MinTileCol>
            <MaxTileCol>64892</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>78013</MinTileRow>
            <MaxTileRow>89168</MaxTileRow>
            <MinTileCol>124612</MinTileCol>
            <MaxTileCol>129785</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>156026</MinTileRow>
            <MaxTileRow>178336</MaxTileRow>
            <MinTileCol>249224</MinTileCol>
            <MaxTileCol>259570</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>312052</MinTileRow>
            <MaxTileRow>356673</MaxTileRow>
            <MinTileCol>498449</MinTileCol>
            <MaxTileCol>519141</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_catr_premium:pub_catr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_catr_premium:pub_catr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_catr_premium:pub_catr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_catr_premium:pub_catr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_catr_premium:pub_catr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_catr_premium:pub_catr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_catr_premium:pub_catr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_catr_premium:pub_catr/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Athletics Tracks - Scotland</ows:Title>
      <ows:Identifier>ext_spf:pub_spfat</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfat&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfat&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfat&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfat&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfat&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_spf%3Apub_spfat" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>35</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>70</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>56</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>26</MinTileRow>
            <MaxTileRow>141</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>52</MinTileRow>
            <MaxTileRow>282</MaxTileRow>
            <MinTileCol>73</MinTileCol>
            <MaxTileCol>224</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>104</MinTileRow>
            <MaxTileRow>565</MaxTileRow>
            <MinTileCol>146</MinTileCol>
            <MaxTileCol>449</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>208</MinTileRow>
            <MaxTileRow>1130</MaxTileRow>
            <MinTileCol>293</MinTileCol>
            <MaxTileCol>898</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>416</MinTileRow>
            <MaxTileRow>2261</MaxTileRow>
            <MinTileCol>586</MinTileCol>
            <MaxTileCol>1796</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>832</MinTileRow>
            <MaxTileRow>4523</MaxTileRow>
            <MinTileCol>1172</MinTileCol>
            <MaxTileCol>3593</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>1664</MinTileRow>
            <MaxTileRow>9047</MaxTileRow>
            <MinTileCol>2344</MinTileCol>
            <MaxTileCol>7186</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>3329</MinTileRow>
            <MaxTileRow>18094</MaxTileRow>
            <MinTileCol>4688</MinTileCol>
            <MaxTileCol>14373</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>74</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>148</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>296</MinTileRow>
            <MaxTileRow>324</MaxTileRow>
            <MinTileCol>489</MinTileCol>
            <MaxTileCol>508</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>592</MinTileRow>
            <MaxTileRow>649</MaxTileRow>
            <MinTileCol>978</MinTileCol>
            <MaxTileCol>1017</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1185</MinTileRow>
            <MaxTileRow>1298</MaxTileRow>
            <MinTileCol>1956</MinTileCol>
            <MaxTileCol>2034</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2371</MinTileRow>
            <MaxTileRow>2597</MaxTileRow>
            <MinTileCol>3913</MinTileCol>
            <MaxTileCol>4069</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4743</MinTileRow>
            <MaxTileRow>5195</MaxTileRow>
            <MinTileCol>7827</MinTileCol>
            <MaxTileCol>8139</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9487</MinTileRow>
            <MaxTileRow>10391</MaxTileRow>
            <MinTileCol>15655</MinTileCol>
            <MaxTileCol>16278</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18974</MinTileRow>
            <MaxTileRow>20782</MaxTileRow>
            <MinTileCol>31311</MinTileCol>
            <MaxTileCol>32556</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37949</MinTileRow>
            <MaxTileRow>41565</MaxTileRow>
            <MinTileCol>62623</MinTileCol>
            <MaxTileCol>65112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>75899</MinTileRow>
            <MaxTileRow>83130</MaxTileRow>
            <MinTileCol>125246</MinTileCol>
            <MaxTileCol>130225</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>151798</MinTileRow>
            <MaxTileRow>166260</MaxTileRow>
            <MinTileCol>250493</MinTileCol>
            <MaxTileCol>260451</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>303597</MinTileRow>
            <MaxTileRow>332520</MaxTileRow>
            <MinTileCol>500986</MinTileCol>
            <MaxTileCol>520903</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfat/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfat/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfat/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfat/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfat/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfat/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfat/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfat/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>GHiGs Public Buildings with heat demand &gt;50 MWh/year - Scotland</ows:Title>
      <ows:Identifier>ext_ghigs:pub_ghigs-pb-gt50000</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>point</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_ghigs%3Apub_ghigs-pb-gt50000" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>146</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>116</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>23</MinTileRow>
            <MaxTileRow>292</MaxTileRow>
            <MinTileCol>72</MinTileCol>
            <MaxTileCol>233</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>47</MinTileRow>
            <MaxTileRow>584</MaxTileRow>
            <MinTileCol>144</MinTileCol>
            <MaxTileCol>466</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>94</MinTileRow>
            <MaxTileRow>1169</MaxTileRow>
            <MinTileCol>288</MinTileCol>
            <MaxTileCol>933</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>189</MinTileRow>
            <MaxTileRow>2339</MaxTileRow>
            <MinTileCol>577</MinTileCol>
            <MaxTileCol>1866</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>378</MinTileRow>
            <MaxTileRow>4678</MaxTileRow>
            <MinTileCol>1155</MinTileCol>
            <MaxTileCol>3733</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>757</MinTileRow>
            <MaxTileRow>9356</MaxTileRow>
            <MinTileCol>2311</MinTileCol>
            <MaxTileCol>7466</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1515</MinTileRow>
            <MaxTileRow>18712</MaxTileRow>
            <MinTileCol>4622</MinTileCol>
            <MaxTileCol>14932</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>488</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>977</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1171</MinTileRow>
            <MaxTileRow>1303</MaxTileRow>
            <MinTileCol>1955</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2342</MinTileRow>
            <MaxTileRow>2606</MaxTileRow>
            <MinTileCol>3910</MinTileCol>
            <MaxTileCol>4079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4684</MinTileRow>
            <MaxTileRow>5212</MaxTileRow>
            <MinTileCol>7820</MinTileCol>
            <MaxTileCol>8158</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9369</MinTileRow>
            <MaxTileRow>10425</MaxTileRow>
            <MinTileCol>15640</MinTileCol>
            <MaxTileCol>16316</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18738</MinTileRow>
            <MaxTileRow>20851</MaxTileRow>
            <MinTileCol>31281</MinTileCol>
            <MaxTileCol>32632</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37476</MinTileRow>
            <MaxTileRow>41703</MaxTileRow>
            <MinTileCol>62562</MinTileCol>
            <MaxTileCol>65265</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74952</MinTileRow>
            <MaxTileRow>83406</MaxTileRow>
            <MinTileCol>125125</MinTileCol>
            <MaxTileCol>130531</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149905</MinTileRow>
            <MaxTileRow>166812</MaxTileRow>
            <MinTileCol>250251</MinTileCol>
            <MaxTileCol>261063</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299811</MinTileRow>
            <MaxTileRow>333625</MaxTileRow>
            <MinTileCol>500503</MinTileCol>
            <MaxTileCol>522127</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb-gt50000/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb-gt50000/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb-gt50000/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb-gt50000/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb-gt50000/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb-gt50000/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb-gt50000/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb-gt50000/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Clyde Cruising Club Anchorages - Orkney Islands (PREMIUM)</ows:Title>
      <ows:Identifier>ext_oiccca_premium:pub_oiccca</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>point</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_oiccca_premium%3Apub_oiccca" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>10</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>21</MinTileCol>
            <MaxTileCol>24</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>21</MinTileRow>
            <MaxTileRow>27</MaxTileRow>
            <MinTileCol>43</MinTileCol>
            <MaxTileCol>49</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>43</MinTileRow>
            <MaxTileRow>55</MaxTileRow>
            <MinTileCol>87</MinTileCol>
            <MaxTileCol>98</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>86</MinTileRow>
            <MaxTileRow>111</MaxTileRow>
            <MinTileCol>175</MinTileCol>
            <MaxTileCol>197</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>172</MinTileRow>
            <MaxTileRow>223</MaxTileRow>
            <MinTileCol>350</MinTileCol>
            <MaxTileCol>394</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>345</MinTileRow>
            <MaxTileRow>446</MaxTileRow>
            <MinTileCol>701</MinTileCol>
            <MaxTileCol>789</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>690</MinTileRow>
            <MaxTileRow>893</MaxTileRow>
            <MinTileCol>1403</MinTileCol>
            <MaxTileCol>1579</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1380</MinTileRow>
            <MaxTileRow>1787</MaxTileRow>
            <MinTileCol>2807</MinTileCol>
            <MaxTileCol>3159</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>2760</MinTileRow>
            <MaxTileRow>3575</MaxTileRow>
            <MinTileCol>5615</MinTileCol>
            <MaxTileCol>6319</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>5520</MinTileRow>
            <MaxTileRow>7151</MaxTileRow>
            <MinTileCol>11230</MinTileCol>
            <MaxTileCol>12639</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>19</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>38</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>76</MaxTileRow>
            <MinTileCol>125</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>150</MinTileRow>
            <MaxTileRow>152</MaxTileRow>
            <MinTileCol>251</MinTileCol>
            <MaxTileCol>252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>300</MinTileRow>
            <MaxTileRow>304</MaxTileRow>
            <MinTileCol>502</MinTileCol>
            <MaxTileCol>505</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>601</MinTileRow>
            <MaxTileRow>608</MaxTileRow>
            <MinTileCol>1004</MinTileCol>
            <MaxTileCol>1010</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1203</MinTileRow>
            <MaxTileRow>1216</MaxTileRow>
            <MinTileCol>2009</MinTileCol>
            <MaxTileCol>2020</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2406</MinTileRow>
            <MaxTileRow>2432</MaxTileRow>
            <MinTileCol>4019</MinTileCol>
            <MaxTileCol>4041</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4813</MinTileRow>
            <MaxTileRow>4865</MaxTileRow>
            <MinTileCol>8039</MinTileCol>
            <MaxTileCol>8083</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9627</MinTileRow>
            <MaxTileRow>9730</MaxTileRow>
            <MinTileCol>16078</MinTileCol>
            <MaxTileCol>16167</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19254</MinTileRow>
            <MaxTileRow>19460</MaxTileRow>
            <MinTileCol>32157</MinTileCol>
            <MaxTileCol>32335</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38509</MinTileRow>
            <MaxTileRow>38921</MaxTileRow>
            <MinTileCol>64314</MinTileCol>
            <MaxTileCol>64671</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77018</MinTileRow>
            <MaxTileRow>77843</MaxTileRow>
            <MinTileCol>128628</MinTileCol>
            <MaxTileCol>129342</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>154036</MinTileRow>
            <MaxTileRow>155687</MaxTileRow>
            <MinTileCol>257257</MinTileCol>
            <MaxTileCol>258685</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>308072</MinTileRow>
            <MaxTileRow>311375</MaxTileRow>
            <MinTileCol>514514</MinTileCol>
            <MaxTileCol>517371</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiccca_premium:pub_oiccca/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiccca_premium:pub_oiccca/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiccca_premium:pub_oiccca/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiccca_premium:pub_oiccca/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiccca_premium:pub_oiccca/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiccca_premium:pub_oiccca/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiccca_premium:pub_oiccca/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiccca_premium:pub_oiccca/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Car Parking: Parking Zones - Scotland</ows:Title>
      <ows:Identifier>sh_crpk:pub_crpkpz</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_crpk%3Apub_crpkpz" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>14</MaxTileRow>
            <MinTileCol>10</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>23</MinTileRow>
            <MaxTileRow>29</MaxTileRow>
            <MinTileCol>21</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>46</MinTileRow>
            <MaxTileRow>59</MaxTileRow>
            <MinTileCol>42</MinTileCol>
            <MaxTileCol>51</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>92</MinTileRow>
            <MaxTileRow>119</MaxTileRow>
            <MinTileCol>85</MinTileCol>
            <MaxTileCol>102</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>184</MinTileRow>
            <MaxTileRow>239</MaxTileRow>
            <MinTileCol>170</MinTileCol>
            <MaxTileCol>204</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>368</MinTileRow>
            <MaxTileRow>478</MaxTileRow>
            <MinTileCol>341</MinTileCol>
            <MaxTileCol>408</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>736</MinTileRow>
            <MaxTileRow>957</MaxTileRow>
            <MinTileCol>683</MinTileCol>
            <MaxTileCol>816</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1473</MinTileRow>
            <MaxTileRow>1914</MaxTileRow>
            <MinTileCol>1366</MinTileCol>
            <MaxTileCol>1632</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2946</MinTileRow>
            <MaxTileRow>3828</MaxTileRow>
            <MinTileCol>2732</MinTileCol>
            <MaxTileCol>3265</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>5892</MinTileRow>
            <MaxTileRow>7656</MaxTileRow>
            <MinTileCol>5464</MinTileCol>
            <MaxTileCol>6531</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>11784</MinTileRow>
            <MaxTileRow>15312</MaxTileRow>
            <MinTileCol>10929</MinTileCol>
            <MaxTileCol>13062</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>19</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>39</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>78</MinTileRow>
            <MaxTileRow>79</MaxTileRow>
            <MinTileCol>125</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>156</MinTileRow>
            <MaxTileRow>159</MaxTileRow>
            <MinTileCol>251</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>312</MinTileRow>
            <MaxTileRow>319</MaxTileRow>
            <MinTileCol>502</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>625</MinTileRow>
            <MaxTileRow>638</MaxTileRow>
            <MinTileCol>1004</MinTileCol>
            <MaxTileCol>1012</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1251</MinTileRow>
            <MaxTileRow>1277</MaxTileRow>
            <MinTileCol>2008</MinTileCol>
            <MaxTileCol>2024</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2502</MinTileRow>
            <MaxTileRow>2554</MaxTileRow>
            <MinTileCol>4017</MinTileCol>
            <MaxTileCol>4048</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>5005</MinTileRow>
            <MaxTileRow>5108</MaxTileRow>
            <MinTileCol>8034</MinTileCol>
            <MaxTileCol>8097</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>10010</MinTileRow>
            <MaxTileRow>10217</MaxTileRow>
            <MinTileCol>16068</MinTileCol>
            <MaxTileCol>16194</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>20020</MinTileRow>
            <MaxTileRow>20434</MaxTileRow>
            <MinTileCol>32136</MinTileCol>
            <MaxTileCol>32389</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>40040</MinTileRow>
            <MaxTileRow>40869</MaxTileRow>
            <MinTileCol>64272</MinTileCol>
            <MaxTileCol>64778</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>80081</MinTileRow>
            <MaxTileRow>81738</MaxTileRow>
            <MinTileCol>128545</MinTileCol>
            <MaxTileCol>129557</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>160163</MinTileRow>
            <MaxTileRow>163476</MaxTileRow>
            <MinTileCol>257091</MinTileCol>
            <MaxTileCol>259114</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>320326</MinTileRow>
            <MaxTileRow>326953</MaxTileRow>
            <MinTileCol>514183</MinTileCol>
            <MaxTileCol>518229</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkpz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkpz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkpz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkpz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkpz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkpz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkpz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk:pub_crpkpz/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>GHiGs DHN High Viability (Public Buildings only)  - Scotland</ows:Title>
      <ows:Identifier>ext_ghigs:pub_ghigs-dhn-high-pb</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_ghigs%3Apub_ghigs-dhn-high-pb" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>146</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>116</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>23</MinTileRow>
            <MaxTileRow>293</MaxTileRow>
            <MinTileCol>72</MinTileCol>
            <MaxTileCol>233</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>46</MinTileRow>
            <MaxTileRow>586</MaxTileRow>
            <MinTileCol>144</MinTileCol>
            <MaxTileCol>466</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>93</MinTileRow>
            <MaxTileRow>1172</MaxTileRow>
            <MinTileCol>288</MinTileCol>
            <MaxTileCol>933</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>187</MinTileRow>
            <MaxTileRow>2345</MaxTileRow>
            <MinTileCol>577</MinTileCol>
            <MaxTileCol>1866</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>374</MinTileRow>
            <MaxTileRow>4691</MaxTileRow>
            <MinTileCol>1155</MinTileCol>
            <MaxTileCol>3733</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>748</MinTileRow>
            <MaxTileRow>9383</MaxTileRow>
            <MinTileCol>2311</MinTileCol>
            <MaxTileCol>7466</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1496</MinTileRow>
            <MaxTileRow>18767</MaxTileRow>
            <MinTileCol>4622</MinTileCol>
            <MaxTileCol>14932</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>488</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>977</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1170</MinTileRow>
            <MaxTileRow>1303</MaxTileRow>
            <MinTileCol>1955</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2341</MinTileRow>
            <MaxTileRow>2607</MaxTileRow>
            <MinTileCol>3910</MinTileCol>
            <MaxTileCol>4079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4683</MinTileRow>
            <MaxTileRow>5214</MaxTileRow>
            <MinTileCol>7820</MinTileCol>
            <MaxTileCol>8158</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9367</MinTileRow>
            <MaxTileRow>10428</MaxTileRow>
            <MinTileCol>15640</MinTileCol>
            <MaxTileCol>16316</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18735</MinTileRow>
            <MaxTileRow>20857</MaxTileRow>
            <MinTileCol>31281</MinTileCol>
            <MaxTileCol>32633</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37471</MinTileRow>
            <MaxTileRow>41715</MaxTileRow>
            <MinTileCol>62562</MinTileCol>
            <MaxTileCol>65266</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74942</MinTileRow>
            <MaxTileRow>83430</MaxTileRow>
            <MinTileCol>125124</MinTileCol>
            <MaxTileCol>130532</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149885</MinTileRow>
            <MaxTileRow>166861</MaxTileRow>
            <MinTileCol>250249</MinTileCol>
            <MaxTileCol>261064</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299771</MinTileRow>
            <MaxTileRow>333723</MaxTileRow>
            <MinTileCol>500498</MinTileCol>
            <MaxTileCol>522128</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-high-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-high-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-high-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-high-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-high-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-high-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-high-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-high-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Employment Land Supply - Scotland (PREMIUM)</ows:Title>
      <ows:Identifier>sh_els_premium:pub_els</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_els_premium%3Apub_els" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>72</MaxTileRow>
            <MinTileCol>24</MinTileCol>
            <MaxTileCol>57</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>145</MaxTileRow>
            <MinTileCol>48</MinTileCol>
            <MaxTileCol>114</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>290</MaxTileRow>
            <MinTileCol>96</MinTileCol>
            <MaxTileCol>228</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>59</MinTileRow>
            <MaxTileRow>581</MaxTileRow>
            <MinTileCol>193</MinTileCol>
            <MaxTileCol>456</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>119</MinTileRow>
            <MaxTileRow>1162</MaxTileRow>
            <MinTileCol>386</MinTileCol>
            <MaxTileCol>912</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>238</MinTileRow>
            <MaxTileRow>2325</MaxTileRow>
            <MinTileCol>772</MinTileCol>
            <MaxTileCol>1825</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>477</MinTileRow>
            <MaxTileRow>4650</MaxTileRow>
            <MinTileCol>1545</MinTileCol>
            <MaxTileCol>3650</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>955</MinTileRow>
            <MaxTileRow>9301</MaxTileRow>
            <MinTileCol>3091</MinTileCol>
            <MaxTileCol>7301</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1911</MinTileRow>
            <MaxTileRow>18603</MaxTileRow>
            <MinTileCol>6183</MinTileCol>
            <MaxTileCol>14603</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>293</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>587</MinTileRow>
            <MaxTileRow>650</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1018</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1174</MinTileRow>
            <MaxTileRow>1301</MaxTileRow>
            <MinTileCol>1968</MinTileCol>
            <MaxTileCol>2036</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2348</MinTileRow>
            <MaxTileRow>2603</MaxTileRow>
            <MinTileCol>3936</MinTileCol>
            <MaxTileCol>4073</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4697</MinTileRow>
            <MaxTileRow>5206</MaxTileRow>
            <MinTileCol>7872</MinTileCol>
            <MaxTileCol>8147</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9395</MinTileRow>
            <MaxTileRow>10413</MaxTileRow>
            <MinTileCol>15744</MinTileCol>
            <MaxTileCol>16294</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18790</MinTileRow>
            <MaxTileRow>20827</MaxTileRow>
            <MinTileCol>31488</MinTileCol>
            <MaxTileCol>32588</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37580</MinTileRow>
            <MaxTileRow>41655</MaxTileRow>
            <MinTileCol>62977</MinTileCol>
            <MaxTileCol>65177</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>75161</MinTileRow>
            <MaxTileRow>83311</MaxTileRow>
            <MinTileCol>125955</MinTileCol>
            <MaxTileCol>130355</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>150322</MinTileRow>
            <MaxTileRow>166622</MaxTileRow>
            <MinTileCol>251910</MinTileCol>
            <MaxTileCol>260711</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>300644</MinTileRow>
            <MaxTileRow>333244</MaxTileRow>
            <MinTileCol>503821</MinTileCol>
            <MaxTileCol>521423</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_els_premium:pub_els/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_els_premium:pub_els/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_els_premium:pub_els/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_els_premium:pub_els/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_els_premium:pub_els/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_els_premium:pub_els/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_els_premium:pub_els/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_els_premium:pub_els/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Swimming Pools - Scotland</ows:Title>
      <ows:Identifier>ext_spf:pub_spfsp</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfsp&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfsp&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfsp&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfsp&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfsp&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_spf%3Apub_spfsp" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>57</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>146</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>115</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>25</MinTileRow>
            <MaxTileRow>293</MaxTileRow>
            <MinTileCol>73</MinTileCol>
            <MaxTileCol>230</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>50</MinTileRow>
            <MaxTileRow>586</MaxTileRow>
            <MinTileCol>146</MinTileCol>
            <MaxTileCol>460</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>100</MinTileRow>
            <MaxTileRow>1172</MaxTileRow>
            <MinTileCol>293</MinTileCol>
            <MaxTileCol>920</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>200</MinTileRow>
            <MaxTileRow>2345</MaxTileRow>
            <MinTileCol>586</MinTileCol>
            <MaxTileCol>1841</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>401</MinTileRow>
            <MaxTileRow>4691</MaxTileRow>
            <MinTileCol>1172</MinTileCol>
            <MaxTileCol>3683</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>803</MinTileRow>
            <MaxTileRow>9383</MaxTileRow>
            <MinTileCol>2344</MinTileCol>
            <MaxTileCol>7366</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1606</MinTileRow>
            <MaxTileRow>18767</MaxTileRow>
            <MinTileCol>4688</MinTileCol>
            <MaxTileCol>14733</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>488</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>977</MinTileCol>
            <MaxTileCol>1018</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1171</MinTileRow>
            <MaxTileRow>1303</MaxTileRow>
            <MinTileCol>1955</MinTileCol>
            <MaxTileCol>2037</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2343</MinTileRow>
            <MaxTileRow>2607</MaxTileRow>
            <MinTileCol>3911</MinTileCol>
            <MaxTileCol>4075</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4687</MinTileRow>
            <MaxTileRow>5214</MaxTileRow>
            <MinTileCol>7822</MinTileCol>
            <MaxTileCol>8151</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9375</MinTileRow>
            <MaxTileRow>10428</MaxTileRow>
            <MinTileCol>15645</MinTileCol>
            <MaxTileCol>16303</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18750</MinTileRow>
            <MaxTileRow>20857</MaxTileRow>
            <MinTileCol>31291</MinTileCol>
            <MaxTileCol>32606</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37500</MinTileRow>
            <MaxTileRow>41714</MaxTileRow>
            <MinTileCol>62582</MinTileCol>
            <MaxTileCol>65213</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>75000</MinTileRow>
            <MaxTileRow>83428</MaxTileRow>
            <MinTileCol>125164</MinTileCol>
            <MaxTileCol>130426</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>150001</MinTileRow>
            <MaxTileRow>166857</MaxTileRow>
            <MinTileCol>250329</MinTileCol>
            <MaxTileCol>260853</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>300003</MinTileRow>
            <MaxTileRow>333714</MaxTileRow>
            <MinTileCol>500658</MinTileCol>
            <MaxTileCol>521706</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsp/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Indoor Tennis Courts - Scotland</ows:Title>
      <ows:Identifier>ext_spf:pub_spfitc</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfitc&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfitc&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfitc&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfitc&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfitc&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_spf%3Apub_spfitc" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>16</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>32</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>64</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>50</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>128</MaxTileRow>
            <MinTileCol>70</MinTileCol>
            <MaxTileCol>101</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>176</MinTileRow>
            <MaxTileRow>257</MaxTileRow>
            <MinTileCol>140</MinTileCol>
            <MaxTileCol>203</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>352</MinTileRow>
            <MaxTileRow>514</MaxTileRow>
            <MinTileCol>280</MinTileCol>
            <MaxTileCol>406</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>705</MinTileRow>
            <MaxTileRow>1028</MaxTileRow>
            <MinTileCol>561</MinTileCol>
            <MaxTileCol>812</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1410</MinTileRow>
            <MaxTileRow>2057</MaxTileRow>
            <MinTileCol>1123</MinTileCol>
            <MaxTileCol>1624</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2821</MinTileRow>
            <MaxTileRow>4115</MaxTileRow>
            <MinTileCol>2247</MinTileCol>
            <MaxTileCol>3249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>5642</MinTileRow>
            <MaxTileRow>8230</MaxTileRow>
            <MinTileCol>4494</MinTileCol>
            <MaxTileCol>6498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>11284</MinTileRow>
            <MaxTileRow>16460</MaxTileRow>
            <MinTileCol>8988</MinTileCol>
            <MaxTileCol>12996</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>155</MinTileRow>
            <MaxTileRow>160</MaxTileRow>
            <MinTileCol>249</MinTileCol>
            <MaxTileCol>252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>311</MinTileRow>
            <MaxTileRow>321</MaxTileRow>
            <MinTileCol>498</MinTileCol>
            <MaxTileCol>505</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>623</MinTileRow>
            <MaxTileRow>642</MaxTileRow>
            <MinTileCol>997</MinTileCol>
            <MaxTileCol>1011</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1247</MinTileRow>
            <MaxTileRow>1285</MaxTileRow>
            <MinTileCol>1994</MinTileCol>
            <MaxTileCol>2023</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2495</MinTileRow>
            <MaxTileRow>2571</MaxTileRow>
            <MinTileCol>3988</MinTileCol>
            <MaxTileCol>4047</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4990</MinTileRow>
            <MaxTileRow>5142</MaxTileRow>
            <MinTileCol>7976</MinTileCol>
            <MaxTileCol>8095</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9980</MinTileRow>
            <MaxTileRow>10285</MaxTileRow>
            <MinTileCol>15952</MinTileCol>
            <MaxTileCol>16191</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19960</MinTileRow>
            <MaxTileRow>20571</MaxTileRow>
            <MinTileCol>31904</MinTileCol>
            <MaxTileCol>32382</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39921</MinTileRow>
            <MaxTileRow>41143</MaxTileRow>
            <MinTileCol>63809</MinTileCol>
            <MaxTileCol>64764</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>79843</MinTileRow>
            <MaxTileRow>82287</MaxTileRow>
            <MinTileCol>127618</MinTileCol>
            <MaxTileCol>129528</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>159687</MinTileRow>
            <MaxTileRow>164575</MaxTileRow>
            <MinTileCol>255236</MinTileCol>
            <MaxTileCol>259056</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>319374</MinTileRow>
            <MaxTileRow>329151</MaxTileRow>
            <MinTileCol>510473</MinTileCol>
            <MaxTileCol>518113</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfitc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfitc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfitc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfitc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfitc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfitc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfitc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfitc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>GHiGs Public Buildings - Scotland</ows:Title>
      <ows:Identifier>ext_ghigs:pub_ghigs-pb</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>point</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_ghigs%3Apub_ghigs-pb" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>146</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>116</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>23</MinTileRow>
            <MaxTileRow>293</MaxTileRow>
            <MinTileCol>72</MinTileCol>
            <MaxTileCol>233</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>46</MinTileRow>
            <MaxTileRow>587</MaxTileRow>
            <MinTileCol>144</MinTileCol>
            <MaxTileCol>466</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>92</MinTileRow>
            <MaxTileRow>1175</MaxTileRow>
            <MinTileCol>288</MinTileCol>
            <MaxTileCol>933</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>184</MinTileRow>
            <MaxTileRow>2350</MaxTileRow>
            <MinTileCol>577</MinTileCol>
            <MaxTileCol>1867</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>368</MinTileRow>
            <MaxTileRow>4701</MaxTileRow>
            <MinTileCol>1155</MinTileCol>
            <MaxTileCol>3734</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>736</MinTileRow>
            <MaxTileRow>9402</MaxTileRow>
            <MinTileCol>2310</MinTileCol>
            <MaxTileCol>7468</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1473</MinTileRow>
            <MaxTileRow>18805</MaxTileRow>
            <MinTileCol>4620</MinTileCol>
            <MaxTileCol>14937</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>488</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>977</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1170</MinTileRow>
            <MaxTileRow>1303</MaxTileRow>
            <MinTileCol>1955</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2341</MinTileRow>
            <MaxTileRow>2607</MaxTileRow>
            <MinTileCol>3910</MinTileCol>
            <MaxTileCol>4079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4683</MinTileRow>
            <MaxTileRow>5215</MaxTileRow>
            <MinTileCol>7820</MinTileCol>
            <MaxTileCol>8158</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9366</MinTileRow>
            <MaxTileRow>10430</MaxTileRow>
            <MinTileCol>15640</MinTileCol>
            <MaxTileCol>16316</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18732</MinTileRow>
            <MaxTileRow>20861</MaxTileRow>
            <MinTileCol>31280</MinTileCol>
            <MaxTileCol>32633</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37465</MinTileRow>
            <MaxTileRow>41723</MaxTileRow>
            <MinTileCol>62561</MinTileCol>
            <MaxTileCol>65267</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74931</MinTileRow>
            <MaxTileRow>83447</MaxTileRow>
            <MinTileCol>125122</MinTileCol>
            <MaxTileCol>130535</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149862</MinTileRow>
            <MaxTileRow>166895</MaxTileRow>
            <MinTileCol>250244</MinTileCol>
            <MaxTileCol>261070</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299724</MinTileRow>
            <MaxTileRow>333791</MaxTileRow>
            <MinTileCol>500489</MinTileCol>
            <MaxTileCol>522140</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-pb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>School Catchments: Secondary non-denominational (SN) - Scotland</ows:Title>
      <ows:Identifier>sh_schl:pub_schlsn</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_schl%3Apub_schlsn&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_schl%3Apub_schlsn&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_schl%3Apub_schlsn&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_schl%3Apub_schlsn&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_schl%3Apub_schlsn&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_schl%3Apub_schlsn" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>37</MaxTileRow>
            <MinTileCol>10</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>74</MaxTileRow>
            <MinTileCol>20</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>148</MaxTileRow>
            <MinTileCol>41</MinTileCol>
            <MaxTileCol>117</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>28</MinTileRow>
            <MaxTileRow>296</MaxTileRow>
            <MinTileCol>82</MinTileCol>
            <MaxTileCol>234</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>57</MinTileRow>
            <MaxTileRow>592</MaxTileRow>
            <MinTileCol>165</MinTileCol>
            <MaxTileCol>469</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>115</MinTileRow>
            <MaxTileRow>1184</MaxTileRow>
            <MinTileCol>331</MinTileCol>
            <MaxTileCol>939</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>230</MinTileRow>
            <MaxTileRow>2369</MaxTileRow>
            <MinTileCol>662</MinTileCol>
            <MaxTileCol>1878</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>461</MinTileRow>
            <MaxTileRow>4739</MaxTileRow>
            <MinTileCol>1324</MinTileCol>
            <MaxTileCol>3756</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>922</MinTileRow>
            <MaxTileRow>9479</MaxTileRow>
            <MinTileCol>2648</MinTileCol>
            <MaxTileCol>7512</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1844</MinTileRow>
            <MaxTileRow>18958</MaxTileRow>
            <MinTileCol>5296</MinTileCol>
            <MaxTileCol>15024</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>163</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>293</MinTileRow>
            <MaxTileRow>326</MaxTileRow>
            <MinTileCol>490</MinTileCol>
            <MaxTileCol>510</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>586</MinTileRow>
            <MaxTileRow>652</MaxTileRow>
            <MinTileCol>980</MinTileCol>
            <MaxTileCol>1020</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1173</MinTileRow>
            <MaxTileRow>1304</MaxTileRow>
            <MinTileCol>1960</MinTileCol>
            <MaxTileCol>2040</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2347</MinTileRow>
            <MaxTileRow>2609</MaxTileRow>
            <MinTileCol>3921</MinTileCol>
            <MaxTileCol>4080</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4695</MinTileRow>
            <MaxTileRow>5218</MaxTileRow>
            <MinTileCol>7843</MinTileCol>
            <MaxTileCol>8161</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9390</MinTileRow>
            <MaxTileRow>10436</MaxTileRow>
            <MinTileCol>15686</MinTileCol>
            <MaxTileCol>16322</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18781</MinTileRow>
            <MaxTileRow>20873</MaxTileRow>
            <MinTileCol>31372</MinTileCol>
            <MaxTileCol>32644</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37562</MinTileRow>
            <MaxTileRow>41746</MaxTileRow>
            <MinTileCol>62745</MinTileCol>
            <MaxTileCol>65288</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>75125</MinTileRow>
            <MaxTileRow>83493</MaxTileRow>
            <MinTileCol>125491</MinTileCol>
            <MaxTileCol>130576</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>150251</MinTileRow>
            <MaxTileRow>166987</MaxTileRow>
            <MinTileCol>250982</MinTileCol>
            <MaxTileCol>261153</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>300503</MinTileRow>
            <MaxTileRow>333975</MaxTileRow>
            <MinTileCol>501965</MinTileCol>
            <MaxTileCol>522307</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlsn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlsn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlsn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlsn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlsn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlsn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlsn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlsn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>School Catchments: Secondary denominational (SD) - Scotland</ows:Title>
      <ows:Identifier>sh_schl:pub_schlsd</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_schl%3Apub_schlsd&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_schl%3Apub_schlsd&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_schl%3Apub_schlsd&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_schl%3Apub_schlsd&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_schl%3Apub_schlsd&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_schl%3Apub_schlsd" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>34</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>24</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>48</MinTileRow>
            <MaxTileRow>69</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>48</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>96</MinTileRow>
            <MaxTileRow>139</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>96</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>193</MinTileRow>
            <MaxTileRow>279</MaxTileRow>
            <MinTileCol>120</MinTileCol>
            <MaxTileCol>192</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>387</MinTileRow>
            <MaxTileRow>558</MaxTileRow>
            <MinTileCol>241</MinTileCol>
            <MaxTileCol>384</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>774</MinTileRow>
            <MaxTileRow>1116</MaxTileRow>
            <MinTileCol>482</MinTileCol>
            <MaxTileCol>768</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1549</MinTileRow>
            <MaxTileRow>2232</MaxTileRow>
            <MinTileCol>965</MinTileCol>
            <MaxTileCol>1536</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>3099</MinTileRow>
            <MaxTileRow>4464</MaxTileRow>
            <MinTileCol>1931</MinTileCol>
            <MaxTileCol>3072</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>6199</MinTileRow>
            <MaxTileRow>8928</MaxTileRow>
            <MinTileCol>3862</MinTileCol>
            <MaxTileCol>6145</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>12399</MinTileRow>
            <MaxTileRow>17857</MaxTileRow>
            <MinTileCol>7725</MinTileCol>
            <MaxTileCol>12290</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>78</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>156</MinTileRow>
            <MaxTileRow>161</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>313</MinTileRow>
            <MaxTileRow>323</MaxTileRow>
            <MinTileCol>496</MinTileCol>
            <MaxTileCol>504</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>627</MinTileRow>
            <MaxTileRow>647</MaxTileRow>
            <MinTileCol>992</MinTileCol>
            <MaxTileCol>1009</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1255</MinTileRow>
            <MaxTileRow>1295</MaxTileRow>
            <MinTileCol>1985</MinTileCol>
            <MaxTileCol>2018</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2511</MinTileRow>
            <MaxTileRow>2591</MaxTileRow>
            <MinTileCol>3970</MinTileCol>
            <MaxTileCol>4037</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>5023</MinTileRow>
            <MaxTileRow>5183</MaxTileRow>
            <MinTileCol>7940</MinTileCol>
            <MaxTileCol>8075</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>10046</MinTileRow>
            <MaxTileRow>10367</MaxTileRow>
            <MinTileCol>15880</MinTileCol>
            <MaxTileCol>16151</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>20093</MinTileRow>
            <MaxTileRow>20735</MaxTileRow>
            <MinTileCol>31761</MinTileCol>
            <MaxTileCol>32303</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>40187</MinTileRow>
            <MaxTileRow>41470</MaxTileRow>
            <MinTileCol>63523</MinTileCol>
            <MaxTileCol>64606</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>80374</MinTileRow>
            <MaxTileRow>82941</MaxTileRow>
            <MinTileCol>127046</MinTileCol>
            <MaxTileCol>129213</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>160748</MinTileRow>
            <MaxTileRow>165882</MaxTileRow>
            <MinTileCol>254093</MinTileCol>
            <MaxTileCol>258426</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>321497</MinTileRow>
            <MaxTileRow>331765</MaxTileRow>
            <MinTileCol>508186</MinTileCol>
            <MaxTileCol>516852</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlsd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlsd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlsd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlsd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlsd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlsd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlsd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_schl:pub_schlsd/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Marinas - Orkney Islands</ows:Title>
      <ows:Identifier>ext_oimrn_premium:pub_oimrn</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>orkney</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_oimrn_premium%3Apub_oimrn" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>5</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>11</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>22</MinTileCol>
            <MaxTileCol>23</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>26</MaxTileRow>
            <MinTileCol>44</MinTileCol>
            <MaxTileCol>46</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>52</MaxTileRow>
            <MinTileCol>88</MinTileCol>
            <MaxTileCol>92</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>104</MaxTileRow>
            <MinTileCol>176</MinTileCol>
            <MaxTileCol>184</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>177</MinTileRow>
            <MaxTileRow>209</MaxTileRow>
            <MinTileCol>352</MinTileCol>
            <MaxTileCol>368</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>354</MinTileRow>
            <MaxTileRow>418</MaxTileRow>
            <MinTileCol>705</MinTileCol>
            <MaxTileCol>736</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>709</MinTileRow>
            <MaxTileRow>836</MaxTileRow>
            <MinTileCol>1411</MinTileCol>
            <MaxTileCol>1473</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1419</MinTileRow>
            <MaxTileRow>1672</MaxTileRow>
            <MinTileCol>2823</MinTileCol>
            <MaxTileCol>2946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>2838</MinTileRow>
            <MaxTileRow>3344</MaxTileRow>
            <MinTileCol>5646</MinTileCol>
            <MaxTileCol>5893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>5676</MinTileRow>
            <MaxTileRow>6688</MaxTileRow>
            <MinTileCol>11292</MinTileCol>
            <MaxTileCol>11787</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>37</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>75</MaxTileRow>
            <MinTileCol>125</MinTileCol>
            <MaxTileCol>125</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>150</MinTileRow>
            <MaxTileRow>151</MaxTileRow>
            <MinTileCol>251</MinTileCol>
            <MaxTileCol>251</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>301</MinTileRow>
            <MaxTileRow>303</MaxTileRow>
            <MinTileCol>502</MinTileCol>
            <MaxTileCol>503</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>602</MinTileRow>
            <MaxTileRow>606</MaxTileRow>
            <MinTileCol>1005</MinTileCol>
            <MaxTileCol>1007</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1204</MinTileRow>
            <MaxTileRow>1212</MaxTileRow>
            <MinTileCol>2010</MinTileCol>
            <MaxTileCol>2014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2409</MinTileRow>
            <MaxTileRow>2425</MaxTileRow>
            <MinTileCol>4020</MinTileCol>
            <MaxTileCol>4028</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4818</MinTileRow>
            <MaxTileRow>4850</MaxTileRow>
            <MinTileCol>8041</MinTileCol>
            <MaxTileCol>8057</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9637</MinTileRow>
            <MaxTileRow>9701</MaxTileRow>
            <MinTileCol>16082</MinTileCol>
            <MaxTileCol>16114</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19275</MinTileRow>
            <MaxTileRow>19403</MaxTileRow>
            <MinTileCol>32165</MinTileCol>
            <MaxTileCol>32229</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38550</MinTileRow>
            <MaxTileRow>38806</MaxTileRow>
            <MinTileCol>64330</MinTileCol>
            <MaxTileCol>64458</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77101</MinTileRow>
            <MaxTileRow>77612</MaxTileRow>
            <MinTileCol>128661</MinTileCol>
            <MaxTileCol>128917</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>154202</MinTileRow>
            <MaxTileRow>155225</MaxTileRow>
            <MinTileCol>257323</MinTileCol>
            <MaxTileCol>257835</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>308404</MinTileRow>
            <MaxTileRow>310450</MaxTileRow>
            <MinTileCol>514646</MinTileCol>
            <MaxTileCol>515671</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oimrn_premium:pub_oimrn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oimrn_premium:pub_oimrn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oimrn_premium:pub_oimrn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oimrn_premium:pub_oimrn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oimrn_premium:pub_oimrn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oimrn_premium:pub_oimrn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oimrn_premium:pub_oimrn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oimrn_premium:pub_oimrn/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Wind Turbines - Scotland</ows:Title>
      <ows:Identifier>sh_wnt:pub_wnt</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_wnt%3Apub_wnt&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_wnt%3Apub_wnt&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_wnt%3Apub_wnt&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_wnt%3Apub_wnt&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_wnt%3Apub_wnt&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_wnt%3Apub_wnt" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>19</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>39</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>79</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>57</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>159</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>115</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>23</MinTileRow>
            <MaxTileRow>318</MaxTileRow>
            <MinTileCol>72</MinTileCol>
            <MaxTileCol>231</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>46</MinTileRow>
            <MaxTileRow>636</MaxTileRow>
            <MinTileCol>144</MinTileCol>
            <MaxTileCol>463</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>92</MinTileRow>
            <MaxTileRow>1272</MaxTileRow>
            <MinTileCol>288</MinTileCol>
            <MaxTileCol>927</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>185</MinTileRow>
            <MaxTileRow>2545</MaxTileRow>
            <MinTileCol>577</MinTileCol>
            <MaxTileCol>1855</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>370</MinTileRow>
            <MaxTileRow>5090</MaxTileRow>
            <MinTileCol>1155</MinTileCol>
            <MaxTileCol>3711</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>741</MinTileRow>
            <MaxTileRow>10180</MaxTileRow>
            <MinTileCol>2311</MinTileCol>
            <MaxTileCol>7423</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1483</MinTileRow>
            <MaxTileRow>20361</MaxTileRow>
            <MinTileCol>4622</MinTileCol>
            <MaxTileCol>14846</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>82</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>164</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>328</MaxTileRow>
            <MinTileCol>488</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>657</MaxTileRow>
            <MinTileCol>977</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1170</MinTileRow>
            <MaxTileRow>1314</MaxTileRow>
            <MinTileCol>1955</MinTileCol>
            <MaxTileCol>2038</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2341</MinTileRow>
            <MaxTileRow>2629</MaxTileRow>
            <MinTileCol>3910</MinTileCol>
            <MaxTileCol>4077</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4683</MinTileRow>
            <MaxTileRow>5258</MaxTileRow>
            <MinTileCol>7820</MinTileCol>
            <MaxTileCol>8155</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9367</MinTileRow>
            <MaxTileRow>10516</MaxTileRow>
            <MinTileCol>15640</MinTileCol>
            <MaxTileCol>16310</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18734</MinTileRow>
            <MaxTileRow>21032</MaxTileRow>
            <MinTileCol>31281</MinTileCol>
            <MaxTileCol>32621</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37468</MinTileRow>
            <MaxTileRow>42065</MaxTileRow>
            <MinTileCol>62562</MinTileCol>
            <MaxTileCol>65243</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74936</MinTileRow>
            <MaxTileRow>84130</MaxTileRow>
            <MinTileCol>125124</MinTileCol>
            <MaxTileCol>130486</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149872</MinTileRow>
            <MaxTileRow>168261</MaxTileRow>
            <MinTileCol>250248</MinTileCol>
            <MaxTileCol>260973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299744</MinTileRow>
            <MaxTileRow>336523</MaxTileRow>
            <MinTileCol>500496</MinTileCol>
            <MaxTileCol>521947</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_wnt:pub_wnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_wnt:pub_wnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_wnt:pub_wnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_wnt:pub_wnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_wnt:pub_wnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_wnt:pub_wnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_wnt:pub_wnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_wnt:pub_wnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Mine Water Geoethermal Map - Scotland</ows:Title>
      <ows:Identifier>ext_mwgt:pub_mwgt</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>sh_mwgt:polygon_mwgt</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=103&amp;height=140&amp;layer=ext_mwgt%3Apub_mwgt" width="103" height="140"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>5</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>16</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>11</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>27</MinTileRow>
            <MaxTileRow>33</MaxTileRow>
            <MinTileCol>16</MinTileCol>
            <MaxTileCol>23</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>55</MinTileRow>
            <MaxTileRow>66</MaxTileRow>
            <MinTileCol>33</MinTileCol>
            <MaxTileCol>46</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>111</MinTileRow>
            <MaxTileRow>133</MaxTileRow>
            <MinTileCol>67</MinTileCol>
            <MaxTileCol>93</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>223</MinTileRow>
            <MaxTileRow>266</MaxTileRow>
            <MinTileCol>135</MinTileCol>
            <MaxTileCol>187</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>446</MinTileRow>
            <MaxTileRow>533</MaxTileRow>
            <MinTileCol>271</MinTileCol>
            <MaxTileCol>375</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>893</MinTileRow>
            <MaxTileRow>1067</MaxTileRow>
            <MinTileCol>543</MinTileCol>
            <MaxTileCol>750</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1787</MinTileRow>
            <MaxTileRow>2135</MaxTileRow>
            <MinTileCol>1086</MinTileCol>
            <MaxTileCol>1501</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>3574</MinTileRow>
            <MaxTileRow>4271</MaxTileRow>
            <MinTileCol>2173</MinTileCol>
            <MaxTileCol>3002</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>7149</MinTileRow>
            <MaxTileRow>8542</MaxTileRow>
            <MinTileCol>4346</MinTileCol>
            <MaxTileCol>6005</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>14299</MinTileRow>
            <MaxTileRow>17084</MaxTileRow>
            <MinTileCol>8692</MinTileCol>
            <MaxTileCol>12010</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>79</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>158</MinTileRow>
            <MaxTileRow>161</MaxTileRow>
            <MinTileCol>249</MinTileCol>
            <MaxTileCol>252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>317</MinTileRow>
            <MaxTileRow>322</MaxTileRow>
            <MinTileCol>498</MinTileCol>
            <MaxTileCol>504</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>634</MinTileRow>
            <MaxTileRow>645</MaxTileRow>
            <MinTileCol>996</MinTileCol>
            <MaxTileCol>1008</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1269</MinTileRow>
            <MaxTileRow>1290</MaxTileRow>
            <MinTileCol>1992</MinTileCol>
            <MaxTileCol>2016</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2539</MinTileRow>
            <MaxTileRow>2580</MaxTileRow>
            <MinTileCol>3985</MinTileCol>
            <MaxTileCol>4033</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>5078</MinTileRow>
            <MaxTileRow>5160</MaxTileRow>
            <MinTileCol>7971</MinTileCol>
            <MaxTileCol>8067</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>10157</MinTileRow>
            <MaxTileRow>10321</MaxTileRow>
            <MinTileCol>15942</MinTileCol>
            <MaxTileCol>16135</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>20315</MinTileRow>
            <MaxTileRow>20643</MaxTileRow>
            <MinTileCol>31884</MinTileCol>
            <MaxTileCol>32271</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>40631</MinTileRow>
            <MaxTileRow>41287</MaxTileRow>
            <MinTileCol>63768</MinTileCol>
            <MaxTileCol>64542</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>81263</MinTileRow>
            <MaxTileRow>82575</MaxTileRow>
            <MinTileCol>127537</MinTileCol>
            <MaxTileCol>129084</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>162527</MinTileRow>
            <MaxTileRow>165150</MaxTileRow>
            <MinTileCol>255075</MinTileCol>
            <MaxTileCol>258168</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>325054</MinTileRow>
            <MaxTileRow>330300</MaxTileRow>
            <MinTileCol>510151</MinTileCol>
            <MaxTileCol>516336</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_mwgt:pub_mwgt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_mwgt:pub_mwgt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_mwgt:pub_mwgt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_mwgt:pub_mwgt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_mwgt:pub_mwgt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_mwgt:pub_mwgt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_mwgt:pub_mwgt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_mwgt:pub_mwgt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Car Parking: Car Parks (polygons) - Scotland (PREMIUM)</ows:Title>
      <ows:Identifier>sh_crpk_premium:pub_crpkcppol</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_crpk_premium%3Apub_crpkcppol" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>16</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>27</MinTileRow>
            <MaxTileRow>33</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>24</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>54</MinTileRow>
            <MaxTileRow>66</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>49</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>109</MinTileRow>
            <MaxTileRow>132</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>98</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>219</MinTileRow>
            <MaxTileRow>264</MaxTileRow>
            <MinTileCol>121</MinTileCol>
            <MaxTileCol>196</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>438</MinTileRow>
            <MaxTileRow>529</MaxTileRow>
            <MinTileCol>242</MinTileCol>
            <MaxTileCol>392</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>876</MinTileRow>
            <MaxTileRow>1059</MaxTileRow>
            <MinTileCol>485</MinTileCol>
            <MaxTileCol>784</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1752</MinTileRow>
            <MaxTileRow>2118</MaxTileRow>
            <MinTileCol>970</MinTileCol>
            <MaxTileCol>1569</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>3505</MinTileRow>
            <MaxTileRow>4237</MaxTileRow>
            <MinTileCol>1941</MinTileCol>
            <MaxTileCol>3138</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>7011</MinTileRow>
            <MaxTileRow>8475</MaxTileRow>
            <MinTileCol>3883</MinTileCol>
            <MaxTileCol>6277</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>14023</MinTileRow>
            <MaxTileRow>16951</MaxTileRow>
            <MinTileCol>7766</MinTileCol>
            <MaxTileCol>12554</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>79</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>158</MinTileRow>
            <MaxTileRow>161</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>316</MinTileRow>
            <MaxTileRow>322</MaxTileRow>
            <MinTileCol>496</MinTileCol>
            <MaxTileCol>505</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>633</MinTileRow>
            <MaxTileRow>644</MaxTileRow>
            <MinTileCol>993</MinTileCol>
            <MaxTileCol>1010</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1267</MinTileRow>
            <MaxTileRow>1289</MaxTileRow>
            <MinTileCol>1986</MinTileCol>
            <MaxTileCol>2020</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2535</MinTileRow>
            <MaxTileRow>2579</MaxTileRow>
            <MinTileCol>3972</MinTileCol>
            <MaxTileCol>4041</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>5070</MinTileRow>
            <MaxTileRow>5158</MaxTileRow>
            <MinTileCol>7944</MinTileCol>
            <MaxTileCol>8083</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>10141</MinTileRow>
            <MaxTileRow>10316</MaxTileRow>
            <MinTileCol>15888</MinTileCol>
            <MaxTileCol>16166</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>20283</MinTileRow>
            <MaxTileRow>20633</MaxTileRow>
            <MinTileCol>31776</MinTileCol>
            <MaxTileCol>32332</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>40566</MinTileRow>
            <MaxTileRow>41266</MaxTileRow>
            <MinTileCol>63552</MinTileCol>
            <MaxTileCol>64664</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>81133</MinTileRow>
            <MaxTileRow>82533</MaxTileRow>
            <MinTileCol>127104</MinTileCol>
            <MaxTileCol>129329</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>162266</MinTileRow>
            <MaxTileRow>165067</MaxTileRow>
            <MinTileCol>254208</MinTileCol>
            <MaxTileCol>258658</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>324532</MinTileRow>
            <MaxTileRow>330134</MaxTileRow>
            <MinTileCol>508417</MinTileCol>
            <MaxTileCol>517316</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkcppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkcppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkcppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkcppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkcppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkcppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkcppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkcppol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Orkney Logistics Base</ows:Title>
      <ows:Identifier>ext_oiolb_premium:pub_oiolb</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>point</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_oiolb_premium%3Apub_oiolb" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>5</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>11</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>22</MinTileCol>
            <MaxTileCol>22</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>25</MinTileRow>
            <MaxTileRow>25</MaxTileRow>
            <MinTileCol>45</MinTileCol>
            <MaxTileCol>45</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>51</MinTileRow>
            <MaxTileRow>51</MaxTileRow>
            <MinTileCol>91</MinTileCol>
            <MaxTileCol>91</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>103</MinTileRow>
            <MaxTileRow>103</MaxTileRow>
            <MinTileCol>183</MinTileCol>
            <MaxTileCol>183</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>206</MinTileRow>
            <MaxTileRow>206</MaxTileRow>
            <MinTileCol>367</MinTileCol>
            <MaxTileCol>367</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>412</MinTileRow>
            <MaxTileRow>412</MaxTileRow>
            <MinTileCol>735</MinTileCol>
            <MaxTileCol>735</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>824</MinTileRow>
            <MaxTileRow>824</MaxTileRow>
            <MinTileCol>1470</MinTileCol>
            <MaxTileCol>1470</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1648</MinTileRow>
            <MaxTileRow>1648</MaxTileRow>
            <MinTileCol>2940</MinTileCol>
            <MaxTileCol>2940</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3296</MinTileRow>
            <MaxTileRow>3296</MaxTileRow>
            <MinTileCol>5880</MinTileCol>
            <MaxTileCol>5880</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>6593</MinTileRow>
            <MaxTileRow>6593</MaxTileRow>
            <MinTileCol>11760</MinTileCol>
            <MaxTileCol>11760</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>37</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>75</MaxTileRow>
            <MinTileCol>125</MinTileCol>
            <MaxTileCol>125</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>151</MinTileRow>
            <MaxTileRow>151</MaxTileRow>
            <MinTileCol>251</MinTileCol>
            <MaxTileCol>251</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>302</MinTileRow>
            <MaxTileRow>302</MaxTileRow>
            <MinTileCol>503</MinTileCol>
            <MaxTileCol>503</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>605</MinTileRow>
            <MaxTileRow>605</MaxTileRow>
            <MinTileCol>1007</MinTileCol>
            <MaxTileCol>1007</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1211</MinTileRow>
            <MaxTileRow>1211</MaxTileRow>
            <MinTileCol>2014</MinTileCol>
            <MaxTileCol>2014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2423</MinTileRow>
            <MaxTileRow>2423</MaxTileRow>
            <MinTileCol>4028</MinTileCol>
            <MaxTileCol>4028</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4847</MinTileRow>
            <MaxTileRow>4847</MaxTileRow>
            <MinTileCol>8056</MinTileCol>
            <MaxTileCol>8056</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9695</MinTileRow>
            <MaxTileRow>9695</MaxTileRow>
            <MinTileCol>16112</MinTileCol>
            <MaxTileCol>16112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19390</MinTileRow>
            <MaxTileRow>19390</MaxTileRow>
            <MinTileCol>32225</MinTileCol>
            <MaxTileCol>32225</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38780</MinTileRow>
            <MaxTileRow>38780</MaxTileRow>
            <MinTileCol>64451</MinTileCol>
            <MaxTileCol>64451</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77561</MinTileRow>
            <MaxTileRow>77561</MaxTileRow>
            <MinTileCol>128903</MinTileCol>
            <MaxTileCol>128903</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>155123</MinTileRow>
            <MaxTileRow>155123</MaxTileRow>
            <MinTileCol>257806</MinTileCol>
            <MaxTileCol>257806</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>310246</MinTileRow>
            <MaxTileRow>310246</MaxTileRow>
            <MinTileCol>515613</MinTileCol>
            <MaxTileCol>515613</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiolb_premium:pub_oiolb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiolb_premium:pub_oiolb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiolb_premium:pub_oiolb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiolb_premium:pub_oiolb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiolb_premium:pub_oiolb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiolb_premium:pub_oiolb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiolb_premium:pub_oiolb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oiolb_premium:pub_oiolb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Sports Halls - Scotland</ows:Title>
      <ows:Identifier>ext_spf:pub_spfsh</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfsh&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfsh&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfsh&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfsh&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfsh&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_spf%3Apub_spfsh" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>35</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>71</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>57</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>143</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>115</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>25</MinTileRow>
            <MaxTileRow>286</MaxTileRow>
            <MinTileCol>73</MinTileCol>
            <MaxTileCol>230</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>50</MinTileRow>
            <MaxTileRow>573</MaxTileRow>
            <MinTileCol>146</MinTileCol>
            <MaxTileCol>460</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>100</MinTileRow>
            <MaxTileRow>1147</MaxTileRow>
            <MinTileCol>293</MinTileCol>
            <MaxTileCol>920</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>200</MinTileRow>
            <MaxTileRow>2295</MaxTileRow>
            <MinTileCol>586</MinTileCol>
            <MaxTileCol>1841</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>401</MinTileRow>
            <MaxTileRow>4591</MaxTileRow>
            <MinTileCol>1172</MinTileCol>
            <MaxTileCol>3683</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>803</MinTileRow>
            <MaxTileRow>9183</MaxTileRow>
            <MinTileCol>2344</MinTileCol>
            <MaxTileCol>7366</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1606</MinTileRow>
            <MaxTileRow>18367</MaxTileRow>
            <MinTileCol>4688</MinTileCol>
            <MaxTileCol>14733</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>488</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>650</MaxTileRow>
            <MinTileCol>977</MinTileCol>
            <MaxTileCol>1018</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1171</MinTileRow>
            <MaxTileRow>1300</MaxTileRow>
            <MinTileCol>1955</MinTileCol>
            <MaxTileCol>2037</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2343</MinTileRow>
            <MaxTileRow>2601</MaxTileRow>
            <MinTileCol>3911</MinTileCol>
            <MaxTileCol>4075</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4687</MinTileRow>
            <MaxTileRow>5203</MaxTileRow>
            <MinTileCol>7822</MinTileCol>
            <MaxTileCol>8151</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9375</MinTileRow>
            <MaxTileRow>10406</MaxTileRow>
            <MinTileCol>15645</MinTileCol>
            <MaxTileCol>16303</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18750</MinTileRow>
            <MaxTileRow>20812</MaxTileRow>
            <MinTileCol>31291</MinTileCol>
            <MaxTileCol>32606</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37500</MinTileRow>
            <MaxTileRow>41625</MaxTileRow>
            <MinTileCol>62582</MinTileCol>
            <MaxTileCol>65213</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>75000</MinTileRow>
            <MaxTileRow>83251</MaxTileRow>
            <MinTileCol>125164</MinTileCol>
            <MaxTileCol>130426</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>150001</MinTileRow>
            <MaxTileRow>166502</MaxTileRow>
            <MinTileCol>250329</MinTileCol>
            <MaxTileCol>260853</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>300003</MinTileRow>
            <MaxTileRow>333005</MaxTileRow>
            <MinTileCol>500658</MinTileCol>
            <MaxTileCol>521706</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsh/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsh/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsh/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsh/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsh/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsh/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsh/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsh/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Scapa Flow North and East Safeguarded Area</ows:Title>
      <ows:Identifier>ext_oisfsa_premium:pub_oisfsa</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_oisfsa_premium%3Apub_oisfsa" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>5</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>11</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>22</MinTileCol>
            <MaxTileCol>23</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>25</MinTileRow>
            <MaxTileRow>27</MaxTileRow>
            <MinTileCol>44</MinTileCol>
            <MaxTileCol>46</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>51</MinTileRow>
            <MaxTileRow>54</MaxTileRow>
            <MinTileCol>88</MinTileCol>
            <MaxTileCol>92</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>103</MinTileRow>
            <MaxTileRow>108</MaxTileRow>
            <MinTileCol>176</MinTileCol>
            <MaxTileCol>185</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>207</MinTileRow>
            <MaxTileRow>217</MaxTileRow>
            <MinTileCol>352</MinTileCol>
            <MaxTileCol>370</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>414</MinTileRow>
            <MaxTileRow>434</MaxTileRow>
            <MinTileCol>705</MinTileCol>
            <MaxTileCol>740</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>829</MinTileRow>
            <MaxTileRow>868</MaxTileRow>
            <MinTileCol>1410</MinTileCol>
            <MaxTileCol>1480</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1658</MinTileRow>
            <MaxTileRow>1736</MaxTileRow>
            <MinTileCol>2821</MinTileCol>
            <MaxTileCol>2961</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3316</MinTileRow>
            <MaxTileRow>3472</MaxTileRow>
            <MinTileCol>5642</MinTileCol>
            <MaxTileCol>5923</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>6632</MinTileRow>
            <MaxTileRow>6944</MaxTileRow>
            <MinTileCol>11285</MinTileCol>
            <MaxTileCol>11846</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>37</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>75</MaxTileRow>
            <MinTileCol>125</MinTileCol>
            <MaxTileCol>125</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>151</MinTileRow>
            <MaxTileRow>151</MaxTileRow>
            <MinTileCol>251</MinTileCol>
            <MaxTileCol>251</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>303</MinTileRow>
            <MaxTileRow>303</MaxTileRow>
            <MinTileCol>502</MinTileCol>
            <MaxTileCol>503</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>606</MinTileRow>
            <MaxTileRow>607</MaxTileRow>
            <MinTileCol>1005</MinTileCol>
            <MaxTileCol>1007</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1212</MinTileRow>
            <MaxTileRow>1214</MaxTileRow>
            <MinTileCol>2010</MinTileCol>
            <MaxTileCol>2014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2424</MinTileRow>
            <MaxTileRow>2429</MaxTileRow>
            <MinTileCol>4020</MinTileCol>
            <MaxTileCol>4029</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4848</MinTileRow>
            <MaxTileRow>4858</MaxTileRow>
            <MinTileCol>8041</MinTileCol>
            <MaxTileCol>8059</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9697</MinTileRow>
            <MaxTileRow>9717</MaxTileRow>
            <MinTileCol>16083</MinTileCol>
            <MaxTileCol>16118</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19395</MinTileRow>
            <MaxTileRow>19435</MaxTileRow>
            <MinTileCol>32166</MinTileCol>
            <MaxTileCol>32237</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38790</MinTileRow>
            <MaxTileRow>38870</MaxTileRow>
            <MinTileCol>64333</MinTileCol>
            <MaxTileCol>64474</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77580</MinTileRow>
            <MaxTileRow>77740</MaxTileRow>
            <MinTileCol>128667</MinTileCol>
            <MaxTileCol>128948</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>155160</MinTileRow>
            <MaxTileRow>155480</MaxTileRow>
            <MinTileCol>257335</MinTileCol>
            <MaxTileCol>257897</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>310320</MinTileRow>
            <MaxTileRow>310960</MaxTileRow>
            <MinTileCol>514670</MinTileCol>
            <MaxTileCol>515794</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisfsa_premium:pub_oisfsa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisfsa_premium:pub_oisfsa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisfsa_premium:pub_oisfsa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisfsa_premium:pub_oisfsa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisfsa_premium:pub_oisfsa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisfsa_premium:pub_oisfsa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisfsa_premium:pub_oisfsa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oisfsa_premium:pub_oisfsa/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Care Homes For Older People - Scotland</ows:Title>
      <ows:Identifier>sh_chep:pub_chep</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_chep%3Apub_chep&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_chep%3Apub_chep&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_chep%3Apub_chep&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_chep%3Apub_chep&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_chep%3Apub_chep&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_chep%3Apub_chep" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>72</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>57</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>145</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>115</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>25</MinTileRow>
            <MaxTileRow>290</MaxTileRow>
            <MinTileCol>73</MinTileCol>
            <MaxTileCol>230</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>50</MinTileRow>
            <MaxTileRow>581</MaxTileRow>
            <MinTileCol>146</MinTileCol>
            <MaxTileCol>460</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>100</MinTileRow>
            <MaxTileRow>1162</MaxTileRow>
            <MinTileCol>293</MinTileCol>
            <MaxTileCol>921</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>201</MinTileRow>
            <MaxTileRow>2324</MaxTileRow>
            <MinTileCol>586</MinTileCol>
            <MaxTileCol>1843</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>402</MinTileRow>
            <MaxTileRow>4648</MaxTileRow>
            <MinTileCol>1172</MinTileCol>
            <MaxTileCol>3687</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>805</MinTileRow>
            <MaxTileRow>9297</MaxTileRow>
            <MinTileCol>2344</MinTileCol>
            <MaxTileCol>7374</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1611</MinTileRow>
            <MaxTileRow>18595</MaxTileRow>
            <MinTileCol>4689</MinTileCol>
            <MaxTileCol>14749</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>488</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>977</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1171</MinTileRow>
            <MaxTileRow>1302</MaxTileRow>
            <MinTileCol>1955</MinTileCol>
            <MaxTileCol>2038</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2343</MinTileRow>
            <MaxTileRow>2604</MaxTileRow>
            <MinTileCol>3911</MinTileCol>
            <MaxTileCol>4076</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4687</MinTileRow>
            <MaxTileRow>5209</MaxTileRow>
            <MinTileCol>7822</MinTileCol>
            <MaxTileCol>8152</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9375</MinTileRow>
            <MaxTileRow>10419</MaxTileRow>
            <MinTileCol>15645</MinTileCol>
            <MaxTileCol>16304</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18750</MinTileRow>
            <MaxTileRow>20838</MaxTileRow>
            <MinTileCol>31291</MinTileCol>
            <MaxTileCol>32608</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37501</MinTileRow>
            <MaxTileRow>41676</MaxTileRow>
            <MinTileCol>62582</MinTileCol>
            <MaxTileCol>65217</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>75003</MinTileRow>
            <MaxTileRow>83352</MaxTileRow>
            <MinTileCol>125165</MinTileCol>
            <MaxTileCol>130434</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>150007</MinTileRow>
            <MaxTileRow>166704</MaxTileRow>
            <MinTileCol>250330</MinTileCol>
            <MaxTileCol>260869</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>300014</MinTileRow>
            <MaxTileRow>333409</MaxTileRow>
            <MinTileCol>500660</MinTileCol>
            <MaxTileCol>521739</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_chep:pub_chep/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_chep:pub_chep/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_chep:pub_chep/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_chep:pub_chep/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_chep:pub_chep/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_chep:pub_chep/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_chep:pub_chep/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_chep:pub_chep/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Street Furniture - Scotland</ows:Title>
      <ows:Identifier>sh_stfnt:pub_stfnt</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>point</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_stfnt%3Apub_stfnt" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>31</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>63</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>126</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>252</MaxTileRow>
            <MinTileCol>23</MinTileCol>
            <MaxTileCol>116</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>505</MaxTileRow>
            <MinTileCol>47</MinTileCol>
            <MaxTileCol>233</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>1011</MaxTileRow>
            <MinTileCol>94</MinTileCol>
            <MaxTileCol>466</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>89</MinTileRow>
            <MaxTileRow>2022</MaxTileRow>
            <MinTileCol>188</MinTileCol>
            <MaxTileCol>932</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>179</MinTileRow>
            <MaxTileRow>4045</MaxTileRow>
            <MinTileCol>376</MinTileCol>
            <MaxTileCol>1865</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>359</MinTileRow>
            <MaxTileRow>8090</MaxTileRow>
            <MinTileCol>752</MinTileCol>
            <MaxTileCol>3731</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>719</MinTileRow>
            <MaxTileRow>16180</MaxTileRow>
            <MinTileCol>1505</MinTileCol>
            <MaxTileCol>7463</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1439</MinTileRow>
            <MaxTileRow>32361</MaxTileRow>
            <MinTileCol>3011</MinTileCol>
            <MaxTileCol>14927</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>21</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>43</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>87</MaxTileRow>
            <MinTileCol>121</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>174</MaxTileRow>
            <MinTileCol>242</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>348</MaxTileRow>
            <MinTileCol>485</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>696</MaxTileRow>
            <MinTileCol>970</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1170</MinTileRow>
            <MaxTileRow>1393</MaxTileRow>
            <MinTileCol>1941</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2341</MinTileRow>
            <MaxTileRow>2786</MaxTileRow>
            <MinTileCol>3883</MinTileCol>
            <MaxTileCol>4079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4682</MinTileRow>
            <MaxTileRow>5573</MaxTileRow>
            <MinTileCol>7767</MinTileCol>
            <MaxTileCol>8158</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9364</MinTileRow>
            <MaxTileRow>11146</MaxTileRow>
            <MinTileCol>15535</MinTileCol>
            <MaxTileCol>16316</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18728</MinTileRow>
            <MaxTileRow>22292</MaxTileRow>
            <MinTileCol>31071</MinTileCol>
            <MaxTileCol>32632</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37456</MinTileRow>
            <MaxTileRow>44584</MaxTileRow>
            <MinTileCol>62142</MinTileCol>
            <MaxTileCol>65265</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74912</MinTileRow>
            <MaxTileRow>89168</MaxTileRow>
            <MinTileCol>124284</MinTileCol>
            <MaxTileCol>130530</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149825</MinTileRow>
            <MaxTileRow>178336</MaxTileRow>
            <MinTileCol>248569</MinTileCol>
            <MaxTileCol>261060</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299651</MinTileRow>
            <MaxTileRow>356673</MaxTileRow>
            <MinTileCol>497138</MinTileCol>
            <MaxTileCol>522121</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt:pub_stfnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt:pub_stfnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt:pub_stfnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt:pub_stfnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt:pub_stfnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt:pub_stfnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt:pub_stfnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_stfnt:pub_stfnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Pharmacies - Scotland</ows:Title>
      <ows:Identifier>sh_pharm:pub_pharm</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_pharm%3Apub_pharm&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_pharm%3Apub_pharm&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_pharm%3Apub_pharm&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_pharm%3Apub_pharm&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_pharm%3Apub_pharm&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_pharm%3Apub_pharm" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>72</MaxTileRow>
            <MinTileCol>24</MinTileCol>
            <MaxTileCol>56</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>145</MaxTileRow>
            <MinTileCol>49</MinTileCol>
            <MaxTileCol>112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>290</MaxTileRow>
            <MinTileCol>99</MinTileCol>
            <MaxTileCol>224</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>581</MaxTileRow>
            <MinTileCol>198</MinTileCol>
            <MaxTileCol>449</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>165</MinTileRow>
            <MaxTileRow>1163</MaxTileRow>
            <MinTileCol>396</MinTileCol>
            <MaxTileCol>899</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>331</MinTileRow>
            <MaxTileRow>2326</MaxTileRow>
            <MinTileCol>793</MinTileCol>
            <MaxTileCol>1799</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>662</MinTileRow>
            <MaxTileRow>4653</MaxTileRow>
            <MinTileCol>1586</MinTileCol>
            <MaxTileCol>3599</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>1325</MinTileRow>
            <MaxTileRow>9307</MaxTileRow>
            <MinTileCol>3173</MinTileCol>
            <MaxTileCol>7199</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>2650</MinTileRow>
            <MaxTileRow>18614</MaxTileRow>
            <MinTileCol>6346</MinTileCol>
            <MaxTileCol>14398</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>147</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>295</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>508</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>590</MinTileRow>
            <MaxTileRow>650</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1017</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1180</MinTileRow>
            <MaxTileRow>1301</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2035</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2360</MinTileRow>
            <MaxTileRow>2603</MaxTileRow>
            <MinTileCol>3939</MinTileCol>
            <MaxTileCol>4070</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4721</MinTileRow>
            <MaxTileRow>5207</MaxTileRow>
            <MinTileCol>7879</MinTileCol>
            <MaxTileCol>8140</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9443</MinTileRow>
            <MaxTileRow>10414</MaxTileRow>
            <MinTileCol>15758</MinTileCol>
            <MaxTileCol>16280</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18886</MinTileRow>
            <MaxTileRow>20828</MaxTileRow>
            <MinTileCol>31517</MinTileCol>
            <MaxTileCol>32560</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37773</MinTileRow>
            <MaxTileRow>41656</MaxTileRow>
            <MinTileCol>63034</MinTileCol>
            <MaxTileCol>65121</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>75547</MinTileRow>
            <MaxTileRow>83312</MaxTileRow>
            <MinTileCol>126068</MinTileCol>
            <MaxTileCol>130243</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>151094</MinTileRow>
            <MaxTileRow>166624</MaxTileRow>
            <MinTileCol>252137</MinTileCol>
            <MaxTileCol>260486</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>302188</MinTileRow>
            <MaxTileRow>333248</MaxTileRow>
            <MinTileCol>504274</MinTileCol>
            <MaxTileCol>520973</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_pharm:pub_pharm/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_pharm:pub_pharm/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_pharm:pub_pharm/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_pharm:pub_pharm/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_pharm:pub_pharm/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_pharm:pub_pharm/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_pharm:pub_pharm/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_pharm:pub_pharm/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Council Asset Register - Scotland (PREMIUM)</ows:Title>
      <ows:Identifier>sh_car_premium:pub_car</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>point</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_car_premium%3Apub_car" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>31</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>63</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>126</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>252</MaxTileRow>
            <MinTileCol>23</MinTileCol>
            <MaxTileCol>116</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>23</MinTileRow>
            <MaxTileRow>505</MaxTileRow>
            <MinTileCol>47</MinTileCol>
            <MaxTileCol>233</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>46</MinTileRow>
            <MaxTileRow>1011</MaxTileRow>
            <MinTileCol>94</MinTileCol>
            <MaxTileCol>466</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>92</MinTileRow>
            <MaxTileRow>2022</MaxTileRow>
            <MinTileCol>188</MinTileCol>
            <MaxTileCol>933</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>184</MinTileRow>
            <MaxTileRow>4045</MaxTileRow>
            <MinTileCol>376</MinTileCol>
            <MaxTileCol>1867</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>369</MinTileRow>
            <MaxTileRow>8090</MaxTileRow>
            <MinTileCol>752</MinTileCol>
            <MaxTileCol>3734</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>738</MinTileRow>
            <MaxTileRow>16180</MaxTileRow>
            <MinTileCol>1505</MinTileCol>
            <MaxTileCol>7469</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1476</MinTileRow>
            <MaxTileRow>32361</MaxTileRow>
            <MinTileCol>3011</MinTileCol>
            <MaxTileCol>14939</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>21</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>43</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>87</MaxTileRow>
            <MinTileCol>121</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>174</MaxTileRow>
            <MinTileCol>242</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>348</MaxTileRow>
            <MinTileCol>485</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>696</MaxTileRow>
            <MinTileCol>970</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1170</MinTileRow>
            <MaxTileRow>1393</MaxTileRow>
            <MinTileCol>1941</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2341</MinTileRow>
            <MaxTileRow>2786</MaxTileRow>
            <MinTileCol>3883</MinTileCol>
            <MaxTileCol>4079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4683</MinTileRow>
            <MaxTileRow>5573</MaxTileRow>
            <MinTileCol>7767</MinTileCol>
            <MaxTileCol>8158</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9366</MinTileRow>
            <MaxTileRow>11146</MaxTileRow>
            <MinTileCol>15535</MinTileCol>
            <MaxTileCol>16317</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18733</MinTileRow>
            <MaxTileRow>22292</MaxTileRow>
            <MinTileCol>31071</MinTileCol>
            <MaxTileCol>32634</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37466</MinTileRow>
            <MaxTileRow>44584</MaxTileRow>
            <MinTileCol>62143</MinTileCol>
            <MaxTileCol>65268</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74932</MinTileRow>
            <MaxTileRow>89168</MaxTileRow>
            <MinTileCol>124286</MinTileCol>
            <MaxTileCol>130536</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149864</MinTileRow>
            <MaxTileRow>178336</MaxTileRow>
            <MinTileCol>248573</MinTileCol>
            <MaxTileCol>261072</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299729</MinTileRow>
            <MaxTileRow>356673</MaxTileRow>
            <MinTileCol>497147</MinTileCol>
            <MaxTileCol>522145</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_car_premium:pub_car/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_car_premium:pub_car/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_car_premium:pub_car/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_car_premium:pub_car/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_car_premium:pub_car/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_car_premium:pub_car/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_car_premium:pub_car/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_car_premium:pub_car/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Squash Courts - Scotland</ows:Title>
      <ows:Identifier>ext_spf:pub_spfsc</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfsc&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfsc&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfsc&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfsc&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_spf%3Apub_spfsc&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_spf%3Apub_spfsc" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>35</MaxTileRow>
            <MinTileCol>10</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>71</MaxTileRow>
            <MinTileCol>21</MinTileCol>
            <MaxTileCol>57</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>143</MaxTileRow>
            <MinTileCol>42</MinTileCol>
            <MaxTileCol>115</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>25</MinTileRow>
            <MaxTileRow>286</MaxTileRow>
            <MinTileCol>85</MinTileCol>
            <MaxTileCol>230</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>50</MinTileRow>
            <MaxTileRow>573</MaxTileRow>
            <MinTileCol>171</MinTileCol>
            <MaxTileCol>460</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>100</MinTileRow>
            <MaxTileRow>1146</MaxTileRow>
            <MinTileCol>343</MinTileCol>
            <MaxTileCol>920</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>200</MinTileRow>
            <MaxTileRow>2293</MaxTileRow>
            <MinTileCol>687</MinTileCol>
            <MaxTileCol>1841</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>401</MinTileRow>
            <MaxTileRow>4587</MaxTileRow>
            <MinTileCol>1374</MinTileCol>
            <MaxTileCol>3683</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>803</MinTileRow>
            <MaxTileRow>9174</MaxTileRow>
            <MinTileCol>2748</MinTileCol>
            <MaxTileCol>7366</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1606</MinTileRow>
            <MaxTileRow>18348</MaxTileRow>
            <MinTileCol>5496</MinTileCol>
            <MaxTileCol>14733</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>490</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>650</MaxTileRow>
            <MinTileCol>981</MinTileCol>
            <MaxTileCol>1018</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1171</MinTileRow>
            <MaxTileRow>1300</MaxTileRow>
            <MinTileCol>1962</MinTileCol>
            <MaxTileCol>2037</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2343</MinTileRow>
            <MaxTileRow>2600</MaxTileRow>
            <MinTileCol>3924</MinTileCol>
            <MaxTileCol>4075</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4687</MinTileRow>
            <MaxTileRow>5201</MaxTileRow>
            <MinTileCol>7849</MinTileCol>
            <MaxTileCol>8151</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9375</MinTileRow>
            <MaxTileRow>10402</MaxTileRow>
            <MinTileCol>15698</MinTileCol>
            <MaxTileCol>16303</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18750</MinTileRow>
            <MaxTileRow>20804</MaxTileRow>
            <MinTileCol>31396</MinTileCol>
            <MaxTileCol>32606</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37500</MinTileRow>
            <MaxTileRow>41608</MaxTileRow>
            <MinTileCol>62792</MinTileCol>
            <MaxTileCol>65213</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>75000</MinTileRow>
            <MaxTileRow>83217</MaxTileRow>
            <MinTileCol>125585</MinTileCol>
            <MaxTileCol>130426</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>150001</MinTileRow>
            <MaxTileRow>166435</MaxTileRow>
            <MinTileCol>251170</MinTileCol>
            <MaxTileCol>260853</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>300002</MinTileRow>
            <MaxTileRow>332870</MaxTileRow>
            <MinTileCol>502341</MinTileCol>
            <MaxTileCol>521706</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_spf:pub_spfsc/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Renewable Energy Sites: Points - Scotland (PREMIUM)</ows:Title>
      <ows:Identifier>sh_res_premium:pub_respnt</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>point</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_res_premium%3Apub_respnt" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>10</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>27</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>21</MinTileCol>
            <MaxTileCol>51</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>55</MinTileRow>
            <MaxTileRow>147</MaxTileRow>
            <MinTileCol>42</MinTileCol>
            <MaxTileCol>102</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>110</MinTileRow>
            <MaxTileRow>294</MaxTileRow>
            <MinTileCol>84</MinTileCol>
            <MaxTileCol>204</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>220</MinTileRow>
            <MaxTileRow>588</MaxTileRow>
            <MinTileCol>169</MinTileCol>
            <MaxTileCol>409</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>441</MinTileRow>
            <MaxTileRow>1177</MaxTileRow>
            <MinTileCol>338</MinTileCol>
            <MaxTileCol>818</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>883</MinTileRow>
            <MaxTileRow>2354</MaxTileRow>
            <MinTileCol>676</MinTileCol>
            <MaxTileCol>1636</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1766</MinTileRow>
            <MaxTileRow>4709</MaxTileRow>
            <MinTileCol>1352</MinTileCol>
            <MaxTileCol>3273</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3532</MinTileRow>
            <MaxTileRow>9419</MaxTileRow>
            <MinTileCol>2705</MinTileCol>
            <MaxTileCol>6546</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>7065</MinTileRow>
            <MaxTileRow>18839</MaxTileRow>
            <MinTileCol>5411</MinTileCol>
            <MaxTileCol>13092</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>151</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>303</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>491</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>607</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>982</MinTileCol>
            <MaxTileCol>1012</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1215</MinTileRow>
            <MaxTileRow>1303</MaxTileRow>
            <MinTileCol>1965</MinTileCol>
            <MaxTileCol>2024</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2430</MinTileRow>
            <MaxTileRow>2607</MaxTileRow>
            <MinTileCol>3930</MinTileCol>
            <MaxTileCol>4049</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4861</MinTileRow>
            <MaxTileRow>5214</MaxTileRow>
            <MinTileCol>7860</MinTileCol>
            <MaxTileCol>8098</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9723</MinTileRow>
            <MaxTileRow>10429</MaxTileRow>
            <MinTileCol>15721</MinTileCol>
            <MaxTileCol>16196</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19447</MinTileRow>
            <MaxTileRow>20859</MaxTileRow>
            <MinTileCol>31442</MinTileCol>
            <MaxTileCol>32393</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38895</MinTileRow>
            <MaxTileRow>41718</MaxTileRow>
            <MinTileCol>62884</MinTileCol>
            <MaxTileCol>64786</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77791</MinTileRow>
            <MaxTileRow>83437</MaxTileRow>
            <MinTileCol>125768</MinTileCol>
            <MaxTileCol>129572</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>155582</MinTileRow>
            <MaxTileRow>166875</MaxTileRow>
            <MinTileCol>251536</MinTileCol>
            <MaxTileCol>259144</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>311164</MinTileRow>
            <MaxTileRow>333750</MaxTileRow>
            <MinTileCol>503073</MinTileCol>
            <MaxTileCol>518289</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res_premium:pub_respnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res_premium:pub_respnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res_premium:pub_respnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res_premium:pub_respnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res_premium:pub_respnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res_premium:pub_respnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res_premium:pub_respnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res_premium:pub_respnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Culvert: OS MM Water Layer (Lines) - Scotland</ows:Title>
      <ows:Identifier>sh_clvt:pub_clvtos</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_clvt%3Apub_clvtos&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_clvt%3Apub_clvtos&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_clvt%3Apub_clvtos&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_clvt%3Apub_clvtos&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_clvt%3Apub_clvtos&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_clvt%3Apub_clvtos" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>35</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>71</MaxTileRow>
            <MinTileCol>23</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>143</MaxTileRow>
            <MinTileCol>46</MinTileCol>
            <MaxTileCol>116</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>21</MinTileRow>
            <MaxTileRow>286</MaxTileRow>
            <MinTileCol>92</MinTileCol>
            <MaxTileCol>232</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>42</MinTileRow>
            <MaxTileRow>572</MaxTileRow>
            <MinTileCol>185</MinTileCol>
            <MaxTileCol>465</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>85</MinTileRow>
            <MaxTileRow>1144</MaxTileRow>
            <MinTileCol>371</MinTileCol>
            <MaxTileCol>931</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>171</MinTileRow>
            <MaxTileRow>2289</MaxTileRow>
            <MinTileCol>742</MinTileCol>
            <MaxTileCol>1863</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>343</MinTileRow>
            <MaxTileRow>4579</MaxTileRow>
            <MinTileCol>1484</MinTileCol>
            <MaxTileCol>3727</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>686</MinTileRow>
            <MaxTileRow>9159</MaxTileRow>
            <MinTileCol>2969</MinTileCol>
            <MaxTileCol>7454</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1372</MinTileRow>
            <MaxTileRow>18318</MaxTileRow>
            <MinTileCol>5938</MinTileCol>
            <MaxTileCol>14908</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>324</MaxTileRow>
            <MinTileCol>491</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>584</MinTileRow>
            <MaxTileRow>649</MaxTileRow>
            <MinTileCol>982</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1169</MinTileRow>
            <MaxTileRow>1299</MaxTileRow>
            <MinTileCol>1965</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2339</MinTileRow>
            <MaxTileRow>2599</MaxTileRow>
            <MinTileCol>3931</MinTileCol>
            <MaxTileCol>4078</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4679</MinTileRow>
            <MaxTileRow>5199</MaxTileRow>
            <MinTileCol>7862</MinTileCol>
            <MaxTileCol>8157</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9359</MinTileRow>
            <MaxTileRow>10398</MaxTileRow>
            <MinTileCol>15725</MinTileCol>
            <MaxTileCol>16315</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18719</MinTileRow>
            <MaxTileRow>20797</MaxTileRow>
            <MinTileCol>31451</MinTileCol>
            <MaxTileCol>32630</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37438</MinTileRow>
            <MaxTileRow>41595</MaxTileRow>
            <MinTileCol>62902</MinTileCol>
            <MaxTileCol>65260</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74877</MinTileRow>
            <MaxTileRow>83191</MaxTileRow>
            <MinTileCol>125805</MinTileCol>
            <MaxTileCol>130520</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149755</MinTileRow>
            <MaxTileRow>166382</MaxTileRow>
            <MinTileCol>251611</MinTileCol>
            <MaxTileCol>261041</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299510</MinTileRow>
            <MaxTileRow>332765</MaxTileRow>
            <MinTileCol>503222</MinTileCol>
            <MaxTileCol>522083</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtos/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtos/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtos/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtos/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtos/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtos/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtos/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_clvt:pub_clvtos/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Visiting Yacht Moorings - Orkney Islands</ows:Title>
      <ows:Identifier>ext_oivym_premium:pub_oivym</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>orkney</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_oivym_premium%3Apub_oivym" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>11</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>22</MinTileCol>
            <MaxTileCol>24</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>21</MinTileRow>
            <MaxTileRow>27</MaxTileRow>
            <MinTileCol>44</MinTileCol>
            <MaxTileCol>49</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>43</MinTileRow>
            <MaxTileRow>55</MaxTileRow>
            <MinTileCol>89</MinTileCol>
            <MaxTileCol>98</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>87</MinTileRow>
            <MaxTileRow>111</MaxTileRow>
            <MinTileCol>178</MinTileCol>
            <MaxTileCol>196</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>174</MinTileRow>
            <MaxTileRow>223</MaxTileRow>
            <MinTileCol>357</MinTileCol>
            <MaxTileCol>392</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>349</MinTileRow>
            <MaxTileRow>447</MaxTileRow>
            <MinTileCol>714</MinTileCol>
            <MaxTileCol>785</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>699</MinTileRow>
            <MaxTileRow>894</MaxTileRow>
            <MinTileCol>1428</MinTileCol>
            <MaxTileCol>1570</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1399</MinTileRow>
            <MaxTileRow>1788</MaxTileRow>
            <MinTileCol>2856</MinTileCol>
            <MaxTileCol>3140</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>2799</MinTileRow>
            <MaxTileRow>3576</MaxTileRow>
            <MinTileCol>5712</MinTileCol>
            <MaxTileCol>6280</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>5598</MinTileRow>
            <MaxTileRow>7152</MaxTileRow>
            <MinTileCol>11425</MinTileCol>
            <MaxTileCol>12560</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>19</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>38</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>76</MaxTileRow>
            <MinTileCol>125</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>150</MinTileRow>
            <MaxTileRow>152</MaxTileRow>
            <MinTileCol>251</MinTileCol>
            <MaxTileCol>252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>301</MinTileRow>
            <MaxTileRow>304</MaxTileRow>
            <MinTileCol>502</MinTileCol>
            <MaxTileCol>505</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>602</MinTileRow>
            <MaxTileRow>608</MaxTileRow>
            <MinTileCol>1005</MinTileCol>
            <MaxTileCol>1010</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1204</MinTileRow>
            <MaxTileRow>1216</MaxTileRow>
            <MinTileCol>2011</MinTileCol>
            <MaxTileCol>2020</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2408</MinTileRow>
            <MaxTileRow>2432</MaxTileRow>
            <MinTileCol>4022</MinTileCol>
            <MaxTileCol>4040</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4816</MinTileRow>
            <MaxTileRow>4865</MaxTileRow>
            <MinTileCol>8045</MinTileCol>
            <MaxTileCol>8081</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9632</MinTileRow>
            <MaxTileRow>9730</MaxTileRow>
            <MinTileCol>16090</MinTileCol>
            <MaxTileCol>16163</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19264</MinTileRow>
            <MaxTileRow>19460</MaxTileRow>
            <MinTileCol>32181</MinTileCol>
            <MaxTileCol>32326</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>38528</MinTileRow>
            <MaxTileRow>38921</MaxTileRow>
            <MinTileCol>64363</MinTileCol>
            <MaxTileCol>64652</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>77057</MinTileRow>
            <MaxTileRow>77842</MaxTileRow>
            <MinTileCol>128727</MinTileCol>
            <MaxTileCol>129304</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>154115</MinTileRow>
            <MaxTileRow>155684</MaxTileRow>
            <MinTileCol>257455</MinTileCol>
            <MaxTileCol>258608</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>308231</MinTileRow>
            <MaxTileRow>311368</MaxTileRow>
            <MinTileCol>514911</MinTileCol>
            <MaxTileCol>517216</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oivym_premium:pub_oivym/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oivym_premium:pub_oivym/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oivym_premium:pub_oivym/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oivym_premium:pub_oivym/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oivym_premium:pub_oivym/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oivym_premium:pub_oivym/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oivym_premium:pub_oivym/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_oivym_premium:pub_oivym/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Car Parking: Parking Bays (polygons) - Scotland (PREMIUM)</ows:Title>
      <ows:Identifier>sh_crpk_premium:pub_crpkpbpol</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_crpk_premium%3Apub_crpkpbpol" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>10</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>30</MaxTileRow>
            <MinTileCol>21</MinTileCol>
            <MaxTileCol>24</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>49</MinTileRow>
            <MaxTileRow>60</MaxTileRow>
            <MinTileCol>42</MinTileCol>
            <MaxTileCol>48</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>99</MinTileRow>
            <MaxTileRow>120</MaxTileRow>
            <MinTileCol>85</MinTileCol>
            <MaxTileCol>97</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>199</MinTileRow>
            <MaxTileRow>241</MaxTileRow>
            <MinTileCol>170</MinTileCol>
            <MaxTileCol>195</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>399</MinTileRow>
            <MaxTileRow>482</MaxTileRow>
            <MinTileCol>341</MinTileCol>
            <MaxTileCol>390</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>799</MinTileRow>
            <MaxTileRow>964</MaxTileRow>
            <MinTileCol>683</MinTileCol>
            <MaxTileCol>780</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1599</MinTileRow>
            <MaxTileRow>1928</MaxTileRow>
            <MinTileCol>1367</MinTileCol>
            <MaxTileCol>1560</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>3199</MinTileRow>
            <MaxTileRow>3857</MaxTileRow>
            <MinTileCol>2734</MinTileCol>
            <MaxTileCol>3120</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>6398</MinTileRow>
            <MaxTileRow>7714</MaxTileRow>
            <MinTileCol>5468</MinTileCol>
            <MaxTileCol>6241</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>12797</MinTileRow>
            <MaxTileRow>15428</MaxTileRow>
            <MinTileCol>10937</MinTileCol>
            <MaxTileCol>12483</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>19</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>39</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>78</MinTileRow>
            <MaxTileRow>79</MaxTileRow>
            <MinTileCol>125</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>157</MinTileRow>
            <MaxTileRow>159</MaxTileRow>
            <MinTileCol>251</MinTileCol>
            <MaxTileCol>252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>314</MinTileRow>
            <MaxTileRow>319</MaxTileRow>
            <MinTileCol>502</MinTileCol>
            <MaxTileCol>505</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>629</MinTileRow>
            <MaxTileRow>638</MaxTileRow>
            <MinTileCol>1004</MinTileCol>
            <MaxTileCol>1010</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1258</MinTileRow>
            <MaxTileRow>1277</MaxTileRow>
            <MinTileCol>2008</MinTileCol>
            <MaxTileCol>2020</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2517</MinTileRow>
            <MaxTileRow>2555</MaxTileRow>
            <MinTileCol>4017</MinTileCol>
            <MaxTileCol>4040</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>5035</MinTileRow>
            <MaxTileRow>5111</MaxTileRow>
            <MinTileCol>8034</MinTileCol>
            <MaxTileCol>8080</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>10070</MinTileRow>
            <MaxTileRow>10223</MaxTileRow>
            <MinTileCol>16069</MinTileCol>
            <MaxTileCol>16161</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>20140</MinTileRow>
            <MaxTileRow>20447</MaxTileRow>
            <MinTileCol>32139</MinTileCol>
            <MaxTileCol>32323</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>40280</MinTileRow>
            <MaxTileRow>40895</MaxTileRow>
            <MinTileCol>64279</MinTileCol>
            <MaxTileCol>64646</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>80560</MinTileRow>
            <MaxTileRow>81791</MaxTileRow>
            <MinTileCol>128559</MinTileCol>
            <MaxTileCol>129292</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>161121</MinTileRow>
            <MaxTileRow>163582</MaxTileRow>
            <MinTileCol>257119</MinTileCol>
            <MaxTileCol>258584</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>322243</MinTileRow>
            <MaxTileRow>327165</MaxTileRow>
            <MinTileCol>514239</MinTileCol>
            <MaxTileCol>517169</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkpbpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkpbpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkpbpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkpbpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkpbpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkpbpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkpbpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_crpk_premium:pub_crpkpbpol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Libraries - Scotland</ows:Title>
      <ows:Identifier>sh_lib:pub_lib</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lib%3Apub_lib&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lib%3Apub_lib&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lib%3Apub_lib&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lib%3Apub_lib&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_lib%3Apub_lib&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_lib%3Apub_lib" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>15</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>30</MinTileRow>
            <MaxTileRow>72</MaxTileRow>
            <MinTileCol>25</MinTileCol>
            <MaxTileCol>52</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>60</MinTileRow>
            <MaxTileRow>145</MaxTileRow>
            <MinTileCol>51</MinTileCol>
            <MaxTileCol>105</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>120</MinTileRow>
            <MaxTileRow>291</MaxTileRow>
            <MinTileCol>103</MinTileCol>
            <MaxTileCol>211</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>240</MinTileRow>
            <MaxTileRow>583</MaxTileRow>
            <MinTileCol>206</MinTileCol>
            <MaxTileCol>423</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>480</MinTileRow>
            <MaxTileRow>1166</MaxTileRow>
            <MinTileCol>412</MinTileCol>
            <MaxTileCol>847</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>960</MinTileRow>
            <MaxTileRow>2333</MaxTileRow>
            <MinTileCol>824</MinTileCol>
            <MaxTileCol>1695</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>1920</MinTileRow>
            <MaxTileRow>4666</MaxTileRow>
            <MinTileCol>1649</MinTileCol>
            <MaxTileCol>3390</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>3840</MinTileRow>
            <MaxTileRow>9333</MaxTileRow>
            <MinTileCol>3299</MinTileCol>
            <MaxTileCol>6780</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>7681</MinTileRow>
            <MaxTileRow>18667</MaxTileRow>
            <MinTileCol>6598</MinTileCol>
            <MaxTileCol>13560</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>152</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>305</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>493</MinTileCol>
            <MaxTileCol>507</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>610</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>987</MinTileCol>
            <MaxTileCol>1014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1220</MinTileRow>
            <MaxTileRow>1302</MaxTileRow>
            <MinTileCol>1974</MinTileCol>
            <MaxTileCol>2028</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2440</MinTileRow>
            <MaxTileRow>2604</MaxTileRow>
            <MinTileCol>3949</MinTileCol>
            <MaxTileCol>4056</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4881</MinTileRow>
            <MaxTileRow>5208</MaxTileRow>
            <MinTileCol>7898</MinTileCol>
            <MaxTileCol>8112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9762</MinTileRow>
            <MaxTileRow>10416</MaxTileRow>
            <MinTileCol>15796</MinTileCol>
            <MaxTileCol>16224</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19524</MinTileRow>
            <MaxTileRow>20832</MaxTileRow>
            <MinTileCol>31593</MinTileCol>
            <MaxTileCol>32449</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39048</MinTileRow>
            <MaxTileRow>41664</MaxTileRow>
            <MinTileCol>63186</MinTileCol>
            <MaxTileCol>64899</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>78096</MinTileRow>
            <MaxTileRow>83329</MaxTileRow>
            <MinTileCol>126372</MinTileCol>
            <MaxTileCol>129798</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>156192</MinTileRow>
            <MaxTileRow>166658</MaxTileRow>
            <MinTileCol>252745</MinTileCol>
            <MaxTileCol>259596</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>312385</MinTileRow>
            <MaxTileRow>333316</MaxTileRow>
            <MinTileCol>505491</MinTileCol>
            <MaxTileCol>519193</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lib:pub_lib/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lib:pub_lib/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lib:pub_lib/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lib:pub_lib/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lib:pub_lib/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lib:pub_lib/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lib:pub_lib/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_lib:pub_lib/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>GHiGs Greenspaces - Scotland</ows:Title>
      <ows:Identifier>ext_ghigs:pub_ghigs-green</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_ghigs%3Apub_ghigs-green" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>72</MaxTileRow>
            <MinTileCol>19</MinTileCol>
            <MaxTileCol>56</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>145</MaxTileRow>
            <MinTileCol>38</MinTileCol>
            <MaxTileCol>112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>40</MinTileRow>
            <MaxTileRow>291</MaxTileRow>
            <MinTileCol>77</MinTileCol>
            <MaxTileCol>225</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>81</MinTileRow>
            <MaxTileRow>583</MaxTileRow>
            <MinTileCol>154</MinTileCol>
            <MaxTileCol>450</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>163</MinTileRow>
            <MaxTileRow>1166</MaxTileRow>
            <MinTileCol>308</MinTileCol>
            <MaxTileCol>900</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>326</MinTileRow>
            <MaxTileRow>2332</MaxTileRow>
            <MinTileCol>617</MinTileCol>
            <MaxTileCol>1801</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>652</MinTileRow>
            <MaxTileRow>4665</MaxTileRow>
            <MinTileCol>1235</MinTileCol>
            <MaxTileCol>3603</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>1305</MinTileRow>
            <MaxTileRow>9330</MaxTileRow>
            <MinTileCol>2471</MinTileCol>
            <MaxTileCol>7207</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>2611</MinTileRow>
            <MaxTileRow>18661</MaxTileRow>
            <MinTileCol>4943</MinTileCol>
            <MaxTileCol>14415</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>147</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>295</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>489</MinTileCol>
            <MaxTileCol>508</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>590</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>979</MinTileCol>
            <MaxTileCol>1017</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1180</MinTileRow>
            <MaxTileRow>1302</MaxTileRow>
            <MinTileCol>1958</MinTileCol>
            <MaxTileCol>2035</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2360</MinTileRow>
            <MaxTileRow>2605</MaxTileRow>
            <MinTileCol>3916</MinTileCol>
            <MaxTileCol>4070</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4720</MinTileRow>
            <MaxTileRow>5210</MaxTileRow>
            <MinTileCol>7833</MinTileCol>
            <MaxTileCol>8140</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9440</MinTileRow>
            <MaxTileRow>10421</MaxTileRow>
            <MinTileCol>15667</MinTileCol>
            <MaxTileCol>16281</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18881</MinTileRow>
            <MaxTileRow>20843</MaxTileRow>
            <MinTileCol>31335</MinTileCol>
            <MaxTileCol>32563</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37763</MinTileRow>
            <MaxTileRow>41686</MaxTileRow>
            <MinTileCol>62671</MinTileCol>
            <MaxTileCol>65126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>75526</MinTileRow>
            <MaxTileRow>83373</MaxTileRow>
            <MinTileCol>125343</MinTileCol>
            <MaxTileCol>130252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>151053</MinTileRow>
            <MaxTileRow>166746</MaxTileRow>
            <MinTileCol>250687</MinTileCol>
            <MaxTileCol>260505</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>302107</MinTileRow>
            <MaxTileRow>333493</MaxTileRow>
            <MinTileCol>501374</MinTileCol>
            <MaxTileCol>521010</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-green/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-green/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-green/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-green/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-green/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-green/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-green/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-green/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Vacant and Derelict Land - Scotland</ows:Title>
      <ows:Identifier>sh_vdl:pub_vdl</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_vdl%3Apub_vdl&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_vdl%3Apub_vdl&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_vdl%3Apub_vdl&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_vdl%3Apub_vdl&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_vdl%3Apub_vdl&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_vdl%3Apub_vdl" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>24</MinTileCol>
            <MaxTileCol>57</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>146</MaxTileRow>
            <MinTileCol>48</MinTileCol>
            <MaxTileCol>115</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>23</MinTileRow>
            <MaxTileRow>292</MaxTileRow>
            <MinTileCol>96</MinTileCol>
            <MaxTileCol>230</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>47</MinTileRow>
            <MaxTileRow>584</MaxTileRow>
            <MinTileCol>193</MinTileCol>
            <MaxTileCol>461</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>94</MinTileRow>
            <MaxTileRow>1169</MaxTileRow>
            <MinTileCol>386</MinTileCol>
            <MaxTileCol>922</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>189</MinTileRow>
            <MaxTileRow>2338</MaxTileRow>
            <MinTileCol>772</MinTileCol>
            <MaxTileCol>1844</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>379</MinTileRow>
            <MaxTileRow>4677</MaxTileRow>
            <MinTileCol>1544</MinTileCol>
            <MaxTileCol>3688</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>759</MinTileRow>
            <MaxTileRow>9354</MaxTileRow>
            <MinTileCol>3089</MinTileCol>
            <MaxTileCol>7376</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1519</MinTileRow>
            <MaxTileRow>18708</MaxTileRow>
            <MinTileCol>6178</MinTileCol>
            <MaxTileCol>14752</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>491</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>983</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1171</MinTileRow>
            <MaxTileRow>1302</MaxTileRow>
            <MinTileCol>1967</MinTileCol>
            <MaxTileCol>2038</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2342</MinTileRow>
            <MaxTileRow>2604</MaxTileRow>
            <MinTileCol>3935</MinTileCol>
            <MaxTileCol>4076</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4684</MinTileRow>
            <MaxTileRow>5209</MaxTileRow>
            <MinTileCol>7871</MinTileCol>
            <MaxTileCol>8152</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9369</MinTileRow>
            <MaxTileRow>10419</MaxTileRow>
            <MinTileCol>15742</MinTileCol>
            <MaxTileCol>16304</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18738</MinTileRow>
            <MaxTileRow>20839</MaxTileRow>
            <MinTileCol>31484</MinTileCol>
            <MaxTileCol>32609</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37477</MinTileRow>
            <MaxTileRow>41679</MaxTileRow>
            <MinTileCol>62968</MinTileCol>
            <MaxTileCol>65218</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74954</MinTileRow>
            <MaxTileRow>83358</MaxTileRow>
            <MinTileCol>125937</MinTileCol>
            <MaxTileCol>130437</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149909</MinTileRow>
            <MaxTileRow>166716</MaxTileRow>
            <MinTileCol>251874</MinTileCol>
            <MaxTileCol>260874</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299819</MinTileRow>
            <MaxTileRow>333432</MaxTileRow>
            <MinTileCol>503748</MinTileCol>
            <MaxTileCol>521748</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_vdl:pub_vdl/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_vdl:pub_vdl/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_vdl:pub_vdl/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_vdl:pub_vdl/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_vdl:pub_vdl/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_vdl:pub_vdl/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_vdl:pub_vdl/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_vdl:pub_vdl/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Article 4 Directions - Scotland</ows:Title>
      <ows:Identifier>sh_a4d:pub_a4d</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_a4d%3Apub_a4d&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_a4d%3Apub_a4d&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_a4d%3Apub_a4d&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_a4d%3Apub_a4d&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_a4d%3Apub_a4d&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_a4d%3Apub_a4d" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>16</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>32</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>40</MinTileRow>
            <MaxTileRow>65</MaxTileRow>
            <MinTileCol>24</MinTileCol>
            <MaxTileCol>52</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>80</MinTileRow>
            <MaxTileRow>130</MaxTileRow>
            <MinTileCol>48</MinTileCol>
            <MaxTileCol>105</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>160</MinTileRow>
            <MaxTileRow>261</MaxTileRow>
            <MinTileCol>96</MinTileCol>
            <MaxTileCol>211</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>321</MinTileRow>
            <MaxTileRow>522</MaxTileRow>
            <MinTileCol>193</MinTileCol>
            <MaxTileCol>423</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>643</MinTileRow>
            <MaxTileRow>1045</MaxTileRow>
            <MinTileCol>387</MinTileCol>
            <MaxTileCol>846</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1286</MinTileRow>
            <MaxTileRow>2091</MaxTileRow>
            <MinTileCol>774</MinTileCol>
            <MaxTileCol>1692</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2572</MinTileRow>
            <MaxTileRow>4183</MaxTileRow>
            <MinTileCol>1548</MinTileCol>
            <MaxTileCol>3384</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>5144</MinTileRow>
            <MaxTileRow>8367</MaxTileRow>
            <MinTileCol>3096</MinTileCol>
            <MaxTileCol>6769</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>10289</MinTileRow>
            <MaxTileRow>16734</MaxTileRow>
            <MinTileCol>6192</MinTileCol>
            <MaxTileCol>13538</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>155</MinTileRow>
            <MaxTileRow>161</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>310</MinTileRow>
            <MaxTileRow>322</MaxTileRow>
            <MinTileCol>493</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>620</MinTileRow>
            <MaxTileRow>644</MaxTileRow>
            <MinTileCol>986</MinTileCol>
            <MaxTileCol>1013</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1240</MinTileRow>
            <MaxTileRow>1288</MaxTileRow>
            <MinTileCol>1972</MinTileCol>
            <MaxTileCol>2027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2480</MinTileRow>
            <MaxTileRow>2577</MaxTileRow>
            <MinTileCol>3945</MinTileCol>
            <MaxTileCol>4055</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4960</MinTileRow>
            <MaxTileRow>5154</MaxTileRow>
            <MinTileCol>7891</MinTileCol>
            <MaxTileCol>8111</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9920</MinTileRow>
            <MaxTileRow>10309</MaxTileRow>
            <MinTileCol>15782</MinTileCol>
            <MaxTileCol>16222</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19841</MinTileRow>
            <MaxTileRow>20618</MaxTileRow>
            <MinTileCol>31565</MinTileCol>
            <MaxTileCol>32445</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39683</MinTileRow>
            <MaxTileRow>41237</MaxTileRow>
            <MinTileCol>63130</MinTileCol>
            <MaxTileCol>64891</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>79367</MinTileRow>
            <MaxTileRow>82474</MaxTileRow>
            <MinTileCol>126261</MinTileCol>
            <MaxTileCol>129783</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>158735</MinTileRow>
            <MaxTileRow>164949</MaxTileRow>
            <MinTileCol>252522</MinTileCol>
            <MaxTileCol>259566</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>317470</MinTileRow>
            <MaxTileRow>329899</MaxTileRow>
            <MinTileCol>505045</MinTileCol>
            <MaxTileCol>519133</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_a4d:pub_a4d/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_a4d:pub_a4d/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_a4d:pub_a4d/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_a4d:pub_a4d/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_a4d:pub_a4d/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_a4d:pub_a4d/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_a4d:pub_a4d/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_a4d:pub_a4d/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>GHiGs Static Water Bodies - Scotland</ows:Title>
      <ows:Identifier>ext_ghigs:pub_ghigs-swb</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_ghigs%3Apub_ghigs-swb" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>35</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>71</MaxTileRow>
            <MinTileCol>19</MinTileCol>
            <MaxTileCol>57</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>143</MaxTileRow>
            <MinTileCol>38</MinTileCol>
            <MaxTileCol>115</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>23</MinTileRow>
            <MaxTileRow>287</MaxTileRow>
            <MinTileCol>76</MinTileCol>
            <MaxTileCol>230</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>46</MinTileRow>
            <MaxTileRow>574</MaxTileRow>
            <MinTileCol>152</MinTileCol>
            <MaxTileCol>461</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>92</MinTileRow>
            <MaxTileRow>1148</MaxTileRow>
            <MinTileCol>304</MinTileCol>
            <MaxTileCol>922</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>185</MinTileRow>
            <MaxTileRow>2297</MaxTileRow>
            <MinTileCol>608</MinTileCol>
            <MaxTileCol>1844</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>371</MinTileRow>
            <MaxTileRow>4595</MaxTileRow>
            <MinTileCol>1216</MinTileCol>
            <MaxTileCol>3688</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>742</MinTileRow>
            <MaxTileRow>9190</MaxTileRow>
            <MinTileCol>2432</MinTileCol>
            <MaxTileCol>7377</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1484</MinTileRow>
            <MaxTileRow>18380</MaxTileRow>
            <MinTileCol>4864</MinTileCol>
            <MaxTileCol>14754</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>489</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>650</MaxTileRow>
            <MinTileCol>978</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1170</MinTileRow>
            <MaxTileRow>1300</MaxTileRow>
            <MinTileCol>1957</MinTileCol>
            <MaxTileCol>2038</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2341</MinTileRow>
            <MaxTileRow>2601</MaxTileRow>
            <MinTileCol>3914</MinTileCol>
            <MaxTileCol>4076</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4683</MinTileRow>
            <MaxTileRow>5203</MaxTileRow>
            <MinTileCol>7828</MinTileCol>
            <MaxTileCol>8152</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9367</MinTileRow>
            <MaxTileRow>10406</MaxTileRow>
            <MinTileCol>15656</MinTileCol>
            <MaxTileCol>16304</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18734</MinTileRow>
            <MaxTileRow>20812</MaxTileRow>
            <MinTileCol>31312</MinTileCol>
            <MaxTileCol>32609</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37468</MinTileRow>
            <MaxTileRow>41625</MaxTileRow>
            <MinTileCol>62625</MinTileCol>
            <MaxTileCol>65219</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74936</MinTileRow>
            <MaxTileRow>83251</MaxTileRow>
            <MinTileCol>125250</MinTileCol>
            <MaxTileCol>130438</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149872</MinTileRow>
            <MaxTileRow>166502</MaxTileRow>
            <MinTileCol>250500</MinTileCol>
            <MaxTileCol>260877</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299745</MinTileRow>
            <MaxTileRow>333005</MaxTileRow>
            <MinTileCol>501000</MinTileCol>
            <MaxTileCol>521755</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-swb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-swb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-swb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-swb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-swb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-swb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-swb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-swb/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Historic Environment Records: Events - Scotland</ows:Title>
      <ows:Identifier>sh_her:pub_herev</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_her%3Apub_herev&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_her%3Apub_herev&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_her%3Apub_herev&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_her%3Apub_herev&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_her%3Apub_herev&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_her%3Apub_herev" width="20" height="20"/>
      </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:27700</TileMatrixSet>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>5</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>31</MaxTileRow>
            <MinTileCol>10</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>63</MaxTileRow>
            <MinTileCol>20</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>127</MaxTileRow>
            <MinTileCol>41</MinTileCol>
            <MaxTileCol>125</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>255</MaxTileRow>
            <MinTileCol>82</MinTileCol>
            <MaxTileCol>250</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>511</MaxTileRow>
            <MinTileCol>165</MinTileCol>
            <MaxTileCol>501</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1023</MaxTileRow>
            <MinTileCol>331</MinTileCol>
            <MaxTileCol>1003</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2047</MaxTileRow>
            <MinTileCol>662</MinTileCol>
            <MaxTileCol>2007</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4095</MaxTileRow>
            <MinTileCol>1325</MinTileCol>
            <MaxTileCol>4014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>8191</MaxTileRow>
            <MinTileCol>2651</MinTileCol>
            <MaxTileCol>8029</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>16383</MaxTileRow>
            <MinTileCol>5303</MinTileCol>
            <MaxTileCol>16058</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>32767</MaxTileRow>
            <MinTileCol>10607</MinTileCol>
            <MaxTileCol>32116</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>65535</MaxTileRow>
            <MinTileCol>21214</MinTileCol>
            <MaxTileCol>64233</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>131071</MaxTileRow>
            <MinTileCol>42429</MinTileCol>
            <MaxTileCol>128466</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>262143</MaxTileRow>
            <MinTileCol>84858</MinTileCol>
            <MaxTileCol>256932</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>524287</MaxTileRow>
            <MinTileCol>169717</MinTileCol>
            <MaxTileCol>513864</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1048575</MaxTileRow>
            <MinTileCol>339434</MinTileCol>
            <MaxTileCol>1027728</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_her:pub_herev/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_her:pub_herev/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_her:pub_herev/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_her:pub_herev/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_her:pub_herev/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_her:pub_herev/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_her:pub_herev/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_her:pub_herev/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>GHiGs DHN Viable - Scotland</ows:Title>
      <ows:Identifier>ext_ghigs:pub_ghigs-dhn-viable</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_ghigs%3Apub_ghigs-dhn-viable" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>147</MaxTileRow>
            <MinTileCol>25</MinTileCol>
            <MaxTileCol>116</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>294</MaxTileRow>
            <MinTileCol>51</MinTileCol>
            <MaxTileCol>233</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>45</MinTileRow>
            <MaxTileRow>589</MaxTileRow>
            <MinTileCol>102</MinTileCol>
            <MaxTileCol>466</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>91</MinTileRow>
            <MaxTileRow>1179</MaxTileRow>
            <MinTileCol>204</MinTileCol>
            <MaxTileCol>933</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>182</MinTileRow>
            <MaxTileRow>2358</MaxTileRow>
            <MinTileCol>408</MinTileCol>
            <MaxTileCol>1866</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>365</MinTileRow>
            <MaxTileRow>4717</MaxTileRow>
            <MinTileCol>816</MinTileCol>
            <MaxTileCol>3733</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>730</MinTileRow>
            <MaxTileRow>9434</MaxTileRow>
            <MinTileCol>1633</MinTileCol>
            <MaxTileCol>7466</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1461</MinTileRow>
            <MaxTileRow>18869</MaxTileRow>
            <MinTileCol>3267</MinTileCol>
            <MaxTileCol>14932</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>121</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>163</MaxTileRow>
            <MinTileCol>243</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>326</MaxTileRow>
            <MinTileCol>486</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>585</MinTileRow>
            <MaxTileRow>652</MaxTileRow>
            <MinTileCol>972</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1170</MinTileRow>
            <MaxTileRow>1305</MaxTileRow>
            <MinTileCol>1944</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2341</MinTileRow>
            <MaxTileRow>2610</MaxTileRow>
            <MinTileCol>3888</MinTileCol>
            <MaxTileCol>4079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4682</MinTileRow>
            <MaxTileRow>5220</MaxTileRow>
            <MinTileCol>7776</MinTileCol>
            <MaxTileCol>8158</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9365</MinTileRow>
            <MaxTileRow>10440</MaxTileRow>
            <MinTileCol>15552</MinTileCol>
            <MaxTileCol>16316</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18731</MinTileRow>
            <MaxTileRow>20881</MaxTileRow>
            <MinTileCol>31104</MinTileCol>
            <MaxTileCol>32633</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37462</MinTileRow>
            <MaxTileRow>41762</MaxTileRow>
            <MinTileCol>62209</MinTileCol>
            <MaxTileCol>65266</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74924</MinTileRow>
            <MaxTileRow>83524</MaxTileRow>
            <MinTileCol>124418</MinTileCol>
            <MaxTileCol>130532</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149849</MinTileRow>
            <MaxTileRow>167048</MaxTileRow>
            <MinTileCol>248837</MinTileCol>
            <MaxTileCol>261065</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299698</MinTileRow>
            <MaxTileRow>334096</MaxTileRow>
            <MinTileCol>497674</MinTileCol>
            <MaxTileCol>522130</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-viable/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-viable/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-viable/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-viable/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-viable/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-viable/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-viable/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-dhn-viable/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Tree Preservation Orders: Points - Scotland</ows:Title>
      <ows:Identifier>sh_tpo:pub_tpopnt</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tpo%3Apub_tpopnt&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tpo%3Apub_tpopnt&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tpo%3Apub_tpopnt&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tpo%3Apub_tpopnt&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_tpo%3Apub_tpopnt&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_tpo%3Apub_tpopnt" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>8</MinTileRow>
            <MaxTileRow>16</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>12</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>16</MinTileRow>
            <MaxTileRow>33</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>25</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>33</MinTileRow>
            <MaxTileRow>67</MaxTileRow>
            <MinTileCol>24</MinTileCol>
            <MaxTileCol>51</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>66</MinTileRow>
            <MaxTileRow>134</MaxTileRow>
            <MinTileCol>48</MinTileCol>
            <MaxTileCol>102</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>133</MinTileRow>
            <MaxTileRow>269</MaxTileRow>
            <MinTileCol>96</MinTileCol>
            <MaxTileCol>204</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>267</MinTileRow>
            <MaxTileRow>539</MaxTileRow>
            <MinTileCol>193</MinTileCol>
            <MaxTileCol>409</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>535</MinTileRow>
            <MaxTileRow>1079</MaxTileRow>
            <MinTileCol>386</MinTileCol>
            <MaxTileCol>819</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1071</MinTileRow>
            <MaxTileRow>2159</MaxTileRow>
            <MinTileCol>773</MinTileCol>
            <MaxTileCol>1638</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2143</MinTileRow>
            <MaxTileRow>4319</MaxTileRow>
            <MinTileCol>1546</MinTileCol>
            <MaxTileCol>3276</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>4287</MinTileRow>
            <MaxTileRow>8639</MaxTileRow>
            <MinTileCol>3093</MinTileCol>
            <MaxTileCol>6553</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>8574</MinTileRow>
            <MaxTileRow>17278</MaxTileRow>
            <MinTileCol>6186</MinTileCol>
            <MaxTileCol>13106</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>153</MinTileRow>
            <MaxTileRow>161</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>306</MinTileRow>
            <MaxTileRow>323</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>613</MinTileRow>
            <MaxTileRow>646</MaxTileRow>
            <MinTileCol>985</MinTileCol>
            <MaxTileCol>1012</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1227</MinTileRow>
            <MaxTileRow>1292</MaxTileRow>
            <MinTileCol>1971</MinTileCol>
            <MaxTileCol>2024</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2454</MinTileRow>
            <MaxTileRow>2584</MaxTileRow>
            <MinTileCol>3943</MinTileCol>
            <MaxTileCol>4049</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4908</MinTileRow>
            <MaxTileRow>5169</MaxTileRow>
            <MinTileCol>7887</MinTileCol>
            <MaxTileCol>8098</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9816</MinTileRow>
            <MaxTileRow>10339</MaxTileRow>
            <MinTileCol>15775</MinTileCol>
            <MaxTileCol>16197</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19633</MinTileRow>
            <MaxTileRow>20679</MaxTileRow>
            <MinTileCol>31550</MinTileCol>
            <MaxTileCol>32394</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39267</MinTileRow>
            <MaxTileRow>41359</MaxTileRow>
            <MinTileCol>63100</MinTileCol>
            <MaxTileCol>64789</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>78535</MinTileRow>
            <MaxTileRow>82719</MaxTileRow>
            <MinTileCol>126201</MinTileCol>
            <MaxTileCol>129578</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>157070</MinTileRow>
            <MaxTileRow>165439</MaxTileRow>
            <MinTileCol>252403</MinTileCol>
            <MaxTileCol>259156</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>314140</MinTileRow>
            <MaxTileRow>330879</MaxTileRow>
            <MinTileCol>504807</MinTileCol>
            <MaxTileCol>518312</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tpo:pub_tpopnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tpo:pub_tpopnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tpo:pub_tpopnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tpo:pub_tpopnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tpo:pub_tpopnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tpo:pub_tpopnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tpo:pub_tpopnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_tpo:pub_tpopnt/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>GHiGs Settlements by Local Authority - Scotland</ows:Title>
      <ows:Identifier>ext_ghigs:pub_ghigs-stlmnt-la</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_ghigs%3Apub_ghigs-stlmnt-la" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>6</MinTileCol>
            <MaxTileCol>29</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>12</MinTileCol>
            <MaxTileCol>58</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>147</MaxTileRow>
            <MinTileCol>24</MinTileCol>
            <MaxTileCol>117</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>294</MaxTileRow>
            <MinTileCol>49</MinTileCol>
            <MaxTileCol>234</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>589</MaxTileRow>
            <MinTileCol>98</MinTileCol>
            <MaxTileCol>468</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>1179</MaxTileRow>
            <MinTileCol>197</MinTileCol>
            <MaxTileCol>936</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>164</MinTileRow>
            <MaxTileRow>2359</MaxTileRow>
            <MinTileCol>394</MinTileCol>
            <MaxTileCol>1872</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>329</MinTileRow>
            <MaxTileRow>4718</MaxTileRow>
            <MinTileCol>788</MinTileCol>
            <MaxTileCol>3744</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>659</MinTileRow>
            <MaxTileRow>9436</MaxTileRow>
            <MinTileCol>1576</MinTileCol>
            <MaxTileCol>7488</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>1318</MinTileRow>
            <MaxTileRow>18872</MaxTileRow>
            <MinTileCol>3152</MinTileCol>
            <MaxTileCol>14976</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>121</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>163</MaxTileRow>
            <MinTileCol>242</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>292</MinTileRow>
            <MaxTileRow>326</MaxTileRow>
            <MinTileCol>485</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>584</MinTileRow>
            <MaxTileRow>652</MaxTileRow>
            <MinTileCol>971</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1169</MinTileRow>
            <MaxTileRow>1305</MaxTileRow>
            <MinTileCol>1942</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2339</MinTileRow>
            <MaxTileRow>2610</MaxTileRow>
            <MinTileCol>3885</MinTileCol>
            <MaxTileCol>4079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4678</MinTileRow>
            <MaxTileRow>5220</MaxTileRow>
            <MinTileCol>7771</MinTileCol>
            <MaxTileCol>8159</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9356</MinTileRow>
            <MaxTileRow>10441</MaxTileRow>
            <MinTileCol>15543</MinTileCol>
            <MaxTileCol>16319</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18712</MinTileRow>
            <MaxTileRow>20882</MaxTileRow>
            <MinTileCol>31087</MinTileCol>
            <MaxTileCol>32639</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37424</MinTileRow>
            <MaxTileRow>41764</MaxTileRow>
            <MinTileCol>62175</MinTileCol>
            <MaxTileCol>65278</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>74849</MinTileRow>
            <MaxTileRow>83529</MaxTileRow>
            <MinTileCol>124350</MinTileCol>
            <MaxTileCol>130556</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>149698</MinTileRow>
            <MaxTileRow>167059</MaxTileRow>
            <MinTileCol>248700</MinTileCol>
            <MaxTileCol>261113</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>299397</MinTileRow>
            <MaxTileRow>334118</MaxTileRow>
            <MinTileCol>497401</MinTileCol>
            <MaxTileCol>522227</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-stlmnt-la/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-stlmnt-la/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-stlmnt-la/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-stlmnt-la/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-stlmnt-la/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-stlmnt-la/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-stlmnt-la/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_ghigs:pub_ghigs-stlmnt-la/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>SGN: IP Pipes - Scotland</ows:Title>
      <ows:Identifier>ext_sgn:pub_sgnip</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnip&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnip&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnip&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnip&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=ext_sgn%3Apub_sgnip&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=ext_sgn%3Apub_sgnip" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>6</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>17</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>13</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>35</MaxTileRow>
            <MinTileCol>16</MinTileCol>
            <MaxTileCol>26</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>70</MaxTileRow>
            <MinTileCol>32</MinTileCol>
            <MaxTileCol>52</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>79</MinTileRow>
            <MaxTileRow>140</MaxTileRow>
            <MinTileCol>64</MinTileCol>
            <MaxTileCol>105</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>159</MinTileRow>
            <MaxTileRow>280</MaxTileRow>
            <MinTileCol>129</MinTileCol>
            <MaxTileCol>210</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>319</MinTileRow>
            <MaxTileRow>561</MaxTileRow>
            <MinTileCol>259</MinTileCol>
            <MaxTileCol>421</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>638</MinTileRow>
            <MaxTileRow>1122</MaxTileRow>
            <MinTileCol>518</MinTileCol>
            <MaxTileCol>842</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1277</MinTileRow>
            <MaxTileRow>2244</MaxTileRow>
            <MinTileCol>1036</MinTileCol>
            <MaxTileCol>1684</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>2555</MinTileRow>
            <MaxTileRow>4489</MaxTileRow>
            <MinTileCol>2073</MinTileCol>
            <MaxTileCol>3369</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>5111</MinTileRow>
            <MaxTileRow>8978</MaxTileRow>
            <MinTileCol>4147</MinTileCol>
            <MaxTileCol>6738</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>10222</MinTileRow>
            <MaxTileRow>17956</MaxTileRow>
            <MinTileCol>8294</MinTileCol>
            <MaxTileCol>13477</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>154</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>309</MinTileRow>
            <MaxTileRow>324</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>619</MinTileRow>
            <MaxTileRow>648</MaxTileRow>
            <MinTileCol>994</MinTileCol>
            <MaxTileCol>1013</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1239</MinTileRow>
            <MaxTileRow>1296</MaxTileRow>
            <MinTileCol>1988</MinTileCol>
            <MaxTileCol>2027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2479</MinTileRow>
            <MaxTileRow>2592</MaxTileRow>
            <MinTileCol>3977</MinTileCol>
            <MaxTileCol>4054</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4958</MinTileRow>
            <MaxTileRow>5185</MaxTileRow>
            <MinTileCol>7954</MinTileCol>
            <MaxTileCol>8109</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9916</MinTileRow>
            <MaxTileRow>10371</MaxTileRow>
            <MinTileCol>15908</MinTileCol>
            <MaxTileCol>16219</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>19833</MinTileRow>
            <MaxTileRow>20743</MaxTileRow>
            <MinTileCol>31816</MinTileCol>
            <MaxTileCol>32438</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>39667</MinTileRow>
            <MaxTileRow>41486</MaxTileRow>
            <MinTileCol>63632</MinTileCol>
            <MaxTileCol>64877</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>79335</MinTileRow>
            <MaxTileRow>82973</MaxTileRow>
            <MinTileCol>127265</MinTileCol>
            <MaxTileCol>129754</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>158670</MinTileRow>
            <MaxTileRow>165947</MaxTileRow>
            <MinTileCol>254530</MinTileCol>
            <MaxTileCol>259508</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>317340</MinTileRow>
            <MaxTileRow>331895</MaxTileRow>
            <MinTileCol>509061</MinTileCol>
            <MaxTileCol>519016</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnip/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnip/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnip/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnip/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnip/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnip/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnip/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/ext_sgn:pub_sgnip/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>Renewable Energy Sites: Polygons - Scotland (PREMIUM)</ows:Title>
      <ows:Identifier>sh_res_premium:pub_respol</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_res_premium%3Apub_respol" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>8</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>5</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>16</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>10</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>28</MinTileRow>
            <MaxTileRow>33</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>21</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>56</MinTileRow>
            <MaxTileRow>66</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>42</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>112</MinTileRow>
            <MaxTileRow>133</MaxTileRow>
            <MinTileCol>73</MinTileCol>
            <MaxTileCol>85</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>225</MinTileRow>
            <MaxTileRow>266</MaxTileRow>
            <MinTileCol>146</MinTileCol>
            <MaxTileCol>170</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>451</MinTileRow>
            <MaxTileRow>533</MaxTileRow>
            <MinTileCol>292</MinTileCol>
            <MaxTileCol>341</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>903</MinTileRow>
            <MaxTileRow>1066</MaxTileRow>
            <MinTileCol>584</MinTileCol>
            <MaxTileCol>682</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>1806</MinTileRow>
            <MaxTileRow>2133</MaxTileRow>
            <MinTileCol>1168</MinTileCol>
            <MaxTileCol>1365</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>3613</MinTileRow>
            <MaxTileRow>4267</MaxTileRow>
            <MinTileCol>2337</MinTileCol>
            <MaxTileCol>2730</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>7227</MinTileRow>
            <MaxTileRow>8535</MaxTileRow>
            <MinTileCol>4674</MinTileCol>
            <MaxTileCol>5461</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>14455</MinTileRow>
            <MaxTileRow>17071</MaxTileRow>
            <MinTileCol>9349</MinTileCol>
            <MaxTileCol>10923</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>79</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>125</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>158</MinTileRow>
            <MaxTileRow>161</MaxTileRow>
            <MinTileCol>249</MinTileCol>
            <MaxTileCol>251</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>317</MinTileRow>
            <MaxTileRow>322</MaxTileRow>
            <MinTileCol>499</MinTileCol>
            <MaxTileCol>502</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>635</MinTileRow>
            <MaxTileRow>644</MaxTileRow>
            <MinTileCol>998</MinTileCol>
            <MaxTileCol>1004</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1270</MinTileRow>
            <MaxTileRow>1289</MaxTileRow>
            <MinTileCol>1997</MinTileCol>
            <MaxTileCol>2009</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2541</MinTileRow>
            <MaxTileRow>2579</MaxTileRow>
            <MinTileCol>3995</MinTileCol>
            <MaxTileCol>4018</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>5083</MinTileRow>
            <MaxTileRow>5159</MaxTileRow>
            <MinTileCol>7990</MinTileCol>
            <MaxTileCol>8037</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>10167</MinTileRow>
            <MaxTileRow>10319</MaxTileRow>
            <MinTileCol>15980</MinTileCol>
            <MaxTileCol>16074</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>20335</MinTileRow>
            <MaxTileRow>20639</MaxTileRow>
            <MinTileCol>31960</MinTileCol>
            <MaxTileCol>32148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>40671</MinTileRow>
            <MaxTileRow>41279</MaxTileRow>
            <MinTileCol>63921</MinTileCol>
            <MaxTileCol>64297</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>81343</MinTileRow>
            <MaxTileRow>82558</MaxTileRow>
            <MinTileCol>127843</MinTileCol>
            <MaxTileCol>128594</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>162687</MinTileRow>
            <MaxTileRow>165116</MaxTileRow>
            <MinTileCol>255687</MinTileCol>
            <MaxTileCol>257188</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>325374</MinTileRow>
            <MaxTileRow>330233</MaxTileRow>
            <MinTileCol>511375</MinTileCol>
            <MaxTileCol>514376</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res_premium:pub_respol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res_premium:pub_respol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res_premium:pub_respol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res_premium:pub_respol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res_premium:pub_respol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res_premium:pub_respol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res_premium:pub_respol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_res_premium:pub_respol/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>GP Practices - Scotland</ows:Title>
      <ows:Identifier>sh_gpprac:pub_gpprac</ows:Identifier>
      <Style>
        <ows:Identifier>generic_blue</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_gpprac%3Apub_gpprac&amp;style=generic_blue" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_green</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_gpprac%3Apub_gpprac&amp;style=generic_green" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_purple</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_gpprac%3Apub_gpprac&amp;style=generic_purple" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_red</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_gpprac%3Apub_gpprac&amp;style=generic_red" width="74" height="60"/>
      </Style>
      <Style>
        <ows:Identifier>generic_yellow</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=74&amp;height=60&amp;layer=sh_gpprac%3Apub_gpprac&amp;style=generic_yellow" width="74" height="60"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geo.spatialhub.scot/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=sh_gpprac%3Apub_gpprac" width="20" height="20"/>
      </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:27700</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:3</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:4</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:5</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>18</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>14</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:6</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>36</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>28</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:7</TileMatrix>
            <MinTileRow>8</MinTileRow>
            <MaxTileRow>73</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>56</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:8</TileMatrix>
            <MinTileRow>16</MinTileRow>
            <MaxTileRow>146</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>113</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:9</TileMatrix>
            <MinTileRow>32</MinTileRow>
            <MaxTileRow>292</MaxTileRow>
            <MinTileCol>73</MinTileCol>
            <MaxTileCol>227</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:10</TileMatrix>
            <MinTileRow>64</MinTileRow>
            <MaxTileRow>584</MaxTileRow>
            <MinTileCol>147</MinTileCol>
            <MaxTileCol>455</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:11</TileMatrix>
            <MinTileRow>128</MinTileRow>
            <MaxTileRow>1169</MaxTileRow>
            <MinTileCol>294</MinTileCol>
            <MaxTileCol>910</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:12</TileMatrix>
            <MinTileRow>257</MinTileRow>
            <MaxTileRow>2339</MaxTileRow>
            <MinTileCol>588</MinTileCol>
            <MaxTileCol>1821</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:13</TileMatrix>
            <MinTileRow>514</MinTileRow>
            <MaxTileRow>4678</MaxTileRow>
            <MinTileCol>1176</MinTileCol>
            <MaxTileCol>3642</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:14</TileMatrix>
            <MinTileRow>1029</MinTileRow>
            <MaxTileRow>9357</MaxTileRow>
            <MinTileCol>2353</MinTileCol>
            <MaxTileCol>7284</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:27700:15</TileMatrix>
            <MinTileRow>2059</MinTileRow>
            <MaxTileRow>18714</MaxTileRow>
            <MinTileCol>4706</MinTileCol>
            <MaxTileCol>14569</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>ESPG:3857</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:7</TileMatrix>
            <MinTileRow>36</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:8</TileMatrix>
            <MinTileRow>73</MinTileRow>
            <MaxTileRow>81</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:9</TileMatrix>
            <MinTileRow>146</MinTileRow>
            <MaxTileRow>162</MaxTileRow>
            <MinTileCol>244</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:10</TileMatrix>
            <MinTileRow>293</MinTileRow>
            <MaxTileRow>325</MaxTileRow>
            <MinTileCol>489</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:11</TileMatrix>
            <MinTileRow>587</MinTileRow>
            <MaxTileRow>651</MaxTileRow>
            <MinTileCol>978</MinTileCol>
            <MaxTileCol>1018</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:12</TileMatrix>
            <MinTileRow>1175</MinTileRow>
            <MaxTileRow>1303</MaxTileRow>
            <MinTileCol>1956</MinTileCol>
            <MaxTileCol>2036</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:13</TileMatrix>
            <MinTileRow>2351</MinTileRow>
            <MaxTileRow>2606</MaxTileRow>
            <MinTileCol>3912</MinTileCol>
            <MaxTileCol>4073</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:14</TileMatrix>
            <MinTileRow>4702</MinTileRow>
            <MaxTileRow>5212</MaxTileRow>
            <MinTileCol>7824</MinTileCol>
            <MaxTileCol>8146</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:15</TileMatrix>
            <MinTileRow>9404</MinTileRow>
            <MaxTileRow>10425</MaxTileRow>
            <MinTileCol>15649</MinTileCol>
            <MaxTileCol>16292</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:16</TileMatrix>
            <MinTileRow>18809</MinTileRow>
            <MaxTileRow>20851</MaxTileRow>
            <MinTileCol>31298</MinTileCol>
            <MaxTileCol>32584</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:17</TileMatrix>
            <MinTileRow>37619</MinTileRow>
            <MaxTileRow>41702</MaxTileRow>
            <MinTileCol>62597</MinTileCol>
            <MaxTileCol>65168</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:18</TileMatrix>
            <MinTileRow>75239</MinTileRow>
            <MaxTileRow>83404</MaxTileRow>
            <MinTileCol>125195</MinTileCol>
            <MaxTileCol>130336</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:19</TileMatrix>
            <MinTileRow>150478</MinTileRow>
            <MaxTileRow>166809</MaxTileRow>
            <MinTileCol>250391</MinTileCol>
            <MaxTileCol>260673</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>ESPG:3857:20</TileMatrix>
            <MinTileRow>300956</MinTileRow>
            <MaxTileRow>333618</MaxTileRow>
            <MinTileCol>500782</MinTileCol>
            <MaxTileCol>521346</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_gpprac:pub_gpprac/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_gpprac:pub_gpprac/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_gpprac:pub_gpprac/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_gpprac:pub_gpprac/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_gpprac:pub_gpprac/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_gpprac:pub_gpprac/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_gpprac:pub_gpprac/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/sh_gpprac:pub_gpprac/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
    </Layer>
    <TileMatrixSet>
      <ows:Identifier>GlobalCRS84Pixel</ows:Identifier>
      <ows:SupportedCRS>urn:ogc:def:crs:EPSG::4326</ows:SupportedCRS>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Pixel:0</ows:Identifier>
        <ScaleDenominator>7.951392199519542E8</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1</MatrixWidth>
        <MatrixHeight>1</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Pixel:1</ows:Identifier>
        <ScaleDenominator>3.975696099759771E8</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2</MatrixWidth>
        <MatrixHeight>1</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Pixel:2</ows:Identifier>
        <ScaleDenominator>1.9878480498798856E8</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>3</MatrixWidth>
        <MatrixHeight>2</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Pixel:3</ows:Identifier>
        <ScaleDenominator>1.325232033253257E8</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>5</MatrixWidth>
        <MatrixHeight>3</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Pixel:4</ows:Identifier>
        <ScaleDenominator>6.626160166266285E7</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>9</MatrixWidth>
        <MatrixHeight>5</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Pixel:5</ows:Identifier>
        <ScaleDenominator>3.3130800831331424E7</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>17</MatrixWidth>
        <MatrixHeight>9</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Pixel:6</ows:Identifier>
        <ScaleDenominator>1.325232033253257E7</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>43</MatrixWidth>
        <MatrixHeight>22</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Pixel:7</ows:Identifier>
        <ScaleDenominator>6626160.166266285</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>85</MatrixWidth>
        <MatrixHeight>43</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Pixel:8</ows:Identifier>
        <ScaleDenominator>3313080.0831331424</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>169</MatrixWidth>
        <MatrixHeight>85</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Pixel:9</ows:Identifier>
        <ScaleDenominator>1656540.0415665712</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>338</MatrixWidth>
        <MatrixHeight>169</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Pixel:10</ows:Identifier>
        <ScaleDenominator>552180.0138555238</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1013</MatrixWidth>
        <MatrixHeight>507</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Pixel:11</ows:Identifier>
        <ScaleDenominator>331308.00831331423</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1688</MatrixWidth>
        <MatrixHeight>844</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Pixel:12</ows:Identifier>
        <ScaleDenominator>110436.00277110476</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>5063</MatrixWidth>
        <MatrixHeight>2532</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Pixel:13</ows:Identifier>
        <ScaleDenominator>55218.00138555238</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>10125</MatrixWidth>
        <MatrixHeight>5063</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Pixel:14</ows:Identifier>
        <ScaleDenominator>33130.80083133143</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>16875</MatrixWidth>
        <MatrixHeight>8438</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Pixel:15</ows:Identifier>
        <ScaleDenominator>11043.600277110474</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>50625</MatrixWidth>
        <MatrixHeight>25313</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Pixel:16</ows:Identifier>
        <ScaleDenominator>3313.080083133142</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>168750</MatrixWidth>
        <MatrixHeight>84375</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Pixel:17</ows:Identifier>
        <ScaleDenominator>1104.3600277110472</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>506250</MatrixWidth>
        <MatrixHeight>253125</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>
    <TileMatrixSet>
      <ows:Identifier>GoogleCRS84Quad</ows:Identifier>
      <ows:SupportedCRS>urn:ogc:def:crs:EPSG::4326</ows:SupportedCRS>
      <TileMatrix>
        <ows:Identifier>GoogleCRS84Quad:0</ows:Identifier>
        <ScaleDenominator>5.590822640287178E8</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1</MatrixWidth>
        <MatrixHeight>1</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GoogleCRS84Quad:1</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>GoogleCRS84Quad:2</ows:Identifier>
        <ScaleDenominator>1.397705660071794E8</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>4</MatrixWidth>
        <MatrixHeight>2</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GoogleCRS84Quad:3</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>GoogleCRS84Quad:4</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>GoogleCRS84Quad:5</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>GoogleCRS84Quad:6</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>GoogleCRS84Quad:7</ows:Identifier>
        <ScaleDenominator>4367830.187724357</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>128</MatrixWidth>
        <MatrixHeight>64</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GoogleCRS84Quad:8</ows:Identifier>
        <ScaleDenominator>2183915.093862179</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>256</MatrixWidth>
        <MatrixHeight>128</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GoogleCRS84Quad:9</ows:Identifier>
        <ScaleDenominator>1091957.546931089</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>512</MatrixWidth>
        <MatrixHeight>256</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GoogleCRS84Quad:10</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>GoogleCRS84Quad:11</ows:Identifier>
        <ScaleDenominator>272989.3867327723</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2048</MatrixWidth>
        <MatrixHeight>1024</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GoogleCRS84Quad:12</ows:Identifier>
        <ScaleDenominator>136494.6933663862</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>4096</MatrixWidth>
        <MatrixHeight>2048</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GoogleCRS84Quad:13</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>GoogleCRS84Quad:14</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>GoogleCRS84Quad:15</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>GoogleCRS84Quad:16</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>GoogleCRS84Quad:17</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>GoogleCRS84Quad:18</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>
    </TileMatrixSet>
    <TileMatrixSet>
      <ows:Identifier>EPSG:27700</ows:Identifier>
      <ows:SupportedCRS>urn:ogc:def:crs:EPSG::27700</ows:SupportedCRS>
      <TileMatrix>
        <ows:Identifier>EPSG:27700:0</ows:Identifier>
        <ScaleDenominator>1.7970584290807724E7</ScaleDenominator>
        <TopLeftCorner>-118397.00155160879 1272149.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1</MatrixWidth>
        <MatrixHeight>1</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:27700:1</ows:Identifier>
        <ScaleDenominator>8985292.145403862</ScaleDenominator>
        <TopLeftCorner>-118397.00155160879 1272149.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2</MatrixWidth>
        <MatrixHeight>2</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:27700:2</ows:Identifier>
        <ScaleDenominator>4492646.072701931</ScaleDenominator>
        <TopLeftCorner>-118397.00155160879 1272149.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>3</MatrixWidth>
        <MatrixHeight>4</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:27700:3</ows:Identifier>
        <ScaleDenominator>2246323.0363509655</ScaleDenominator>
        <TopLeftCorner>-118397.00155160879 1272149.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>6</MatrixWidth>
        <MatrixHeight>8</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:27700:4</ows:Identifier>
        <ScaleDenominator>1123161.5181754827</ScaleDenominator>
        <TopLeftCorner>-118397.00155160879 1272149.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>11</MatrixWidth>
        <MatrixHeight>16</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:27700:5</ows:Identifier>
        <ScaleDenominator>561580.7590877414</ScaleDenominator>
        <TopLeftCorner>-118397.00155160879 1272149.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>22</MatrixWidth>
        <MatrixHeight>32</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:27700:6</ows:Identifier>
        <ScaleDenominator>280790.3795438707</ScaleDenominator>
        <TopLeftCorner>-118397.00155160879 1272149.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>44</MatrixWidth>
        <MatrixHeight>64</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:27700:7</ows:Identifier>
        <ScaleDenominator>140395.18977193534</ScaleDenominator>
        <TopLeftCorner>-118397.00155160879 1272149.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>87</MatrixWidth>
        <MatrixHeight>128</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:27700:8</ows:Identifier>
        <ScaleDenominator>70197.59488596767</ScaleDenominator>
        <TopLeftCorner>-118397.00155160879 1272149.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>173</MatrixWidth>
        <MatrixHeight>256</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:27700:9</ows:Identifier>
        <ScaleDenominator>35098.797442983836</ScaleDenominator>
        <TopLeftCorner>-118397.00155160879 1272149.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>346</MatrixWidth>
        <MatrixHeight>512</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:27700:10</ows:Identifier>
        <ScaleDenominator>17549.398721491918</ScaleDenominator>
        <TopLeftCorner>-118397.00155160879 1272149.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>692</MatrixWidth>
        <MatrixHeight>1024</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:27700:11</ows:Identifier>
        <ScaleDenominator>8774.699360745959</ScaleDenominator>
        <TopLeftCorner>-118397.00155160879 1272149.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1383</MatrixWidth>
        <MatrixHeight>2048</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:27700:12</ows:Identifier>
        <ScaleDenominator>4387.3496803729795</ScaleDenominator>
        <TopLeftCorner>-118397.00155160879 1272149.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2766</MatrixWidth>
        <MatrixHeight>4096</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:27700:13</ows:Identifier>
        <ScaleDenominator>2193.6748401864897</ScaleDenominator>
        <TopLeftCorner>-118397.00155160879 1272149.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>5532</MatrixWidth>
        <MatrixHeight>8192</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:27700:14</ows:Identifier>
        <ScaleDenominator>1096.837420093245</ScaleDenominator>
        <TopLeftCorner>-118397.00155160879 1272149.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>11064</MatrixWidth>
        <MatrixHeight>16384</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:27700:15</ows:Identifier>
        <ScaleDenominator>548.4187100466226</ScaleDenominator>
        <TopLeftCorner>-118397.00155160879 1272149.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>22128</MatrixWidth>
        <MatrixHeight>32768</MatrixHeight>
      </TileMatrix>
    </TileMatrixSet>
    <TileMatrixSet>
      <ows:Identifier>ESPG:3857</ows:Identifier>
      <ows:SupportedCRS>urn:ogc:def:crs:EPSG::3857</ows:SupportedCRS>
      <TileMatrix>
        <ows:Identifier>ESPG:3857:0</ows:Identifier>
        <ScaleDenominator>5.590822639508929E8</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1</MatrixWidth>
        <MatrixHeight>1</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>ESPG:3857:1</ows:Identifier>
        <ScaleDenominator>2.7954113197544646E8</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2</MatrixWidth>
        <MatrixHeight>2</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>ESPG:3857:2</ows:Identifier>
        <ScaleDenominator>1.3977056598772323E8</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>4</MatrixWidth>
        <MatrixHeight>4</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>ESPG:3857:3</ows:Identifier>
        <ScaleDenominator>6.988528299386162E7</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>8</MatrixWidth>
        <MatrixHeight>8</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>ESPG:3857:4</ows:Identifier>
        <ScaleDenominator>3.494264149693081E7</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>16</MatrixWidth>
        <MatrixHeight>16</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>ESPG:3857:5</ows:Identifier>
        <ScaleDenominator>1.7471320748465404E7</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>32</MatrixWidth>
        <MatrixHeight>32</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>ESPG:3857:6</ows:Identifier>
        <ScaleDenominator>8735660.374232702</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>64</MatrixWidth>
        <MatrixHeight>64</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>ESPG:3857:7</ows:Identifier>
        <ScaleDenominator>4367830.187116351</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>128</MatrixWidth>
        <MatrixHeight>128</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>ESPG:3857:8</ows:Identifier>
        <ScaleDenominator>2183915.0935581755</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>256</MatrixWidth>
        <MatrixHeight>256</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>ESPG:3857:9</ows:Identifier>
        <ScaleDenominator>1091957.5467790877</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>512</MatrixWidth>
        <MatrixHeight>512</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>ESPG:3857:10</ows:Identifier>
        <ScaleDenominator>545978.7733895439</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1024</MatrixWidth>
        <MatrixHeight>1024</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>ESPG:3857:11</ows:Identifier>
        <ScaleDenominator>272989.38669477194</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2048</MatrixWidth>
        <MatrixHeight>2048</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>ESPG:3857:12</ows:Identifier>
        <ScaleDenominator>136494.69334738597</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>4096</MatrixWidth>
        <MatrixHeight>4096</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>ESPG:3857:13</ows:Identifier>
        <ScaleDenominator>68247.34667369298</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>8192</MatrixWidth>
        <MatrixHeight>8192</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>ESPG:3857:14</ows:Identifier>
        <ScaleDenominator>34123.67333684649</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>16384</MatrixWidth>
        <MatrixHeight>16384</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>ESPG:3857:15</ows:Identifier>
        <ScaleDenominator>17061.836668423246</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>32768</MatrixWidth>
        <MatrixHeight>32768</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>ESPG:3857:16</ows:Identifier>
        <ScaleDenominator>8530.918334211623</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>65536</MatrixWidth>
        <MatrixHeight>65536</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>ESPG:3857:17</ows:Identifier>
        <ScaleDenominator>4265.4591671058115</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>131072</MatrixWidth>
        <MatrixHeight>131072</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>ESPG:3857:18</ows:Identifier>
        <ScaleDenominator>2132.7295835529058</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>262144</MatrixWidth>
        <MatrixHeight>262144</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>ESPG:3857:19</ows:Identifier>
        <ScaleDenominator>1066.364791776453</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>524288</MatrixWidth>
        <MatrixHeight>524288</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>ESPG:3857:20</ows:Identifier>
        <ScaleDenominator>533.1823958882266</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1048576</MatrixWidth>
        <MatrixHeight>1048576</MatrixHeight>
      </TileMatrix>
    </TileMatrixSet>
    <TileMatrixSet>
      <ows:Identifier>Ordnance_Survey_National_Grid</ows:Identifier>
      <ows:SupportedCRS>urn:ogc:def:crs:EPSG::27700</ows:SupportedCRS>
      <TileMatrix>
        <ows:Identifier>UK_OSGB:0</ows:Identifier>
        <ScaleDenominator>1.0E7</ScaleDenominator>
        <TopLeftCorner>0.0 1433600.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1</MatrixWidth>
        <MatrixHeight>2</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>UK_OSGB:1</ows:Identifier>
        <ScaleDenominator>5000000.0</ScaleDenominator>
        <TopLeftCorner>0.0 1433600.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2</MatrixWidth>
        <MatrixHeight>4</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>UK_OSGB:2</ows:Identifier>
        <ScaleDenominator>2500000.0</ScaleDenominator>
        <TopLeftCorner>0.0 1433600.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>4</MatrixWidth>
        <MatrixHeight>8</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>UK_OSGB:3</ows:Identifier>
        <ScaleDenominator>1250000.0</ScaleDenominator>
        <TopLeftCorner>0.0 1344000.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>8</MatrixWidth>
        <MatrixHeight>15</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>UK_OSGB:4</ows:Identifier>
        <ScaleDenominator>625000.0</ScaleDenominator>
        <TopLeftCorner>0.0 1344000.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>16</MatrixWidth>
        <MatrixHeight>30</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>UK_OSGB:5</ows:Identifier>
        <ScaleDenominator>300000.0</ScaleDenominator>
        <TopLeftCorner>0.0 1311744.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>33</MatrixWidth>
        <MatrixHeight>61</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>UK_OSGB:6</ows:Identifier>
        <ScaleDenominator>150000.0</ScaleDenominator>
        <TopLeftCorner>0.0 1300992.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>66</MatrixWidth>
        <MatrixHeight>121</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>UK_OSGB:7</ows:Identifier>
        <ScaleDenominator>75000.0</ScaleDenominator>
        <TopLeftCorner>0.0 1300992.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>131</MatrixWidth>
        <MatrixHeight>242</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>UK_OSGB:8</ows:Identifier>
        <ScaleDenominator>40000.0</ScaleDenominator>
        <TopLeftCorner>0.0 1301709.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>245</MatrixWidth>
        <MatrixHeight>454</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>UK_OSGB:9</ows:Identifier>
        <ScaleDenominator>20000.0</ScaleDenominator>
        <TopLeftCorner>0.0 1300275.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>489</MatrixWidth>
        <MatrixHeight>907</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>UK_OSGB:10</ows:Identifier>
        <ScaleDenominator>10000.0</ScaleDenominator>
        <TopLeftCorner>0.0 1300275.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>977</MatrixWidth>
        <MatrixHeight>1814</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>UK_OSGB:11</ows:Identifier>
        <ScaleDenominator>5000.0</ScaleDenominator>
        <TopLeftCorner>0.0 1300275.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1954</MatrixWidth>
        <MatrixHeight>3628</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>UK_OSGB:12</ows:Identifier>
        <ScaleDenominator>2500.0</ScaleDenominator>
        <TopLeftCorner>0.0 1300096.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>3907</MatrixWidth>
        <MatrixHeight>7255</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>UK_OSGB:13</ows:Identifier>
        <ScaleDenominator>1250.0</ScaleDenominator>
        <TopLeftCorner>0.0 1300006.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>7813</MatrixWidth>
        <MatrixHeight>14509</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>UK_OSGB:14</ows:Identifier>
        <ScaleDenominator>500.0000000000001</ScaleDenominator>
        <TopLeftCorner>0.0 1300024.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>19532</MatrixWidth>
        <MatrixHeight>36273</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>UK_OSGB:15</ows:Identifier>
        <ScaleDenominator>250.00000000000006</ScaleDenominator>
        <TopLeftCorner>0.0 1300006.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>39063</MatrixWidth>
        <MatrixHeight>72545</MatrixHeight>
      </TileMatrix>
    </TileMatrixSet>
    <TileMatrixSet>
      <ows:Identifier>EPSG:900913x2</ows:Identifier>
      <ows:SupportedCRS>urn:ogc:def:crs:EPSG::900913</ows:SupportedCRS>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:0</ows:Identifier>
        <ScaleDenominator>2.7954113197544646E8</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>1</MatrixWidth>
        <MatrixHeight>1</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:1</ows:Identifier>
        <ScaleDenominator>1.3977056598772323E8</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>2</MatrixWidth>
        <MatrixHeight>2</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:2</ows:Identifier>
        <ScaleDenominator>6.988528299386162E7</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>4</MatrixWidth>
        <MatrixHeight>4</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:3</ows:Identifier>
        <ScaleDenominator>3.494264149693081E7</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>8</MatrixWidth>
        <MatrixHeight>8</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:4</ows:Identifier>
        <ScaleDenominator>1.7471320748465404E7</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>16</MatrixWidth>
        <MatrixHeight>16</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:5</ows:Identifier>
        <ScaleDenominator>8735660.374232702</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>32</MatrixWidth>
        <MatrixHeight>32</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:6</ows:Identifier>
        <ScaleDenominator>4367830.187116351</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>64</MatrixWidth>
        <MatrixHeight>64</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:7</ows:Identifier>
        <ScaleDenominator>2183915.0935581755</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>128</MatrixWidth>
        <MatrixHeight>128</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:8</ows:Identifier>
        <ScaleDenominator>1091957.5467790877</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>256</MatrixWidth>
        <MatrixHeight>256</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:9</ows:Identifier>
        <ScaleDenominator>545978.7733895439</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>512</MatrixWidth>
        <MatrixHeight>512</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:10</ows:Identifier>
        <ScaleDenominator>272989.38669477194</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>1024</MatrixWidth>
        <MatrixHeight>1024</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:11</ows:Identifier>
        <ScaleDenominator>136494.69334738597</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>2048</MatrixWidth>
        <MatrixHeight>2048</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:12</ows:Identifier>
        <ScaleDenominator>68247.34667369298</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>4096</MatrixWidth>
        <MatrixHeight>4096</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:13</ows:Identifier>
        <ScaleDenominator>34123.67333684649</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>8192</MatrixWidth>
        <MatrixHeight>8192</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:14</ows:Identifier>
        <ScaleDenominator>17061.836668423246</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>16384</MatrixWidth>
        <MatrixHeight>16384</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:15</ows:Identifier>
        <ScaleDenominator>8530.918334211623</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>32768</MatrixWidth>
        <MatrixHeight>32768</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:16</ows:Identifier>
        <ScaleDenominator>4265.4591671058115</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>65536</MatrixWidth>
        <MatrixHeight>65536</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:17</ows:Identifier>
        <ScaleDenominator>2132.7295835529058</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>131072</MatrixWidth>
        <MatrixHeight>131072</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:18</ows:Identifier>
        <ScaleDenominator>1066.3647917764529</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>262144</MatrixWidth>
        <MatrixHeight>262144</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:19</ows:Identifier>
        <ScaleDenominator>533.1823958882264</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>524288</MatrixWidth>
        <MatrixHeight>524288</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:20</ows:Identifier>
        <ScaleDenominator>266.5911979441132</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>1048576</MatrixWidth>
        <MatrixHeight>1048576</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:21</ows:Identifier>
        <ScaleDenominator>133.2955989720566</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>2097152</MatrixWidth>
        <MatrixHeight>2097152</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:22</ows:Identifier>
        <ScaleDenominator>66.6477994860283</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>4194304</MatrixWidth>
        <MatrixHeight>4194304</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:23</ows:Identifier>
        <ScaleDenominator>33.32389974301415</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>8388608</MatrixWidth>
        <MatrixHeight>8388608</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:24</ows:Identifier>
        <ScaleDenominator>16.661949871507076</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>16777216</MatrixWidth>
        <MatrixHeight>16777216</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:25</ows:Identifier>
        <ScaleDenominator>8.330974935753538</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>33554432</MatrixWidth>
        <MatrixHeight>33554432</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:26</ows:Identifier>
        <ScaleDenominator>4.165487467876769</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>67108864</MatrixWidth>
        <MatrixHeight>67108864</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:27</ows:Identifier>
        <ScaleDenominator>2.0827437339383845</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>134217728</MatrixWidth>
        <MatrixHeight>134217728</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:28</ows:Identifier>
        <ScaleDenominator>1.0413718669691923</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>268435456</MatrixWidth>
        <MatrixHeight>268435456</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:29</ows:Identifier>
        <ScaleDenominator>0.5206859334845961</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>536870912</MatrixWidth>
        <MatrixHeight>536870912</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913x2:30</ows:Identifier>
        <ScaleDenominator>0.26034296674229807</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>1073741824</MatrixWidth>
        <MatrixHeight>1073741824</MatrixHeight>
      </TileMatrix>
    </TileMatrixSet>
    <TileMatrixSet>
      <ows:Identifier>EPSG:900913</ows:Identifier>
      <ows:SupportedCRS>urn:ogc:def:crs:EPSG::900913</ows:SupportedCRS>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:0</ows:Identifier>
        <ScaleDenominator>5.590822639508929E8</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1</MatrixWidth>
        <MatrixHeight>1</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:1</ows:Identifier>
        <ScaleDenominator>2.7954113197544646E8</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2</MatrixWidth>
        <MatrixHeight>2</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:2</ows:Identifier>
        <ScaleDenominator>1.3977056598772323E8</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>4</MatrixWidth>
        <MatrixHeight>4</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:3</ows:Identifier>
        <ScaleDenominator>6.988528299386162E7</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>8</MatrixWidth>
        <MatrixHeight>8</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:4</ows:Identifier>
        <ScaleDenominator>3.494264149693081E7</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>16</MatrixWidth>
        <MatrixHeight>16</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:5</ows:Identifier>
        <ScaleDenominator>1.7471320748465404E7</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>32</MatrixWidth>
        <MatrixHeight>32</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:6</ows:Identifier>
        <ScaleDenominator>8735660.374232702</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>64</MatrixWidth>
        <MatrixHeight>64</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:7</ows:Identifier>
        <ScaleDenominator>4367830.187116351</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>128</MatrixWidth>
        <MatrixHeight>128</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:8</ows:Identifier>
        <ScaleDenominator>2183915.0935581755</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>256</MatrixWidth>
        <MatrixHeight>256</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:9</ows:Identifier>
        <ScaleDenominator>1091957.5467790877</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>512</MatrixWidth>
        <MatrixHeight>512</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:10</ows:Identifier>
        <ScaleDenominator>545978.7733895439</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1024</MatrixWidth>
        <MatrixHeight>1024</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:11</ows:Identifier>
        <ScaleDenominator>272989.38669477194</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2048</MatrixWidth>
        <MatrixHeight>2048</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:12</ows:Identifier>
        <ScaleDenominator>136494.69334738597</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>4096</MatrixWidth>
        <MatrixHeight>4096</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:13</ows:Identifier>
        <ScaleDenominator>68247.34667369298</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>8192</MatrixWidth>
        <MatrixHeight>8192</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:14</ows:Identifier>
        <ScaleDenominator>34123.67333684649</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>16384</MatrixWidth>
        <MatrixHeight>16384</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:15</ows:Identifier>
        <ScaleDenominator>17061.836668423246</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>32768</MatrixWidth>
        <MatrixHeight>32768</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:16</ows:Identifier>
        <ScaleDenominator>8530.918334211623</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>65536</MatrixWidth>
        <MatrixHeight>65536</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:17</ows:Identifier>
        <ScaleDenominator>4265.4591671058115</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>131072</MatrixWidth>
        <MatrixHeight>131072</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:18</ows:Identifier>
        <ScaleDenominator>2132.7295835529058</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>262144</MatrixWidth>
        <MatrixHeight>262144</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:19</ows:Identifier>
        <ScaleDenominator>1066.3647917764529</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>524288</MatrixWidth>
        <MatrixHeight>524288</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:20</ows:Identifier>
        <ScaleDenominator>533.1823958882264</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1048576</MatrixWidth>
        <MatrixHeight>1048576</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:21</ows:Identifier>
        <ScaleDenominator>266.5911979441132</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2097152</MatrixWidth>
        <MatrixHeight>2097152</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:22</ows:Identifier>
        <ScaleDenominator>133.2955989720566</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>4194304</MatrixWidth>
        <MatrixHeight>4194304</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:23</ows:Identifier>
        <ScaleDenominator>66.6477994860283</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>8388608</MatrixWidth>
        <MatrixHeight>8388608</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:24</ows:Identifier>
        <ScaleDenominator>33.32389974301415</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>16777216</MatrixWidth>
        <MatrixHeight>16777216</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:25</ows:Identifier>
        <ScaleDenominator>16.661949871507076</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>33554432</MatrixWidth>
        <MatrixHeight>33554432</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:26</ows:Identifier>
        <ScaleDenominator>8.330974935753538</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>67108864</MatrixWidth>
        <MatrixHeight>67108864</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:27</ows:Identifier>
        <ScaleDenominator>4.165487467876769</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>134217728</MatrixWidth>
        <MatrixHeight>134217728</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:28</ows:Identifier>
        <ScaleDenominator>2.0827437339383845</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>268435456</MatrixWidth>
        <MatrixHeight>268435456</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:29</ows:Identifier>
        <ScaleDenominator>1.0413718669691923</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>536870912</MatrixWidth>
        <MatrixHeight>536870912</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:900913:30</ows:Identifier>
        <ScaleDenominator>0.5206859334845961</ScaleDenominator>
        <TopLeftCorner>-2.003750834E7 2.0037508E7</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1073741824</MatrixWidth>
        <MatrixHeight>1073741824</MatrixHeight>
      </TileMatrix>
    </TileMatrixSet>
    <TileMatrixSet>
      <ows:Identifier>EPSG:4326x2</ows:Identifier>
      <ows:SupportedCRS>urn:ogc:def:crs:EPSG::4326</ows:SupportedCRS>
      <TileMatrix>
        <ows:Identifier>EPSG:4326x2:0</ows:Identifier>
        <ScaleDenominator>1.3977056600717944E8</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>2</MatrixWidth>
        <MatrixHeight>1</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326x2:1</ows:Identifier>
        <ScaleDenominator>6.988528300358972E7</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>4</MatrixWidth>
        <MatrixHeight>2</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326x2:2</ows:Identifier>
        <ScaleDenominator>3.494264150179486E7</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>8</MatrixWidth>
        <MatrixHeight>4</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326x2:3</ows:Identifier>
        <ScaleDenominator>1.747132075089743E7</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>16</MatrixWidth>
        <MatrixHeight>8</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326x2:4</ows:Identifier>
        <ScaleDenominator>8735660.375448715</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>32</MatrixWidth>
        <MatrixHeight>16</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326x2:5</ows:Identifier>
        <ScaleDenominator>4367830.1877243575</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>64</MatrixWidth>
        <MatrixHeight>32</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326x2:6</ows:Identifier>
        <ScaleDenominator>2183915.0938621787</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>128</MatrixWidth>
        <MatrixHeight>64</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326x2:7</ows:Identifier>
        <ScaleDenominator>1091957.5469310894</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>256</MatrixWidth>
        <MatrixHeight>128</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326x2:8</ows:Identifier>
        <ScaleDenominator>545978.7734655447</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>512</MatrixWidth>
        <MatrixHeight>256</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326x2:9</ows:Identifier>
        <ScaleDenominator>272989.38673277234</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>1024</MatrixWidth>
        <MatrixHeight>512</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326x2:10</ows:Identifier>
        <ScaleDenominator>136494.69336638617</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>2048</MatrixWidth>
        <MatrixHeight>1024</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326x2:11</ows:Identifier>
        <ScaleDenominator>68247.34668319309</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>4096</MatrixWidth>
        <MatrixHeight>2048</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326x2:12</ows:Identifier>
        <ScaleDenominator>34123.67334159654</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>8192</MatrixWidth>
        <MatrixHeight>4096</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326x2:13</ows:Identifier>
        <ScaleDenominator>17061.83667079827</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>16384</MatrixWidth>
        <MatrixHeight>8192</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326x2:14</ows:Identifier>
        <ScaleDenominator>8530.918335399136</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>32768</MatrixWidth>
        <MatrixHeight>16384</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326x2:15</ows:Identifier>
        <ScaleDenominator>4265.459167699568</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>65536</MatrixWidth>
        <MatrixHeight>32768</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326x2:16</ows:Identifier>
        <ScaleDenominator>2132.729583849784</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>131072</MatrixWidth>
        <MatrixHeight>65536</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326x2:17</ows:Identifier>
        <ScaleDenominator>1066.364791924892</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>262144</MatrixWidth>
        <MatrixHeight>131072</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326x2:18</ows:Identifier>
        <ScaleDenominator>533.182395962446</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>524288</MatrixWidth>
        <MatrixHeight>262144</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326x2:19</ows:Identifier>
        <ScaleDenominator>266.591197981223</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>1048576</MatrixWidth>
        <MatrixHeight>524288</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326x2:20</ows:Identifier>
        <ScaleDenominator>133.2955989906115</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>2097152</MatrixWidth>
        <MatrixHeight>1048576</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>EPSG:4326x2:21</ows:Identifier>
        <ScaleDenominator>66.64779949530575</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>512</TileWidth>
        <TileHeight>512</TileHeight>
        <MatrixWidth>4194304</MatrixWidth>
        <MatrixHeight>2097152</MatrixHeight>
      </TileMatrix>
    </TileMatrixSet>
    <TileMatrixSet>
      <ows:Identifier>InspireCRS84Quad</ows:Identifier>
      <ows:SupportedCRS>urn:ogc:def:crs:EPSG::4326</ows:SupportedCRS>
      <TileMatrix>
        <ows:Identifier>InspireCRS84Quad:0</ows:Identifier>
        <ScaleDenominator>2.795411320143589E8</ScaleDenominator>
        <TopLeftCorner>-180.0 90.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2</MatrixWidth>
        <MatrixHeight>1</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>InspireCRS84Quad:1</ows:Identifier>
        <ScaleDenominator>1.3977056600717944E8</ScaleDenominator>
        <TopLeftCorner>-180.0 90.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>4</MatrixWidth>
        <MatrixHeight>2</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>InspireCRS84Quad:2</ows:Identifier>
        <ScaleDenominator>6.988528300358972E7</ScaleDenominator>
        <TopLeftCorner>-180.0 90.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>8</MatrixWidth>
        <MatrixHeight>4</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>InspireCRS84Quad:3</ows:Identifier>
        <ScaleDenominator>3.494264150179486E7</ScaleDenominator>
        <TopLeftCorner>-180.0 90.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>16</MatrixWidth>
        <MatrixHeight>8</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>InspireCRS84Quad:4</ows:Identifier>
        <ScaleDenominator>1.747132075089743E7</ScaleDenominator>
        <TopLeftCorner>-180.0 90.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>32</MatrixWidth>
        <MatrixHeight>16</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>InspireCRS84Quad:5</ows:Identifier>
        <ScaleDenominator>8735660.375448715</ScaleDenominator>
        <TopLeftCorner>-180.0 90.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>64</MatrixWidth>
        <MatrixHeight>32</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>InspireCRS84Quad:6</ows:Identifier>
        <ScaleDenominator>4367830.1877243575</ScaleDenominator>
        <TopLeftCorner>-180.0 90.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>128</MatrixWidth>
        <MatrixHeight>64</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>InspireCRS84Quad:7</ows:Identifier>
        <ScaleDenominator>2183915.0938621787</ScaleDenominator>
        <TopLeftCorner>-180.0 90.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>256</MatrixWidth>
        <MatrixHeight>128</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>InspireCRS84Quad:8</ows:Identifier>
        <ScaleDenominator>1091957.5469310894</ScaleDenominator>
        <TopLeftCorner>-180.0 90.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>512</MatrixWidth>
        <MatrixHeight>256</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>InspireCRS84Quad:9</ows:Identifier>
        <ScaleDenominator>545978.7734655447</ScaleDenominator>
        <TopLeftCorner>-180.0 90.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1024</MatrixWidth>
        <MatrixHeight>512</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>InspireCRS84Quad:10</ows:Identifier>
        <ScaleDenominator>272989.38673277234</ScaleDenominator>
        <TopLeftCorner>-180.0 90.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2048</MatrixWidth>
        <MatrixHeight>1024</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>InspireCRS84Quad:11</ows:Identifier>
        <ScaleDenominator>136494.69336636632</ScaleDenominator>
        <TopLeftCorner>-180.0 90.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>4096</MatrixWidth>
        <MatrixHeight>2048</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>InspireCRS84Quad:12</ows:Identifier>
        <ScaleDenominator>68247.34668318316</ScaleDenominator>
        <TopLeftCorner>-180.0 90.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>8192</MatrixWidth>
        <MatrixHeight>4096</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>InspireCRS84Quad:13</ows:Identifier>
        <ScaleDenominator>34123.67334161145</ScaleDenominator>
        <TopLeftCorner>-180.0 90.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>16384</MatrixWidth>
        <MatrixHeight>8192</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>InspireCRS84Quad:14</ows:Identifier>
        <ScaleDenominator>17061.836670805726</ScaleDenominator>
        <TopLeftCorner>-180.0 90.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>32768</MatrixWidth>
        <MatrixHeight>16384</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>InspireCRS84Quad:15</ows:Identifier>
        <ScaleDenominator>8530.918335382985</ScaleDenominator>
        <TopLeftCorner>-180.0 90.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>65536</MatrixWidth>
        <MatrixHeight>32768</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>InspireCRS84Quad:16</ows:Identifier>
        <ScaleDenominator>4265.45916771137</ScaleDenominator>
        <TopLeftCorner>-180.0 90.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>131072</MatrixWidth>
        <MatrixHeight>65536</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>InspireCRS84Quad:17</ows:Identifier>
        <ScaleDenominator>2132.729583855685</ScaleDenominator>
        <TopLeftCorner>-180.0 90.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>262144</MatrixWidth>
        <MatrixHeight>131072</MatrixHeight>
      </TileMatrix>
    </TileMatrixSet>
    <TileMatrixSet>
      <ows:Identifier>GlobalCRS84Scale</ows:Identifier>
      <ows:SupportedCRS>urn:ogc:def:crs:EPSG::4326</ows:SupportedCRS>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Scale:0</ows:Identifier>
        <ScaleDenominator>5.0E8</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2</MatrixWidth>
        <MatrixHeight>1</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Scale:1</ows:Identifier>
        <ScaleDenominator>2.5E8</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>3</MatrixWidth>
        <MatrixHeight>2</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Scale:2</ows:Identifier>
        <ScaleDenominator>1.0E8</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>6</MatrixWidth>
        <MatrixHeight>3</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Scale:3</ows:Identifier>
        <ScaleDenominator>5.0E7</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>12</MatrixWidth>
        <MatrixHeight>6</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Scale:4</ows:Identifier>
        <ScaleDenominator>2.5E7</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>23</MatrixWidth>
        <MatrixHeight>12</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Scale:5</ows:Identifier>
        <ScaleDenominator>1.0E7</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>56</MatrixWidth>
        <MatrixHeight>28</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Scale:6</ows:Identifier>
        <ScaleDenominator>5000000.0</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>112</MatrixWidth>
        <MatrixHeight>56</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Scale:7</ows:Identifier>
        <ScaleDenominator>2500000.0</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>224</MatrixWidth>
        <MatrixHeight>112</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Scale:8</ows:Identifier>
        <ScaleDenominator>1000000.0</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>560</MatrixWidth>
        <MatrixHeight>280</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Scale:9</ows:Identifier>
        <ScaleDenominator>500000.0</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1119</MatrixWidth>
        <MatrixHeight>560</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Scale:10</ows:Identifier>
        <ScaleDenominator>250000.0</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2237</MatrixWidth>
        <MatrixHeight>1119</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Scale:11</ows:Identifier>
        <ScaleDenominator>100000.0</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>5591</MatrixWidth>
        <MatrixHeight>2796</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Scale:12</ows:Identifier>
        <ScaleDenominator>50000.0</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>11182</MatrixWidth>
        <MatrixHeight>5591</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Scale:13</ows:Identifier>
        <ScaleDenominator>25000.0</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>22364</MatrixWidth>
        <MatrixHeight>11182</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Scale:14</ows:Identifier>
        <ScaleDenominator>10000.0</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>55909</MatrixWidth>
        <MatrixHeight>27955</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Scale:15</ows:Identifier>
        <ScaleDenominator>5000.0</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>111817</MatrixWidth>
        <MatrixHeight>55909</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Scale:16</ows:Identifier>
        <ScaleDenominator>2500.0</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>223633</MatrixWidth>
        <MatrixHeight>111817</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Scale:17</ows:Identifier>
        <ScaleDenominator>1000.0</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>559083</MatrixWidth>
        <MatrixHeight>279542</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Scale:18</ows:Identifier>
        <ScaleDenominator>500.0</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>1118165</MatrixWidth>
        <MatrixHeight>559083</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Scale:19</ows:Identifier>
        <ScaleDenominator>250.0</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>2236330</MatrixWidth>
        <MatrixHeight>1118165</MatrixHeight>
      </TileMatrix>
      <TileMatrix>
        <ows:Identifier>GlobalCRS84Scale:20</ows:Identifier>
        <ScaleDenominator>100.0</ScaleDenominator>
        <TopLeftCorner>90.0 -180.0</TopLeftCorner>
        <TileWidth>256</TileWidth>
        <TileHeight>256</TileHeight>
        <MatrixWidth>5590823</MatrixWidth>
        <MatrixHeight>2795412</MatrixHeight>
      </TileMatrix>
    </TileMatrixSet>
  </Contents>
  <ServiceMetadataURL xlink:href="https://geo.spatialhub.scot/geoserver/gwc/service/wmts?SERVICE=wmts&amp;REQUEST=getcapabilities&amp;VERSION=1.0.0"/>
  <ServiceMetadataURL xlink:href="https://geo.spatialhub.scot/geoserver/gwc/service/wmts/rest/WMTSCapabilities.xml"/>
</Capabilities>