<?xml version="1.0" encoding="UTF-8"?>

<Capabilities xmlns="http://www.opengis.net/wmts/1.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml" xsi:schemaLocation="http://www.opengis.net/wmts/1.0 http://schemas.opengis.net/wmts/1.0/wmtsGetCapabilities_response.xsd" version="1.0.0">
  <ows:ServiceIdentification>
    <ows:Title>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>Janeks Kamerovskis</ows:IndividualName>
      <ows:ContactInfo>
        <ows:Address>
          <ows:ElectronicMailAddress>atbalsts@redmine.rgp.lv</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://geoserver.rgp.lv/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://geoserver.rgp.lv/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://geoserver.rgp.lv/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>tbl_counties</ows:Title>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>20.789186243729542 55.61810287486855</ows:LowerCorner>
        <ows:UpperCorner>28.484578892859886 58.10155328909016</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>AtvertieDati:tbl_counties</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geoserver.rgp.lv/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=AtvertieDati%3Atbl_counties" width="20" height="20"/>
      </Style>
      <Format>image/png</Format>
      <Format>image/jpeg</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:4326</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>37</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>74</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>142</MinTileCol>
            <MaxTileCol>148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>45</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>285</MinTileCol>
            <MaxTileCol>296</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>90</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>571</MinTileCol>
            <MaxTileCol>593</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>181</MinTileRow>
            <MaxTileRow>195</MaxTileRow>
            <MinTileCol>1142</MinTileCol>
            <MaxTileCol>1186</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>362</MinTileRow>
            <MaxTileRow>391</MaxTileRow>
            <MinTileCol>2284</MinTileCol>
            <MaxTileCol>2372</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>725</MinTileRow>
            <MaxTileRow>782</MaxTileRow>
            <MinTileCol>4569</MinTileCol>
            <MaxTileCol>4744</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>1451</MinTileRow>
            <MaxTileRow>1564</MaxTileRow>
            <MinTileCol>9138</MinTileCol>
            <MaxTileCol>9488</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>2903</MinTileRow>
            <MaxTileRow>3129</MaxTileRow>
            <MinTileCol>18276</MinTileCol>
            <MaxTileCol>18976</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>5806</MinTileRow>
            <MaxTileRow>6259</MaxTileRow>
            <MinTileCol>36552</MinTileCol>
            <MaxTileCol>37953</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>11613</MinTileRow>
            <MaxTileRow>12518</MaxTileRow>
            <MinTileCol>73105</MinTileCol>
            <MaxTileCol>75906</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>23227</MinTileRow>
            <MaxTileRow>25036</MaxTileRow>
            <MinTileCol>146210</MinTileCol>
            <MaxTileCol>151813</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>46455</MinTileRow>
            <MaxTileRow>50072</MaxTileRow>
            <MinTileCol>292420</MinTileCol>
            <MaxTileCol>303627</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>92910</MinTileRow>
            <MaxTileRow>100144</MaxTileRow>
            <MinTileCol>584840</MinTileCol>
            <MaxTileCol>607255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>185821</MinTileRow>
            <MaxTileRow>200289</MaxTileRow>
            <MinTileCol>1169681</MinTileCol>
            <MaxTileCol>1214510</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>371643</MinTileRow>
            <MaxTileRow>400578</MaxTileRow>
            <MinTileCol>2339363</MinTileCol>
            <MaxTileCol>2429021</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>EPSG:900913</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>37</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>74</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>142</MinTileCol>
            <MaxTileCol>148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>153</MinTileRow>
            <MaxTileRow>160</MaxTileRow>
            <MinTileCol>285</MinTileCol>
            <MaxTileCol>296</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>307</MinTileRow>
            <MaxTileRow>320</MaxTileRow>
            <MinTileCol>571</MinTileCol>
            <MaxTileCol>593</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>615</MinTileRow>
            <MaxTileRow>641</MaxTileRow>
            <MinTileCol>1142</MinTileCol>
            <MaxTileCol>1186</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>1231</MinTileRow>
            <MaxTileRow>1283</MaxTileRow>
            <MinTileCol>2284</MinTileCol>
            <MaxTileCol>2372</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>2462</MinTileRow>
            <MaxTileRow>2566</MaxTileRow>
            <MinTileCol>4569</MinTileCol>
            <MaxTileCol>4744</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>4925</MinTileRow>
            <MaxTileRow>5132</MaxTileRow>
            <MinTileCol>9138</MinTileCol>
            <MaxTileCol>9488</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>9851</MinTileRow>
            <MaxTileRow>10265</MaxTileRow>
            <MinTileCol>18276</MinTileCol>
            <MaxTileCol>18976</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>19703</MinTileRow>
            <MaxTileRow>20531</MaxTileRow>
            <MinTileCol>36552</MinTileCol>
            <MaxTileCol>37953</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>39407</MinTileRow>
            <MaxTileRow>41062</MaxTileRow>
            <MinTileCol>73105</MinTileCol>
            <MaxTileCol>75906</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>78815</MinTileRow>
            <MaxTileRow>82124</MaxTileRow>
            <MinTileCol>146210</MinTileCol>
            <MaxTileCol>151813</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>157630</MinTileRow>
            <MaxTileRow>164249</MaxTileRow>
            <MinTileCol>292420</MinTileCol>
            <MaxTileCol>303627</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>315261</MinTileRow>
            <MaxTileRow>328499</MaxTileRow>
            <MinTileCol>584840</MinTileCol>
            <MaxTileCol>607255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>630523</MinTileRow>
            <MaxTileRow>656998</MaxTileRow>
            <MinTileCol>1169681</MinTileCol>
            <MaxTileCol>1214510</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>1261046</MinTileRow>
            <MaxTileRow>1313996</MaxTileRow>
            <MinTileCol>2339363</MinTileCol>
            <MaxTileCol>2429021</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>2522092</MinTileRow>
            <MaxTileRow>2627992</MaxTileRow>
            <MinTileCol>4678727</MinTileCol>
            <MaxTileCol>4858042</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>5044184</MinTileRow>
            <MaxTileRow>5255984</MaxTileRow>
            <MinTileCol>9357454</MinTileCol>
            <MaxTileCol>9716085</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>10088369</MinTileRow>
            <MaxTileRow>10511969</MaxTileRow>
            <MinTileCol>18714908</MinTileCol>
            <MaxTileCol>19432171</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>20176738</MinTileRow>
            <MaxTileRow>21023938</MaxTileRow>
            <MinTileCol>37429817</MinTileCol>
            <MaxTileCol>38864342</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>40353476</MinTileRow>
            <MaxTileRow>42047876</MaxTileRow>
            <MinTileCol>74859634</MinTileCol>
            <MaxTileCol>77728684</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>80706952</MinTileRow>
            <MaxTileRow>84095752</MaxTileRow>
            <MinTileCol>149719268</MinTileCol>
            <MaxTileCol>155457369</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>161413904</MinTileRow>
            <MaxTileRow>168191505</MaxTileRow>
            <MinTileCol>299438537</MinTileCol>
            <MaxTileCol>310914738</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>322827808</MinTileRow>
            <MaxTileRow>336383010</MaxTileRow>
            <MinTileCol>598877075</MinTileCol>
            <MaxTileCol>621829477</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_counties/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_counties/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_counties/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_counties/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_counties/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_counties/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_counties/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_counties/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_counties/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_counties/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_counties/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>tbl_cities</ows:Title>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>20.812821027705475 55.780920636028405</ows:LowerCorner>
        <ows:UpperCorner>28.347419924838018 57.924310802651625</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>AtvertieDati:tbl_cities</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geoserver.rgp.lv/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=AtvertieDati%3Atbl_cities" width="20" height="20"/>
      </Style>
      <Format>image/png</Format>
      <Format>image/jpeg</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:4326</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>37</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>74</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>142</MinTileCol>
            <MaxTileCol>148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>45</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>285</MinTileCol>
            <MaxTileCol>296</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>91</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>571</MinTileCol>
            <MaxTileCol>592</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>182</MinTileRow>
            <MaxTileRow>194</MaxTileRow>
            <MinTileCol>1142</MinTileCol>
            <MaxTileCol>1185</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>364</MinTileRow>
            <MaxTileRow>389</MaxTileRow>
            <MinTileCol>2284</MinTileCol>
            <MaxTileCol>2370</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>729</MinTileRow>
            <MaxTileRow>778</MaxTileRow>
            <MinTileCol>4569</MinTileCol>
            <MaxTileCol>4741</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>1459</MinTileRow>
            <MaxTileRow>1557</MaxTileRow>
            <MinTileCol>9139</MinTileCol>
            <MaxTileCol>9482</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>2919</MinTileRow>
            <MaxTileRow>3114</MaxTileRow>
            <MinTileCol>18278</MinTileCol>
            <MaxTileCol>18964</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>5839</MinTileRow>
            <MaxTileRow>6229</MaxTileRow>
            <MinTileCol>36556</MinTileCol>
            <MaxTileCol>37928</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>11678</MinTileRow>
            <MaxTileRow>12458</MaxTileRow>
            <MinTileCol>73113</MinTileCol>
            <MaxTileCol>75856</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>23356</MinTileRow>
            <MaxTileRow>24917</MaxTileRow>
            <MinTileCol>146227</MinTileCol>
            <MaxTileCol>151713</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>46713</MinTileRow>
            <MaxTileRow>49835</MaxTileRow>
            <MinTileCol>292454</MinTileCol>
            <MaxTileCol>303427</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>93427</MinTileRow>
            <MaxTileRow>99670</MaxTileRow>
            <MinTileCol>584909</MinTileCol>
            <MaxTileCol>606855</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>186854</MinTileRow>
            <MaxTileRow>199340</MaxTileRow>
            <MinTileCol>1169819</MinTileCol>
            <MaxTileCol>1213711</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>373708</MinTileRow>
            <MaxTileRow>398681</MaxTileRow>
            <MinTileCol>2339638</MinTileCol>
            <MaxTileCol>2427423</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>EPSG:900913</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>19</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>37</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>39</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>74</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>79</MaxTileRow>
            <MinTileCol>142</MinTileCol>
            <MaxTileCol>148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>154</MinTileRow>
            <MaxTileRow>159</MaxTileRow>
            <MinTileCol>285</MinTileCol>
            <MaxTileCol>296</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>308</MinTileRow>
            <MaxTileRow>319</MaxTileRow>
            <MinTileCol>571</MinTileCol>
            <MaxTileCol>592</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>617</MinTileRow>
            <MaxTileRow>639</MaxTileRow>
            <MinTileCol>1142</MinTileCol>
            <MaxTileCol>1185</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>1235</MinTileRow>
            <MaxTileRow>1279</MaxTileRow>
            <MinTileCol>2284</MinTileCol>
            <MaxTileCol>2370</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>2470</MinTileRow>
            <MaxTileRow>2559</MaxTileRow>
            <MinTileCol>4569</MinTileCol>
            <MaxTileCol>4741</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>4941</MinTileRow>
            <MaxTileRow>5119</MaxTileRow>
            <MinTileCol>9139</MinTileCol>
            <MaxTileCol>9482</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>9882</MinTileRow>
            <MaxTileRow>10239</MaxTileRow>
            <MinTileCol>18278</MinTileCol>
            <MaxTileCol>18964</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>19764</MinTileRow>
            <MaxTileRow>20478</MaxTileRow>
            <MinTileCol>36556</MinTileCol>
            <MaxTileCol>37928</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>39529</MinTileRow>
            <MaxTileRow>40957</MaxTileRow>
            <MinTileCol>73113</MinTileCol>
            <MaxTileCol>75856</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>79059</MinTileRow>
            <MaxTileRow>81914</MaxTileRow>
            <MinTileCol>146227</MinTileCol>
            <MaxTileCol>151713</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>158118</MinTileRow>
            <MaxTileRow>163828</MaxTileRow>
            <MinTileCol>292454</MinTileCol>
            <MaxTileCol>303427</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>316236</MinTileRow>
            <MaxTileRow>327657</MaxTileRow>
            <MinTileCol>584909</MinTileCol>
            <MaxTileCol>606855</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>632472</MinTileRow>
            <MaxTileRow>655314</MaxTileRow>
            <MinTileCol>1169819</MinTileCol>
            <MaxTileCol>1213711</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>1264944</MinTileRow>
            <MaxTileRow>1310629</MaxTileRow>
            <MinTileCol>2339638</MinTileCol>
            <MaxTileCol>2427423</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>2529888</MinTileRow>
            <MaxTileRow>2621259</MaxTileRow>
            <MinTileCol>4679277</MinTileCol>
            <MaxTileCol>4854846</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>5059777</MinTileRow>
            <MaxTileRow>5242519</MaxTileRow>
            <MinTileCol>9358555</MinTileCol>
            <MaxTileCol>9709693</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>10119555</MinTileRow>
            <MaxTileRow>10485039</MaxTileRow>
            <MinTileCol>18717111</MinTileCol>
            <MaxTileCol>19419387</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>20239110</MinTileRow>
            <MaxTileRow>20970078</MaxTileRow>
            <MinTileCol>37434223</MinTileCol>
            <MaxTileCol>38838774</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>40478221</MinTileRow>
            <MaxTileRow>41940157</MaxTileRow>
            <MinTileCol>74868446</MinTileCol>
            <MaxTileCol>77677548</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>80956442</MinTileRow>
            <MaxTileRow>83880315</MaxTileRow>
            <MinTileCol>149736892</MinTileCol>
            <MaxTileCol>155355096</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>161912884</MinTileRow>
            <MaxTileRow>167760631</MaxTileRow>
            <MinTileCol>299473784</MinTileCol>
            <MaxTileCol>310710192</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>323825769</MinTileRow>
            <MaxTileRow>335521262</MaxTileRow>
            <MinTileCol>598947568</MinTileCol>
            <MaxTileCol>621420385</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_cities/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_cities/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_cities/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_cities/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_cities/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_cities/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_cities/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_cities/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_cities/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_cities/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_cities/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>tbl_villages</ows:Title>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>20.79707829907393 55.655818470511875</ows:LowerCorner>
        <ows:UpperCorner>28.40019364800301 58.0459206747201</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>AtvertieDati:tbl_villages</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geoserver.rgp.lv/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=AtvertieDati%3Atbl_villages" width="20" height="20"/>
      </Style>
      <Format>image/png</Format>
      <Format>image/jpeg</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:4326</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>37</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>74</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>142</MinTileCol>
            <MaxTileCol>148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>45</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>285</MinTileCol>
            <MaxTileCol>296</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>90</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>571</MinTileCol>
            <MaxTileCol>592</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>181</MinTileRow>
            <MaxTileRow>195</MaxTileRow>
            <MinTileCol>1142</MinTileCol>
            <MaxTileCol>1185</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>363</MinTileRow>
            <MaxTileRow>390</MaxTileRow>
            <MinTileCol>2284</MinTileCol>
            <MaxTileCol>2371</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>727</MinTileRow>
            <MaxTileRow>781</MaxTileRow>
            <MinTileCol>4569</MinTileCol>
            <MaxTileCol>4742</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>1454</MinTileRow>
            <MaxTileRow>1563</MaxTileRow>
            <MinTileCol>9138</MinTileCol>
            <MaxTileCol>9484</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>2908</MinTileRow>
            <MaxTileRow>3126</MaxTileRow>
            <MinTileCol>18276</MinTileCol>
            <MaxTileCol>18969</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>5817</MinTileRow>
            <MaxTileRow>6252</MaxTileRow>
            <MinTileCol>36553</MinTileCol>
            <MaxTileCol>37938</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>11634</MinTileRow>
            <MaxTileRow>12504</MaxTileRow>
            <MinTileCol>73107</MinTileCol>
            <MaxTileCol>75876</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>23268</MinTileRow>
            <MaxTileRow>25008</MaxTileRow>
            <MinTileCol>146215</MinTileCol>
            <MaxTileCol>151752</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>46536</MinTileRow>
            <MaxTileRow>50017</MaxTileRow>
            <MinTileCol>292431</MinTileCol>
            <MaxTileCol>303504</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>93073</MinTileRow>
            <MaxTileRow>100034</MaxTileRow>
            <MinTileCol>584863</MinTileCol>
            <MaxTileCol>607009</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>186146</MinTileRow>
            <MaxTileRow>200069</MaxTileRow>
            <MinTileCol>1169727</MinTileCol>
            <MaxTileCol>1214019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>372292</MinTileRow>
            <MaxTileRow>400138</MaxTileRow>
            <MinTileCol>2339455</MinTileCol>
            <MaxTileCol>2428038</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>EPSG:900913</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>37</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>74</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>142</MinTileCol>
            <MaxTileCol>148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>154</MinTileRow>
            <MaxTileRow>160</MaxTileRow>
            <MinTileCol>285</MinTileCol>
            <MaxTileCol>296</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>308</MinTileRow>
            <MaxTileRow>320</MaxTileRow>
            <MinTileCol>571</MinTileCol>
            <MaxTileCol>592</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>616</MinTileRow>
            <MaxTileRow>641</MaxTileRow>
            <MinTileCol>1142</MinTileCol>
            <MaxTileCol>1185</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>1232</MinTileRow>
            <MaxTileRow>1282</MaxTileRow>
            <MinTileCol>2284</MinTileCol>
            <MaxTileCol>2371</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>2465</MinTileRow>
            <MaxTileRow>2564</MaxTileRow>
            <MinTileCol>4569</MinTileCol>
            <MaxTileCol>4742</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>4930</MinTileRow>
            <MaxTileRow>5129</MaxTileRow>
            <MinTileCol>9138</MinTileCol>
            <MaxTileCol>9484</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>9861</MinTileRow>
            <MaxTileRow>10259</MaxTileRow>
            <MinTileCol>18276</MinTileCol>
            <MaxTileCol>18969</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>19722</MinTileRow>
            <MaxTileRow>20519</MaxTileRow>
            <MinTileCol>36553</MinTileCol>
            <MaxTileCol>37938</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>39445</MinTileRow>
            <MaxTileRow>41038</MaxTileRow>
            <MinTileCol>73107</MinTileCol>
            <MaxTileCol>75876</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>78891</MinTileRow>
            <MaxTileRow>82076</MaxTileRow>
            <MinTileCol>146215</MinTileCol>
            <MaxTileCol>151752</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>157783</MinTileRow>
            <MaxTileRow>164152</MaxTileRow>
            <MinTileCol>292431</MinTileCol>
            <MaxTileCol>303504</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>315567</MinTileRow>
            <MaxTileRow>328304</MaxTileRow>
            <MinTileCol>584863</MinTileCol>
            <MaxTileCol>607009</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>631135</MinTileRow>
            <MaxTileRow>656608</MaxTileRow>
            <MinTileCol>1169727</MinTileCol>
            <MaxTileCol>1214019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>1262271</MinTileRow>
            <MaxTileRow>1313217</MaxTileRow>
            <MinTileCol>2339455</MinTileCol>
            <MaxTileCol>2428038</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>2524543</MinTileRow>
            <MaxTileRow>2626435</MaxTileRow>
            <MinTileCol>4678911</MinTileCol>
            <MaxTileCol>4856076</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>5049087</MinTileRow>
            <MaxTileRow>5252870</MaxTileRow>
            <MinTileCol>9357822</MinTileCol>
            <MaxTileCol>9712152</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>10098174</MinTileRow>
            <MaxTileRow>10505741</MaxTileRow>
            <MinTileCol>18715644</MinTileCol>
            <MaxTileCol>19424305</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>20196348</MinTileRow>
            <MaxTileRow>21011482</MaxTileRow>
            <MinTileCol>37431288</MinTileCol>
            <MaxTileCol>38848611</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>40392697</MinTileRow>
            <MaxTileRow>42022964</MaxTileRow>
            <MinTileCol>74862576</MinTileCol>
            <MaxTileCol>77697223</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>80785394</MinTileRow>
            <MaxTileRow>84045928</MaxTileRow>
            <MinTileCol>149725153</MinTileCol>
            <MaxTileCol>155394447</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>161570789</MinTileRow>
            <MaxTileRow>168091856</MaxTileRow>
            <MinTileCol>299450307</MinTileCol>
            <MaxTileCol>310788894</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>323141579</MinTileRow>
            <MaxTileRow>336183712</MaxTileRow>
            <MinTileCol>598900614</MinTileCol>
            <MaxTileCol>621577789</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_villages/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_villages/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_villages/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_villages/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_villages/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_villages/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_villages/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_villages/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_villages/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_villages/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_villages/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>tbl_cad_units_all_lv</ows:Title>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>21.851887952193454 57.091107746141695</ows:LowerCorner>
        <ows:UpperCorner>22.002651300278806 57.16171154212154</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>AtvertieDati:tbl_cad_units_all_lv</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geoserver.rgp.lv/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=AtvertieDati%3Atbl_cad_units_all_lv" width="20" height="20"/>
      </Style>
      <Format>image/png</Format>
      <Format>image/jpeg</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:4326</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>8</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>17</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>35</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>11</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>71</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>23</MinTileRow>
            <MaxTileRow>23</MaxTileRow>
            <MinTileCol>143</MinTileCol>
            <MaxTileCol>143</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>46</MinTileRow>
            <MaxTileRow>46</MaxTileRow>
            <MinTileCol>287</MinTileCol>
            <MaxTileCol>287</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>93</MinTileRow>
            <MaxTileRow>93</MaxTileRow>
            <MinTileCol>574</MinTileCol>
            <MaxTileCol>574</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>186</MinTileRow>
            <MaxTileRow>187</MaxTileRow>
            <MinTileCol>1148</MinTileCol>
            <MaxTileCol>1149</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>373</MinTileRow>
            <MaxTileRow>374</MaxTileRow>
            <MinTileCol>2296</MinTileCol>
            <MaxTileCol>2298</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>747</MinTileRow>
            <MaxTileRow>748</MaxTileRow>
            <MinTileCol>4593</MinTileCol>
            <MaxTileCol>4596</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>1494</MinTileRow>
            <MaxTileRow>1497</MaxTileRow>
            <MinTileCol>9186</MinTileCol>
            <MaxTileCol>9193</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>2989</MinTileRow>
            <MaxTileRow>2995</MaxTileRow>
            <MinTileCol>18373</MinTileCol>
            <MaxTileCol>18386</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>5978</MinTileRow>
            <MaxTileRow>5990</MaxTileRow>
            <MinTileCol>36746</MinTileCol>
            <MaxTileCol>36773</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>11956</MinTileRow>
            <MaxTileRow>11981</MaxTileRow>
            <MinTileCol>73492</MinTileCol>
            <MaxTileCol>73546</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>23912</MinTileRow>
            <MaxTileRow>23963</MaxTileRow>
            <MinTileCol>146984</MinTileCol>
            <MaxTileCol>147093</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>47824</MinTileRow>
            <MaxTileRow>47927</MaxTileRow>
            <MinTileCol>293968</MinTileCol>
            <MaxTileCol>294187</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>95648</MinTileRow>
            <MaxTileRow>95854</MaxTileRow>
            <MinTileCol>587936</MinTileCol>
            <MaxTileCol>588375</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>191296</MinTileRow>
            <MaxTileRow>191708</MaxTileRow>
            <MinTileCol>1175872</MinTileCol>
            <MaxTileCol>1176750</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>382593</MinTileRow>
            <MaxTileRow>383416</MaxTileRow>
            <MinTileCol>2351744</MinTileCol>
            <MaxTileCol>2353501</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>EPSG:900913</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>8</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>17</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>19</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>35</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>39</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>71</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>78</MinTileRow>
            <MaxTileRow>78</MaxTileRow>
            <MinTileCol>143</MinTileCol>
            <MaxTileCol>143</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>156</MinTileRow>
            <MaxTileRow>156</MaxTileRow>
            <MinTileCol>287</MinTileCol>
            <MaxTileCol>287</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>312</MinTileRow>
            <MaxTileRow>313</MaxTileRow>
            <MinTileCol>574</MinTileCol>
            <MaxTileCol>574</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>625</MinTileRow>
            <MaxTileRow>626</MaxTileRow>
            <MinTileCol>1148</MinTileCol>
            <MaxTileCol>1149</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>1251</MinTileRow>
            <MaxTileRow>1252</MaxTileRow>
            <MinTileCol>2296</MinTileCol>
            <MaxTileCol>2298</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>2502</MinTileRow>
            <MaxTileRow>2505</MaxTileRow>
            <MinTileCol>4593</MinTileCol>
            <MaxTileCol>4596</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>5005</MinTileRow>
            <MaxTileRow>5011</MaxTileRow>
            <MinTileCol>9186</MinTileCol>
            <MaxTileCol>9193</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>10011</MinTileRow>
            <MaxTileRow>10023</MaxTileRow>
            <MinTileCol>18373</MinTileCol>
            <MaxTileCol>18386</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>20023</MinTileRow>
            <MaxTileRow>20047</MaxTileRow>
            <MinTileCol>36746</MinTileCol>
            <MaxTileCol>36773</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>40046</MinTileRow>
            <MaxTileRow>40094</MaxTileRow>
            <MinTileCol>73492</MinTileCol>
            <MaxTileCol>73546</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>80093</MinTileRow>
            <MaxTileRow>80188</MaxTileRow>
            <MinTileCol>146984</MinTileCol>
            <MaxTileCol>147093</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>160187</MinTileRow>
            <MaxTileRow>160377</MaxTileRow>
            <MinTileCol>293968</MinTileCol>
            <MaxTileCol>294187</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>320375</MinTileRow>
            <MaxTileRow>320754</MaxTileRow>
            <MinTileCol>587936</MinTileCol>
            <MaxTileCol>588375</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>640750</MinTileRow>
            <MaxTileRow>641508</MaxTileRow>
            <MinTileCol>1175872</MinTileCol>
            <MaxTileCol>1176750</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>1281500</MinTileRow>
            <MaxTileRow>1283016</MaxTileRow>
            <MinTileCol>2351744</MinTileCol>
            <MaxTileCol>2353501</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>2563001</MinTileRow>
            <MaxTileRow>2566032</MaxTileRow>
            <MinTileCol>4703489</MinTileCol>
            <MaxTileCol>4707002</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>5126003</MinTileRow>
            <MaxTileRow>5132065</MaxTileRow>
            <MinTileCol>9406979</MinTileCol>
            <MaxTileCol>9414005</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>10252007</MinTileRow>
            <MaxTileRow>10264131</MaxTileRow>
            <MinTileCol>18813959</MinTileCol>
            <MaxTileCol>18828011</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>20504014</MinTileRow>
            <MaxTileRow>20528262</MaxTileRow>
            <MinTileCol>37627919</MinTileCol>
            <MaxTileCol>37656023</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>41008029</MinTileRow>
            <MaxTileRow>41056525</MaxTileRow>
            <MinTileCol>75255838</MinTileCol>
            <MaxTileCol>75312046</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>82016058</MinTileRow>
            <MaxTileRow>82113050</MaxTileRow>
            <MinTileCol>150511676</MinTileCol>
            <MaxTileCol>150624093</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>164032116</MinTileRow>
            <MaxTileRow>164226100</MaxTileRow>
            <MinTileCol>301023353</MinTileCol>
            <MaxTileCol>301248187</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>328064232</MinTileRow>
            <MaxTileRow>328452200</MaxTileRow>
            <MinTileCol>602046706</MinTileCol>
            <MaxTileCol>602496375</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_cad_units_all_lv/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_cad_units_all_lv/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_cad_units_all_lv/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_cad_units_all_lv/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_cad_units_all_lv/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_cad_units_all_lv/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_cad_units_all_lv/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_cad_units_all_lv/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_cad_units_all_lv/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_cad_units_all_lv/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_cad_units_all_lv/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>tbl_kludainas_robezas</ows:Title>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>18.13570082617477 53.78760108951585</ows:LowerCorner>
        <ows:UpperCorner>28.997624259183667 60.09318070805035</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>AtvertieDati:tbl_kludainas_robezas</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geoserver.rgp.lv/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=AtvertieDati%3Atbl_kludainas_robezas" width="20" height="20"/>
      </Style>
      <Format>image/png</Format>
      <Format>image/jpeg</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:4326</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>37</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>70</MinTileCol>
            <MaxTileCol>74</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>21</MinTileRow>
            <MaxTileRow>25</MaxTileRow>
            <MinTileCol>140</MinTileCol>
            <MaxTileCol>148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>42</MinTileRow>
            <MaxTileRow>51</MaxTileRow>
            <MinTileCol>281</MinTileCol>
            <MaxTileCol>297</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>85</MinTileRow>
            <MaxTileRow>103</MaxTileRow>
            <MinTileCol>563</MinTileCol>
            <MaxTileCol>594</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>170</MinTileRow>
            <MaxTileRow>206</MaxTileRow>
            <MinTileCol>1127</MinTileCol>
            <MaxTileCol>1188</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>340</MinTileRow>
            <MaxTileRow>412</MaxTileRow>
            <MinTileCol>2254</MinTileCol>
            <MaxTileCol>2377</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>680</MinTileRow>
            <MaxTileRow>824</MaxTileRow>
            <MinTileCol>4508</MinTileCol>
            <MaxTileCol>4755</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>1361</MinTileRow>
            <MaxTileRow>1648</MaxTileRow>
            <MinTileCol>9017</MinTileCol>
            <MaxTileCol>9511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>2722</MinTileRow>
            <MaxTileRow>3296</MaxTileRow>
            <MinTileCol>18034</MinTileCol>
            <MaxTileCol>19023</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>5444</MinTileRow>
            <MaxTileRow>6592</MaxTileRow>
            <MinTileCol>36069</MinTileCol>
            <MaxTileCol>38046</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>10888</MinTileRow>
            <MaxTileRow>13184</MaxTileRow>
            <MinTileCol>72139</MinTileCol>
            <MaxTileCol>76093</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>21777</MinTileRow>
            <MaxTileRow>26369</MaxTileRow>
            <MinTileCol>144278</MinTileCol>
            <MaxTileCol>152187</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>43554</MinTileRow>
            <MaxTileRow>52738</MaxTileRow>
            <MinTileCol>288556</MinTileCol>
            <MaxTileCol>304374</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>87109</MinTileRow>
            <MaxTileRow>105476</MaxTileRow>
            <MinTileCol>577112</MinTileCol>
            <MaxTileCol>608749</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>174219</MinTileRow>
            <MaxTileRow>210952</MaxTileRow>
            <MinTileCol>1154224</MinTileCol>
            <MaxTileCol>1217499</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>348439</MinTileRow>
            <MaxTileRow>421905</MaxTileRow>
            <MinTileCol>2308448</MinTileCol>
            <MaxTileCol>2434998</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>EPSG:900913</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>37</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>70</MinTileCol>
            <MaxTileCol>74</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>74</MinTileRow>
            <MaxTileRow>82</MaxTileRow>
            <MinTileCol>140</MinTileCol>
            <MaxTileCol>148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>148</MinTileRow>
            <MaxTileRow>164</MaxTileRow>
            <MinTileCol>281</MinTileCol>
            <MaxTileCol>297</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>296</MinTileRow>
            <MaxTileRow>329</MaxTileRow>
            <MinTileCol>563</MinTileCol>
            <MaxTileCol>594</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>593</MinTileRow>
            <MaxTileRow>659</MaxTileRow>
            <MinTileCol>1127</MinTileCol>
            <MaxTileCol>1188</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>1187</MinTileRow>
            <MaxTileRow>1319</MaxTileRow>
            <MinTileCol>2254</MinTileCol>
            <MaxTileCol>2377</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>2374</MinTileRow>
            <MaxTileRow>2638</MaxTileRow>
            <MinTileCol>4508</MinTileCol>
            <MaxTileCol>4755</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>4749</MinTileRow>
            <MaxTileRow>5277</MaxTileRow>
            <MinTileCol>9017</MinTileCol>
            <MaxTileCol>9511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>9498</MinTileRow>
            <MaxTileRow>10554</MaxTileRow>
            <MinTileCol>18034</MinTileCol>
            <MaxTileCol>19023</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>18997</MinTileRow>
            <MaxTileRow>21108</MaxTileRow>
            <MinTileCol>36069</MinTileCol>
            <MaxTileCol>38046</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>37995</MinTileRow>
            <MaxTileRow>42216</MaxTileRow>
            <MinTileCol>72139</MinTileCol>
            <MaxTileCol>76093</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>75990</MinTileRow>
            <MaxTileRow>84432</MaxTileRow>
            <MinTileCol>144278</MinTileCol>
            <MaxTileCol>152187</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>151981</MinTileRow>
            <MaxTileRow>168864</MaxTileRow>
            <MinTileCol>288556</MinTileCol>
            <MaxTileCol>304374</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>303962</MinTileRow>
            <MaxTileRow>337728</MaxTileRow>
            <MinTileCol>577112</MinTileCol>
            <MaxTileCol>608749</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>607925</MinTileRow>
            <MaxTileRow>675456</MaxTileRow>
            <MinTileCol>1154224</MinTileCol>
            <MaxTileCol>1217499</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>1215850</MinTileRow>
            <MaxTileRow>1350913</MaxTileRow>
            <MinTileCol>2308448</MinTileCol>
            <MaxTileCol>2434998</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>2431700</MinTileRow>
            <MaxTileRow>2701826</MaxTileRow>
            <MinTileCol>4616896</MinTileCol>
            <MaxTileCol>4869997</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>4863400</MinTileRow>
            <MaxTileRow>5403653</MaxTileRow>
            <MinTileCol>9233792</MinTileCol>
            <MaxTileCol>9739995</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>9726800</MinTileRow>
            <MaxTileRow>10807307</MaxTileRow>
            <MinTileCol>18467585</MinTileCol>
            <MaxTileCol>19479990</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>19453600</MinTileRow>
            <MaxTileRow>21614614</MaxTileRow>
            <MinTileCol>36935171</MinTileCol>
            <MaxTileCol>38959980</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>38907201</MinTileRow>
            <MaxTileRow>43229228</MaxTileRow>
            <MinTileCol>73870343</MinTileCol>
            <MaxTileCol>77919961</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>77814402</MinTileRow>
            <MaxTileRow>86458457</MaxTileRow>
            <MinTileCol>147740686</MinTileCol>
            <MaxTileCol>155839923</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>155628805</MinTileRow>
            <MaxTileRow>172916914</MaxTileRow>
            <MinTileCol>295481373</MinTileCol>
            <MaxTileCol>311679847</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>311257610</MinTileRow>
            <MaxTileRow>345833829</MaxTileRow>
            <MinTileCol>590962746</MinTileCol>
            <MaxTileCol>623359695</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_kludainas_robezas/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_kludainas_robezas/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_kludainas_robezas/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_kludainas_robezas/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_kludainas_robezas/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_kludainas_robezas/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_kludainas_robezas/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_kludainas_robezas/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_kludainas_robezas/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_kludainas_robezas/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_kludainas_robezas/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>tbl_houses</ows:Title>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>20.806522772732823 55.63044561943325</ows:LowerCorner>
        <ows:UpperCorner>28.448033614042263 58.06865484656167</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>AtvertieDati:tbl_houses</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>point</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geoserver.rgp.lv/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=AtvertieDati%3Atbl_houses" width="20" height="20"/>
      </Style>
      <Format>image/png</Format>
      <Format>image/jpeg</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:4326</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>37</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>74</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>142</MinTileCol>
            <MaxTileCol>148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>45</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>285</MinTileCol>
            <MaxTileCol>296</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>90</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>571</MinTileCol>
            <MaxTileCol>592</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>181</MinTileRow>
            <MaxTileRow>195</MaxTileRow>
            <MinTileCol>1142</MinTileCol>
            <MaxTileCol>1185</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>363</MinTileRow>
            <MaxTileRow>391</MaxTileRow>
            <MinTileCol>2284</MinTileCol>
            <MaxTileCol>2371</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>726</MinTileRow>
            <MaxTileRow>782</MaxTileRow>
            <MinTileCol>4569</MinTileCol>
            <MaxTileCol>4743</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>1453</MinTileRow>
            <MaxTileRow>1564</MaxTileRow>
            <MinTileCol>9138</MinTileCol>
            <MaxTileCol>9486</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>2906</MinTileRow>
            <MaxTileRow>3128</MaxTileRow>
            <MinTileCol>18277</MinTileCol>
            <MaxTileCol>18973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>5812</MinTileRow>
            <MaxTileRow>6256</MaxTileRow>
            <MinTileCol>36555</MinTileCol>
            <MaxTileCol>37946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>11625</MinTileRow>
            <MaxTileRow>12513</MaxTileRow>
            <MinTileCol>73111</MinTileCol>
            <MaxTileCol>75893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>23251</MinTileRow>
            <MaxTileRow>25027</MaxTileRow>
            <MinTileCol>146222</MinTileCol>
            <MaxTileCol>151787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>46503</MinTileRow>
            <MaxTileRow>50054</MaxTileRow>
            <MinTileCol>292445</MinTileCol>
            <MaxTileCol>303574</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>93006</MinTileRow>
            <MaxTileRow>100108</MaxTileRow>
            <MinTileCol>584891</MinTileCol>
            <MaxTileCol>607148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>186013</MinTileRow>
            <MaxTileRow>200217</MaxTileRow>
            <MinTileCol>1169782</MinTileCol>
            <MaxTileCol>1214297</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>372027</MinTileRow>
            <MaxTileRow>400434</MaxTileRow>
            <MinTileCol>2339565</MinTileCol>
            <MaxTileCol>2428595</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>EPSG:900913</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>37</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>74</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>142</MinTileCol>
            <MaxTileCol>148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>154</MinTileRow>
            <MaxTileRow>160</MaxTileRow>
            <MinTileCol>285</MinTileCol>
            <MaxTileCol>296</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>308</MinTileRow>
            <MaxTileRow>320</MaxTileRow>
            <MinTileCol>571</MinTileCol>
            <MaxTileCol>592</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>616</MinTileRow>
            <MaxTileRow>641</MaxTileRow>
            <MinTileCol>1142</MinTileCol>
            <MaxTileCol>1185</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>1232</MinTileRow>
            <MaxTileRow>1282</MaxTileRow>
            <MinTileCol>2284</MinTileCol>
            <MaxTileCol>2371</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>2464</MinTileRow>
            <MaxTileRow>2565</MaxTileRow>
            <MinTileCol>4569</MinTileCol>
            <MaxTileCol>4743</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>4928</MinTileRow>
            <MaxTileRow>5131</MaxTileRow>
            <MinTileCol>9138</MinTileCol>
            <MaxTileCol>9486</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>9857</MinTileRow>
            <MaxTileRow>10263</MaxTileRow>
            <MinTileCol>18277</MinTileCol>
            <MaxTileCol>18973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>19715</MinTileRow>
            <MaxTileRow>20527</MaxTileRow>
            <MinTileCol>36555</MinTileCol>
            <MaxTileCol>37946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>39430</MinTileRow>
            <MaxTileRow>41054</MaxTileRow>
            <MinTileCol>73111</MinTileCol>
            <MaxTileCol>75893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>78860</MinTileRow>
            <MaxTileRow>82108</MaxTileRow>
            <MinTileCol>146222</MinTileCol>
            <MaxTileCol>151787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>157721</MinTileRow>
            <MaxTileRow>164217</MaxTileRow>
            <MinTileCol>292445</MinTileCol>
            <MaxTileCol>303574</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>315442</MinTileRow>
            <MaxTileRow>328435</MaxTileRow>
            <MinTileCol>584891</MinTileCol>
            <MaxTileCol>607148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>630885</MinTileRow>
            <MaxTileRow>656870</MaxTileRow>
            <MinTileCol>1169782</MinTileCol>
            <MaxTileCol>1214297</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>1261771</MinTileRow>
            <MaxTileRow>1313741</MaxTileRow>
            <MinTileCol>2339565</MinTileCol>
            <MaxTileCol>2428595</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>2523542</MinTileRow>
            <MaxTileRow>2627482</MaxTileRow>
            <MinTileCol>4679131</MinTileCol>
            <MaxTileCol>4857191</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>5047084</MinTileRow>
            <MaxTileRow>5254965</MaxTileRow>
            <MinTileCol>9358262</MinTileCol>
            <MaxTileCol>9714382</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>10094169</MinTileRow>
            <MaxTileRow>10509931</MaxTileRow>
            <MinTileCol>18716524</MinTileCol>
            <MaxTileCol>19428764</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>20188338</MinTileRow>
            <MaxTileRow>21019863</MaxTileRow>
            <MinTileCol>37433048</MinTileCol>
            <MaxTileCol>38857529</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>40376677</MinTileRow>
            <MaxTileRow>42039726</MaxTileRow>
            <MinTileCol>74866097</MinTileCol>
            <MaxTileCol>77715059</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>80753354</MinTileRow>
            <MaxTileRow>84079452</MaxTileRow>
            <MinTileCol>149732195</MinTileCol>
            <MaxTileCol>155430119</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>161506708</MinTileRow>
            <MaxTileRow>168158904</MaxTileRow>
            <MinTileCol>299464391</MinTileCol>
            <MaxTileCol>310860238</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>323013416</MinTileRow>
            <MaxTileRow>336317809</MaxTileRow>
            <MinTileCol>598928783</MinTileCol>
            <MaxTileCol>621720477</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_houses/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_houses/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_houses/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_houses/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_houses/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_houses/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_houses/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_houses/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_houses/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_houses/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_houses/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>tbl_sfs_data</ows:Title>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>24.885242886165994 56.52970331200753</ows:LowerCorner>
        <ows:UpperCorner>27.034798868424467 57.47706220035927</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>AtvertieDati:tbl_sfs_data</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geoserver.rgp.lv/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=AtvertieDati%3Atbl_sfs_data" width="20" height="20"/>
      </Style>
      <Format>image/png</Format>
      <Format>image/jpeg</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:4326</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>36</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>11</MaxTileRow>
            <MinTileCol>72</MinTileCol>
            <MaxTileCol>73</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>23</MinTileRow>
            <MaxTileRow>23</MaxTileRow>
            <MinTileCol>145</MinTileCol>
            <MaxTileCol>147</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>46</MinTileRow>
            <MaxTileRow>47</MaxTileRow>
            <MinTileCol>291</MinTileCol>
            <MaxTileCol>294</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>92</MinTileRow>
            <MaxTileRow>95</MaxTileRow>
            <MinTileCol>582</MinTileCol>
            <MaxTileCol>588</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>185</MinTileRow>
            <MaxTileRow>190</MaxTileRow>
            <MinTileCol>1165</MinTileCol>
            <MaxTileCol>1177</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>370</MinTileRow>
            <MaxTileRow>380</MaxTileRow>
            <MinTileCol>2331</MinTileCol>
            <MaxTileCol>2355</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>740</MinTileRow>
            <MaxTileRow>761</MaxTileRow>
            <MinTileCol>4662</MinTileCol>
            <MaxTileCol>4711</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>1480</MinTileRow>
            <MaxTileRow>1523</MaxTileRow>
            <MinTileCol>9324</MinTileCol>
            <MaxTileCol>9422</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>2960</MinTileRow>
            <MaxTileRow>3046</MaxTileRow>
            <MinTileCol>18649</MinTileCol>
            <MaxTileCol>18844</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>5920</MinTileRow>
            <MaxTileRow>6093</MaxTileRow>
            <MinTileCol>37298</MinTileCol>
            <MaxTileCol>37689</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>11841</MinTileRow>
            <MaxTileRow>12186</MaxTileRow>
            <MinTileCol>74596</MinTileCol>
            <MaxTileCol>75379</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>23682</MinTileRow>
            <MaxTileRow>24372</MaxTileRow>
            <MinTileCol>149192</MinTileCol>
            <MaxTileCol>150758</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>47364</MinTileRow>
            <MaxTileRow>48744</MaxTileRow>
            <MinTileCol>298385</MinTileCol>
            <MaxTileCol>301516</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>94729</MinTileRow>
            <MaxTileRow>97489</MaxTileRow>
            <MinTileCol>596771</MinTileCol>
            <MaxTileCol>603032</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>189459</MinTileRow>
            <MaxTileRow>194978</MaxTileRow>
            <MinTileCol>1193543</MinTileCol>
            <MaxTileCol>1206065</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>378919</MinTileRow>
            <MaxTileRow>389957</MaxTileRow>
            <MinTileCol>2387086</MinTileCol>
            <MaxTileCol>2412130</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>EPSG:900913</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>4</MaxTileRow>
            <MinTileCol>9</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>9</MaxTileRow>
            <MinTileCol>18</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>19</MaxTileRow>
            <MinTileCol>36</MinTileCol>
            <MaxTileCol>36</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>39</MaxTileRow>
            <MinTileCol>72</MinTileCol>
            <MaxTileCol>73</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>79</MaxTileRow>
            <MinTileCol>145</MinTileCol>
            <MaxTileCol>147</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>155</MinTileRow>
            <MaxTileRow>158</MaxTileRow>
            <MinTileCol>291</MinTileCol>
            <MaxTileCol>294</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>311</MinTileRow>
            <MaxTileRow>316</MaxTileRow>
            <MinTileCol>582</MinTileCol>
            <MaxTileCol>588</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>622</MinTileRow>
            <MaxTileRow>632</MaxTileRow>
            <MinTileCol>1165</MinTileCol>
            <MaxTileCol>1177</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>1244</MinTileRow>
            <MaxTileRow>1264</MaxTileRow>
            <MinTileCol>2331</MinTileCol>
            <MaxTileCol>2355</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>2489</MinTileRow>
            <MaxTileRow>2529</MaxTileRow>
            <MinTileCol>4662</MinTileCol>
            <MaxTileCol>4711</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>4979</MinTileRow>
            <MaxTileRow>5058</MaxTileRow>
            <MinTileCol>9324</MinTileCol>
            <MaxTileCol>9422</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>9958</MinTileRow>
            <MaxTileRow>10116</MaxTileRow>
            <MinTileCol>18649</MinTileCol>
            <MaxTileCol>18844</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>19917</MinTileRow>
            <MaxTileRow>20233</MaxTileRow>
            <MinTileCol>37298</MinTileCol>
            <MaxTileCol>37689</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>39834</MinTileRow>
            <MaxTileRow>40467</MaxTileRow>
            <MinTileCol>74596</MinTileCol>
            <MaxTileCol>75379</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>79668</MinTileRow>
            <MaxTileRow>80935</MaxTileRow>
            <MinTileCol>149192</MinTileCol>
            <MaxTileCol>150758</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>159337</MinTileRow>
            <MaxTileRow>161870</MaxTileRow>
            <MinTileCol>298385</MinTileCol>
            <MaxTileCol>301516</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>318674</MinTileRow>
            <MaxTileRow>323741</MaxTileRow>
            <MinTileCol>596771</MinTileCol>
            <MaxTileCol>603032</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>637348</MinTileRow>
            <MaxTileRow>647482</MaxTileRow>
            <MinTileCol>1193543</MinTileCol>
            <MaxTileCol>1206065</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>1274696</MinTileRow>
            <MaxTileRow>1294965</MaxTileRow>
            <MinTileCol>2387086</MinTileCol>
            <MaxTileCol>2412130</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>2549392</MinTileRow>
            <MaxTileRow>2589930</MaxTileRow>
            <MinTileCol>4774172</MinTileCol>
            <MaxTileCol>4824260</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>5098785</MinTileRow>
            <MaxTileRow>5179861</MaxTileRow>
            <MinTileCol>9548344</MinTileCol>
            <MaxTileCol>9648520</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>10197571</MinTileRow>
            <MaxTileRow>10359722</MaxTileRow>
            <MinTileCol>19096688</MinTileCol>
            <MaxTileCol>19297041</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>20395142</MinTileRow>
            <MaxTileRow>20719445</MaxTileRow>
            <MinTileCol>38193377</MinTileCol>
            <MaxTileCol>38594083</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>40790285</MinTileRow>
            <MaxTileRow>41438891</MaxTileRow>
            <MinTileCol>76386755</MinTileCol>
            <MaxTileCol>77188167</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>81580570</MinTileRow>
            <MaxTileRow>82877782</MaxTileRow>
            <MinTileCol>152773510</MinTileCol>
            <MaxTileCol>154376335</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>163161140</MinTileRow>
            <MaxTileRow>165755564</MaxTileRow>
            <MinTileCol>305547020</MinTileCol>
            <MaxTileCol>308752670</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>326322280</MinTileRow>
            <MaxTileRow>331511129</MaxTileRow>
            <MinTileCol>611094040</MinTileCol>
            <MaxTileCol>617505340</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_sfs_data/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_sfs_data/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_sfs_data/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_sfs_data/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_sfs_data/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_sfs_data/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_sfs_data/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_sfs_data/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_sfs_data/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_sfs_data/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_sfs_data/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>tbl_way_restrictions</ows:Title>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>21.225534443573487 55.750830506411226</ows:LowerCorner>
        <ows:UpperCorner>28.462405286320596 58.09500233937476</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>AtvertieDati:tbl_way_restrictions</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geoserver.rgp.lv/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=AtvertieDati%3Atbl_way_restrictions" width="20" height="20"/>
      </Style>
      <Format>image/png</Format>
      <Format>image/jpeg</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:4326</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>37</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>74</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>143</MinTileCol>
            <MaxTileCol>148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>45</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>286</MinTileCol>
            <MaxTileCol>296</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>90</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>572</MinTileCol>
            <MaxTileCol>592</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>181</MinTileRow>
            <MaxTileRow>194</MaxTileRow>
            <MinTileCol>1144</MinTileCol>
            <MaxTileCol>1185</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>363</MinTileRow>
            <MaxTileRow>389</MaxTileRow>
            <MinTileCol>2289</MinTileCol>
            <MaxTileCol>2371</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>726</MinTileRow>
            <MaxTileRow>779</MaxTileRow>
            <MinTileCol>4578</MinTileCol>
            <MaxTileCol>4743</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>1452</MinTileRow>
            <MaxTileRow>1558</MaxTileRow>
            <MinTileCol>9157</MinTileCol>
            <MaxTileCol>9487</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>2904</MinTileRow>
            <MaxTileRow>3117</MaxTileRow>
            <MinTileCol>18315</MinTileCol>
            <MaxTileCol>18974</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>5808</MinTileRow>
            <MaxTileRow>6234</MaxTileRow>
            <MinTileCol>36631</MinTileCol>
            <MaxTileCol>37949</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>11616</MinTileRow>
            <MaxTileRow>12469</MaxTileRow>
            <MinTileCol>73263</MinTileCol>
            <MaxTileCol>75898</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>23232</MinTileRow>
            <MaxTileRow>24939</MaxTileRow>
            <MinTileCol>146527</MinTileCol>
            <MaxTileCol>151797</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>46465</MinTileRow>
            <MaxTileRow>49878</MaxTileRow>
            <MinTileCol>293055</MinTileCol>
            <MaxTileCol>303595</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>92930</MinTileRow>
            <MaxTileRow>99757</MaxTileRow>
            <MinTileCol>586111</MinTileCol>
            <MaxTileCol>607190</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>185860</MinTileRow>
            <MaxTileRow>199515</MaxTileRow>
            <MinTileCol>1172223</MinTileCol>
            <MaxTileCol>1214381</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>371720</MinTileRow>
            <MaxTileRow>399031</MaxTileRow>
            <MinTileCol>2344447</MinTileCol>
            <MaxTileCol>2428763</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>EPSG:900913</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>37</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>74</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>143</MinTileCol>
            <MaxTileCol>148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>153</MinTileRow>
            <MaxTileRow>160</MaxTileRow>
            <MinTileCol>286</MinTileCol>
            <MaxTileCol>296</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>307</MinTileRow>
            <MaxTileRow>320</MaxTileRow>
            <MinTileCol>572</MinTileCol>
            <MaxTileCol>592</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>615</MinTileRow>
            <MaxTileRow>640</MaxTileRow>
            <MinTileCol>1144</MinTileCol>
            <MaxTileCol>1185</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>1231</MinTileRow>
            <MaxTileRow>1280</MaxTileRow>
            <MinTileCol>2289</MinTileCol>
            <MaxTileCol>2371</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>2463</MinTileRow>
            <MaxTileRow>2561</MaxTileRow>
            <MinTileCol>4578</MinTileCol>
            <MaxTileCol>4743</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>4926</MinTileRow>
            <MaxTileRow>5122</MaxTileRow>
            <MinTileCol>9157</MinTileCol>
            <MaxTileCol>9487</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>9853</MinTileRow>
            <MaxTileRow>10244</MaxTileRow>
            <MinTileCol>18315</MinTileCol>
            <MaxTileCol>18974</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>19706</MinTileRow>
            <MaxTileRow>20488</MaxTileRow>
            <MinTileCol>36631</MinTileCol>
            <MaxTileCol>37949</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>39412</MinTileRow>
            <MaxTileRow>40976</MaxTileRow>
            <MinTileCol>73263</MinTileCol>
            <MaxTileCol>75898</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>78824</MinTileRow>
            <MaxTileRow>81953</MaxTileRow>
            <MinTileCol>146527</MinTileCol>
            <MaxTileCol>151797</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>157648</MinTileRow>
            <MaxTileRow>163906</MaxTileRow>
            <MinTileCol>293055</MinTileCol>
            <MaxTileCol>303595</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>315297</MinTileRow>
            <MaxTileRow>327813</MaxTileRow>
            <MinTileCol>586111</MinTileCol>
            <MaxTileCol>607190</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>630595</MinTileRow>
            <MaxTileRow>655626</MaxTileRow>
            <MinTileCol>1172223</MinTileCol>
            <MaxTileCol>1214381</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>1261190</MinTileRow>
            <MaxTileRow>1311253</MaxTileRow>
            <MinTileCol>2344447</MinTileCol>
            <MaxTileCol>2428763</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>2522381</MinTileRow>
            <MaxTileRow>2622506</MaxTileRow>
            <MinTileCol>4688894</MinTileCol>
            <MaxTileCol>4857526</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>5044762</MinTileRow>
            <MaxTileRow>5245012</MaxTileRow>
            <MinTileCol>9377789</MinTileCol>
            <MaxTileCol>9715052</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>10089524</MinTileRow>
            <MaxTileRow>10490024</MaxTileRow>
            <MinTileCol>18755579</MinTileCol>
            <MaxTileCol>19430104</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>20179048</MinTileRow>
            <MaxTileRow>20980049</MaxTileRow>
            <MinTileCol>37511158</MinTileCol>
            <MaxTileCol>38860208</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>40358097</MinTileRow>
            <MaxTileRow>41960098</MaxTileRow>
            <MinTileCol>75022316</MinTileCol>
            <MaxTileCol>77720417</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>80716195</MinTileRow>
            <MaxTileRow>83920197</MaxTileRow>
            <MinTileCol>150044633</MinTileCol>
            <MaxTileCol>155440835</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>161432390</MinTileRow>
            <MaxTileRow>167840395</MaxTileRow>
            <MinTileCol>300089267</MinTileCol>
            <MaxTileCol>310881671</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>322864781</MinTileRow>
            <MaxTileRow>335680791</MaxTileRow>
            <MinTileCol>600178534</MinTileCol>
            <MaxTileCol>621763342</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_way_restrictions/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_way_restrictions/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_way_restrictions/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_way_restrictions/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_way_restrictions/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_way_restrictions/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_way_restrictions/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_way_restrictions/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_way_restrictions/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_way_restrictions/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_way_restrictions/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>tbl_parishes</ows:Title>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>20.789186243729542 55.61810287486855</ows:LowerCorner>
        <ows:UpperCorner>28.484578892859886 58.10155328909016</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>AtvertieDati:tbl_parishes</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geoserver.rgp.lv/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=AtvertieDati%3Atbl_parishes" width="20" height="20"/>
      </Style>
      <Format>image/png</Format>
      <Format>image/jpeg</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:4326</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>37</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>74</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>142</MinTileCol>
            <MaxTileCol>148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>45</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>285</MinTileCol>
            <MaxTileCol>296</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>90</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>571</MinTileCol>
            <MaxTileCol>593</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>181</MinTileRow>
            <MaxTileRow>195</MaxTileRow>
            <MinTileCol>1142</MinTileCol>
            <MaxTileCol>1186</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>362</MinTileRow>
            <MaxTileRow>391</MaxTileRow>
            <MinTileCol>2284</MinTileCol>
            <MaxTileCol>2372</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>725</MinTileRow>
            <MaxTileRow>782</MaxTileRow>
            <MinTileCol>4569</MinTileCol>
            <MaxTileCol>4744</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>1451</MinTileRow>
            <MaxTileRow>1564</MaxTileRow>
            <MinTileCol>9138</MinTileCol>
            <MaxTileCol>9488</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>2903</MinTileRow>
            <MaxTileRow>3129</MaxTileRow>
            <MinTileCol>18276</MinTileCol>
            <MaxTileCol>18976</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>5806</MinTileRow>
            <MaxTileRow>6259</MaxTileRow>
            <MinTileCol>36552</MinTileCol>
            <MaxTileCol>37953</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>11613</MinTileRow>
            <MaxTileRow>12518</MaxTileRow>
            <MinTileCol>73105</MinTileCol>
            <MaxTileCol>75906</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>23227</MinTileRow>
            <MaxTileRow>25036</MaxTileRow>
            <MinTileCol>146210</MinTileCol>
            <MaxTileCol>151813</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>46455</MinTileRow>
            <MaxTileRow>50072</MaxTileRow>
            <MinTileCol>292420</MinTileCol>
            <MaxTileCol>303627</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>92910</MinTileRow>
            <MaxTileRow>100144</MaxTileRow>
            <MinTileCol>584840</MinTileCol>
            <MaxTileCol>607255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>185821</MinTileRow>
            <MaxTileRow>200289</MaxTileRow>
            <MinTileCol>1169681</MinTileCol>
            <MaxTileCol>1214510</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>371643</MinTileRow>
            <MaxTileRow>400578</MaxTileRow>
            <MinTileCol>2339363</MinTileCol>
            <MaxTileCol>2429021</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>EPSG:900913</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>37</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>74</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>142</MinTileCol>
            <MaxTileCol>148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>153</MinTileRow>
            <MaxTileRow>160</MaxTileRow>
            <MinTileCol>285</MinTileCol>
            <MaxTileCol>296</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>307</MinTileRow>
            <MaxTileRow>320</MaxTileRow>
            <MinTileCol>571</MinTileCol>
            <MaxTileCol>593</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>615</MinTileRow>
            <MaxTileRow>641</MaxTileRow>
            <MinTileCol>1142</MinTileCol>
            <MaxTileCol>1186</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>1231</MinTileRow>
            <MaxTileRow>1283</MaxTileRow>
            <MinTileCol>2284</MinTileCol>
            <MaxTileCol>2372</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>2462</MinTileRow>
            <MaxTileRow>2566</MaxTileRow>
            <MinTileCol>4569</MinTileCol>
            <MaxTileCol>4744</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>4925</MinTileRow>
            <MaxTileRow>5132</MaxTileRow>
            <MinTileCol>9138</MinTileCol>
            <MaxTileCol>9488</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>9851</MinTileRow>
            <MaxTileRow>10265</MaxTileRow>
            <MinTileCol>18276</MinTileCol>
            <MaxTileCol>18976</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>19703</MinTileRow>
            <MaxTileRow>20531</MaxTileRow>
            <MinTileCol>36552</MinTileCol>
            <MaxTileCol>37953</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>39407</MinTileRow>
            <MaxTileRow>41062</MaxTileRow>
            <MinTileCol>73105</MinTileCol>
            <MaxTileCol>75906</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>78815</MinTileRow>
            <MaxTileRow>82124</MaxTileRow>
            <MinTileCol>146210</MinTileCol>
            <MaxTileCol>151813</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>157630</MinTileRow>
            <MaxTileRow>164249</MaxTileRow>
            <MinTileCol>292420</MinTileCol>
            <MaxTileCol>303627</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>315261</MinTileRow>
            <MaxTileRow>328499</MaxTileRow>
            <MinTileCol>584840</MinTileCol>
            <MaxTileCol>607255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>630523</MinTileRow>
            <MaxTileRow>656998</MaxTileRow>
            <MinTileCol>1169681</MinTileCol>
            <MaxTileCol>1214510</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>1261046</MinTileRow>
            <MaxTileRow>1313996</MaxTileRow>
            <MinTileCol>2339363</MinTileCol>
            <MaxTileCol>2429021</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>2522092</MinTileRow>
            <MaxTileRow>2627992</MaxTileRow>
            <MinTileCol>4678727</MinTileCol>
            <MaxTileCol>4858042</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>5044184</MinTileRow>
            <MaxTileRow>5255984</MaxTileRow>
            <MinTileCol>9357454</MinTileCol>
            <MaxTileCol>9716085</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>10088369</MinTileRow>
            <MaxTileRow>10511969</MaxTileRow>
            <MinTileCol>18714908</MinTileCol>
            <MaxTileCol>19432171</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>20176738</MinTileRow>
            <MaxTileRow>21023938</MaxTileRow>
            <MinTileCol>37429817</MinTileCol>
            <MaxTileCol>38864342</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>40353476</MinTileRow>
            <MaxTileRow>42047876</MaxTileRow>
            <MinTileCol>74859634</MinTileCol>
            <MaxTileCol>77728684</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>80706952</MinTileRow>
            <MaxTileRow>84095752</MaxTileRow>
            <MinTileCol>149719268</MinTileCol>
            <MaxTileCol>155457369</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>161413904</MinTileRow>
            <MaxTileRow>168191505</MaxTileRow>
            <MinTileCol>299438537</MinTileCol>
            <MaxTileCol>310914738</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>322827808</MinTileRow>
            <MaxTileRow>336383010</MaxTileRow>
            <MinTileCol>598877075</MinTileCol>
            <MaxTileCol>621829477</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_parishes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_parishes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_parishes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_parishes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_parishes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_parishes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_parishes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_parishes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_parishes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_parishes/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_parishes/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>tbl_streets</ows:Title>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>20.807318885511904 55.671571920119035</ows:LowerCorner>
        <ows:UpperCorner>28.38490667631316 58.026692762181526</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>AtvertieDati:tbl_streets</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>line</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geoserver.rgp.lv/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=AtvertieDati%3Atbl_streets" width="20" height="20"/>
      </Style>
      <Format>image/png</Format>
      <Format>image/jpeg</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:4326</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>37</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>74</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>142</MinTileCol>
            <MaxTileCol>148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>45</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>285</MinTileCol>
            <MaxTileCol>296</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>90</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>571</MinTileCol>
            <MaxTileCol>592</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>181</MinTileRow>
            <MaxTileRow>195</MaxTileRow>
            <MinTileCol>1142</MinTileCol>
            <MaxTileCol>1185</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>363</MinTileRow>
            <MaxTileRow>390</MaxTileRow>
            <MinTileCol>2284</MinTileCol>
            <MaxTileCol>2370</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>727</MinTileRow>
            <MaxTileRow>781</MaxTileRow>
            <MinTileCol>4569</MinTileCol>
            <MaxTileCol>4741</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>1455</MinTileRow>
            <MaxTileRow>1562</MaxTileRow>
            <MinTileCol>9138</MinTileCol>
            <MaxTileCol>9483</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>2910</MinTileRow>
            <MaxTileRow>3124</MaxTileRow>
            <MinTileCol>18277</MinTileCol>
            <MaxTileCol>18967</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>5820</MinTileRow>
            <MaxTileRow>6249</MaxTileRow>
            <MinTileCol>36555</MinTileCol>
            <MaxTileCol>37935</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>11641</MinTileRow>
            <MaxTileRow>12498</MaxTileRow>
            <MinTileCol>73111</MinTileCol>
            <MaxTileCol>75870</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>23282</MinTileRow>
            <MaxTileRow>24997</MaxTileRow>
            <MinTileCol>146223</MinTileCol>
            <MaxTileCol>151741</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>46564</MinTileRow>
            <MaxTileRow>49994</MaxTileRow>
            <MinTileCol>292446</MinTileCol>
            <MaxTileCol>303482</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>93129</MinTileRow>
            <MaxTileRow>99988</MaxTileRow>
            <MinTileCol>584893</MinTileCol>
            <MaxTileCol>606965</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>186258</MinTileRow>
            <MaxTileRow>199977</MaxTileRow>
            <MinTileCol>1169787</MinTileCol>
            <MaxTileCol>1213930</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>372516</MinTileRow>
            <MaxTileRow>399955</MaxTileRow>
            <MinTileCol>2339574</MinTileCol>
            <MaxTileCol>2427860</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>EPSG:900913</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>37</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>74</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>142</MinTileCol>
            <MaxTileCol>148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>154</MinTileRow>
            <MaxTileRow>160</MaxTileRow>
            <MinTileCol>285</MinTileCol>
            <MaxTileCol>296</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>308</MinTileRow>
            <MaxTileRow>320</MaxTileRow>
            <MinTileCol>571</MinTileCol>
            <MaxTileCol>592</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>616</MinTileRow>
            <MaxTileRow>641</MaxTileRow>
            <MinTileCol>1142</MinTileCol>
            <MaxTileCol>1185</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>1233</MinTileRow>
            <MaxTileRow>1282</MaxTileRow>
            <MinTileCol>2284</MinTileCol>
            <MaxTileCol>2370</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>2466</MinTileRow>
            <MaxTileRow>2564</MaxTileRow>
            <MinTileCol>4569</MinTileCol>
            <MaxTileCol>4741</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>4932</MinTileRow>
            <MaxTileRow>5128</MaxTileRow>
            <MinTileCol>9138</MinTileCol>
            <MaxTileCol>9483</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>9864</MinTileRow>
            <MaxTileRow>10256</MaxTileRow>
            <MinTileCol>18277</MinTileCol>
            <MaxTileCol>18967</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>19729</MinTileRow>
            <MaxTileRow>20513</MaxTileRow>
            <MinTileCol>36555</MinTileCol>
            <MaxTileCol>37935</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>39459</MinTileRow>
            <MaxTileRow>41027</MaxTileRow>
            <MinTileCol>73111</MinTileCol>
            <MaxTileCol>75870</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>78918</MinTileRow>
            <MaxTileRow>82055</MaxTileRow>
            <MinTileCol>146223</MinTileCol>
            <MaxTileCol>151741</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>157836</MinTileRow>
            <MaxTileRow>164111</MaxTileRow>
            <MinTileCol>292446</MinTileCol>
            <MaxTileCol>303482</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>315673</MinTileRow>
            <MaxTileRow>328223</MaxTileRow>
            <MinTileCol>584893</MinTileCol>
            <MaxTileCol>606965</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>631347</MinTileRow>
            <MaxTileRow>656446</MaxTileRow>
            <MinTileCol>1169787</MinTileCol>
            <MaxTileCol>1213930</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>1262694</MinTileRow>
            <MaxTileRow>1312892</MaxTileRow>
            <MinTileCol>2339574</MinTileCol>
            <MaxTileCol>2427860</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>2525389</MinTileRow>
            <MaxTileRow>2625784</MaxTileRow>
            <MinTileCol>4679149</MinTileCol>
            <MaxTileCol>4855720</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>5050779</MinTileRow>
            <MaxTileRow>5251568</MaxTileRow>
            <MinTileCol>9358299</MinTileCol>
            <MaxTileCol>9711440</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>10101559</MinTileRow>
            <MaxTileRow>10503137</MaxTileRow>
            <MinTileCol>18716598</MinTileCol>
            <MaxTileCol>19422881</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>20203119</MinTileRow>
            <MaxTileRow>21006275</MaxTileRow>
            <MinTileCol>37433197</MinTileCol>
            <MaxTileCol>38845762</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>40406239</MinTileRow>
            <MaxTileRow>42012551</MaxTileRow>
            <MinTileCol>74866394</MinTileCol>
            <MaxTileCol>77691524</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>80812478</MinTileRow>
            <MaxTileRow>84025102</MaxTileRow>
            <MinTileCol>149732789</MinTileCol>
            <MaxTileCol>155383048</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>161624956</MinTileRow>
            <MaxTileRow>168050205</MaxTileRow>
            <MinTileCol>299465578</MinTileCol>
            <MaxTileCol>310766096</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>323249912</MinTileRow>
            <MaxTileRow>336100410</MaxTileRow>
            <MinTileCol>598931157</MinTileCol>
            <MaxTileCol>621532193</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_streets/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_streets/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_streets/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_streets/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_streets/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_streets/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_streets/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_streets/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_streets/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_streets/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_streets/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>tbl_engineering_structure_poly</ows:Title>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>21.247775573692056 55.75056773733305</ows:LowerCorner>
        <ows:UpperCorner>28.475805804642178 58.091615535893744</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>AtvertieDati:tbl_engineering_structure_poly</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geoserver.rgp.lv/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=AtvertieDati%3Atbl_engineering_structure_poly" width="20" height="20"/>
      </Style>
      <Format>image/png</Format>
      <Format>image/jpeg</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:4326</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>37</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>74</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>143</MinTileCol>
            <MaxTileCol>148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>45</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>286</MinTileCol>
            <MaxTileCol>296</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>90</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>572</MinTileCol>
            <MaxTileCol>592</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>181</MinTileRow>
            <MaxTileRow>194</MaxTileRow>
            <MinTileCol>1144</MinTileCol>
            <MaxTileCol>1185</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>363</MinTileRow>
            <MaxTileRow>389</MaxTileRow>
            <MinTileCol>2289</MinTileCol>
            <MaxTileCol>2371</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>726</MinTileRow>
            <MaxTileRow>779</MaxTileRow>
            <MinTileCol>4579</MinTileCol>
            <MaxTileCol>4743</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>1452</MinTileRow>
            <MaxTileRow>1558</MaxTileRow>
            <MinTileCol>9159</MinTileCol>
            <MaxTileCol>9487</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>2904</MinTileRow>
            <MaxTileRow>3117</MaxTileRow>
            <MinTileCol>18318</MinTileCol>
            <MaxTileCol>18975</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>5808</MinTileRow>
            <MaxTileRow>6234</MaxTileRow>
            <MinTileCol>36636</MinTileCol>
            <MaxTileCol>37951</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>11617</MinTileRow>
            <MaxTileRow>12469</MaxTileRow>
            <MinTileCol>73272</MinTileCol>
            <MaxTileCol>75903</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>23234</MinTileRow>
            <MaxTileRow>24939</MaxTileRow>
            <MinTileCol>146544</MinTileCol>
            <MaxTileCol>151807</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>46469</MinTileRow>
            <MaxTileRow>49879</MaxTileRow>
            <MinTileCol>293088</MinTileCol>
            <MaxTileCol>303614</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>92939</MinTileRow>
            <MaxTileRow>99758</MaxTileRow>
            <MinTileCol>586176</MinTileCol>
            <MaxTileCol>607229</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>185879</MinTileRow>
            <MaxTileRow>199517</MaxTileRow>
            <MinTileCol>1172353</MinTileCol>
            <MaxTileCol>1214459</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>371759</MinTileRow>
            <MaxTileRow>399034</MaxTileRow>
            <MinTileCol>2344706</MinTileCol>
            <MaxTileCol>2428919</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>EPSG:900913</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>37</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>74</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>143</MinTileCol>
            <MaxTileCol>148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>153</MinTileRow>
            <MaxTileRow>160</MaxTileRow>
            <MinTileCol>286</MinTileCol>
            <MaxTileCol>296</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>307</MinTileRow>
            <MaxTileRow>320</MaxTileRow>
            <MinTileCol>572</MinTileCol>
            <MaxTileCol>592</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>615</MinTileRow>
            <MaxTileRow>640</MaxTileRow>
            <MinTileCol>1144</MinTileCol>
            <MaxTileCol>1185</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>1231</MinTileRow>
            <MaxTileRow>1280</MaxTileRow>
            <MinTileCol>2289</MinTileCol>
            <MaxTileCol>2371</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>2463</MinTileRow>
            <MaxTileRow>2561</MaxTileRow>
            <MinTileCol>4579</MinTileCol>
            <MaxTileCol>4743</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>4926</MinTileRow>
            <MaxTileRow>5122</MaxTileRow>
            <MinTileCol>9159</MinTileCol>
            <MaxTileCol>9487</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>9853</MinTileRow>
            <MaxTileRow>10244</MaxTileRow>
            <MinTileCol>18318</MinTileCol>
            <MaxTileCol>18975</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>19707</MinTileRow>
            <MaxTileRow>20488</MaxTileRow>
            <MinTileCol>36636</MinTileCol>
            <MaxTileCol>37951</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>39414</MinTileRow>
            <MaxTileRow>40976</MaxTileRow>
            <MinTileCol>73272</MinTileCol>
            <MaxTileCol>75903</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>78829</MinTileRow>
            <MaxTileRow>81953</MaxTileRow>
            <MinTileCol>146544</MinTileCol>
            <MaxTileCol>151807</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>157658</MinTileRow>
            <MaxTileRow>163907</MaxTileRow>
            <MinTileCol>293088</MinTileCol>
            <MaxTileCol>303614</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>315316</MinTileRow>
            <MaxTileRow>327814</MaxTileRow>
            <MinTileCol>586176</MinTileCol>
            <MaxTileCol>607229</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>630632</MinTileRow>
            <MaxTileRow>655629</MaxTileRow>
            <MinTileCol>1172353</MinTileCol>
            <MaxTileCol>1214459</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>1261265</MinTileRow>
            <MaxTileRow>1311258</MaxTileRow>
            <MinTileCol>2344706</MinTileCol>
            <MaxTileCol>2428919</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>2522530</MinTileRow>
            <MaxTileRow>2622517</MaxTileRow>
            <MinTileCol>4689413</MinTileCol>
            <MaxTileCol>4857838</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>5045060</MinTileRow>
            <MaxTileRow>5245034</MaxTileRow>
            <MinTileCol>9378826</MinTileCol>
            <MaxTileCol>9715676</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>10090121</MinTileRow>
            <MaxTileRow>10490068</MaxTileRow>
            <MinTileCol>18757652</MinTileCol>
            <MaxTileCol>19431353</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>20180243</MinTileRow>
            <MaxTileRow>20980136</MaxTileRow>
            <MinTileCol>37515304</MinTileCol>
            <MaxTileCol>38862706</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>40360486</MinTileRow>
            <MaxTileRow>41960273</MaxTileRow>
            <MinTileCol>75030608</MinTileCol>
            <MaxTileCol>77725413</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>80720973</MinTileRow>
            <MaxTileRow>83920546</MaxTileRow>
            <MinTileCol>150061217</MinTileCol>
            <MaxTileCol>155450827</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>161441946</MinTileRow>
            <MaxTileRow>167841092</MaxTileRow>
            <MinTileCol>300122435</MinTileCol>
            <MaxTileCol>310901655</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>322883893</MinTileRow>
            <MaxTileRow>335682184</MaxTileRow>
            <MinTileCol>600244871</MinTileCol>
            <MaxTileCol>621803311</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_engineering_structure_poly/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_engineering_structure_poly/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_engineering_structure_poly/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_engineering_structure_poly/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_engineering_structure_poly/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_engineering_structure_poly/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_engineering_structure_poly/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_engineering_structure_poly/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_engineering_structure_poly/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_engineering_structure_poly/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_engineering_structure_poly/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>tbl_roads</ows:Title>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>20.805553350329614 55.6208475457551</ows:LowerCorner>
        <ows:UpperCorner>28.428210507527364 58.09452081163499</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>AtvertieDati:tbl_roads</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>line</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geoserver.rgp.lv/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=AtvertieDati%3Atbl_roads" width="20" height="20"/>
      </Style>
      <Format>image/png</Format>
      <Format>image/jpeg</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:4326</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>37</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>74</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>142</MinTileCol>
            <MaxTileCol>148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>45</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>285</MinTileCol>
            <MaxTileCol>296</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>90</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>571</MinTileCol>
            <MaxTileCol>592</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>181</MinTileRow>
            <MaxTileRow>195</MaxTileRow>
            <MinTileCol>1142</MinTileCol>
            <MaxTileCol>1185</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>363</MinTileRow>
            <MaxTileRow>391</MaxTileRow>
            <MinTileCol>2284</MinTileCol>
            <MaxTileCol>2371</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>726</MinTileRow>
            <MaxTileRow>782</MaxTileRow>
            <MinTileCol>4569</MinTileCol>
            <MaxTileCol>4742</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>1452</MinTileRow>
            <MaxTileRow>1564</MaxTileRow>
            <MinTileCol>9138</MinTileCol>
            <MaxTileCol>9485</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>2904</MinTileRow>
            <MaxTileRow>3129</MaxTileRow>
            <MinTileCol>18277</MinTileCol>
            <MaxTileCol>18971</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>5808</MinTileRow>
            <MaxTileRow>6258</MaxTileRow>
            <MinTileCol>36555</MinTileCol>
            <MaxTileCol>37943</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>11616</MinTileRow>
            <MaxTileRow>12517</MaxTileRow>
            <MinTileCol>73111</MinTileCol>
            <MaxTileCol>75886</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>23232</MinTileRow>
            <MaxTileRow>25034</MaxTileRow>
            <MinTileCol>146222</MinTileCol>
            <MaxTileCol>151772</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>46465</MinTileRow>
            <MaxTileRow>50068</MaxTileRow>
            <MinTileCol>292444</MinTileCol>
            <MaxTileCol>303545</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>92931</MinTileRow>
            <MaxTileRow>100136</MaxTileRow>
            <MinTileCol>584888</MinTileCol>
            <MaxTileCol>607091</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>185862</MinTileRow>
            <MaxTileRow>200273</MaxTileRow>
            <MinTileCol>1169777</MinTileCol>
            <MaxTileCol>1214182</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>371725</MinTileRow>
            <MaxTileRow>400546</MaxTileRow>
            <MinTileCol>2339554</MinTileCol>
            <MaxTileCol>2428364</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>EPSG:900913</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>37</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>74</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>142</MinTileCol>
            <MaxTileCol>148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>153</MinTileRow>
            <MaxTileRow>160</MaxTileRow>
            <MinTileCol>285</MinTileCol>
            <MaxTileCol>296</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>307</MinTileRow>
            <MaxTileRow>320</MaxTileRow>
            <MinTileCol>571</MinTileCol>
            <MaxTileCol>592</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>615</MinTileRow>
            <MaxTileRow>641</MaxTileRow>
            <MinTileCol>1142</MinTileCol>
            <MaxTileCol>1185</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>1231</MinTileRow>
            <MaxTileRow>1283</MaxTileRow>
            <MinTileCol>2284</MinTileCol>
            <MaxTileCol>2371</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>2463</MinTileRow>
            <MaxTileRow>2566</MaxTileRow>
            <MinTileCol>4569</MinTileCol>
            <MaxTileCol>4742</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>4926</MinTileRow>
            <MaxTileRow>5132</MaxTileRow>
            <MinTileCol>9138</MinTileCol>
            <MaxTileCol>9485</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>9853</MinTileRow>
            <MaxTileRow>10265</MaxTileRow>
            <MinTileCol>18277</MinTileCol>
            <MaxTileCol>18971</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>19706</MinTileRow>
            <MaxTileRow>20530</MaxTileRow>
            <MinTileCol>36555</MinTileCol>
            <MaxTileCol>37943</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>39412</MinTileRow>
            <MaxTileRow>41060</MaxTileRow>
            <MinTileCol>73111</MinTileCol>
            <MaxTileCol>75886</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>78825</MinTileRow>
            <MaxTileRow>82121</MaxTileRow>
            <MinTileCol>146222</MinTileCol>
            <MaxTileCol>151772</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>157650</MinTileRow>
            <MaxTileRow>164242</MaxTileRow>
            <MinTileCol>292444</MinTileCol>
            <MaxTileCol>303545</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>315300</MinTileRow>
            <MaxTileRow>328484</MaxTileRow>
            <MinTileCol>584888</MinTileCol>
            <MaxTileCol>607091</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>630600</MinTileRow>
            <MaxTileRow>656969</MaxTileRow>
            <MinTileCol>1169777</MinTileCol>
            <MaxTileCol>1214182</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>1261201</MinTileRow>
            <MaxTileRow>1313939</MaxTileRow>
            <MinTileCol>2339554</MinTileCol>
            <MaxTileCol>2428364</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>2522402</MinTileRow>
            <MaxTileRow>2627879</MaxTileRow>
            <MinTileCol>4679108</MinTileCol>
            <MaxTileCol>4856729</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>5044804</MinTileRow>
            <MaxTileRow>5255758</MaxTileRow>
            <MinTileCol>9358217</MinTileCol>
            <MaxTileCol>9713458</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>10089609</MinTileRow>
            <MaxTileRow>10511516</MaxTileRow>
            <MinTileCol>18716434</MinTileCol>
            <MaxTileCol>19426917</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>20179218</MinTileRow>
            <MaxTileRow>21023032</MaxTileRow>
            <MinTileCol>37432868</MinTileCol>
            <MaxTileCol>38853834</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>40358437</MinTileRow>
            <MaxTileRow>42046064</MaxTileRow>
            <MinTileCol>74865736</MinTileCol>
            <MaxTileCol>77707669</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>80716874</MinTileRow>
            <MaxTileRow>84092128</MaxTileRow>
            <MinTileCol>149731473</MinTileCol>
            <MaxTileCol>155415338</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>161433749</MinTileRow>
            <MaxTileRow>168184256</MaxTileRow>
            <MinTileCol>299462946</MinTileCol>
            <MaxTileCol>310830676</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>322867499</MinTileRow>
            <MaxTileRow>336368513</MaxTileRow>
            <MinTileCol>598925892</MinTileCol>
            <MaxTileCol>621661352</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_roads/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_roads/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_roads/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_roads/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_roads/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_roads/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_roads/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_roads/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_roads/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_roads/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_roads/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>tbl_buildings</ows:Title>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>21.230152452804653 55.75627896193713</ows:LowerCorner>
        <ows:UpperCorner>28.47084662793276 58.07255043844205</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>AtvertieDati:tbl_buildings</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>polygon</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://geoserver.rgp.lv/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=AtvertieDati%3Atbl_buildings" width="20" height="20"/>
      </Style>
      <Format>image/png</Format>
      <Format>image/jpeg</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:4326</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>37</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>74</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>143</MinTileCol>
            <MaxTileCol>148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>45</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>286</MinTileCol>
            <MaxTileCol>296</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>90</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>572</MinTileCol>
            <MaxTileCol>592</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>181</MinTileRow>
            <MaxTileRow>194</MaxTileRow>
            <MinTileCol>1144</MinTileCol>
            <MaxTileCol>1185</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>363</MinTileRow>
            <MaxTileRow>389</MaxTileRow>
            <MinTileCol>2289</MinTileCol>
            <MaxTileCol>2371</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>726</MinTileRow>
            <MaxTileRow>779</MaxTileRow>
            <MinTileCol>4579</MinTileCol>
            <MaxTileCol>4743</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>1453</MinTileRow>
            <MaxTileRow>1558</MaxTileRow>
            <MinTileCol>9158</MinTileCol>
            <MaxTileCol>9487</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>2906</MinTileRow>
            <MaxTileRow>3116</MaxTileRow>
            <MinTileCol>18316</MinTileCol>
            <MaxTileCol>18975</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>5812</MinTileRow>
            <MaxTileRow>6233</MaxTileRow>
            <MinTileCol>36632</MinTileCol>
            <MaxTileCol>37950</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>11624</MinTileRow>
            <MaxTileRow>12467</MaxTileRow>
            <MinTileCol>73265</MinTileCol>
            <MaxTileCol>75901</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>23248</MinTileRow>
            <MaxTileRow>24935</MaxTileRow>
            <MinTileCol>146531</MinTileCol>
            <MaxTileCol>151803</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>46497</MinTileRow>
            <MaxTileRow>49871</MaxTileRow>
            <MinTileCol>293062</MinTileCol>
            <MaxTileCol>303607</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>92995</MinTileRow>
            <MaxTileRow>99742</MaxTileRow>
            <MinTileCol>586125</MinTileCol>
            <MaxTileCol>607215</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>185990</MinTileRow>
            <MaxTileRow>199484</MaxTileRow>
            <MinTileCol>1172250</MinTileCol>
            <MaxTileCol>1214430</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>371981</MinTileRow>
            <MaxTileRow>398968</MaxTileRow>
            <MinTileCol>2344501</MinTileCol>
            <MaxTileCol>2428861</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <TileMatrixSetLink>
        <TileMatrixSet>EPSG:900913</TileMatrixSet>
        <TileMatrixSetLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:0</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>0</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:1</TileMatrix>
            <MinTileRow>0</MinTileRow>
            <MaxTileRow>0</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>2</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>4</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>9</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>18</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>37</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>40</MaxTileRow>
            <MinTileCol>71</MinTileCol>
            <MaxTileCol>74</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>80</MaxTileRow>
            <MinTileCol>143</MinTileCol>
            <MaxTileCol>148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>154</MinTileRow>
            <MaxTileRow>160</MaxTileRow>
            <MinTileCol>286</MinTileCol>
            <MaxTileCol>296</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>308</MinTileRow>
            <MaxTileRow>320</MaxTileRow>
            <MinTileCol>572</MinTileCol>
            <MaxTileCol>592</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>616</MinTileRow>
            <MaxTileRow>640</MaxTileRow>
            <MinTileCol>1144</MinTileCol>
            <MaxTileCol>1185</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>1232</MinTileRow>
            <MaxTileRow>1280</MaxTileRow>
            <MinTileCol>2289</MinTileCol>
            <MaxTileCol>2371</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>2464</MinTileRow>
            <MaxTileRow>2560</MaxTileRow>
            <MinTileCol>4579</MinTileCol>
            <MaxTileCol>4743</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>4928</MinTileRow>
            <MaxTileRow>5121</MaxTileRow>
            <MinTileCol>9158</MinTileCol>
            <MaxTileCol>9487</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>9856</MinTileRow>
            <MaxTileRow>10243</MaxTileRow>
            <MinTileCol>18316</MinTileCol>
            <MaxTileCol>18975</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>19713</MinTileRow>
            <MaxTileRow>20486</MaxTileRow>
            <MinTileCol>36632</MinTileCol>
            <MaxTileCol>37950</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>39427</MinTileRow>
            <MaxTileRow>40973</MaxTileRow>
            <MinTileCol>73265</MinTileCol>
            <MaxTileCol>75901</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>78855</MinTileRow>
            <MaxTileRow>81946</MaxTileRow>
            <MinTileCol>146531</MinTileCol>
            <MaxTileCol>151803</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>157710</MinTileRow>
            <MaxTileRow>163892</MaxTileRow>
            <MinTileCol>293062</MinTileCol>
            <MaxTileCol>303607</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>315421</MinTileRow>
            <MaxTileRow>327785</MaxTileRow>
            <MinTileCol>586125</MinTileCol>
            <MaxTileCol>607215</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>630842</MinTileRow>
            <MaxTileRow>655570</MaxTileRow>
            <MinTileCol>1172250</MinTileCol>
            <MaxTileCol>1214430</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>1261685</MinTileRow>
            <MaxTileRow>1311140</MaxTileRow>
            <MinTileCol>2344501</MinTileCol>
            <MaxTileCol>2428861</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>2523370</MinTileRow>
            <MaxTileRow>2622280</MaxTileRow>
            <MinTileCol>4689002</MinTileCol>
            <MaxTileCol>4857722</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>5046741</MinTileRow>
            <MaxTileRow>5244561</MaxTileRow>
            <MinTileCol>9378004</MinTileCol>
            <MaxTileCol>9715445</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>10093482</MinTileRow>
            <MaxTileRow>10489122</MaxTileRow>
            <MinTileCol>18756009</MinTileCol>
            <MaxTileCol>19430891</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>20186965</MinTileRow>
            <MaxTileRow>20978244</MaxTileRow>
            <MinTileCol>37512019</MinTileCol>
            <MaxTileCol>38861782</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>40373930</MinTileRow>
            <MaxTileRow>41956489</MaxTileRow>
            <MinTileCol>75024038</MinTileCol>
            <MaxTileCol>77723564</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>80747861</MinTileRow>
            <MaxTileRow>83912978</MaxTileRow>
            <MinTileCol>150048077</MinTileCol>
            <MaxTileCol>155447129</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>161495723</MinTileRow>
            <MaxTileRow>167825957</MaxTileRow>
            <MinTileCol>300096154</MinTileCol>
            <MaxTileCol>310894259</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>322991447</MinTileRow>
            <MaxTileRow>335651914</MaxTileRow>
            <MinTileCol>600192308</MinTileCol>
            <MaxTileCol>621788519</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_buildings/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_buildings/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_buildings/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_buildings/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_buildings/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_buildings/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_buildings/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_buildings/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_buildings/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_buildings/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/AtvertieDati:tbl_buildings/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <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>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>
  </Contents>
  <ServiceMetadataURL xlink:href="https://geoserver.rgp.lv/geoserver/gwc/service/wmts?SERVICE=wmts&amp;REQUEST=getcapabilities&amp;VERSION=1.0.0"/>
  <ServiceMetadataURL xlink:href="https://geoserver.rgp.lv/geoserver/gwc/service/wmts/rest/WMTSCapabilities.xml"/>
</Capabilities>