<Capabilities version="1.0.0" xmlns="http://www.opengis.net/wmts/1.0"
                xmlns:gml="http://www.opengis.net/gml" 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"
                xsi:schemaLocation="http://www.opengis.net/wmts/1.0 http://schemas.opengis.net/wmts/1.0/wmtsGetCapabilities_response.xsd">
    <ows:ServiceIdentification>
        <ows:Title>Service de visualisation WMTS</ows:Title>
        <ows:ServiceType>OGC WMTS</ows:ServiceType>
        <ows:ServiceTypeVersion>1.0.0</ows:ServiceTypeVersion>
    </ows:ServiceIdentification>
    <ows:ServiceProvider>
        <ows:ProviderName></ows:ProviderName>
        <ows:ProviderSite xlink:href=""/>
        <ows:ServiceContact>
            <ows:IndividualName></ows:IndividualName>
            <ows:PositionName></ows:PositionName>
            <ows:ContactInfo>
                <ows:Phone>
                    <ows:Voice/>
                    <ows:Facsimile/>
                </ows:Phone>
                <ows:Address>
                    <ows:DeliveryPoint></ows:DeliveryPoint>
                    <ows:City></ows:City>
                    <ows:AdministrativeArea/>
                    <ows:PostalCode></ows:PostalCode>
                    <ows:Country></ows:Country>
                    <ows:ElectronicMailAddress></ows:ElectronicMailAddress>
                </ows:Address>
            </ows:ContactInfo>
        </ows:ServiceContact>
    </ows:ServiceProvider>
    <ows:OperationsMetadata>
        <ows:Operation name="GetCapabilities">
            <ows:DCP>
                <ows:HTTP>
                    <ows:Get xlink:href="http://geopgrande.cimregiaodeleiria.pt/index.php/lizmap/service/?repository=public&amp;project=pl_pg&amp;">
                        <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="http://geopgrande.cimregiaodeleiria.pt/index.php/lizmap/service/?repository=public&amp;project=pl_pg&amp;">
                        <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:Identifier>ortos2018_pg</ows:Identifier>
        <ows:Title>Ortofotos 2018 (CMPG/CIMRL)</ows:Title>
        <Style isDefault="true">
            <ows:Identifier>default</ows:Identifier>
            <ows:Title>default</ows:Title>
        </Style>
        <ows:WGS84BoundingBox>
            <ows:LowerCorner>-8.32043 39.8482</ows:LowerCorner>
            <ows:UpperCorner>-8.03938 40.0411</ows:UpperCorner>
        </ows:WGS84BoundingBox>
        <Format>image/jpeg</Format>
        
        <TileMatrixSetLink>
            <TileMatrixSet>EPSG:3763</TileMatrixSet>
            <TileMatrixSetLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>0</TileMatrix>
                    <MinTileRow>0</MinTileRow>
                    <MaxTileRow>3</MaxTileRow>
                    <MinTileCol>0</MinTileCol>
                    <MaxTileCol>4</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>1</TileMatrix>
                    <MinTileRow>647</MinTileRow>
                    <MaxTileRow>3809</MaxTileRow>
                    <MinTileCol>1289</MinTileCol>
                    <MaxTileCol>4838</MaxTileCol>
                </TileMatrixLimits>
                
            </TileMatrixSetLimits>
        </TileMatrixSetLink>
        
        <TileMatrixSetLink>
            <TileMatrixSet>EPSG:3857</TileMatrixSet>
            <TileMatrixSetLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>0</TileMatrix>
                    <MinTileRow>0</MinTileRow>
                    <MaxTileRow>1</MaxTileRow>
                    <MinTileCol>0</MinTileCol>
                    <MaxTileCol>1</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>1</TileMatrix>
                    <MinTileRow>0</MinTileRow>
                    <MaxTileRow>1</MaxTileRow>
                    <MinTileCol>0</MinTileCol>
                    <MaxTileCol>1</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>2</TileMatrix>
                    <MinTileRow>1</MinTileRow>
                    <MaxTileRow>2</MaxTileRow>
                    <MinTileCol>1</MinTileCol>
                    <MaxTileCol>2</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>3</TileMatrix>
                    <MinTileRow>3</MinTileRow>
                    <MaxTileRow>4</MaxTileRow>
                    <MinTileCol>3</MinTileCol>
                    <MaxTileCol>4</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>4</TileMatrix>
                    <MinTileRow>6</MinTileRow>
                    <MaxTileRow>7</MaxTileRow>
                    <MinTileCol>7</MinTileCol>
                    <MaxTileCol>8</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>5</TileMatrix>
                    <MinTileRow>12</MinTileRow>
                    <MaxTileRow>13</MaxTileRow>
                    <MinTileCol>15</MinTileCol>
                    <MaxTileCol>16</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>6</TileMatrix>
                    <MinTileRow>24</MinTileRow>
                    <MaxTileRow>25</MaxTileRow>
                    <MinTileCol>30</MinTileCol>
                    <MaxTileCol>31</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>7</TileMatrix>
                    <MinTileRow>48</MinTileRow>
                    <MaxTileRow>49</MaxTileRow>
                    <MinTileCol>61</MinTileCol>
                    <MaxTileCol>62</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>8</TileMatrix>
                    <MinTileRow>96</MinTileRow>
                    <MaxTileRow>98</MaxTileRow>
                    <MinTileCol>122</MinTileCol>
                    <MaxTileCol>123</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>9</TileMatrix>
                    <MinTileRow>193</MinTileRow>
                    <MaxTileRow>195</MaxTileRow>
                    <MinTileCol>244</MinTileCol>
                    <MaxTileCol>245</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>10</TileMatrix>
                    <MinTileRow>387</MinTileRow>
                    <MaxTileRow>389</MaxTileRow>
                    <MinTileCol>488</MinTileCol>
                    <MaxTileCol>490</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>11</TileMatrix>
                    <MinTileRow>775</MinTileRow>
                    <MaxTileRow>777</MaxTileRow>
                    <MinTileCol>976</MinTileCol>
                    <MaxTileCol>979</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>12</TileMatrix>
                    <MinTileRow>1550</MinTileRow>
                    <MaxTileRow>1553</MaxTileRow>
                    <MinTileCol>1953</MinTileCol>
                    <MaxTileCol>1957</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>13</TileMatrix>
                    <MinTileRow>3100</MinTileRow>
                    <MaxTileRow>3106</MaxTileRow>
                    <MinTileCol>3906</MinTileCol>
                    <MaxTileCol>3914</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>14</TileMatrix>
                    <MinTileRow>6200</MinTileRow>
                    <MaxTileRow>6212</MaxTileRow>
                    <MinTileCol>7813</MinTileCol>
                    <MaxTileCol>7827</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>15</TileMatrix>
                    <MinTileRow>12400</MinTileRow>
                    <MaxTileRow>12424</MaxTileRow>
                    <MinTileCol>15626</MinTileCol>
                    <MaxTileCol>15653</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>16</TileMatrix>
                    <MinTileRow>24800</MinTileRow>
                    <MaxTileRow>24847</MaxTileRow>
                    <MinTileCol>31253</MinTileCol>
                    <MaxTileCol>31305</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>17</TileMatrix>
                    <MinTileRow>49601</MinTileRow>
                    <MaxTileRow>49694</MaxTileRow>
                    <MinTileCol>62506</MinTileCol>
                    <MaxTileCol>62609</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>18</TileMatrix>
                    <MinTileRow>99203</MinTileRow>
                    <MaxTileRow>99387</MaxTileRow>
                    <MinTileCol>125013</MinTileCol>
                    <MaxTileCol>125218</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>19</TileMatrix>
                    <MinTileRow>198406</MinTileRow>
                    <MaxTileRow>198773</MaxTileRow>
                    <MinTileCol>250026</MinTileCol>
                    <MaxTileCol>250436</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>20</TileMatrix>
                    <MinTileRow>396812</MinTileRow>
                    <MaxTileRow>397546</MaxTileRow>
                    <MinTileCol>500052</MinTileCol>
                    <MaxTileCol>500872</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>21</TileMatrix>
                    <MinTileRow>793625</MinTileRow>
                    <MaxTileRow>795092</MaxTileRow>
                    <MinTileCol>1000105</MinTileCol>
                    <MaxTileCol>1001744</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>22</TileMatrix>
                    <MinTileRow>1587250</MinTileRow>
                    <MaxTileRow>1590183</MaxTileRow>
                    <MinTileCol>2000211</MinTileCol>
                    <MaxTileCol>2003487</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>23</TileMatrix>
                    <MinTileRow>3174501</MinTileRow>
                    <MaxTileRow>3180365</MaxTileRow>
                    <MinTileCol>4000423</MinTileCol>
                    <MaxTileCol>4006973</MaxTileCol>
                </TileMatrixLimits>
                
            </TileMatrixSetLimits>
        </TileMatrixSetLink>
            </Layer>
    
    <Layer>
        <ows:Identifier>cmp25k_pg</ows:Identifier>
        <ows:Title>Carta militar 1:25000 (CIGeoE)</ows:Title>
        <Style isDefault="true">
            <ows:Identifier>default</ows:Identifier>
            <ows:Title>default</ows:Title>
        </Style>
        <ows:WGS84BoundingBox>
            <ows:LowerCorner>-8.32081 39.8482</ows:LowerCorner>
            <ows:UpperCorner>-7.97297 40.0411</ows:UpperCorner>
        </ows:WGS84BoundingBox>
        <Format>image/jpeg</Format>
        
        <TileMatrixSetLink>
            <TileMatrixSet>EPSG:3763</TileMatrixSet>
            <TileMatrixSetLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>0</TileMatrix>
                    <MinTileRow>0</MinTileRow>
                    <MaxTileRow>3</MaxTileRow>
                    <MinTileCol>0</MinTileCol>
                    <MaxTileCol>4</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>1</TileMatrix>
                    <MinTileRow>646</MinTileRow>
                    <MaxTileRow>3809</MaxTileRow>
                    <MinTileCol>1284</MinTileCol>
                    <MaxTileCol>5675</MaxTileCol>
                </TileMatrixLimits>
                
            </TileMatrixSetLimits>
        </TileMatrixSetLink>
        
        <TileMatrixSetLink>
            <TileMatrixSet>EPSG:3857</TileMatrixSet>
            <TileMatrixSetLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>0</TileMatrix>
                    <MinTileRow>0</MinTileRow>
                    <MaxTileRow>1</MaxTileRow>
                    <MinTileCol>0</MinTileCol>
                    <MaxTileCol>1</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>1</TileMatrix>
                    <MinTileRow>0</MinTileRow>
                    <MaxTileRow>1</MaxTileRow>
                    <MinTileCol>0</MinTileCol>
                    <MaxTileCol>1</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>2</TileMatrix>
                    <MinTileRow>1</MinTileRow>
                    <MaxTileRow>2</MaxTileRow>
                    <MinTileCol>1</MinTileCol>
                    <MaxTileCol>2</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>3</TileMatrix>
                    <MinTileRow>3</MinTileRow>
                    <MaxTileRow>4</MaxTileRow>
                    <MinTileCol>3</MinTileCol>
                    <MaxTileCol>4</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>4</TileMatrix>
                    <MinTileRow>6</MinTileRow>
                    <MaxTileRow>7</MaxTileRow>
                    <MinTileCol>7</MinTileCol>
                    <MaxTileCol>8</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>5</TileMatrix>
                    <MinTileRow>12</MinTileRow>
                    <MaxTileRow>13</MaxTileRow>
                    <MinTileCol>15</MinTileCol>
                    <MaxTileCol>16</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>6</TileMatrix>
                    <MinTileRow>24</MinTileRow>
                    <MaxTileRow>25</MaxTileRow>
                    <MinTileCol>30</MinTileCol>
                    <MaxTileCol>31</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>7</TileMatrix>
                    <MinTileRow>48</MinTileRow>
                    <MaxTileRow>49</MaxTileRow>
                    <MinTileCol>61</MinTileCol>
                    <MaxTileCol>62</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>8</TileMatrix>
                    <MinTileRow>96</MinTileRow>
                    <MaxTileRow>98</MaxTileRow>
                    <MinTileCol>122</MinTileCol>
                    <MaxTileCol>123</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>9</TileMatrix>
                    <MinTileRow>193</MinTileRow>
                    <MaxTileRow>195</MaxTileRow>
                    <MinTileCol>244</MinTileCol>
                    <MaxTileCol>245</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>10</TileMatrix>
                    <MinTileRow>387</MinTileRow>
                    <MaxTileRow>389</MaxTileRow>
                    <MinTileCol>488</MinTileCol>
                    <MaxTileCol>490</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>11</TileMatrix>
                    <MinTileRow>775</MinTileRow>
                    <MaxTileRow>777</MaxTileRow>
                    <MinTileCol>976</MinTileCol>
                    <MaxTileCol>979</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>12</TileMatrix>
                    <MinTileRow>1550</MinTileRow>
                    <MaxTileRow>1553</MaxTileRow>
                    <MinTileCol>1953</MinTileCol>
                    <MaxTileCol>1958</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>13</TileMatrix>
                    <MinTileRow>3100</MinTileRow>
                    <MaxTileRow>3106</MaxTileRow>
                    <MinTileCol>3906</MinTileCol>
                    <MaxTileCol>3915</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>14</TileMatrix>
                    <MinTileRow>6200</MinTileRow>
                    <MaxTileRow>6212</MaxTileRow>
                    <MinTileCol>7813</MinTileCol>
                    <MaxTileCol>7830</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>15</TileMatrix>
                    <MinTileRow>12400</MinTileRow>
                    <MaxTileRow>12424</MaxTileRow>
                    <MinTileCol>15626</MinTileCol>
                    <MaxTileCol>15659</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>16</TileMatrix>
                    <MinTileRow>24800</MinTileRow>
                    <MaxTileRow>24847</MaxTileRow>
                    <MinTileCol>31253</MinTileCol>
                    <MaxTileCol>31317</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>17</TileMatrix>
                    <MinTileRow>49601</MinTileRow>
                    <MaxTileRow>49694</MaxTileRow>
                    <MinTileCol>62506</MinTileCol>
                    <MaxTileCol>62634</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>18</TileMatrix>
                    <MinTileRow>99203</MinTileRow>
                    <MaxTileRow>99387</MaxTileRow>
                    <MinTileCol>125012</MinTileCol>
                    <MaxTileCol>125267</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>19</TileMatrix>
                    <MinTileRow>198406</MinTileRow>
                    <MaxTileRow>198773</MaxTileRow>
                    <MinTileCol>250025</MinTileCol>
                    <MaxTileCol>250533</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>20</TileMatrix>
                    <MinTileRow>396812</MinTileRow>
                    <MaxTileRow>397546</MaxTileRow>
                    <MinTileCol>500051</MinTileCol>
                    <MaxTileCol>501066</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>21</TileMatrix>
                    <MinTileRow>793625</MinTileRow>
                    <MaxTileRow>795092</MaxTileRow>
                    <MinTileCol>1000103</MinTileCol>
                    <MaxTileCol>1002131</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>22</TileMatrix>
                    <MinTileRow>1587250</MinTileRow>
                    <MaxTileRow>1590183</MaxTileRow>
                    <MinTileCol>2000207</MinTileCol>
                    <MaxTileCol>2004261</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>23</TileMatrix>
                    <MinTileRow>3174501</MinTileRow>
                    <MaxTileRow>3180365</MaxTileRow>
                    <MinTileCol>4000415</MinTileCol>
                    <MaxTileCol>4008521</MaxTileCol>
                </TileMatrixLimits>
                
            </TileMatrixSetLimits>
        </TileMatrixSetLink>
            </Layer>
    
    <Layer>
        <ows:Identifier>264_2019_4</ows:Identifier>
        <ows:Title>264_2019_4</ows:Title>
        <Style isDefault="true">
            <ows:Identifier>default</ows:Identifier>
            <ows:Title>default</ows:Title>
        </Style>
        <ows:WGS84BoundingBox>
            <ows:LowerCorner>-8.32057 39.9383</ows:LowerCorner>
            <ows:UpperCorner>-8.13309 40.0285</ows:UpperCorner>
        </ows:WGS84BoundingBox>
        <Format>image/jpeg</Format>
        
        <TileMatrixSetLink>
            <TileMatrixSet>EPSG:3763</TileMatrixSet>
            <TileMatrixSetLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>0</TileMatrix>
                    <MinTileRow>0</MinTileRow>
                    <MaxTileRow>2</MaxTileRow>
                    <MinTileCol>0</MinTileCol>
                    <MaxTileCol>3</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>1</TileMatrix>
                    <MinTileRow>855</MinTileRow>
                    <MaxTileRow>2332</MaxTileRow>
                    <MinTileCol>1290</MinTileCol>
                    <MaxTileCol>3657</MaxTileCol>
                </TileMatrixLimits>
                
            </TileMatrixSetLimits>
        </TileMatrixSetLink>
        
        <TileMatrixSetLink>
            <TileMatrixSet>EPSG:3857</TileMatrixSet>
            <TileMatrixSetLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>0</TileMatrix>
                    <MinTileRow>0</MinTileRow>
                    <MaxTileRow>1</MaxTileRow>
                    <MinTileCol>0</MinTileCol>
                    <MaxTileCol>1</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>1</TileMatrix>
                    <MinTileRow>0</MinTileRow>
                    <MaxTileRow>1</MaxTileRow>
                    <MinTileCol>0</MinTileCol>
                    <MaxTileCol>1</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>2</TileMatrix>
                    <MinTileRow>1</MinTileRow>
                    <MaxTileRow>2</MaxTileRow>
                    <MinTileCol>1</MinTileCol>
                    <MaxTileCol>2</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>3</TileMatrix>
                    <MinTileRow>3</MinTileRow>
                    <MaxTileRow>4</MaxTileRow>
                    <MinTileCol>3</MinTileCol>
                    <MaxTileCol>4</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>4</TileMatrix>
                    <MinTileRow>6</MinTileRow>
                    <MaxTileRow>7</MaxTileRow>
                    <MinTileCol>7</MinTileCol>
                    <MaxTileCol>8</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>5</TileMatrix>
                    <MinTileRow>12</MinTileRow>
                    <MaxTileRow>13</MaxTileRow>
                    <MinTileCol>15</MinTileCol>
                    <MaxTileCol>16</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>6</TileMatrix>
                    <MinTileRow>24</MinTileRow>
                    <MaxTileRow>25</MaxTileRow>
                    <MinTileCol>30</MinTileCol>
                    <MaxTileCol>31</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>7</TileMatrix>
                    <MinTileRow>48</MinTileRow>
                    <MaxTileRow>49</MaxTileRow>
                    <MinTileCol>61</MinTileCol>
                    <MaxTileCol>62</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>8</TileMatrix>
                    <MinTileRow>96</MinTileRow>
                    <MaxTileRow>97</MaxTileRow>
                    <MinTileCol>122</MinTileCol>
                    <MaxTileCol>123</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>9</TileMatrix>
                    <MinTileRow>193</MinTileRow>
                    <MaxTileRow>194</MaxTileRow>
                    <MinTileCol>244</MinTileCol>
                    <MaxTileCol>245</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>10</TileMatrix>
                    <MinTileRow>387</MinTileRow>
                    <MaxTileRow>388</MaxTileRow>
                    <MinTileCol>488</MinTileCol>
                    <MaxTileCol>489</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>11</TileMatrix>
                    <MinTileRow>775</MinTileRow>
                    <MaxTileRow>776</MaxTileRow>
                    <MinTileCol>976</MinTileCol>
                    <MaxTileCol>978</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>12</TileMatrix>
                    <MinTileRow>1550</MinTileRow>
                    <MaxTileRow>1552</MaxTileRow>
                    <MinTileCol>1953</MinTileCol>
                    <MaxTileCol>1956</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>13</TileMatrix>
                    <MinTileRow>3100</MinTileRow>
                    <MaxTileRow>3104</MaxTileRow>
                    <MinTileCol>3906</MinTileCol>
                    <MaxTileCol>3911</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>14</TileMatrix>
                    <MinTileRow>6200</MinTileRow>
                    <MaxTileRow>6207</MaxTileRow>
                    <MinTileCol>7813</MinTileCol>
                    <MaxTileCol>7822</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>15</TileMatrix>
                    <MinTileRow>12401</MinTileRow>
                    <MaxTileRow>12413</MaxTileRow>
                    <MinTileCol>15626</MinTileCol>
                    <MaxTileCol>15644</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>16</TileMatrix>
                    <MinTileRow>24803</MinTileRow>
                    <MaxTileRow>24826</MaxTileRow>
                    <MinTileCol>31253</MinTileCol>
                    <MaxTileCol>31288</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>17</TileMatrix>
                    <MinTileRow>49607</MinTileRow>
                    <MaxTileRow>49651</MaxTileRow>
                    <MinTileCol>62506</MinTileCol>
                    <MaxTileCol>62575</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>18</TileMatrix>
                    <MinTileRow>99215</MinTileRow>
                    <MaxTileRow>99301</MaxTileRow>
                    <MinTileCol>125013</MinTileCol>
                    <MaxTileCol>125150</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>19</TileMatrix>
                    <MinTileRow>198430</MinTileRow>
                    <MaxTileRow>198602</MaxTileRow>
                    <MinTileCol>250026</MinTileCol>
                    <MaxTileCol>250300</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>20</TileMatrix>
                    <MinTileRow>396860</MinTileRow>
                    <MaxTileRow>397204</MaxTileRow>
                    <MinTileCol>500052</MinTileCol>
                    <MaxTileCol>500599</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>21</TileMatrix>
                    <MinTileRow>793721</MinTileRow>
                    <MaxTileRow>794408</MaxTileRow>
                    <MinTileCol>1000105</MinTileCol>
                    <MaxTileCol>1001198</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>22</TileMatrix>
                    <MinTileRow>1587442</MinTileRow>
                    <MaxTileRow>1588815</MaxTileRow>
                    <MinTileCol>2000210</MinTileCol>
                    <MaxTileCol>2002395</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>23</TileMatrix>
                    <MinTileRow>3174885</MinTileRow>
                    <MaxTileRow>3177629</MaxTileRow>
                    <MinTileCol>4000420</MinTileCol>
                    <MaxTileCol>4004790</MaxTileCol>
                </TileMatrixLimits>
                
            </TileMatrixSetLimits>
        </TileMatrixSetLink>
            </Layer>
    
    <Layer>
        <ows:Identifier>276_2019_4_ETRS89</ows:Identifier>
        <ows:Title>276_2019_4_ETRS89</ows:Title>
        <Style isDefault="true">
            <ows:Identifier>default</ows:Identifier>
            <ows:Title>default</ows:Title>
        </Style>
        <ows:WGS84BoundingBox>
            <ows:LowerCorner>-8.32033 39.8482</ows:LowerCorner>
            <ows:UpperCorner>-8.13311 39.9385</ows:UpperCorner>
        </ows:WGS84BoundingBox>
        <Format>image/jpeg</Format>
        
        <TileMatrixSetLink>
            <TileMatrixSet>EPSG:3763</TileMatrixSet>
            <TileMatrixSetLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>0</TileMatrix>
                    <MinTileRow>1</MinTileRow>
                    <MaxTileRow>3</MaxTileRow>
                    <MinTileCol>0</MinTileCol>
                    <MaxTileCol>3</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>1</TileMatrix>
                    <MinTileRow>2330</MinTileRow>
                    <MaxTileRow>3809</MaxTileRow>
                    <MinTileCol>1290</MinTileCol>
                    <MaxTileCol>3657</MaxTileCol>
                </TileMatrixLimits>
                
            </TileMatrixSetLimits>
        </TileMatrixSetLink>
        
        <TileMatrixSetLink>
            <TileMatrixSet>EPSG:3857</TileMatrixSet>
            <TileMatrixSetLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>0</TileMatrix>
                    <MinTileRow>0</MinTileRow>
                    <MaxTileRow>1</MaxTileRow>
                    <MinTileCol>0</MinTileCol>
                    <MaxTileCol>1</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>1</TileMatrix>
                    <MinTileRow>0</MinTileRow>
                    <MaxTileRow>1</MaxTileRow>
                    <MinTileCol>0</MinTileCol>
                    <MaxTileCol>1</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>2</TileMatrix>
                    <MinTileRow>1</MinTileRow>
                    <MaxTileRow>2</MaxTileRow>
                    <MinTileCol>1</MinTileCol>
                    <MaxTileCol>2</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>3</TileMatrix>
                    <MinTileRow>3</MinTileRow>
                    <MaxTileRow>4</MaxTileRow>
                    <MinTileCol>3</MinTileCol>
                    <MaxTileCol>4</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>4</TileMatrix>
                    <MinTileRow>6</MinTileRow>
                    <MaxTileRow>7</MaxTileRow>
                    <MinTileCol>7</MinTileCol>
                    <MaxTileCol>8</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>5</TileMatrix>
                    <MinTileRow>12</MinTileRow>
                    <MaxTileRow>13</MaxTileRow>
                    <MinTileCol>15</MinTileCol>
                    <MaxTileCol>16</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>6</TileMatrix>
                    <MinTileRow>24</MinTileRow>
                    <MaxTileRow>25</MaxTileRow>
                    <MinTileCol>30</MinTileCol>
                    <MaxTileCol>31</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>7</TileMatrix>
                    <MinTileRow>48</MinTileRow>
                    <MaxTileRow>49</MaxTileRow>
                    <MinTileCol>61</MinTileCol>
                    <MaxTileCol>62</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>8</TileMatrix>
                    <MinTileRow>96</MinTileRow>
                    <MaxTileRow>98</MaxTileRow>
                    <MinTileCol>122</MinTileCol>
                    <MaxTileCol>123</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>9</TileMatrix>
                    <MinTileRow>193</MinTileRow>
                    <MaxTileRow>195</MaxTileRow>
                    <MinTileCol>244</MinTileCol>
                    <MaxTileCol>245</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>10</TileMatrix>
                    <MinTileRow>387</MinTileRow>
                    <MaxTileRow>389</MaxTileRow>
                    <MinTileCol>488</MinTileCol>
                    <MaxTileCol>489</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>11</TileMatrix>
                    <MinTileRow>775</MinTileRow>
                    <MaxTileRow>777</MaxTileRow>
                    <MinTileCol>976</MinTileCol>
                    <MaxTileCol>978</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>12</TileMatrix>
                    <MinTileRow>1551</MinTileRow>
                    <MaxTileRow>1553</MaxTileRow>
                    <MinTileCol>1953</MinTileCol>
                    <MaxTileCol>1956</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>13</TileMatrix>
                    <MinTileRow>3103</MinTileRow>
                    <MaxTileRow>3106</MaxTileRow>
                    <MinTileCol>3906</MinTileCol>
                    <MaxTileCol>3911</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>14</TileMatrix>
                    <MinTileRow>6206</MinTileRow>
                    <MaxTileRow>6212</MaxTileRow>
                    <MinTileCol>7813</MinTileCol>
                    <MaxTileCol>7822</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>15</TileMatrix>
                    <MinTileRow>12412</MinTileRow>
                    <MaxTileRow>12424</MaxTileRow>
                    <MinTileCol>15626</MinTileCol>
                    <MaxTileCol>15644</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>16</TileMatrix>
                    <MinTileRow>24825</MinTileRow>
                    <MaxTileRow>24847</MaxTileRow>
                    <MinTileCol>31253</MinTileCol>
                    <MaxTileCol>31288</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>17</TileMatrix>
                    <MinTileRow>49650</MinTileRow>
                    <MaxTileRow>49694</MaxTileRow>
                    <MinTileCol>62506</MinTileCol>
                    <MaxTileCol>62575</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>18</TileMatrix>
                    <MinTileRow>99300</MinTileRow>
                    <MaxTileRow>99387</MaxTileRow>
                    <MinTileCol>125013</MinTileCol>
                    <MaxTileCol>125150</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>19</TileMatrix>
                    <MinTileRow>198601</MinTileRow>
                    <MaxTileRow>198773</MaxTileRow>
                    <MinTileCol>250026</MinTileCol>
                    <MaxTileCol>250300</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>20</TileMatrix>
                    <MinTileRow>397202</MinTileRow>
                    <MaxTileRow>397546</MaxTileRow>
                    <MinTileCol>500053</MinTileCol>
                    <MaxTileCol>500599</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>21</TileMatrix>
                    <MinTileRow>794405</MinTileRow>
                    <MaxTileRow>795092</MaxTileRow>
                    <MinTileCol>1000106</MinTileCol>
                    <MaxTileCol>1001198</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>22</TileMatrix>
                    <MinTileRow>1588811</MinTileRow>
                    <MaxTileRow>1590183</MaxTileRow>
                    <MinTileCol>2000213</MinTileCol>
                    <MaxTileCol>2002395</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>23</TileMatrix>
                    <MinTileRow>3177622</MinTileRow>
                    <MaxTileRow>3180365</MaxTileRow>
                    <MinTileCol>4000426</MinTileCol>
                    <MaxTileCol>4004789</MaxTileCol>
                </TileMatrixLimits>
                
            </TileMatrixSetLimits>
        </TileMatrixSetLink>
            </Layer>
    
    <Layer>
        <ows:Identifier>252_2019_4</ows:Identifier>
        <ows:Title>252_2019_4</ows:Title>
        <Style isDefault="true">
            <ows:Identifier>default</ows:Identifier>
            <ows:Title>default</ows:Title>
        </Style>
        <ows:WGS84BoundingBox>
            <ows:LowerCorner>-8.32081 40.0283</ows:LowerCorner>
            <ows:UpperCorner>-8.13309 40.0411</ows:UpperCorner>
        </ows:WGS84BoundingBox>
        <Format>image/jpeg</Format>
        
        <TileMatrixSetLink>
            <TileMatrixSet>EPSG:3763</TileMatrixSet>
            <TileMatrixSetLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>0</TileMatrix>
                    <MinTileRow>0</MinTileRow>
                    <MaxTileRow>1</MaxTileRow>
                    <MinTileCol>0</MinTileCol>
                    <MaxTileCol>3</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>1</TileMatrix>
                    <MinTileRow>648</MinTileRow>
                    <MaxTileRow>856</MaxTileRow>
                    <MinTileCol>1290</MinTileCol>
                    <MaxTileCol>3657</MaxTileCol>
                </TileMatrixLimits>
                
            </TileMatrixSetLimits>
        </TileMatrixSetLink>
        
        <TileMatrixSetLink>
            <TileMatrixSet>EPSG:3857</TileMatrixSet>
            <TileMatrixSetLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>0</TileMatrix>
                    <MinTileRow>0</MinTileRow>
                    <MaxTileRow>1</MaxTileRow>
                    <MinTileCol>0</MinTileCol>
                    <MaxTileCol>1</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>1</TileMatrix>
                    <MinTileRow>0</MinTileRow>
                    <MaxTileRow>1</MaxTileRow>
                    <MinTileCol>0</MinTileCol>
                    <MaxTileCol>1</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>2</TileMatrix>
                    <MinTileRow>1</MinTileRow>
                    <MaxTileRow>2</MaxTileRow>
                    <MinTileCol>1</MinTileCol>
                    <MaxTileCol>2</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>3</TileMatrix>
                    <MinTileRow>3</MinTileRow>
                    <MaxTileRow>4</MaxTileRow>
                    <MinTileCol>3</MinTileCol>
                    <MaxTileCol>4</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>4</TileMatrix>
                    <MinTileRow>6</MinTileRow>
                    <MaxTileRow>7</MaxTileRow>
                    <MinTileCol>7</MinTileCol>
                    <MaxTileCol>8</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>5</TileMatrix>
                    <MinTileRow>12</MinTileRow>
                    <MaxTileRow>13</MaxTileRow>
                    <MinTileCol>15</MinTileCol>
                    <MaxTileCol>16</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>6</TileMatrix>
                    <MinTileRow>24</MinTileRow>
                    <MaxTileRow>25</MaxTileRow>
                    <MinTileCol>30</MinTileCol>
                    <MaxTileCol>31</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>7</TileMatrix>
                    <MinTileRow>48</MinTileRow>
                    <MaxTileRow>49</MaxTileRow>
                    <MinTileCol>61</MinTileCol>
                    <MaxTileCol>62</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>8</TileMatrix>
                    <MinTileRow>96</MinTileRow>
                    <MaxTileRow>97</MaxTileRow>
                    <MinTileCol>122</MinTileCol>
                    <MaxTileCol>123</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>9</TileMatrix>
                    <MinTileRow>193</MinTileRow>
                    <MaxTileRow>194</MaxTileRow>
                    <MinTileCol>244</MinTileCol>
                    <MaxTileCol>245</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>10</TileMatrix>
                    <MinTileRow>387</MinTileRow>
                    <MaxTileRow>388</MaxTileRow>
                    <MinTileCol>488</MinTileCol>
                    <MaxTileCol>489</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>11</TileMatrix>
                    <MinTileRow>775</MinTileRow>
                    <MaxTileRow>776</MaxTileRow>
                    <MinTileCol>976</MinTileCol>
                    <MaxTileCol>978</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>12</TileMatrix>
                    <MinTileRow>1550</MinTileRow>
                    <MaxTileRow>1551</MaxTileRow>
                    <MinTileCol>1953</MinTileCol>
                    <MaxTileCol>1956</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>13</TileMatrix>
                    <MinTileRow>3100</MinTileRow>
                    <MaxTileRow>3101</MaxTileRow>
                    <MinTileCol>3906</MinTileCol>
                    <MaxTileCol>3911</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>14</TileMatrix>
                    <MinTileRow>6200</MinTileRow>
                    <MaxTileRow>6201</MaxTileRow>
                    <MinTileCol>7813</MinTileCol>
                    <MaxTileCol>7822</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>15</TileMatrix>
                    <MinTileRow>12400</MinTileRow>
                    <MaxTileRow>12402</MaxTileRow>
                    <MinTileCol>15626</MinTileCol>
                    <MaxTileCol>15644</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>16</TileMatrix>
                    <MinTileRow>24800</MinTileRow>
                    <MaxTileRow>24804</MaxTileRow>
                    <MinTileCol>31253</MinTileCol>
                    <MaxTileCol>31288</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>17</TileMatrix>
                    <MinTileRow>49601</MinTileRow>
                    <MaxTileRow>49608</MaxTileRow>
                    <MinTileCol>62506</MinTileCol>
                    <MaxTileCol>62575</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>18</TileMatrix>
                    <MinTileRow>99203</MinTileRow>
                    <MaxTileRow>99216</MaxTileRow>
                    <MinTileCol>125012</MinTileCol>
                    <MaxTileCol>125150</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>19</TileMatrix>
                    <MinTileRow>198406</MinTileRow>
                    <MaxTileRow>198431</MaxTileRow>
                    <MinTileCol>250025</MinTileCol>
                    <MaxTileCol>250300</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>20</TileMatrix>
                    <MinTileRow>396812</MinTileRow>
                    <MaxTileRow>396862</MaxTileRow>
                    <MinTileCol>500051</MinTileCol>
                    <MaxTileCol>500599</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>21</TileMatrix>
                    <MinTileRow>793625</MinTileRow>
                    <MaxTileRow>793723</MaxTileRow>
                    <MinTileCol>1000103</MinTileCol>
                    <MaxTileCol>1001198</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>22</TileMatrix>
                    <MinTileRow>1587250</MinTileRow>
                    <MaxTileRow>1587446</MaxTileRow>
                    <MinTileCol>2000207</MinTileCol>
                    <MaxTileCol>2002395</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>23</TileMatrix>
                    <MinTileRow>3174501</MinTileRow>
                    <MaxTileRow>3174892</MaxTileRow>
                    <MinTileCol>4000415</MinTileCol>
                    <MaxTileCol>4004790</MaxTileCol>
                </TileMatrixLimits>
                
            </TileMatrixSetLimits>
        </TileMatrixSetLink>
            </Layer>
    
    <Layer>
        <ows:Identifier>Pedrogao_Grande_1013_OrtoSat2023_CorVerdadeira</ows:Identifier>
        <ows:Title>Ortofotos Satélite DGT (2023)</ows:Title>
        <Style isDefault="true">
            <ows:Identifier>default</ows:Identifier>
            <ows:Title>default</ows:Title>
        </Style>
        <ows:WGS84BoundingBox>
            <ows:LowerCorner>-8.26748 39.8457</ows:LowerCorner>
            <ows:UpperCorner>-8.10215 40.041</ows:UpperCorner>
        </ows:WGS84BoundingBox>
        <Format>image/jpeg</Format>
        
        <TileMatrixSetLink>
            <TileMatrixSet>EPSG:3763</TileMatrixSet>
            <TileMatrixSetLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>0</TileMatrix>
                    <MinTileRow>0</MinTileRow>
                    <MaxTileRow>3</MaxTileRow>
                    <MinTileCol>1</MinTileCol>
                    <MaxTileCol>3</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>1</TileMatrix>
                    <MinTileRow>650</MinTileRow>
                    <MaxTileRow>3851</MaxTileRow>
                    <MinTileCol>1958</MinTileCol>
                    <MaxTileCol>4047</MaxTileCol>
                </TileMatrixLimits>
                
            </TileMatrixSetLimits>
        </TileMatrixSetLink>
        
        <TileMatrixSetLink>
            <TileMatrixSet>EPSG:3857</TileMatrixSet>
            <TileMatrixSetLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>0</TileMatrix>
                    <MinTileRow>0</MinTileRow>
                    <MaxTileRow>1</MaxTileRow>
                    <MinTileCol>0</MinTileCol>
                    <MaxTileCol>1</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>1</TileMatrix>
                    <MinTileRow>0</MinTileRow>
                    <MaxTileRow>1</MaxTileRow>
                    <MinTileCol>0</MinTileCol>
                    <MaxTileCol>1</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>2</TileMatrix>
                    <MinTileRow>1</MinTileRow>
                    <MaxTileRow>2</MaxTileRow>
                    <MinTileCol>1</MinTileCol>
                    <MaxTileCol>2</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>3</TileMatrix>
                    <MinTileRow>3</MinTileRow>
                    <MaxTileRow>4</MaxTileRow>
                    <MinTileCol>3</MinTileCol>
                    <MaxTileCol>4</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>4</TileMatrix>
                    <MinTileRow>6</MinTileRow>
                    <MaxTileRow>7</MaxTileRow>
                    <MinTileCol>7</MinTileCol>
                    <MaxTileCol>8</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>5</TileMatrix>
                    <MinTileRow>12</MinTileRow>
                    <MaxTileRow>13</MaxTileRow>
                    <MinTileCol>15</MinTileCol>
                    <MaxTileCol>16</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>6</TileMatrix>
                    <MinTileRow>24</MinTileRow>
                    <MaxTileRow>25</MaxTileRow>
                    <MinTileCol>30</MinTileCol>
                    <MaxTileCol>31</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>7</TileMatrix>
                    <MinTileRow>48</MinTileRow>
                    <MaxTileRow>49</MaxTileRow>
                    <MinTileCol>61</MinTileCol>
                    <MaxTileCol>62</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>8</TileMatrix>
                    <MinTileRow>96</MinTileRow>
                    <MaxTileRow>98</MaxTileRow>
                    <MinTileCol>122</MinTileCol>
                    <MaxTileCol>123</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>9</TileMatrix>
                    <MinTileRow>193</MinTileRow>
                    <MaxTileRow>195</MaxTileRow>
                    <MinTileCol>244</MinTileCol>
                    <MaxTileCol>245</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>10</TileMatrix>
                    <MinTileRow>387</MinTileRow>
                    <MaxTileRow>389</MaxTileRow>
                    <MinTileCol>488</MinTileCol>
                    <MaxTileCol>489</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>11</TileMatrix>
                    <MinTileRow>775</MinTileRow>
                    <MaxTileRow>777</MaxTileRow>
                    <MinTileCol>976</MinTileCol>
                    <MaxTileCol>978</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>12</TileMatrix>
                    <MinTileRow>1550</MinTileRow>
                    <MaxTileRow>1553</MaxTileRow>
                    <MinTileCol>1953</MinTileCol>
                    <MaxTileCol>1956</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>13</TileMatrix>
                    <MinTileRow>3100</MinTileRow>
                    <MaxTileRow>3106</MaxTileRow>
                    <MinTileCol>3907</MinTileCol>
                    <MaxTileCol>3912</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>14</TileMatrix>
                    <MinTileRow>6200</MinTileRow>
                    <MaxTileRow>6212</MaxTileRow>
                    <MinTileCol>7815</MinTileCol>
                    <MaxTileCol>7824</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>15</TileMatrix>
                    <MinTileRow>12400</MinTileRow>
                    <MaxTileRow>12424</MaxTileRow>
                    <MinTileCol>15631</MinTileCol>
                    <MaxTileCol>15647</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>16</TileMatrix>
                    <MinTileRow>24800</MinTileRow>
                    <MaxTileRow>24848</MaxTileRow>
                    <MinTileCol>31262</MinTileCol>
                    <MaxTileCol>31294</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>17</TileMatrix>
                    <MinTileRow>49601</MinTileRow>
                    <MaxTileRow>49695</MaxTileRow>
                    <MinTileCol>62525</MinTileCol>
                    <MaxTileCol>62587</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>18</TileMatrix>
                    <MinTileRow>99203</MinTileRow>
                    <MaxTileRow>99389</MaxTileRow>
                    <MinTileCol>125051</MinTileCol>
                    <MaxTileCol>125173</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>19</TileMatrix>
                    <MinTileRow>198406</MinTileRow>
                    <MaxTileRow>198778</MaxTileRow>
                    <MinTileCol>250103</MinTileCol>
                    <MaxTileCol>250345</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>20</TileMatrix>
                    <MinTileRow>396813</MinTileRow>
                    <MaxTileRow>397556</MaxTileRow>
                    <MinTileCol>500207</MinTileCol>
                    <MaxTileCol>500689</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>21</TileMatrix>
                    <MinTileRow>793626</MinTileRow>
                    <MaxTileRow>795111</MaxTileRow>
                    <MinTileCol>1000414</MinTileCol>
                    <MaxTileCol>1001378</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>22</TileMatrix>
                    <MinTileRow>1587252</MinTileRow>
                    <MaxTileRow>1590221</MaxTileRow>
                    <MinTileCol>2000828</MinTileCol>
                    <MaxTileCol>2002756</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>23</TileMatrix>
                    <MinTileRow>3174504</MinTileRow>
                    <MaxTileRow>3180441</MaxTileRow>
                    <MinTileCol>4001657</MinTileCol>
                    <MaxTileCol>4005511</MaxTileCol>
                </TileMatrixLimits>
                
            </TileMatrixSetLimits>
        </TileMatrixSetLink>
            </Layer>
    
    <Layer>
        <ows:Identifier>277_2021_3</ows:Identifier>
        <ows:Title>277_2021_3</ows:Title>
        <Style isDefault="true">
            <ows:Identifier>default</ows:Identifier>
            <ows:Title>default</ows:Title>
        </Style>
        <ows:WGS84BoundingBox>
            <ows:LowerCorner>-8.13313 39.8482</ows:LowerCorner>
            <ows:UpperCorner>-7.97297 39.9385</ows:UpperCorner>
        </ows:WGS84BoundingBox>
        <Format>image/jpeg</Format>
        
        <TileMatrixSetLink>
            <TileMatrixSet>EPSG:3763</TileMatrixSet>
            <TileMatrixSetLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>0</TileMatrix>
                    <MinTileRow>1</MinTileRow>
                    <MaxTileRow>3</MaxTileRow>
                    <MinTileCol>2</MinTileCol>
                    <MaxTileCol>4</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>1</TileMatrix>
                    <MinTileRow>2328</MinTileRow>
                    <MaxTileRow>3811</MaxTileRow>
                    <MinTileCol>3656</MinTileCol>
                    <MaxTileCol>5678</MaxTileCol>
                </TileMatrixLimits>
                
            </TileMatrixSetLimits>
        </TileMatrixSetLink>
        
        <TileMatrixSetLink>
            <TileMatrixSet>EPSG:3857</TileMatrixSet>
            <TileMatrixSetLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>0</TileMatrix>
                    <MinTileRow>0</MinTileRow>
                    <MaxTileRow>1</MaxTileRow>
                    <MinTileCol>0</MinTileCol>
                    <MaxTileCol>1</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>1</TileMatrix>
                    <MinTileRow>0</MinTileRow>
                    <MaxTileRow>1</MaxTileRow>
                    <MinTileCol>0</MinTileCol>
                    <MaxTileCol>1</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>2</TileMatrix>
                    <MinTileRow>1</MinTileRow>
                    <MaxTileRow>2</MaxTileRow>
                    <MinTileCol>1</MinTileCol>
                    <MaxTileCol>2</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>3</TileMatrix>
                    <MinTileRow>3</MinTileRow>
                    <MaxTileRow>4</MaxTileRow>
                    <MinTileCol>3</MinTileCol>
                    <MaxTileCol>4</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>4</TileMatrix>
                    <MinTileRow>6</MinTileRow>
                    <MaxTileRow>7</MaxTileRow>
                    <MinTileCol>7</MinTileCol>
                    <MaxTileCol>8</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>5</TileMatrix>
                    <MinTileRow>12</MinTileRow>
                    <MaxTileRow>13</MaxTileRow>
                    <MinTileCol>15</MinTileCol>
                    <MaxTileCol>16</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>6</TileMatrix>
                    <MinTileRow>24</MinTileRow>
                    <MaxTileRow>25</MaxTileRow>
                    <MinTileCol>30</MinTileCol>
                    <MaxTileCol>31</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>7</TileMatrix>
                    <MinTileRow>48</MinTileRow>
                    <MaxTileRow>49</MaxTileRow>
                    <MinTileCol>61</MinTileCol>
                    <MaxTileCol>62</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>8</TileMatrix>
                    <MinTileRow>96</MinTileRow>
                    <MaxTileRow>98</MaxTileRow>
                    <MinTileCol>122</MinTileCol>
                    <MaxTileCol>123</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>9</TileMatrix>
                    <MinTileRow>193</MinTileRow>
                    <MaxTileRow>195</MaxTileRow>
                    <MinTileCol>244</MinTileCol>
                    <MaxTileCol>245</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>10</TileMatrix>
                    <MinTileRow>387</MinTileRow>
                    <MaxTileRow>389</MaxTileRow>
                    <MinTileCol>488</MinTileCol>
                    <MaxTileCol>490</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>11</TileMatrix>
                    <MinTileRow>775</MinTileRow>
                    <MaxTileRow>777</MaxTileRow>
                    <MinTileCol>977</MinTileCol>
                    <MaxTileCol>979</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>12</TileMatrix>
                    <MinTileRow>1551</MinTileRow>
                    <MaxTileRow>1553</MaxTileRow>
                    <MinTileCol>1955</MinTileCol>
                    <MaxTileCol>1958</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>13</TileMatrix>
                    <MinTileRow>3103</MinTileRow>
                    <MaxTileRow>3106</MaxTileRow>
                    <MinTileCol>3910</MinTileCol>
                    <MaxTileCol>3915</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>14</TileMatrix>
                    <MinTileRow>6206</MinTileRow>
                    <MaxTileRow>6212</MaxTileRow>
                    <MinTileCol>7821</MinTileCol>
                    <MaxTileCol>7830</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>15</TileMatrix>
                    <MinTileRow>12412</MinTileRow>
                    <MaxTileRow>12424</MaxTileRow>
                    <MinTileCol>15643</MinTileCol>
                    <MaxTileCol>15659</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>16</TileMatrix>
                    <MinTileRow>24825</MinTileRow>
                    <MaxTileRow>24847</MaxTileRow>
                    <MinTileCol>31287</MinTileCol>
                    <MaxTileCol>31317</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>17</TileMatrix>
                    <MinTileRow>49650</MinTileRow>
                    <MaxTileRow>49694</MaxTileRow>
                    <MinTileCol>62574</MinTileCol>
                    <MaxTileCol>62634</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>18</TileMatrix>
                    <MinTileRow>99300</MinTileRow>
                    <MaxTileRow>99387</MaxTileRow>
                    <MinTileCol>125149</MinTileCol>
                    <MaxTileCol>125267</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>19</TileMatrix>
                    <MinTileRow>198601</MinTileRow>
                    <MaxTileRow>198773</MaxTileRow>
                    <MinTileCol>250299</MinTileCol>
                    <MaxTileCol>250533</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>20</TileMatrix>
                    <MinTileRow>397202</MinTileRow>
                    <MaxTileRow>397546</MaxTileRow>
                    <MinTileCol>500598</MinTileCol>
                    <MaxTileCol>501066</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>21</TileMatrix>
                    <MinTileRow>794405</MinTileRow>
                    <MaxTileRow>795092</MaxTileRow>
                    <MinTileCol>1001197</MinTileCol>
                    <MaxTileCol>1002131</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>22</TileMatrix>
                    <MinTileRow>1588811</MinTileRow>
                    <MaxTileRow>1590183</MaxTileRow>
                    <MinTileCol>2002394</MinTileCol>
                    <MaxTileCol>2004261</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>23</TileMatrix>
                    <MinTileRow>3177622</MinTileRow>
                    <MaxTileRow>3180365</MaxTileRow>
                    <MinTileCol>4004788</MinTileCol>
                    <MaxTileCol>4008521</MaxTileCol>
                </TileMatrixLimits>
                
            </TileMatrixSetLimits>
        </TileMatrixSetLink>
            </Layer>
    
    <Layer>
        <ows:Identifier>265_2020_3</ows:Identifier>
        <ows:Title>265_2020_3</ows:Title>
        <Style isDefault="true">
            <ows:Identifier>default</ows:Identifier>
            <ows:Title>default</ows:Title>
        </Style>
        <ows:WGS84BoundingBox>
            <ows:LowerCorner>-8.13313 39.9383</ows:LowerCorner>
            <ows:UpperCorner>-7.97297 40.0285</ows:UpperCorner>
        </ows:WGS84BoundingBox>
        <Format>image/jpeg</Format>
        
        <TileMatrixSetLink>
            <TileMatrixSet>EPSG:3763</TileMatrixSet>
            <TileMatrixSetLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>0</TileMatrix>
                    <MinTileRow>0</MinTileRow>
                    <MaxTileRow>2</MaxTileRow>
                    <MinTileCol>2</MinTileCol>
                    <MaxTileCol>4</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>1</TileMatrix>
                    <MinTileRow>853</MinTileRow>
                    <MaxTileRow>2334</MaxTileRow>
                    <MinTileCol>3656</MinTileCol>
                    <MaxTileCol>5675</MaxTileCol>
                </TileMatrixLimits>
                
            </TileMatrixSetLimits>
        </TileMatrixSetLink>
        
        <TileMatrixSetLink>
            <TileMatrixSet>EPSG:3857</TileMatrixSet>
            <TileMatrixSetLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>0</TileMatrix>
                    <MinTileRow>0</MinTileRow>
                    <MaxTileRow>1</MaxTileRow>
                    <MinTileCol>0</MinTileCol>
                    <MaxTileCol>1</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>1</TileMatrix>
                    <MinTileRow>0</MinTileRow>
                    <MaxTileRow>1</MaxTileRow>
                    <MinTileCol>0</MinTileCol>
                    <MaxTileCol>1</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>2</TileMatrix>
                    <MinTileRow>1</MinTileRow>
                    <MaxTileRow>2</MaxTileRow>
                    <MinTileCol>1</MinTileCol>
                    <MaxTileCol>2</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>3</TileMatrix>
                    <MinTileRow>3</MinTileRow>
                    <MaxTileRow>4</MaxTileRow>
                    <MinTileCol>3</MinTileCol>
                    <MaxTileCol>4</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>4</TileMatrix>
                    <MinTileRow>6</MinTileRow>
                    <MaxTileRow>7</MaxTileRow>
                    <MinTileCol>7</MinTileCol>
                    <MaxTileCol>8</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>5</TileMatrix>
                    <MinTileRow>12</MinTileRow>
                    <MaxTileRow>13</MaxTileRow>
                    <MinTileCol>15</MinTileCol>
                    <MaxTileCol>16</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>6</TileMatrix>
                    <MinTileRow>24</MinTileRow>
                    <MaxTileRow>25</MaxTileRow>
                    <MinTileCol>30</MinTileCol>
                    <MaxTileCol>31</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>7</TileMatrix>
                    <MinTileRow>48</MinTileRow>
                    <MaxTileRow>49</MaxTileRow>
                    <MinTileCol>61</MinTileCol>
                    <MaxTileCol>62</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>8</TileMatrix>
                    <MinTileRow>96</MinTileRow>
                    <MaxTileRow>97</MaxTileRow>
                    <MinTileCol>122</MinTileCol>
                    <MaxTileCol>123</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>9</TileMatrix>
                    <MinTileRow>193</MinTileRow>
                    <MaxTileRow>194</MaxTileRow>
                    <MinTileCol>244</MinTileCol>
                    <MaxTileCol>245</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>10</TileMatrix>
                    <MinTileRow>387</MinTileRow>
                    <MaxTileRow>388</MaxTileRow>
                    <MinTileCol>488</MinTileCol>
                    <MaxTileCol>490</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>11</TileMatrix>
                    <MinTileRow>775</MinTileRow>
                    <MaxTileRow>776</MaxTileRow>
                    <MinTileCol>977</MinTileCol>
                    <MaxTileCol>979</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>12</TileMatrix>
                    <MinTileRow>1550</MinTileRow>
                    <MaxTileRow>1552</MaxTileRow>
                    <MinTileCol>1955</MinTileCol>
                    <MaxTileCol>1958</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>13</TileMatrix>
                    <MinTileRow>3100</MinTileRow>
                    <MaxTileRow>3104</MaxTileRow>
                    <MinTileCol>3910</MinTileCol>
                    <MaxTileCol>3915</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>14</TileMatrix>
                    <MinTileRow>6200</MinTileRow>
                    <MaxTileRow>6207</MaxTileRow>
                    <MinTileCol>7821</MinTileCol>
                    <MaxTileCol>7830</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>15</TileMatrix>
                    <MinTileRow>12401</MinTileRow>
                    <MaxTileRow>12413</MaxTileRow>
                    <MinTileCol>15643</MinTileCol>
                    <MaxTileCol>15659</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>16</TileMatrix>
                    <MinTileRow>24803</MinTileRow>
                    <MaxTileRow>24826</MaxTileRow>
                    <MinTileCol>31287</MinTileCol>
                    <MaxTileCol>31317</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>17</TileMatrix>
                    <MinTileRow>49607</MinTileRow>
                    <MaxTileRow>49651</MaxTileRow>
                    <MinTileCol>62574</MinTileCol>
                    <MaxTileCol>62634</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>18</TileMatrix>
                    <MinTileRow>99215</MinTileRow>
                    <MaxTileRow>99301</MaxTileRow>
                    <MinTileCol>125149</MinTileCol>
                    <MaxTileCol>125267</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>19</TileMatrix>
                    <MinTileRow>198430</MinTileRow>
                    <MaxTileRow>198602</MaxTileRow>
                    <MinTileCol>250299</MinTileCol>
                    <MaxTileCol>250533</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>20</TileMatrix>
                    <MinTileRow>396860</MinTileRow>
                    <MaxTileRow>397204</MaxTileRow>
                    <MinTileCol>500598</MinTileCol>
                    <MaxTileCol>501066</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>21</TileMatrix>
                    <MinTileRow>793721</MinTileRow>
                    <MaxTileRow>794408</MaxTileRow>
                    <MinTileCol>1001197</MinTileCol>
                    <MaxTileCol>1002131</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>22</TileMatrix>
                    <MinTileRow>1587442</MinTileRow>
                    <MaxTileRow>1588815</MaxTileRow>
                    <MinTileCol>2002394</MinTileCol>
                    <MaxTileCol>2004261</MaxTileCol>
                </TileMatrixLimits>
                
                <TileMatrixLimits>
                    <TileMatrix>23</TileMatrix>
                    <MinTileRow>3174885</MinTileRow>
                    <MaxTileRow>3177629</MaxTileRow>
                    <MinTileCol>4004788</MinTileCol>
                    <MaxTileCol>4008521</MaxTileCol>
                </TileMatrixLimits>
                
            </TileMatrixSetLimits>
        </TileMatrixSetLink>
            </Layer>
            <TileMatrixSet>
        <ows:Identifier>EPSG:3763</ows:Identifier>
        <ows:SupportedCRS>EPSG:3763</ows:SupportedCRS>
        
        <TileMatrix>
            <ows:Identifier>0</ows:Identifier>
            <ScaleDenominator>141741.3549112812906969</ScaleDenominator>
            <TopLeftCorner>-24765.359675212 45789.908131939</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>4</MatrixWidth>
            <MatrixHeight>3</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>1</ows:Identifier>
            <ScaleDenominator>94.4942366075208469</ScaleDenominator>
            <TopLeftCorner>-24765.359675212 45789.908131939</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>6000</MatrixWidth>
            <MatrixHeight>4500</MatrixHeight>
        </TileMatrix>
        
    </TileMatrixSet>
        <TileMatrixSet>
        <ows:Identifier>EPSG:3857</ows:Identifier>
        <ows:SupportedCRS>EPSG:3857</ows:SupportedCRS>
        
        <TileMatrix>
            <ows:Identifier>0</ows:Identifier>
            <ScaleDenominator>559082264.0287178754806519</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>1</MatrixWidth>
            <MatrixHeight>1</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>1</ows:Identifier>
            <ScaleDenominator>279541132.0143589377403259</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>2</MatrixWidth>
            <MatrixHeight>2</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>2</ows:Identifier>
            <ScaleDenominator>139770566.0071794688701630</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>4</MatrixWidth>
            <MatrixHeight>4</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>3</ows:Identifier>
            <ScaleDenominator>69885283.0035897344350815</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>8</MatrixWidth>
            <MatrixHeight>8</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>4</ows:Identifier>
            <ScaleDenominator>34942641.5017948672175407</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>16</MatrixWidth>
            <MatrixHeight>16</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>5</ows:Identifier>
            <ScaleDenominator>17471320.7508974336087704</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>32</MatrixWidth>
            <MatrixHeight>32</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>6</ows:Identifier>
            <ScaleDenominator>8735660.3754487168043852</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>64</MatrixWidth>
            <MatrixHeight>64</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>7</ows:Identifier>
            <ScaleDenominator>4367830.1877243584021926</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>128</MatrixWidth>
            <MatrixHeight>128</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>8</ows:Identifier>
            <ScaleDenominator>2183915.0938621792010963</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>256</MatrixWidth>
            <MatrixHeight>256</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>9</ows:Identifier>
            <ScaleDenominator>1091957.5469310896005481</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>512</MatrixWidth>
            <MatrixHeight>512</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>10</ows:Identifier>
            <ScaleDenominator>545978.7734655448002741</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>1024</MatrixWidth>
            <MatrixHeight>1024</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>11</ows:Identifier>
            <ScaleDenominator>272989.3867327724001370</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>2048</MatrixWidth>
            <MatrixHeight>2048</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>12</ows:Identifier>
            <ScaleDenominator>136494.6933663862000685</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>4096</MatrixWidth>
            <MatrixHeight>4096</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>13</ows:Identifier>
            <ScaleDenominator>68247.3466831931000343</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>8192</MatrixWidth>
            <MatrixHeight>8192</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>14</ows:Identifier>
            <ScaleDenominator>34123.6733415965500171</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>16384</MatrixWidth>
            <MatrixHeight>16384</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>15</ows:Identifier>
            <ScaleDenominator>17061.8366707982750086</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>32768</MatrixWidth>
            <MatrixHeight>32768</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>16</ows:Identifier>
            <ScaleDenominator>8530.9183353991375043</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>65536</MatrixWidth>
            <MatrixHeight>65536</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>17</ows:Identifier>
            <ScaleDenominator>4265.4591676995687521</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>131072</MatrixWidth>
            <MatrixHeight>131072</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>18</ows:Identifier>
            <ScaleDenominator>2132.7295838497843761</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>262144</MatrixWidth>
            <MatrixHeight>262144</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>19</ows:Identifier>
            <ScaleDenominator>1066.3647919248921880</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>524288</MatrixWidth>
            <MatrixHeight>524288</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>20</ows:Identifier>
            <ScaleDenominator>533.1823959624460940</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>1048576</MatrixWidth>
            <MatrixHeight>1048576</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>21</ows:Identifier>
            <ScaleDenominator>266.5911979812230470</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>2097152</MatrixWidth>
            <MatrixHeight>2097152</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>22</ows:Identifier>
            <ScaleDenominator>133.2955989906115235</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>4194304</MatrixWidth>
            <MatrixHeight>4194304</MatrixHeight>
        </TileMatrix>
        
        <TileMatrix>
            <ows:Identifier>23</ows:Identifier>
            <ScaleDenominator>66.6477994953057618</ScaleDenominator>
            <TopLeftCorner>-20037508.342789 20037508.342789</TopLeftCorner>
            <TileWidth>256</TileWidth>
            <TileHeight>256</TileHeight>
            <MatrixWidth>8388608</MatrixWidth>
            <MatrixHeight>8388608</MatrixHeight>
        </TileMatrix>
        
    </TileMatrixSet>
        </Contents>
</Capabilities>
