<?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>GNS Science Web Map Tile Service</ows:Title>
    <ows:Abstract>A compliant implementation of WMTS service.</ows:Abstract>
    <ows:Keywords>
      <ows:Keyword>GNS Science</ows:Keyword>
      <ows:Keyword>New Zealand</ows:Keyword>
      <ows:Keyword>Geology</ows:Keyword>
    </ows:Keywords>
    <ows:ServiceType>OGC WMTS</ows:ServiceType>
    <ows:ServiceTypeVersion>1.0.0</ows:ServiceTypeVersion>
    <ows:Fees>NONE</ows:Fees>
    <ows:AccessConstraints>Copyright GNS Science 2014. These map data are released free under the Creative Commons Attribution 3.0 New Zealand (CC-BY 3.0) Licence - http://creativecommons.org/licenses/by/3.0/nz/</ows:AccessConstraints>
  </ows:ServiceIdentification>
  <ows:ServiceProvider>
    <ows:ProviderName>GeoServer</ows:ProviderName>
    <ows:ProviderSite xlink:href="https://geoserver.org"/>
    <ows:ServiceContact>
      <ows:IndividualName>Applications Team</ows:IndividualName>
      <ows:ContactInfo>
        <ows:Address>
          <ows:DeliveryPoint>PO Box 30-368</ows:DeliveryPoint>
          <ows:City>Lower Hutt</ows:City>
          <ows:PostalCode>5011</ows:PostalCode>
          <ows:Country>New Zealand</ows:Country>
          <ows:ElectronicMailAddress>applications.support@gns.cri.nz</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://data.gns.cri.nz/webmaps/geology/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://data.gns.cri.nz/webmaps/geology/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://data.gns.cri.nz/webmaps/geology/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>New Zealand GNS GM5 Middlemarch Geological Units</ows:Title>
      <ows:Abstract>This data layer spatially represents a view of the geological materials present at or near the surface.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>170.07098359640307 -45.68316570879497</ows:LowerCorner>
        <ows:UpperCorner>170.39700277650772 -45.34875754676614</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gmnz:NZL_GNS_GM5_geological_units</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/metadata/srv/eng/search#%7C85FDC3E9-3201-48AC-B9AC-4A59F582D02B"/>
      <Style isDefault="true">
        <ows:Identifier>gmnz:gmnz_geological_units</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=175&amp;height=300&amp;layer=gmnz%3ANZL_GNS_GM5_geological_units" width="175" height="300"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>48</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>96</MinTileRow>
            <MaxTileRow>96</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>192</MinTileRow>
            <MaxTileRow>192</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>384</MinTileRow>
            <MaxTileRow>385</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>769</MinTileRow>
            <MaxTileRow>771</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1539</MinTileRow>
            <MaxTileRow>1543</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3079</MinTileRow>
            <MaxTileRow>3087</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>6159</MinTileRow>
            <MaxTileRow>6175</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>12319</MinTileRow>
            <MaxTileRow>12350</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>24639</MinTileRow>
            <MaxTileRow>24700</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>49278</MinTileRow>
            <MaxTileRow>49400</MaxTileRow>
            <MinTileCol>127456</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>98557</MinTileRow>
            <MaxTileRow>98801</MaxTileRow>
            <MinTileCol>254913</MinTileCol>
            <MaxTileCol>255151</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>197115</MinTileRow>
            <MaxTileRow>197602</MaxTileRow>
            <MinTileCol>509827</MinTileCol>
            <MaxTileCol>510302</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>394231</MinTileRow>
            <MaxTileRow>395205</MaxTileRow>
            <MinTileCol>1019655</MinTileCol>
            <MaxTileCol>1020605</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>788463</MinTileRow>
            <MaxTileRow>790411</MaxTileRow>
            <MinTileCol>2039311</MinTileCol>
            <MaxTileCol>2041210</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1576927</MinTileRow>
            <MaxTileRow>1580823</MaxTileRow>
            <MinTileCol>4078622</MinTileCol>
            <MaxTileCol>4082420</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>82</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>164</MinTileRow>
            <MaxTileRow>164</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>328</MinTileRow>
            <MaxTileRow>329</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>657</MinTileRow>
            <MaxTileRow>658</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1314</MinTileRow>
            <MaxTileRow>1316</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2628</MinTileRow>
            <MaxTileRow>2633</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>5256</MinTileRow>
            <MaxTileRow>5267</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>10512</MinTileRow>
            <MaxTileRow>10534</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>21025</MinTileRow>
            <MaxTileRow>21069</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>42051</MinTileRow>
            <MaxTileRow>42138</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>84102</MinTileRow>
            <MaxTileRow>84276</MaxTileRow>
            <MinTileCol>127456</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>168204</MinTileRow>
            <MaxTileRow>168552</MaxTileRow>
            <MinTileCol>254913</MinTileCol>
            <MaxTileCol>255151</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>336408</MinTileRow>
            <MaxTileRow>337104</MaxTileRow>
            <MinTileCol>509827</MinTileCol>
            <MaxTileCol>510302</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>672817</MinTileRow>
            <MaxTileRow>674208</MaxTileRow>
            <MinTileCol>1019655</MinTileCol>
            <MaxTileCol>1020605</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1345635</MinTileRow>
            <MaxTileRow>1348416</MaxTileRow>
            <MinTileCol>2039311</MinTileCol>
            <MaxTileCol>2041210</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2691271</MinTileRow>
            <MaxTileRow>2696832</MaxTileRow>
            <MinTileCol>4078622</MinTileCol>
            <MaxTileCol>4082420</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5382543</MinTileRow>
            <MaxTileRow>5393664</MaxTileRow>
            <MinTileCol>8157245</MinTileCol>
            <MaxTileCol>8164841</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10765087</MinTileRow>
            <MaxTileRow>10787328</MaxTileRow>
            <MinTileCol>16314490</MinTileCol>
            <MaxTileCol>16329683</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>21530174</MinTileRow>
            <MaxTileRow>21574657</MaxTileRow>
            <MinTileCol>32628980</MinTileCol>
            <MaxTileCol>32659367</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>43060349</MinTileRow>
            <MaxTileRow>43149314</MaxTileRow>
            <MinTileCol>65257961</MinTileCol>
            <MaxTileCol>65318735</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>86120698</MinTileRow>
            <MaxTileRow>86298628</MaxTileRow>
            <MinTileCol>130515922</MinTileCol>
            <MaxTileCol>130637471</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>172241397</MinTileRow>
            <MaxTileRow>172597256</MaxTileRow>
            <MinTileCol>261031844</MinTileCol>
            <MaxTileCol>261274942</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>344482795</MinTileRow>
            <MaxTileRow>345194512</MaxTileRow>
            <MinTileCol>522063689</MinTileCol>
            <MaxTileCol>522549884</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>688965590</MinTileRow>
            <MaxTileRow>690389024</MaxTileRow>
            <MinTileCol>1044127379</MinTileCol>
            <MaxTileCol>1045099769</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_geological_units/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_geological_units/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL GNS 1:250K geological units (scale 2m-)</ows:Title>
      <ows:Abstract>Src: qmap_geological_unit_simple500</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>166.18914169961803 -47.4869062357197</ows:LowerCorner>
        <ows:UpperCorner>179.57368356769064 -33.9398810483505</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:NZL_GNS_250K_geological_units_scale2m</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_geological_units.html"/>
      <Style>
        <ows:Identifier>QMAP_Geol_U_P_NI_2m</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=101&amp;height=14520&amp;layer=gns%3ANZL_GNS_250K_geological_units_scale2m&amp;style=QMAP_Geol_U_P_NI_2m" width="101" height="14520" minScaleDenominator="2000000.0" maxScaleDenominator="1.0E8"/>
      </Style>
      <Style isDefault="true">
        <ows:Identifier>qmap_geological_unit_2m_10m</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=116&amp;height=36960&amp;layer=gns%3ANZL_GNS_250K_geological_units_scale2m" width="116" height="36960" minScaleDenominator="2000000.0" maxScaleDenominator="2.0E7"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>176</MinTileRow>
            <MaxTileRow>195</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>352</MinTileRow>
            <MaxTileRow>391</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1022</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>705</MinTileRow>
            <MaxTileRow>782</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2045</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1410</MinTileRow>
            <MaxTileRow>1564</MaxTileRow>
            <MinTileCol>3938</MinTileCol>
            <MaxTileCol>4091</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2820</MinTileRow>
            <MaxTileRow>3128</MaxTileRow>
            <MinTileCol>7877</MinTileCol>
            <MaxTileCol>8182</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5640</MinTileRow>
            <MaxTileRow>6257</MaxTileRow>
            <MinTileCol>15755</MinTileCol>
            <MaxTileCol>16364</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11281</MinTileRow>
            <MaxTileRow>12514</MaxTileRow>
            <MinTileCol>31510</MinTileCol>
            <MaxTileCol>32729</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>22562</MinTileRow>
            <MaxTileRow>25028</MaxTileRow>
            <MinTileCol>63021</MinTileCol>
            <MaxTileCol>65458</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>45125</MinTileRow>
            <MaxTileRow>50057</MaxTileRow>
            <MinTileCol>126043</MinTileCol>
            <MaxTileCol>130916</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>90250</MinTileRow>
            <MaxTileRow>100114</MaxTileRow>
            <MinTileCol>252087</MinTileCol>
            <MaxTileCol>261833</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>180500</MinTileRow>
            <MaxTileRow>200229</MaxTileRow>
            <MinTileCol>504174</MinTileCol>
            <MaxTileCol>523667</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>361001</MinTileRow>
            <MaxTileRow>400459</MaxTileRow>
            <MinTileCol>1008348</MinTileCol>
            <MaxTileCol>1047334</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>722002</MinTileRow>
            <MaxTileRow>800919</MaxTileRow>
            <MinTileCol>2016697</MinTileCol>
            <MaxTileCol>2094668</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1444004</MinTileRow>
            <MaxTileRow>1601838</MaxTileRow>
            <MinTileCol>4033395</MinTileCol>
            <MaxTileCol>4189337</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>83</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>153</MinTileRow>
            <MaxTileRow>166</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>307</MinTileRow>
            <MaxTileRow>332</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>614</MinTileRow>
            <MaxTileRow>665</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1022</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1229</MinTileRow>
            <MaxTileRow>1331</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2045</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2458</MinTileRow>
            <MaxTileRow>2663</MaxTileRow>
            <MinTileCol>3938</MinTileCol>
            <MaxTileCol>4091</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>4917</MinTileRow>
            <MaxTileRow>5326</MaxTileRow>
            <MinTileCol>7877</MinTileCol>
            <MaxTileCol>8182</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>9835</MinTileRow>
            <MaxTileRow>10653</MaxTileRow>
            <MinTileCol>15755</MinTileCol>
            <MaxTileCol>16364</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>19671</MinTileRow>
            <MaxTileRow>21307</MaxTileRow>
            <MinTileCol>31510</MinTileCol>
            <MaxTileCol>32729</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>39343</MinTileRow>
            <MaxTileRow>42615</MaxTileRow>
            <MinTileCol>63021</MinTileCol>
            <MaxTileCol>65458</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>78686</MinTileRow>
            <MaxTileRow>85231</MaxTileRow>
            <MinTileCol>126043</MinTileCol>
            <MaxTileCol>130916</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>157372</MinTileRow>
            <MaxTileRow>170463</MaxTileRow>
            <MinTileCol>252087</MinTileCol>
            <MaxTileCol>261833</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>314745</MinTileRow>
            <MaxTileRow>340926</MaxTileRow>
            <MinTileCol>504174</MinTileCol>
            <MaxTileCol>523667</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>629491</MinTileRow>
            <MaxTileRow>681853</MaxTileRow>
            <MinTileCol>1008348</MinTileCol>
            <MaxTileCol>1047334</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1258983</MinTileRow>
            <MaxTileRow>1363706</MaxTileRow>
            <MinTileCol>2016697</MinTileCol>
            <MaxTileCol>2094668</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2517967</MinTileRow>
            <MaxTileRow>2727413</MaxTileRow>
            <MinTileCol>4033395</MinTileCol>
            <MaxTileCol>4189337</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5035934</MinTileRow>
            <MaxTileRow>5454827</MaxTileRow>
            <MinTileCol>8066791</MinTileCol>
            <MaxTileCol>8378674</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10071868</MinTileRow>
            <MaxTileRow>10909654</MaxTileRow>
            <MinTileCol>16133583</MinTileCol>
            <MaxTileCol>16757348</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20143737</MinTileRow>
            <MaxTileRow>21819308</MaxTileRow>
            <MinTileCol>32267166</MinTileCol>
            <MaxTileCol>33514696</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>40287474</MinTileRow>
            <MaxTileRow>43638616</MaxTileRow>
            <MinTileCol>64534333</MinTileCol>
            <MaxTileCol>67029392</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>80574948</MinTileRow>
            <MaxTileRow>87277233</MaxTileRow>
            <MinTileCol>129068666</MinTileCol>
            <MaxTileCol>134058785</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>161149897</MinTileRow>
            <MaxTileRow>174554466</MaxTileRow>
            <MinTileCol>258137333</MinTileCol>
            <MaxTileCol>268117571</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>322299794</MinTileRow>
            <MaxTileRow>349108932</MaxTileRow>
            <MinTileCol>516274667</MinTileCol>
            <MaxTileCol>536235142</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>644599588</MinTileRow>
            <MaxTileRow>698217865</MaxTileRow>
            <MinTileCol>1032549334</MinTileCol>
            <MaxTileCol>1072470285</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale2m/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale2m/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale2m/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale2m/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale2m/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale2m/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale2m/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale2m/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale2m/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale2m/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale2m/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>New Zealand GNS GM5 Middlemarch Resources</ows:Title>
      <ows:Abstract>This data layer spatially represents selected resource exposure at or near the surface, drawn at all scales.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>170.12171392556345 -45.673827280224074</ows:LowerCorner>
        <ows:UpperCorner>170.39550395114662 -45.35217917324485</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gmnz:NZL_GNS_GM5_resources</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/metadata/srv/eng/search#%7CB963C12F-EA7F-4AC0-AFC1-409A5F10A3A6"/>
      <Style isDefault="true">
        <ows:Identifier>gmnz_resources</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=225&amp;height=920&amp;layer=gmnz%3ANZL_GNS_GM5_resources" width="225" height="920" minScaleDenominator="1.0" maxScaleDenominator="250000.0"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>48</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>96</MinTileRow>
            <MaxTileRow>96</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>192</MinTileRow>
            <MaxTileRow>192</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>385</MinTileRow>
            <MaxTileRow>385</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>770</MinTileRow>
            <MaxTileRow>771</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1540</MinTileRow>
            <MaxTileRow>1543</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3080</MinTileRow>
            <MaxTileRow>3087</MaxTileRow>
            <MinTileCol>7967</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>6160</MinTileRow>
            <MaxTileRow>6174</MaxTileRow>
            <MinTileCol>15934</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>12320</MinTileRow>
            <MaxTileRow>12349</MaxTileRow>
            <MinTileCol>31868</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>24640</MinTileRow>
            <MaxTileRow>24698</MaxTileRow>
            <MinTileCol>63737</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>49280</MinTileRow>
            <MaxTileRow>49397</MaxTileRow>
            <MinTileCol>127475</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>98560</MinTileRow>
            <MaxTileRow>98794</MaxTileRow>
            <MinTileCol>254950</MinTileCol>
            <MaxTileCol>255150</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>197120</MinTileRow>
            <MaxTileRow>197589</MaxTileRow>
            <MinTileCol>509901</MinTileCol>
            <MaxTileCol>510300</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>394241</MinTileRow>
            <MaxTileRow>395178</MaxTileRow>
            <MinTileCol>1019803</MinTileCol>
            <MaxTileCol>1020600</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>788483</MinTileRow>
            <MaxTileRow>790357</MaxTileRow>
            <MinTileCol>2039606</MinTileCol>
            <MaxTileCol>2041201</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1576967</MinTileRow>
            <MaxTileRow>1580714</MaxTileRow>
            <MinTileCol>4079213</MinTileCol>
            <MaxTileCol>4082403</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>82</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>164</MinTileRow>
            <MaxTileRow>164</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>328</MinTileRow>
            <MaxTileRow>329</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>657</MinTileRow>
            <MaxTileRow>658</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1314</MinTileRow>
            <MaxTileRow>1316</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2628</MinTileRow>
            <MaxTileRow>2633</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>5256</MinTileRow>
            <MaxTileRow>5266</MaxTileRow>
            <MinTileCol>7967</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>10513</MinTileRow>
            <MaxTileRow>10533</MaxTileRow>
            <MinTileCol>15934</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>21026</MinTileRow>
            <MaxTileRow>21067</MaxTileRow>
            <MinTileCol>31868</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>42052</MinTileRow>
            <MaxTileRow>42135</MaxTileRow>
            <MinTileCol>63737</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>84104</MinTileRow>
            <MaxTileRow>84271</MaxTileRow>
            <MinTileCol>127475</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>168208</MinTileRow>
            <MaxTileRow>168542</MaxTileRow>
            <MinTileCol>254950</MinTileCol>
            <MaxTileCol>255150</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>336416</MinTileRow>
            <MaxTileRow>337084</MaxTileRow>
            <MinTileCol>509901</MinTileCol>
            <MaxTileCol>510300</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>672832</MinTileRow>
            <MaxTileRow>674169</MaxTileRow>
            <MinTileCol>1019803</MinTileCol>
            <MaxTileCol>1020600</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1345664</MinTileRow>
            <MaxTileRow>1348338</MaxTileRow>
            <MinTileCol>2039606</MinTileCol>
            <MaxTileCol>2041201</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2691328</MinTileRow>
            <MaxTileRow>2696676</MaxTileRow>
            <MinTileCol>4079213</MinTileCol>
            <MaxTileCol>4082403</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5382657</MinTileRow>
            <MaxTileRow>5393352</MaxTileRow>
            <MinTileCol>8158427</MinTileCol>
            <MaxTileCol>8164807</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10765314</MinTileRow>
            <MaxTileRow>10786705</MaxTileRow>
            <MinTileCol>16316854</MinTileCol>
            <MaxTileCol>16329614</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>21530628</MinTileRow>
            <MaxTileRow>21573411</MaxTileRow>
            <MinTileCol>32633709</MinTileCol>
            <MaxTileCol>32659228</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>43061257</MinTileRow>
            <MaxTileRow>43146822</MaxTileRow>
            <MinTileCol>65267418</MinTileCol>
            <MaxTileCol>65318456</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>86122514</MinTileRow>
            <MaxTileRow>86293644</MaxTileRow>
            <MinTileCol>130534836</MinTileCol>
            <MaxTileCol>130636912</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>172245028</MinTileRow>
            <MaxTileRow>172587289</MaxTileRow>
            <MinTileCol>261069672</MinTileCol>
            <MaxTileCol>261273824</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>344490056</MinTileRow>
            <MaxTileRow>345174579</MaxTileRow>
            <MinTileCol>522139344</MinTileCol>
            <MaxTileCol>522547649</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>688980112</MinTileRow>
            <MaxTileRow>690349159</MaxTileRow>
            <MinTileCol>1044278688</MinTileCol>
            <MaxTileCol>1045095298</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_resources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_resources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_resources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_resources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_resources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_resources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_resources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_resources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_resources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_resources/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_resources/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>ATA SVL GNS 1:250K dikes</ows:Title>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>159.321853637695 -78.8666458129883</ows:LowerCorner>
        <ows:UpperCorner>164.360244750977 -76.6248779296875</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:ATA_SVL_GNS_250K_dikes</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>SVL_2014_dikes</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=66&amp;height=160&amp;layer=gns%3AATA_SVL_GNS_250K_dikes" width="66" height="160"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>30</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>30</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>61</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>59</MinTileRow>
            <MaxTileRow>60</MaxTileRow>
            <MinTileCol>120</MinTileCol>
            <MaxTileCol>122</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>118</MinTileRow>
            <MaxTileRow>120</MaxTileRow>
            <MinTileCol>241</MinTileCol>
            <MaxTileCol>244</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>236</MinTileRow>
            <MaxTileRow>240</MaxTileRow>
            <MinTileCol>482</MinTileCol>
            <MaxTileCol>489</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>473</MinTileRow>
            <MaxTileRow>480</MaxTileRow>
            <MinTileCol>965</MinTileCol>
            <MaxTileCol>979</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>947</MinTileRow>
            <MaxTileRow>960</MaxTileRow>
            <MinTileCol>1930</MinTileCol>
            <MaxTileCol>1959</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1895</MinTileRow>
            <MaxTileRow>1921</MaxTileRow>
            <MinTileCol>3860</MinTileCol>
            <MaxTileCol>3918</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3791</MinTileRow>
            <MaxTileRow>3842</MaxTileRow>
            <MinTileCol>7721</MinTileCol>
            <MaxTileCol>7836</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>7583</MinTileRow>
            <MaxTileRow>7685</MaxTileRow>
            <MinTileCol>15442</MinTileCol>
            <MaxTileCol>15672</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>15166</MinTileRow>
            <MaxTileRow>15370</MaxTileRow>
            <MinTileCol>30885</MinTileCol>
            <MaxTileCol>31344</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>30333</MinTileRow>
            <MaxTileRow>30741</MaxTileRow>
            <MinTileCol>61771</MinTileCol>
            <MaxTileCol>62688</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>60666</MinTileRow>
            <MaxTileRow>61482</MaxTileRow>
            <MinTileCol>123543</MinTileCol>
            <MaxTileCol>125377</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>121332</MinTileRow>
            <MaxTileRow>122964</MaxTileRow>
            <MinTileCol>247086</MinTileCol>
            <MaxTileCol>250755</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>242665</MinTileRow>
            <MaxTileRow>245929</MaxTileRow>
            <MinTileCol>494173</MinTileCol>
            <MaxTileCol>501510</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>485330</MinTileRow>
            <MaxTileRow>491859</MaxTileRow>
            <MinTileCol>988346</MinTileCol>
            <MaxTileCol>1003021</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>970660</MinTileRow>
            <MaxTileRow>983719</MaxTileRow>
            <MinTileCol>1976693</MinTileCol>
            <MaxTileCol>2006043</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1941320</MinTileRow>
            <MaxTileRow>1967439</MaxTileRow>
            <MinTileCol>3953386</MinTileCol>
            <MaxTileCol>4012087</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>26</MinTileRow>
            <MaxTileRow>27</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>30</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>53</MinTileRow>
            <MaxTileRow>55</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>61</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>107</MinTileRow>
            <MaxTileRow>111</MaxTileRow>
            <MinTileCol>120</MinTileCol>
            <MaxTileCol>122</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>215</MinTileRow>
            <MaxTileRow>222</MaxTileRow>
            <MinTileCol>241</MinTileCol>
            <MaxTileCol>244</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>430</MinTileRow>
            <MaxTileRow>445</MaxTileRow>
            <MinTileCol>482</MinTileCol>
            <MaxTileCol>489</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>861</MinTileRow>
            <MaxTileRow>891</MaxTileRow>
            <MinTileCol>965</MinTileCol>
            <MaxTileCol>979</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1722</MinTileRow>
            <MaxTileRow>1782</MaxTileRow>
            <MinTileCol>1930</MinTileCol>
            <MaxTileCol>1959</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>3445</MinTileRow>
            <MaxTileRow>3565</MaxTileRow>
            <MinTileCol>3860</MinTileCol>
            <MaxTileCol>3918</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>6890</MinTileRow>
            <MaxTileRow>7131</MaxTileRow>
            <MinTileCol>7721</MinTileCol>
            <MaxTileCol>7836</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>13781</MinTileRow>
            <MaxTileRow>14263</MaxTileRow>
            <MinTileCol>15442</MinTileCol>
            <MaxTileCol>15672</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>27562</MinTileRow>
            <MaxTileRow>28526</MaxTileRow>
            <MinTileCol>30885</MinTileCol>
            <MaxTileCol>31344</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>55124</MinTileRow>
            <MaxTileRow>57052</MaxTileRow>
            <MinTileCol>61771</MinTileCol>
            <MaxTileCol>62688</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>110249</MinTileRow>
            <MaxTileRow>114105</MaxTileRow>
            <MinTileCol>123543</MinTileCol>
            <MaxTileCol>125377</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>220498</MinTileRow>
            <MaxTileRow>228211</MaxTileRow>
            <MinTileCol>247086</MinTileCol>
            <MaxTileCol>250755</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>440997</MinTileRow>
            <MaxTileRow>456422</MaxTileRow>
            <MinTileCol>494173</MinTileCol>
            <MaxTileCol>501510</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>881995</MinTileRow>
            <MaxTileRow>912844</MaxTileRow>
            <MinTileCol>988346</MinTileCol>
            <MaxTileCol>1003021</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1763990</MinTileRow>
            <MaxTileRow>1825689</MaxTileRow>
            <MinTileCol>1976693</MinTileCol>
            <MaxTileCol>2006043</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>3527980</MinTileRow>
            <MaxTileRow>3651378</MaxTileRow>
            <MinTileCol>3953386</MinTileCol>
            <MaxTileCol>4012087</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>7055961</MinTileRow>
            <MaxTileRow>7302757</MaxTileRow>
            <MinTileCol>7906772</MinTileCol>
            <MaxTileCol>8024175</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>14111923</MinTileRow>
            <MaxTileRow>14605514</MaxTileRow>
            <MinTileCol>15813544</MinTileCol>
            <MaxTileCol>16048350</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>28223847</MinTileRow>
            <MaxTileRow>29211029</MaxTileRow>
            <MinTileCol>31627089</MinTileCol>
            <MaxTileCol>32096701</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>56447695</MinTileRow>
            <MaxTileRow>58422058</MaxTileRow>
            <MinTileCol>63254178</MinTileCol>
            <MaxTileCol>64193402</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>112895391</MinTileRow>
            <MaxTileRow>116844117</MaxTileRow>
            <MinTileCol>126508356</MinTileCol>
            <MaxTileCol>128386804</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>225790783</MinTileRow>
            <MaxTileRow>233688234</MaxTileRow>
            <MinTileCol>253016712</MinTileCol>
            <MaxTileCol>256773609</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>451581566</MinTileRow>
            <MaxTileRow>467376468</MaxTileRow>
            <MinTileCol>506033425</MinTileCol>
            <MaxTileCol>513547218</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>903163133</MinTileRow>
            <MaxTileRow>934752936</MaxTileRow>
            <MinTileCol>1012066850</MinTileCol>
            <MaxTileCol>1027094437</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_dikes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_dikes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_dikes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_dikes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_dikes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_dikes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_dikes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_dikes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_dikes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_dikes/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_dikes/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL_GNS_250K_faults</ows:Title>
      <ows:Abstract>This dataset is the faults data for New Zealand. The dataset is a product of the QMAP Geological Map of New Zealand Project and was produced by GNS Science. It represents the most current mapping of faults for New Zealand in a single dataset at a scale of 1:250 000. The dataset is stored in an ESRI vector geodatabase and exported to Geoserver. The dataset comprises arcs with each arc having attributes describing the type of fault, its name, age and activity, and the sense of movement and cumulative slip.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>166.2597182489081 -47.41267696126164</ows:LowerCorner>
        <ows:UpperCorner>179.4349111036797 -34.02710828138165</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:NZL_GNS_250K_faults</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_faults.html"/>
      <Style isDefault="true">
        <ows:Identifier>qmap_faults_clean</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=82&amp;height=480&amp;layer=gns%3ANZL_GNS_250K_faults" width="82" height="480" minScaleDenominator="1.0" maxScaleDenominator="1000000.0"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>176</MinTileRow>
            <MaxTileRow>195</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>352</MinTileRow>
            <MaxTileRow>390</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1022</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>705</MinTileRow>
            <MaxTileRow>781</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2044</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1411</MinTileRow>
            <MaxTileRow>1563</MaxTileRow>
            <MinTileCol>3939</MinTileCol>
            <MaxTileCol>4089</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2822</MinTileRow>
            <MaxTileRow>3126</MaxTileRow>
            <MinTileCol>7879</MinTileCol>
            <MaxTileCol>8179</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5644</MinTileRow>
            <MaxTileRow>6253</MaxTileRow>
            <MinTileCol>15758</MinTileCol>
            <MaxTileCol>16358</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11289</MinTileRow>
            <MaxTileRow>12507</MaxTileRow>
            <MinTileCol>31517</MinTileCol>
            <MaxTileCol>32716</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>22578</MinTileRow>
            <MaxTileRow>25015</MaxTileRow>
            <MinTileCol>63034</MinTileCol>
            <MaxTileCol>65433</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>45156</MinTileRow>
            <MaxTileRow>50030</MaxTileRow>
            <MinTileCol>126069</MinTileCol>
            <MaxTileCol>130866</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>90313</MinTileRow>
            <MaxTileRow>100060</MaxTileRow>
            <MinTileCol>252138</MinTileCol>
            <MaxTileCol>261732</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>180627</MinTileRow>
            <MaxTileRow>200121</MaxTileRow>
            <MinTileCol>504277</MinTileCol>
            <MaxTileCol>523465</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>361255</MinTileRow>
            <MaxTileRow>400243</MaxTileRow>
            <MinTileCol>1008554</MinTileCol>
            <MaxTileCol>1046930</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>722510</MinTileRow>
            <MaxTileRow>800486</MaxTileRow>
            <MinTileCol>2017109</MinTileCol>
            <MaxTileCol>2093860</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1445020</MinTileRow>
            <MaxTileRow>1600973</MaxTileRow>
            <MinTileCol>4034218</MinTileCol>
            <MaxTileCol>4187720</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>83</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>153</MinTileRow>
            <MaxTileRow>166</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>307</MinTileRow>
            <MaxTileRow>332</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>615</MinTileRow>
            <MaxTileRow>665</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1022</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1230</MinTileRow>
            <MaxTileRow>1331</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2044</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2460</MinTileRow>
            <MaxTileRow>2662</MaxTileRow>
            <MinTileCol>3939</MinTileCol>
            <MaxTileCol>4089</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>4920</MinTileRow>
            <MaxTileRow>5324</MaxTileRow>
            <MinTileCol>7879</MinTileCol>
            <MaxTileCol>8179</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>9840</MinTileRow>
            <MaxTileRow>10648</MaxTileRow>
            <MinTileCol>15758</MinTileCol>
            <MaxTileCol>16358</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>19681</MinTileRow>
            <MaxTileRow>21297</MaxTileRow>
            <MinTileCol>31517</MinTileCol>
            <MaxTileCol>32716</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>39362</MinTileRow>
            <MaxTileRow>42595</MaxTileRow>
            <MinTileCol>63034</MinTileCol>
            <MaxTileCol>65433</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>78724</MinTileRow>
            <MaxTileRow>85191</MaxTileRow>
            <MinTileCol>126069</MinTileCol>
            <MaxTileCol>130866</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>157449</MinTileRow>
            <MaxTileRow>170383</MaxTileRow>
            <MinTileCol>252138</MinTileCol>
            <MaxTileCol>261732</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>314899</MinTileRow>
            <MaxTileRow>340766</MaxTileRow>
            <MinTileCol>504277</MinTileCol>
            <MaxTileCol>523465</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>629798</MinTileRow>
            <MaxTileRow>681533</MaxTileRow>
            <MinTileCol>1008554</MinTileCol>
            <MaxTileCol>1046930</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1259596</MinTileRow>
            <MaxTileRow>1363067</MaxTileRow>
            <MinTileCol>2017109</MinTileCol>
            <MaxTileCol>2093860</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2519192</MinTileRow>
            <MaxTileRow>2726134</MaxTileRow>
            <MinTileCol>4034218</MinTileCol>
            <MaxTileCol>4187720</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5038385</MinTileRow>
            <MaxTileRow>5452269</MaxTileRow>
            <MinTileCol>8068436</MinTileCol>
            <MaxTileCol>8375440</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10076770</MinTileRow>
            <MaxTileRow>10904538</MaxTileRow>
            <MinTileCol>16136872</MinTileCol>
            <MaxTileCol>16750880</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20153541</MinTileRow>
            <MaxTileRow>21809077</MaxTileRow>
            <MinTileCol>32273744</MinTileCol>
            <MaxTileCol>33501761</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>40307083</MinTileRow>
            <MaxTileRow>43618154</MaxTileRow>
            <MinTileCol>64547489</MinTileCol>
            <MaxTileCol>67003523</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>80614167</MinTileRow>
            <MaxTileRow>87236308</MaxTileRow>
            <MinTileCol>129094979</MinTileCol>
            <MaxTileCol>134007047</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>161228335</MinTileRow>
            <MaxTileRow>174472617</MaxTileRow>
            <MinTileCol>258189959</MinTileCol>
            <MaxTileCol>268014095</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>322456671</MinTileRow>
            <MaxTileRow>348945234</MaxTileRow>
            <MinTileCol>516379918</MinTileCol>
            <MaxTileCol>536028190</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>644913343</MinTileRow>
            <MaxTileRow>697890469</MaxTileRow>
            <MinTileCol>1032759837</MinTileCol>
            <MaxTileCol>1072056380</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_faults/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_faults/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL_GNS_250K_dikes</ows:Title>
      <ows:Abstract>This dataset is the dikes data for New Zealand. The dataset is a product of the QMAP Geological Map of New Zealand Project and was produced by GNS Science. It represents the most current mapping of dikes for New Zealand in a single dataset at a scale of 1:250 000. The dataset is stored in an ESRI vector geodatabase and exported to Geoserver. The dataset comprises arcs with each arc having attributes describing the rock type, its age and stratigraphic nomenclature.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>166.2898585668274 -47.21270543639499</ows:LowerCorner>
        <ows:UpperCorner>177.0843675137147 -35.36861825364838</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:NZL_GNS_250K_dikes</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_dikes.html"/>
      <Style isDefault="true">
        <ows:Identifier>QMAP_2012_Dikes</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=560&amp;height=80&amp;layer=gns%3ANZL_GNS_250K_dikes" width="560" height="80" minScaleDenominator="1.0" maxScaleDenominator="500000.0"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>89</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>178</MinTileRow>
            <MaxTileRow>195</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>507</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>356</MinTileRow>
            <MaxTileRow>390</MaxTileRow>
            <MinTileCol>985</MinTileCol>
            <MaxTileCol>1015</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>713</MinTileRow>
            <MaxTileRow>780</MaxTileRow>
            <MinTileCol>1970</MinTileCol>
            <MaxTileCol>2031</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1426</MinTileRow>
            <MaxTileRow>1561</MaxTileRow>
            <MinTileCol>3940</MinTileCol>
            <MaxTileCol>4062</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2852</MinTileRow>
            <MaxTileRow>3122</MaxTileRow>
            <MinTileCol>7880</MinTileCol>
            <MaxTileCol>8125</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5705</MinTileRow>
            <MaxTileRow>6244</MaxTileRow>
            <MinTileCol>15760</MinTileCol>
            <MaxTileCol>16251</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11411</MinTileRow>
            <MaxTileRow>12489</MaxTileRow>
            <MinTileCol>31520</MinTileCol>
            <MaxTileCol>32502</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>22822</MinTileRow>
            <MaxTileRow>24978</MaxTileRow>
            <MinTileCol>63040</MinTileCol>
            <MaxTileCol>65005</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>45645</MinTileRow>
            <MaxTileRow>49957</MaxTileRow>
            <MinTileCol>126080</MinTileCol>
            <MaxTileCol>130010</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>91290</MinTileRow>
            <MaxTileRow>99915</MaxTileRow>
            <MinTileCol>252160</MinTileCol>
            <MaxTileCol>260020</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>182581</MinTileRow>
            <MaxTileRow>199830</MaxTileRow>
            <MinTileCol>504321</MinTileCol>
            <MaxTileCol>520041</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>365162</MinTileRow>
            <MaxTileRow>399660</MaxTileRow>
            <MinTileCol>1008642</MinTileCol>
            <MaxTileCol>1040083</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>730325</MinTileRow>
            <MaxTileRow>799321</MaxTileRow>
            <MinTileCol>2017284</MinTileCol>
            <MaxTileCol>2080167</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1460650</MinTileRow>
            <MaxTileRow>1598643</MaxTileRow>
            <MinTileCol>4034569</MinTileCol>
            <MaxTileCol>4160334</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>83</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>154</MinTileRow>
            <MaxTileRow>166</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>309</MinTileRow>
            <MaxTileRow>332</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>507</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>619</MinTileRow>
            <MaxTileRow>664</MaxTileRow>
            <MinTileCol>985</MinTileCol>
            <MaxTileCol>1015</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1239</MinTileRow>
            <MaxTileRow>1329</MaxTileRow>
            <MinTileCol>1970</MinTileCol>
            <MaxTileCol>2031</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2478</MinTileRow>
            <MaxTileRow>2658</MaxTileRow>
            <MinTileCol>3940</MinTileCol>
            <MaxTileCol>4062</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>4957</MinTileRow>
            <MaxTileRow>5317</MaxTileRow>
            <MinTileCol>7880</MinTileCol>
            <MaxTileCol>8125</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>9914</MinTileRow>
            <MaxTileRow>10635</MaxTileRow>
            <MinTileCol>15760</MinTileCol>
            <MaxTileCol>16251</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>19829</MinTileRow>
            <MaxTileRow>21271</MaxTileRow>
            <MinTileCol>31520</MinTileCol>
            <MaxTileCol>32502</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>39659</MinTileRow>
            <MaxTileRow>42542</MaxTileRow>
            <MinTileCol>63040</MinTileCol>
            <MaxTileCol>65005</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>79318</MinTileRow>
            <MaxTileRow>85084</MaxTileRow>
            <MinTileCol>126080</MinTileCol>
            <MaxTileCol>130010</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>158637</MinTileRow>
            <MaxTileRow>170168</MaxTileRow>
            <MinTileCol>252160</MinTileCol>
            <MaxTileCol>260020</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>317275</MinTileRow>
            <MaxTileRow>340337</MaxTileRow>
            <MinTileCol>504321</MinTileCol>
            <MaxTileCol>520041</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>634551</MinTileRow>
            <MaxTileRow>680674</MaxTileRow>
            <MinTileCol>1008642</MinTileCol>
            <MaxTileCol>1040083</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1269102</MinTileRow>
            <MaxTileRow>1361349</MaxTileRow>
            <MinTileCol>2017284</MinTileCol>
            <MaxTileCol>2080167</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2538204</MinTileRow>
            <MaxTileRow>2722698</MaxTileRow>
            <MinTileCol>4034569</MinTileCol>
            <MaxTileCol>4160334</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5076408</MinTileRow>
            <MaxTileRow>5445396</MaxTileRow>
            <MinTileCol>8069138</MinTileCol>
            <MaxTileCol>8320668</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10152816</MinTileRow>
            <MaxTileRow>10890793</MaxTileRow>
            <MinTileCol>16138277</MinTileCol>
            <MaxTileCol>16641337</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20305632</MinTileRow>
            <MaxTileRow>21781586</MaxTileRow>
            <MinTileCol>32276554</MinTileCol>
            <MaxTileCol>33282675</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>40611264</MinTileRow>
            <MaxTileRow>43563172</MaxTileRow>
            <MinTileCol>64553108</MinTileCol>
            <MaxTileCol>66565350</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>81222529</MinTileRow>
            <MaxTileRow>87126345</MaxTileRow>
            <MinTileCol>129106216</MinTileCol>
            <MaxTileCol>133130701</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>162445058</MinTileRow>
            <MaxTileRow>174252690</MaxTileRow>
            <MinTileCol>258212433</MinTileCol>
            <MaxTileCol>266261402</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>324890117</MinTileRow>
            <MaxTileRow>348505380</MaxTileRow>
            <MinTileCol>516424867</MinTileCol>
            <MaxTileCol>532522805</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>649780234</MinTileRow>
            <MaxTileRow>697010761</MaxTileRow>
            <MinTileCol>1032849734</MinTileCol>
            <MaxTileCol>1065045611</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_dikes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_dikes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_dikes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_dikes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_dikes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_dikes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_dikes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_dikes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_dikes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_dikes/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_dikes/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL GNS 1:250K metamorphic boundaries</ows:Title>
      <ows:Abstract>This dataset is the bounding arcs to the mineral metamorphic data for the North Island of New Zealand. The dataset is a product of the QMAP Geological Map of New Zealand Project and was produced by GNS Science. It represents the most current mapping of the mineral metamorphism for New Zealand in a single dataset at a scale of 1:250 000. The dataset is stored in an ESRI vector geodatabase and exported to Geoserver. The dataset comprises arcs with each arc having attributes describing the accuracy, the type of the boundary and mineral garade if the boundary is an isograd.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>166.26240953987826 -47.416286089958554</ows:LowerCorner>
        <ows:UpperCorner>178.90481450496623 -34.00845169473897</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:NZL_GNS_250K_metamorphic_boundaries</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_metamorphic_boundaries.html"/>
      <Style isDefault="true">
        <ows:Identifier>QMAP_MINERAL_METAMORPHISM_LINE</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=99&amp;height=220&amp;layer=gns%3ANZL_GNS_250K_metamorphic_boundaries" width="99" height="220" maxScaleDenominator="500000.0"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>176</MinTileRow>
            <MaxTileRow>195</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>510</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>352</MinTileRow>
            <MaxTileRow>390</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1020</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>705</MinTileRow>
            <MaxTileRow>781</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2041</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1410</MinTileRow>
            <MaxTileRow>1563</MaxTileRow>
            <MinTileCol>3939</MinTileCol>
            <MaxTileCol>4083</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2821</MinTileRow>
            <MaxTileRow>3126</MaxTileRow>
            <MinTileCol>7879</MinTileCol>
            <MaxTileCol>8167</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5643</MinTileRow>
            <MaxTileRow>6253</MaxTileRow>
            <MinTileCol>15758</MinTileCol>
            <MaxTileCol>16334</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11287</MinTileRow>
            <MaxTileRow>12507</MaxTileRow>
            <MinTileCol>31517</MinTileCol>
            <MaxTileCol>32668</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>22575</MinTileRow>
            <MaxTileRow>25015</MaxTileRow>
            <MinTileCol>63035</MinTileCol>
            <MaxTileCol>65336</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>45150</MinTileRow>
            <MaxTileRow>50031</MaxTileRow>
            <MinTileCol>126070</MinTileCol>
            <MaxTileCol>130673</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>90300</MinTileRow>
            <MaxTileRow>100063</MaxTileRow>
            <MinTileCol>252140</MinTileCol>
            <MaxTileCol>261346</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>180600</MinTileRow>
            <MaxTileRow>200126</MaxTileRow>
            <MinTileCol>504281</MinTileCol>
            <MaxTileCol>522693</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>361200</MinTileRow>
            <MaxTileRow>400253</MaxTileRow>
            <MinTileCol>1008562</MinTileCol>
            <MaxTileCol>1045386</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>722401</MinTileRow>
            <MaxTileRow>800507</MaxTileRow>
            <MinTileCol>2017124</MinTileCol>
            <MaxTileCol>2090772</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1444803</MinTileRow>
            <MaxTileRow>1601015</MaxTileRow>
            <MinTileCol>4034249</MinTileCol>
            <MaxTileCol>4181544</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>83</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>153</MinTileRow>
            <MaxTileRow>166</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>307</MinTileRow>
            <MaxTileRow>332</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>510</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>614</MinTileRow>
            <MaxTileRow>665</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1020</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1229</MinTileRow>
            <MaxTileRow>1331</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2041</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2459</MinTileRow>
            <MaxTileRow>2662</MaxTileRow>
            <MinTileCol>3939</MinTileCol>
            <MaxTileCol>4083</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>4919</MinTileRow>
            <MaxTileRow>5324</MaxTileRow>
            <MinTileCol>7879</MinTileCol>
            <MaxTileCol>8167</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>9839</MinTileRow>
            <MaxTileRow>10649</MaxTileRow>
            <MinTileCol>15758</MinTileCol>
            <MaxTileCol>16334</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>19679</MinTileRow>
            <MaxTileRow>21298</MaxTileRow>
            <MinTileCol>31517</MinTileCol>
            <MaxTileCol>32668</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>39358</MinTileRow>
            <MaxTileRow>42596</MaxTileRow>
            <MinTileCol>63035</MinTileCol>
            <MaxTileCol>65336</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>78716</MinTileRow>
            <MaxTileRow>85193</MaxTileRow>
            <MinTileCol>126070</MinTileCol>
            <MaxTileCol>130673</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>157433</MinTileRow>
            <MaxTileRow>170387</MaxTileRow>
            <MinTileCol>252140</MinTileCol>
            <MaxTileCol>261346</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>314866</MinTileRow>
            <MaxTileRow>340774</MaxTileRow>
            <MinTileCol>504281</MinTileCol>
            <MaxTileCol>522693</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>629732</MinTileRow>
            <MaxTileRow>681549</MaxTileRow>
            <MinTileCol>1008562</MinTileCol>
            <MaxTileCol>1045386</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1259465</MinTileRow>
            <MaxTileRow>1363098</MaxTileRow>
            <MinTileCol>2017124</MinTileCol>
            <MaxTileCol>2090772</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2518930</MinTileRow>
            <MaxTileRow>2726196</MaxTileRow>
            <MinTileCol>4034249</MinTileCol>
            <MaxTileCol>4181544</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5037861</MinTileRow>
            <MaxTileRow>5452393</MaxTileRow>
            <MinTileCol>8068498</MinTileCol>
            <MaxTileCol>8363088</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10075722</MinTileRow>
            <MaxTileRow>10904787</MaxTileRow>
            <MinTileCol>16136997</MinTileCol>
            <MaxTileCol>16726176</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20151444</MinTileRow>
            <MaxTileRow>21809574</MaxTileRow>
            <MinTileCol>32273995</MinTileCol>
            <MaxTileCol>33452353</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>40302888</MinTileRow>
            <MaxTileRow>43619148</MaxTileRow>
            <MinTileCol>64547991</MinTileCol>
            <MaxTileCol>66904706</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>80605776</MinTileRow>
            <MaxTileRow>87238297</MaxTileRow>
            <MinTileCol>129095983</MinTileCol>
            <MaxTileCol>133809413</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>161211552</MinTileRow>
            <MaxTileRow>174476594</MaxTileRow>
            <MinTileCol>258191966</MinTileCol>
            <MaxTileCol>267618826</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>322423104</MinTileRow>
            <MaxTileRow>348953188</MaxTileRow>
            <MinTileCol>516383932</MinTileCol>
            <MaxTileCol>535237653</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>644846209</MinTileRow>
            <MaxTileRow>697906376</MaxTileRow>
            <MinTileCol>1032767864</MinTileCol>
            <MaxTileCol>1070475306</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_metamorphic_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_metamorphic_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_metamorphic_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_metamorphic_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_metamorphic_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_metamorphic_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_metamorphic_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_metamorphic_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_metamorphic_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_metamorphic_boundaries/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_metamorphic_boundaries/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL GNS 1:1M geological boundaries</ows:Title>
      <ows:Abstract>This dataset is the bounding arcs to the 1:1 000 000 geological units data for New Zealand. The dataset is a product of the Geological Map of New Zealand 1: 1 000 000 project and was produced by GNS Science. It represents the most current mapping of the geology of New Zealand in a single dataset at a scale of 1:1 000 000. The dataset is stored in an ESRI vector geodatabase and exported to Geoserver and ArcGIS Server. The dataset comprises arcs with each arc having attributes describing the type of contact, its name, exposure and accuracy. It complies with the GeoSciML Portrayal standard for ContactView and fields required by that standard were populated using the CGI Controlled Vocabulary (2012-11). The data should not be used at scales beyond that for which it was prepared. The spatial accuracy is estimated to be no better than +/- 1000 m.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>165.914779663086 -52.5177764892578</ows:LowerCorner>
        <ows:UpperCorner>178.53678894043 -34.4088172912598</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:NZL_GNS_1M_geological_boundaries</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/GMNZ1M/2014/NZL_GNS_1M_geological_boundaries.html"/>
      <ows:Metadata xlink:type="simple" xlink:href="https://www.gns.cri.nz/Home/Our-Science/Earth-Science/Regional-Geology/Geological-Maps/1-1-000-000-Geological-Map-of-NZ"/>
      <Style isDefault="true">
        <ows:Identifier>gmnz_geol_boundaries</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=140&amp;height=80&amp;layer=gns%3ANZL_GNS_1M_geological_boundaries" width="140" height="80" minScaleDenominator="1.0" maxScaleDenominator="3000000.0"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>25</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>50</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>101</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>176</MinTileRow>
            <MaxTileRow>202</MaxTileRow>
            <MinTileCol>491</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>353</MinTileRow>
            <MaxTileRow>405</MaxTileRow>
            <MinTileCol>983</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>707</MinTileRow>
            <MaxTileRow>810</MaxTileRow>
            <MinTileCol>1967</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1415</MinTileRow>
            <MaxTileRow>1621</MaxTileRow>
            <MinTileCol>3935</MinTileCol>
            <MaxTileCol>4079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2830</MinTileRow>
            <MaxTileRow>3243</MaxTileRow>
            <MinTileCol>7871</MinTileCol>
            <MaxTileCol>8158</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5661</MinTileRow>
            <MaxTileRow>6486</MaxTileRow>
            <MinTileCol>15742</MinTileCol>
            <MaxTileCol>16317</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11323</MinTileRow>
            <MaxTileRow>12972</MaxTileRow>
            <MinTileCol>31485</MinTileCol>
            <MaxTileCol>32634</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>22647</MinTileRow>
            <MaxTileRow>25944</MaxTileRow>
            <MinTileCol>62971</MinTileCol>
            <MaxTileCol>65269</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>45295</MinTileRow>
            <MaxTileRow>51889</MaxTileRow>
            <MinTileCol>125943</MinTileCol>
            <MaxTileCol>130539</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>90591</MinTileRow>
            <MaxTileRow>103778</MaxTileRow>
            <MinTileCol>251887</MinTileCol>
            <MaxTileCol>261078</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>181183</MinTileRow>
            <MaxTileRow>207556</MaxTileRow>
            <MinTileCol>503774</MinTileCol>
            <MaxTileCol>522157</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>362366</MinTileRow>
            <MaxTileRow>415113</MaxTileRow>
            <MinTileCol>1007549</MinTileCol>
            <MaxTileCol>1044314</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>724733</MinTileRow>
            <MaxTileRow>830226</MaxTileRow>
            <MinTileCol>2015099</MinTileCol>
            <MaxTileCol>2088628</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1449467</MinTileRow>
            <MaxTileRow>1660452</MaxTileRow>
            <MinTileCol>4030199</MinTileCol>
            <MaxTileCol>4177256</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>21</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>43</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>86</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>154</MinTileRow>
            <MaxTileRow>172</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>308</MinTileRow>
            <MaxTileRow>344</MaxTileRow>
            <MinTileCol>491</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>616</MinTileRow>
            <MaxTileRow>688</MaxTileRow>
            <MinTileCol>983</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1232</MinTileRow>
            <MaxTileRow>1376</MaxTileRow>
            <MinTileCol>1967</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2465</MinTileRow>
            <MaxTileRow>2752</MaxTileRow>
            <MinTileCol>3935</MinTileCol>
            <MaxTileCol>4079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>4930</MinTileRow>
            <MaxTileRow>5505</MaxTileRow>
            <MinTileCol>7871</MinTileCol>
            <MaxTileCol>8158</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>9861</MinTileRow>
            <MaxTileRow>11010</MaxTileRow>
            <MinTileCol>15742</MinTileCol>
            <MaxTileCol>16317</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>19723</MinTileRow>
            <MaxTileRow>22021</MaxTileRow>
            <MinTileCol>31485</MinTileCol>
            <MaxTileCol>32634</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>39446</MinTileRow>
            <MaxTileRow>44042</MaxTileRow>
            <MinTileCol>62971</MinTileCol>
            <MaxTileCol>65269</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>78892</MinTileRow>
            <MaxTileRow>88084</MaxTileRow>
            <MinTileCol>125943</MinTileCol>
            <MaxTileCol>130539</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>157785</MinTileRow>
            <MaxTileRow>176169</MaxTileRow>
            <MinTileCol>251887</MinTileCol>
            <MaxTileCol>261078</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>315571</MinTileRow>
            <MaxTileRow>352339</MaxTileRow>
            <MinTileCol>503774</MinTileCol>
            <MaxTileCol>522157</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>631142</MinTileRow>
            <MaxTileRow>704679</MaxTileRow>
            <MinTileCol>1007549</MinTileCol>
            <MaxTileCol>1044314</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1262285</MinTileRow>
            <MaxTileRow>1409358</MaxTileRow>
            <MinTileCol>2015099</MinTileCol>
            <MaxTileCol>2088628</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2524570</MinTileRow>
            <MaxTileRow>2818717</MaxTileRow>
            <MinTileCol>4030199</MinTileCol>
            <MaxTileCol>4177256</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5049141</MinTileRow>
            <MaxTileRow>5637435</MaxTileRow>
            <MinTileCol>8060398</MinTileCol>
            <MaxTileCol>8354512</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10098283</MinTileRow>
            <MaxTileRow>11274871</MaxTileRow>
            <MinTileCol>16120797</MinTileCol>
            <MaxTileCol>16709025</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20196567</MinTileRow>
            <MaxTileRow>22549742</MaxTileRow>
            <MinTileCol>32241594</MinTileCol>
            <MaxTileCol>33418050</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>40393135</MinTileRow>
            <MaxTileRow>45099484</MaxTileRow>
            <MinTileCol>64483188</MinTileCol>
            <MaxTileCol>66836101</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>80786270</MinTileRow>
            <MaxTileRow>90198969</MaxTileRow>
            <MinTileCol>128966377</MinTileCol>
            <MaxTileCol>133672203</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>161572540</MinTileRow>
            <MaxTileRow>180397938</MaxTileRow>
            <MinTileCol>257932754</MinTileCol>
            <MaxTileCol>267344406</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>323145080</MinTileRow>
            <MaxTileRow>360795876</MaxTileRow>
            <MinTileCol>515865509</MinTileCol>
            <MaxTileCol>534688813</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>646290160</MinTileRow>
            <MaxTileRow>721591752</MaxTileRow>
            <MinTileCol>1031731018</MinTileCol>
            <MaxTileCol>1069377627</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_geological_boundaries/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_geological_boundaries/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL-GNS_250K_geological_boundaries_plotrank</ows:Title>
      <ows:Abstract>This view combines the geological mapping units bounding arcs datasets for the North Island and South Island of New Zealand. The datasets included are NZL-NI_GNS_250K_geological_boundaries and NZL-SI_GNS_250K_geological_boundaries. The datasets used are a product of the QMAP Geological Map of New Zealand Project and was produced by GNS Science. They represents the most current mapping of the geology of the New Zealand in a single dataset at a scale of 1:250 000. The datasets are stored in an ESRI vector geodatabase and exported to Geoserver.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>164.91153211187205 -47.520487951536666</ows:LowerCorner>
        <ows:UpperCorner>179.87672447778493 -33.922676462668306</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:NZL-GNS_250K_geological_boundaries_plotrank</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_geological_boundaries.html"/>
      <Style isDefault="true">
        <ows:Identifier>qmap_geo_bounds_no_dikes_faults_horizons_clean</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=169&amp;height=120&amp;layer=gns%3ANZL-GNS_250K_geological_boundaries_plotrank" width="169" height="120" minScaleDenominator="1.0" maxScaleDenominator="500000.0"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>176</MinTileRow>
            <MaxTileRow>195</MaxTileRow>
            <MinTileCol>490</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>352</MinTileRow>
            <MaxTileRow>391</MaxTileRow>
            <MinTileCol>981</MinTileCol>
            <MaxTileCol>1023</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>704</MinTileRow>
            <MaxTileRow>782</MaxTileRow>
            <MinTileCol>1962</MinTileCol>
            <MaxTileCol>2047</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1409</MinTileRow>
            <MaxTileRow>1564</MaxTileRow>
            <MinTileCol>3924</MinTileCol>
            <MaxTileCol>4094</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2819</MinTileRow>
            <MaxTileRow>3129</MaxTileRow>
            <MinTileCol>7848</MinTileCol>
            <MaxTileCol>8189</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5639</MinTileRow>
            <MaxTileRow>6258</MaxTileRow>
            <MinTileCol>15697</MinTileCol>
            <MaxTileCol>16378</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11279</MinTileRow>
            <MaxTileRow>12517</MaxTileRow>
            <MinTileCol>31394</MinTileCol>
            <MaxTileCol>32756</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>22559</MinTileRow>
            <MaxTileRow>25034</MaxTileRow>
            <MinTileCol>62789</MinTileCol>
            <MaxTileCol>65513</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>45118</MinTileRow>
            <MaxTileRow>50069</MaxTileRow>
            <MinTileCol>125578</MinTileCol>
            <MaxTileCol>131027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>90237</MinTileRow>
            <MaxTileRow>100139</MaxTileRow>
            <MinTileCol>251156</MinTileCol>
            <MaxTileCol>262054</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>180475</MinTileRow>
            <MaxTileRow>200278</MaxTileRow>
            <MinTileCol>502313</MinTileCol>
            <MaxTileCol>524108</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>360950</MinTileRow>
            <MaxTileRow>400557</MaxTileRow>
            <MinTileCol>1004627</MinTileCol>
            <MaxTileCol>1048216</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>721901</MinTileRow>
            <MaxTileRow>801114</MaxTileRow>
            <MinTileCol>2009255</MinTileCol>
            <MaxTileCol>2096433</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1443803</MinTileRow>
            <MaxTileRow>1602229</MaxTileRow>
            <MinTileCol>4018510</MinTileCol>
            <MaxTileCol>4192867</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>83</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>153</MinTileRow>
            <MaxTileRow>166</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>307</MinTileRow>
            <MaxTileRow>333</MaxTileRow>
            <MinTileCol>490</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>614</MinTileRow>
            <MaxTileRow>666</MaxTileRow>
            <MinTileCol>981</MinTileCol>
            <MaxTileCol>1023</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1229</MinTileRow>
            <MaxTileRow>1332</MaxTileRow>
            <MinTileCol>1962</MinTileCol>
            <MaxTileCol>2047</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2458</MinTileRow>
            <MaxTileRow>2664</MaxTileRow>
            <MinTileCol>3924</MinTileCol>
            <MaxTileCol>4094</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>4917</MinTileRow>
            <MaxTileRow>5328</MaxTileRow>
            <MinTileCol>7848</MinTileCol>
            <MaxTileCol>8189</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>9834</MinTileRow>
            <MaxTileRow>10656</MaxTileRow>
            <MinTileCol>15697</MinTileCol>
            <MaxTileCol>16378</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>19669</MinTileRow>
            <MaxTileRow>21312</MaxTileRow>
            <MinTileCol>31394</MinTileCol>
            <MaxTileCol>32756</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>39339</MinTileRow>
            <MaxTileRow>42624</MaxTileRow>
            <MinTileCol>62789</MinTileCol>
            <MaxTileCol>65513</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>78678</MinTileRow>
            <MaxTileRow>85249</MaxTileRow>
            <MinTileCol>125578</MinTileCol>
            <MaxTileCol>131027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>157357</MinTileRow>
            <MaxTileRow>170499</MaxTileRow>
            <MinTileCol>251156</MinTileCol>
            <MaxTileCol>262054</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>314715</MinTileRow>
            <MaxTileRow>340999</MaxTileRow>
            <MinTileCol>502313</MinTileCol>
            <MaxTileCol>524108</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>629431</MinTileRow>
            <MaxTileRow>681998</MaxTileRow>
            <MinTileCol>1004627</MinTileCol>
            <MaxTileCol>1048216</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1258862</MinTileRow>
            <MaxTileRow>1363996</MaxTileRow>
            <MinTileCol>2009255</MinTileCol>
            <MaxTileCol>2096433</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2517725</MinTileRow>
            <MaxTileRow>2727992</MaxTileRow>
            <MinTileCol>4018510</MinTileCol>
            <MaxTileCol>4192867</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5035451</MinTileRow>
            <MaxTileRow>5455985</MaxTileRow>
            <MinTileCol>8037021</MinTileCol>
            <MaxTileCol>8385735</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10070902</MinTileRow>
            <MaxTileRow>10911970</MaxTileRow>
            <MinTileCol>16074042</MinTileCol>
            <MaxTileCol>16771470</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20141804</MinTileRow>
            <MaxTileRow>21823941</MaxTileRow>
            <MinTileCol>32148084</MinTileCol>
            <MaxTileCol>33542941</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>40283608</MinTileRow>
            <MaxTileRow>43647883</MaxTileRow>
            <MinTileCol>64296169</MinTileCol>
            <MaxTileCol>67085883</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>80567217</MinTileRow>
            <MaxTileRow>87295766</MaxTileRow>
            <MinTileCol>128592339</MinTileCol>
            <MaxTileCol>134171767</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>161134435</MinTileRow>
            <MaxTileRow>174591533</MaxTileRow>
            <MinTileCol>257184678</MinTileCol>
            <MaxTileCol>268343535</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>322268870</MinTileRow>
            <MaxTileRow>349183066</MaxTileRow>
            <MinTileCol>514369357</MinTileCol>
            <MaxTileCol>536687070</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>644537741</MinTileRow>
            <MaxTileRow>698366133</MaxTileRow>
            <MinTileCol>1028738715</MinTileCol>
            <MaxTileCol>1073374140</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL-GNS_250K_geological_boundaries_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL-GNS_250K_geological_boundaries_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL-GNS_250K_geological_boundaries_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL-GNS_250K_geological_boundaries_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL-GNS_250K_geological_boundaries_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL-GNS_250K_geological_boundaries_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL-GNS_250K_geological_boundaries_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL-GNS_250K_geological_boundaries_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL-GNS_250K_geological_boundaries_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL-GNS_250K_geological_boundaries_plotrank/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL-GNS_250K_geological_boundaries_plotrank/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL_GNS_250K_horizons_plotrank</ows:Title>
      <ows:Abstract>This view applys a filter to the horizons data for New Zealand. The original dataset is a product of the QMAP Geological Map of New Zealand Project and was produced by GNS Science. It represents the most current mapping of horizons for New Zealand original dataset comprises arcs with each arc having attributes describing the main and subordinate rock types, its age and stratigraphic nomenclature. The view has been derived by filtering NZL_GNS_250K_horizons to enable it to be used, in conjunction with other layers, to create a 1:250 000 geological map. Horizons with a plot rank other than 1:250 000 have been suppressed in this view.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>166.32307894564437 -47.27253966664923</ows:LowerCorner>
        <ows:UpperCorner>179.17978716725716 -34.86453361446275</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:NZL_GNS_250K_horizons_plotrank</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_horizons_plotrank.html"/>
      <Style isDefault="true">
        <ows:Identifier>QMAP_2012_Horizons</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=113&amp;height=1000&amp;layer=gns%3ANZL_GNS_250K_horizons_plotrank" width="113" height="1000" minScaleDenominator="1.0" maxScaleDenominator="500000.0"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>177</MinTileRow>
            <MaxTileRow>195</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>510</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>355</MinTileRow>
            <MaxTileRow>390</MaxTileRow>
            <MinTileCol>985</MinTileCol>
            <MaxTileCol>1021</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>710</MinTileRow>
            <MaxTileRow>780</MaxTileRow>
            <MinTileCol>1970</MinTileCol>
            <MaxTileCol>2043</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1420</MinTileRow>
            <MaxTileRow>1561</MaxTileRow>
            <MinTileCol>3940</MinTileCol>
            <MaxTileCol>4086</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2841</MinTileRow>
            <MaxTileRow>3123</MaxTileRow>
            <MinTileCol>7880</MinTileCol>
            <MaxTileCol>8173</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5682</MinTileRow>
            <MaxTileRow>6247</MaxTileRow>
            <MinTileCol>15761</MinTileCol>
            <MaxTileCol>16346</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11365</MinTileRow>
            <MaxTileRow>12494</MaxTileRow>
            <MinTileCol>31523</MinTileCol>
            <MaxTileCol>32693</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>22730</MinTileRow>
            <MaxTileRow>24989</MaxTileRow>
            <MinTileCol>63046</MinTileCol>
            <MaxTileCol>65386</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>45461</MinTileRow>
            <MaxTileRow>49979</MaxTileRow>
            <MinTileCol>126092</MinTileCol>
            <MaxTileCol>130773</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>90923</MinTileRow>
            <MaxTileRow>99958</MaxTileRow>
            <MinTileCol>252184</MinTileCol>
            <MaxTileCol>261546</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>181847</MinTileRow>
            <MaxTileRow>199917</MaxTileRow>
            <MinTileCol>504369</MinTileCol>
            <MaxTileCol>523093</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>363694</MinTileRow>
            <MaxTileRow>399835</MaxTileRow>
            <MinTileCol>1008739</MinTileCol>
            <MaxTileCol>1046186</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>727388</MinTileRow>
            <MaxTileRow>799670</MaxTileRow>
            <MinTileCol>2017478</MinTileCol>
            <MaxTileCol>2092373</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1454777</MinTileRow>
            <MaxTileRow>1599341</MaxTileRow>
            <MinTileCol>4034956</MinTileCol>
            <MaxTileCol>4184747</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>83</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>154</MinTileRow>
            <MaxTileRow>166</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>308</MinTileRow>
            <MaxTileRow>332</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>510</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>617</MinTileRow>
            <MaxTileRow>664</MaxTileRow>
            <MinTileCol>985</MinTileCol>
            <MaxTileCol>1021</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1235</MinTileRow>
            <MaxTileRow>1329</MaxTileRow>
            <MinTileCol>1970</MinTileCol>
            <MaxTileCol>2043</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2471</MinTileRow>
            <MaxTileRow>2659</MaxTileRow>
            <MinTileCol>3940</MinTileCol>
            <MaxTileCol>4086</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>4943</MinTileRow>
            <MaxTileRow>5319</MaxTileRow>
            <MinTileCol>7880</MinTileCol>
            <MaxTileCol>8173</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>9886</MinTileRow>
            <MaxTileRow>10639</MaxTileRow>
            <MinTileCol>15761</MinTileCol>
            <MaxTileCol>16346</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>19773</MinTileRow>
            <MaxTileRow>21279</MaxTileRow>
            <MinTileCol>31523</MinTileCol>
            <MaxTileCol>32693</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>39547</MinTileRow>
            <MaxTileRow>42558</MaxTileRow>
            <MinTileCol>63046</MinTileCol>
            <MaxTileCol>65386</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>79094</MinTileRow>
            <MaxTileRow>85116</MaxTileRow>
            <MinTileCol>126092</MinTileCol>
            <MaxTileCol>130773</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>158189</MinTileRow>
            <MaxTileRow>170232</MaxTileRow>
            <MinTileCol>252184</MinTileCol>
            <MaxTileCol>261546</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>316378</MinTileRow>
            <MaxTileRow>340465</MaxTileRow>
            <MinTileCol>504369</MinTileCol>
            <MaxTileCol>523093</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>632756</MinTileRow>
            <MaxTileRow>680931</MaxTileRow>
            <MinTileCol>1008739</MinTileCol>
            <MaxTileCol>1046186</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1265512</MinTileRow>
            <MaxTileRow>1361862</MaxTileRow>
            <MinTileCol>2017478</MinTileCol>
            <MaxTileCol>2092373</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2531024</MinTileRow>
            <MaxTileRow>2723725</MaxTileRow>
            <MinTileCol>4034956</MinTileCol>
            <MaxTileCol>4184747</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5062048</MinTileRow>
            <MaxTileRow>5447450</MaxTileRow>
            <MinTileCol>8069912</MinTileCol>
            <MaxTileCol>8369495</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10124096</MinTileRow>
            <MaxTileRow>10894900</MaxTileRow>
            <MinTileCol>16139825</MinTileCol>
            <MaxTileCol>16738991</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20248193</MinTileRow>
            <MaxTileRow>21789801</MaxTileRow>
            <MinTileCol>32279650</MinTileCol>
            <MaxTileCol>33477982</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>40496386</MinTileRow>
            <MaxTileRow>43579602</MaxTileRow>
            <MinTileCol>64559301</MinTileCol>
            <MaxTileCol>66955965</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>80992772</MinTileRow>
            <MaxTileRow>87159204</MaxTileRow>
            <MinTileCol>129118602</MinTileCol>
            <MaxTileCol>133911930</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>161985544</MinTileRow>
            <MaxTileRow>174318408</MaxTileRow>
            <MinTileCol>258237204</MinTileCol>
            <MaxTileCol>267823861</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>323971088</MinTileRow>
            <MaxTileRow>348636816</MaxTileRow>
            <MinTileCol>516474409</MinTileCol>
            <MaxTileCol>535647722</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>647942176</MinTileRow>
            <MaxTileRow>697273633</MaxTileRow>
            <MinTileCol>1032948818</MinTileCol>
            <MaxTileCol>1071295444</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_horizons_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_horizons_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_horizons_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_horizons_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_horizons_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_horizons_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_horizons_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_horizons_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_horizons_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_horizons_plotrank/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_horizons_plotrank/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>New Zealand GNS GM5 Middlemarch Electromagnetic Interpretation (line) 40000 Hz</ows:Title>
      <ows:Abstract>This data layer spatially represents an interpretation of lineations within and boundaries between areas of consistent electromagnetic response at 40 000 Hz.

Credits: Martin, A.P., Cox, S.C., Smith Lyttle, B. 2016</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>170.07260678154034 -45.68151194099665</ows:LowerCorner>
        <ows:UpperCorner>170.39539798682728 -45.35041472929051</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gmnz:NZL_GNS_GM5_emi_line_40k</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/metadata/srv/eng/search#%7C7B6CAB97-85E4-451E-B054-BF8BB683FD61"/>
      <Style isDefault="true">
        <ows:Identifier>gmnz:gmnz_emi_line</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=134&amp;height=40&amp;layer=gmnz%3ANZL_GNS_GM5_emi_line_40k" width="134" height="40"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>48</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>96</MinTileRow>
            <MaxTileRow>96</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>192</MinTileRow>
            <MaxTileRow>192</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>384</MinTileRow>
            <MaxTileRow>385</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>769</MinTileRow>
            <MaxTileRow>771</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1539</MinTileRow>
            <MaxTileRow>1543</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3079</MinTileRow>
            <MaxTileRow>3087</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>6159</MinTileRow>
            <MaxTileRow>6175</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>12319</MinTileRow>
            <MaxTileRow>12350</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>24639</MinTileRow>
            <MaxTileRow>24700</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>49279</MinTileRow>
            <MaxTileRow>49400</MaxTileRow>
            <MinTileCol>127457</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>98559</MinTileRow>
            <MaxTileRow>98800</MaxTileRow>
            <MinTileCol>254915</MinTileCol>
            <MaxTileCol>255150</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>197118</MinTileRow>
            <MaxTileRow>197600</MaxTileRow>
            <MinTileCol>509830</MinTileCol>
            <MaxTileCol>510300</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>394236</MinTileRow>
            <MaxTileRow>395201</MaxTileRow>
            <MinTileCol>1019660</MinTileCol>
            <MaxTileCol>1020600</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>788473</MinTileRow>
            <MaxTileRow>790402</MaxTileRow>
            <MinTileCol>2039320</MinTileCol>
            <MaxTileCol>2041201</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1576946</MinTileRow>
            <MaxTileRow>1580804</MaxTileRow>
            <MinTileCol>4078641</MinTileCol>
            <MaxTileCol>4082402</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>82</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>164</MinTileRow>
            <MaxTileRow>164</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>328</MinTileRow>
            <MaxTileRow>329</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>657</MinTileRow>
            <MaxTileRow>658</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1314</MinTileRow>
            <MaxTileRow>1316</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2628</MinTileRow>
            <MaxTileRow>2633</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>5256</MinTileRow>
            <MaxTileRow>5267</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>10512</MinTileRow>
            <MaxTileRow>10534</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>21025</MinTileRow>
            <MaxTileRow>21068</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>42051</MinTileRow>
            <MaxTileRow>42137</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>84103</MinTileRow>
            <MaxTileRow>84275</MaxTileRow>
            <MinTileCol>127457</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>168206</MinTileRow>
            <MaxTileRow>168550</MaxTileRow>
            <MinTileCol>254915</MinTileCol>
            <MaxTileCol>255150</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>336412</MinTileRow>
            <MaxTileRow>337100</MaxTileRow>
            <MinTileCol>509830</MinTileCol>
            <MaxTileCol>510300</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>672824</MinTileRow>
            <MaxTileRow>674201</MaxTileRow>
            <MinTileCol>1019660</MinTileCol>
            <MaxTileCol>1020600</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1345649</MinTileRow>
            <MaxTileRow>1348402</MaxTileRow>
            <MinTileCol>2039320</MinTileCol>
            <MaxTileCol>2041201</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2691299</MinTileRow>
            <MaxTileRow>2696804</MaxTileRow>
            <MinTileCol>4078641</MinTileCol>
            <MaxTileCol>4082402</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5382598</MinTileRow>
            <MaxTileRow>5393609</MaxTileRow>
            <MinTileCol>8157282</MinTileCol>
            <MaxTileCol>8164804</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10765197</MinTileRow>
            <MaxTileRow>10787218</MaxTileRow>
            <MinTileCol>16314565</MinTileCol>
            <MaxTileCol>16329609</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>21530394</MinTileRow>
            <MaxTileRow>21574436</MaxTileRow>
            <MinTileCol>32629131</MinTileCol>
            <MaxTileCol>32659218</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>43060788</MinTileRow>
            <MaxTileRow>43148872</MaxTileRow>
            <MinTileCol>65258263</MinTileCol>
            <MaxTileCol>65318436</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>86121577</MinTileRow>
            <MaxTileRow>86297745</MaxTileRow>
            <MinTileCol>130516527</MinTileCol>
            <MaxTileCol>130636872</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>172243155</MinTileRow>
            <MaxTileRow>172595491</MaxTileRow>
            <MinTileCol>261033055</MinTileCol>
            <MaxTileCol>261273745</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>344486311</MinTileRow>
            <MaxTileRow>345190982</MaxTileRow>
            <MinTileCol>522066110</MinTileCol>
            <MaxTileCol>522547491</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>688972623</MinTileRow>
            <MaxTileRow>690381964</MaxTileRow>
            <MinTileCol>1044132220</MinTileCol>
            <MaxTileCol>1045094982</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_40k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_40k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_40k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_40k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_40k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_40k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_40k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_40k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_40k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_40k/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_40k/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL-GNS_250K_horizons</ows:Title>
      <ows:Abstract>This dataset is the horizons data for New Zealand. The dataset is a product of the QMAP Geological Map of New Zealand Project and was produced by GNS Science. It represents the most current mapping of horizons for New Zealand in a single dataset at a scale of 1:250 000. The dataset is stored in an ESRI vector geodatabase and exported to Geoserver. The dataset comprises arcs with each arc having attributes describing the main and subordinate rock types, its age and stratigraphic nomenclature.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>166.32307894564437 -47.27253966664923</ows:LowerCorner>
        <ows:UpperCorner>179.17978716725716 -34.86453361446275</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:NZL_GNS_250K_horizons</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_horizons.html"/>
      <Style isDefault="true">
        <ows:Identifier>QMAP_2012_Horizons</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=113&amp;height=1000&amp;layer=gns%3ANZL_GNS_250K_horizons" width="113" height="1000" minScaleDenominator="1.0" maxScaleDenominator="500000.0"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>177</MinTileRow>
            <MaxTileRow>195</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>510</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>355</MinTileRow>
            <MaxTileRow>390</MaxTileRow>
            <MinTileCol>985</MinTileCol>
            <MaxTileCol>1021</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>710</MinTileRow>
            <MaxTileRow>780</MaxTileRow>
            <MinTileCol>1970</MinTileCol>
            <MaxTileCol>2043</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1420</MinTileRow>
            <MaxTileRow>1561</MaxTileRow>
            <MinTileCol>3940</MinTileCol>
            <MaxTileCol>4086</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2841</MinTileRow>
            <MaxTileRow>3123</MaxTileRow>
            <MinTileCol>7880</MinTileCol>
            <MaxTileCol>8173</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5682</MinTileRow>
            <MaxTileRow>6247</MaxTileRow>
            <MinTileCol>15761</MinTileCol>
            <MaxTileCol>16346</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11365</MinTileRow>
            <MaxTileRow>12494</MaxTileRow>
            <MinTileCol>31523</MinTileCol>
            <MaxTileCol>32693</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>22730</MinTileRow>
            <MaxTileRow>24989</MaxTileRow>
            <MinTileCol>63046</MinTileCol>
            <MaxTileCol>65386</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>45461</MinTileRow>
            <MaxTileRow>49979</MaxTileRow>
            <MinTileCol>126092</MinTileCol>
            <MaxTileCol>130773</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>90923</MinTileRow>
            <MaxTileRow>99958</MaxTileRow>
            <MinTileCol>252184</MinTileCol>
            <MaxTileCol>261546</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>181847</MinTileRow>
            <MaxTileRow>199917</MaxTileRow>
            <MinTileCol>504369</MinTileCol>
            <MaxTileCol>523093</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>363694</MinTileRow>
            <MaxTileRow>399835</MaxTileRow>
            <MinTileCol>1008739</MinTileCol>
            <MaxTileCol>1046186</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>727388</MinTileRow>
            <MaxTileRow>799670</MaxTileRow>
            <MinTileCol>2017478</MinTileCol>
            <MaxTileCol>2092373</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1454777</MinTileRow>
            <MaxTileRow>1599341</MaxTileRow>
            <MinTileCol>4034956</MinTileCol>
            <MaxTileCol>4184747</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>83</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>154</MinTileRow>
            <MaxTileRow>166</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>308</MinTileRow>
            <MaxTileRow>332</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>510</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>617</MinTileRow>
            <MaxTileRow>664</MaxTileRow>
            <MinTileCol>985</MinTileCol>
            <MaxTileCol>1021</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1235</MinTileRow>
            <MaxTileRow>1329</MaxTileRow>
            <MinTileCol>1970</MinTileCol>
            <MaxTileCol>2043</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2471</MinTileRow>
            <MaxTileRow>2659</MaxTileRow>
            <MinTileCol>3940</MinTileCol>
            <MaxTileCol>4086</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>4943</MinTileRow>
            <MaxTileRow>5319</MaxTileRow>
            <MinTileCol>7880</MinTileCol>
            <MaxTileCol>8173</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>9886</MinTileRow>
            <MaxTileRow>10639</MaxTileRow>
            <MinTileCol>15761</MinTileCol>
            <MaxTileCol>16346</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>19773</MinTileRow>
            <MaxTileRow>21279</MaxTileRow>
            <MinTileCol>31523</MinTileCol>
            <MaxTileCol>32693</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>39547</MinTileRow>
            <MaxTileRow>42558</MaxTileRow>
            <MinTileCol>63046</MinTileCol>
            <MaxTileCol>65386</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>79094</MinTileRow>
            <MaxTileRow>85116</MaxTileRow>
            <MinTileCol>126092</MinTileCol>
            <MaxTileCol>130773</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>158189</MinTileRow>
            <MaxTileRow>170232</MaxTileRow>
            <MinTileCol>252184</MinTileCol>
            <MaxTileCol>261546</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>316378</MinTileRow>
            <MaxTileRow>340465</MaxTileRow>
            <MinTileCol>504369</MinTileCol>
            <MaxTileCol>523093</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>632756</MinTileRow>
            <MaxTileRow>680931</MaxTileRow>
            <MinTileCol>1008739</MinTileCol>
            <MaxTileCol>1046186</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1265512</MinTileRow>
            <MaxTileRow>1361862</MaxTileRow>
            <MinTileCol>2017478</MinTileCol>
            <MaxTileCol>2092373</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2531024</MinTileRow>
            <MaxTileRow>2723725</MaxTileRow>
            <MinTileCol>4034956</MinTileCol>
            <MaxTileCol>4184747</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5062048</MinTileRow>
            <MaxTileRow>5447450</MaxTileRow>
            <MinTileCol>8069912</MinTileCol>
            <MaxTileCol>8369495</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10124096</MinTileRow>
            <MaxTileRow>10894900</MaxTileRow>
            <MinTileCol>16139825</MinTileCol>
            <MaxTileCol>16738991</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20248193</MinTileRow>
            <MaxTileRow>21789801</MaxTileRow>
            <MinTileCol>32279650</MinTileCol>
            <MaxTileCol>33477982</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>40496386</MinTileRow>
            <MaxTileRow>43579602</MaxTileRow>
            <MinTileCol>64559301</MinTileCol>
            <MaxTileCol>66955965</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>80992772</MinTileRow>
            <MaxTileRow>87159204</MaxTileRow>
            <MinTileCol>129118602</MinTileCol>
            <MaxTileCol>133911930</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>161985544</MinTileRow>
            <MaxTileRow>174318408</MaxTileRow>
            <MinTileCol>258237204</MinTileCol>
            <MaxTileCol>267823861</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>323971088</MinTileRow>
            <MaxTileRow>348636816</MaxTileRow>
            <MinTileCol>516474409</MinTileCol>
            <MaxTileCol>535647722</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>647942176</MinTileRow>
            <MaxTileRow>697273633</MaxTileRow>
            <MinTileCol>1032948818</MinTileCol>
            <MaxTileCol>1071295444</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_horizons/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_horizons/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_horizons/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_horizons/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_horizons/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_horizons/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_horizons/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_horizons/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_horizons/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_horizons/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_horizons/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL-GNS_250K_dikes_plotrank</ows:Title>
      <ows:Abstract>This view applys a filter to the dikes data for New Zealand. The original dataset is a product of the QMAP Geological Map of New Zealand Project and was produced by GNS Science. It represents the most current mapping of dikes for New Zealand in a single dataset at a scale of 1:250 000. The dataset is stored in an ESRI vector geodatabase and exported to Geoserver. The view displays only at scales between 1:500 000 and 1:1. The original dataset comprises arcs with each arc having attributes describing the rock type, its age and stratigraphic nomenclature. This view has been derived by filtering NZL_GNS_250K_dikes to enable it to be used, in conjunction with other layers, to create a 1:250 000 geological map. Dikes with a plot rank other than 1:250 000 have been suppressed in this view.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>166.40277475884324 -46.2869057689338</ows:LowerCorner>
        <ows:UpperCorner>177.0152492949717 -35.36861825364838</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:NZL_GNS_250K_dikes_plotrank</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_dikes_plotrank.html"/>
      <Style isDefault="true">
        <ows:Identifier>QMAP_2012_Dikes</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=560&amp;height=80&amp;layer=gns%3ANZL_GNS_250K_dikes_plotrank" width="560" height="80" minScaleDenominator="1.0" maxScaleDenominator="500000.0"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>89</MinTileRow>
            <MaxTileRow>96</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>178</MinTileRow>
            <MaxTileRow>193</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>507</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>356</MinTileRow>
            <MaxTileRow>387</MaxTileRow>
            <MinTileCol>985</MinTileCol>
            <MaxTileCol>1015</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>713</MinTileRow>
            <MaxTileRow>775</MaxTileRow>
            <MinTileCol>1970</MinTileCol>
            <MaxTileCol>2031</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1426</MinTileRow>
            <MaxTileRow>1550</MaxTileRow>
            <MinTileCol>3941</MinTileCol>
            <MaxTileCol>4062</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2852</MinTileRow>
            <MaxTileRow>3101</MaxTileRow>
            <MinTileCol>7882</MinTileCol>
            <MaxTileCol>8124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5705</MinTileRow>
            <MaxTileRow>6202</MaxTileRow>
            <MinTileCol>15765</MinTileCol>
            <MaxTileCol>16248</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11411</MinTileRow>
            <MaxTileRow>12405</MaxTileRow>
            <MinTileCol>31530</MinTileCol>
            <MaxTileCol>32496</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>22822</MinTileRow>
            <MaxTileRow>24810</MaxTileRow>
            <MinTileCol>63060</MinTileCol>
            <MaxTileCol>64992</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>45645</MinTileRow>
            <MaxTileRow>49620</MaxTileRow>
            <MinTileCol>126121</MinTileCol>
            <MaxTileCol>129985</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>91290</MinTileRow>
            <MaxTileRow>99241</MaxTileRow>
            <MinTileCol>252242</MinTileCol>
            <MaxTileCol>259970</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>182581</MinTileRow>
            <MaxTileRow>198482</MaxTileRow>
            <MinTileCol>504485</MinTileCol>
            <MaxTileCol>519941</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>365162</MinTileRow>
            <MaxTileRow>396964</MaxTileRow>
            <MinTileCol>1008971</MinTileCol>
            <MaxTileCol>1039882</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>730325</MinTileRow>
            <MaxTileRow>793928</MaxTileRow>
            <MinTileCol>2017942</MinTileCol>
            <MaxTileCol>2079764</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1460650</MinTileRow>
            <MaxTileRow>1587857</MaxTileRow>
            <MinTileCol>4035884</MinTileCol>
            <MaxTileCol>4159529</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>82</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>154</MinTileRow>
            <MaxTileRow>165</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>309</MinTileRow>
            <MaxTileRow>330</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>507</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>619</MinTileRow>
            <MaxTileRow>660</MaxTileRow>
            <MinTileCol>985</MinTileCol>
            <MaxTileCol>1015</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1239</MinTileRow>
            <MaxTileRow>1321</MaxTileRow>
            <MinTileCol>1970</MinTileCol>
            <MaxTileCol>2031</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2478</MinTileRow>
            <MaxTileRow>2643</MaxTileRow>
            <MinTileCol>3941</MinTileCol>
            <MaxTileCol>4062</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>4957</MinTileRow>
            <MaxTileRow>5287</MaxTileRow>
            <MinTileCol>7882</MinTileCol>
            <MaxTileCol>8124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>9914</MinTileRow>
            <MaxTileRow>10574</MaxTileRow>
            <MinTileCol>15765</MinTileCol>
            <MaxTileCol>16248</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>19829</MinTileRow>
            <MaxTileRow>21148</MaxTileRow>
            <MinTileCol>31530</MinTileCol>
            <MaxTileCol>32496</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>39659</MinTileRow>
            <MaxTileRow>42296</MaxTileRow>
            <MinTileCol>63060</MinTileCol>
            <MaxTileCol>64992</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>79318</MinTileRow>
            <MaxTileRow>84592</MaxTileRow>
            <MinTileCol>126121</MinTileCol>
            <MaxTileCol>129985</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>158637</MinTileRow>
            <MaxTileRow>169184</MaxTileRow>
            <MinTileCol>252242</MinTileCol>
            <MaxTileCol>259970</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>317275</MinTileRow>
            <MaxTileRow>338369</MaxTileRow>
            <MinTileCol>504485</MinTileCol>
            <MaxTileCol>519941</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>634551</MinTileRow>
            <MaxTileRow>676738</MaxTileRow>
            <MinTileCol>1008971</MinTileCol>
            <MaxTileCol>1039882</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1269102</MinTileRow>
            <MaxTileRow>1353477</MaxTileRow>
            <MinTileCol>2017942</MinTileCol>
            <MaxTileCol>2079764</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2538204</MinTileRow>
            <MaxTileRow>2706955</MaxTileRow>
            <MinTileCol>4035884</MinTileCol>
            <MaxTileCol>4159529</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5076408</MinTileRow>
            <MaxTileRow>5413910</MaxTileRow>
            <MinTileCol>8071769</MinTileCol>
            <MaxTileCol>8319058</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10152816</MinTileRow>
            <MaxTileRow>10827821</MaxTileRow>
            <MinTileCol>16143539</MinTileCol>
            <MaxTileCol>16638116</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20305632</MinTileRow>
            <MaxTileRow>21655643</MaxTileRow>
            <MinTileCol>32287078</MinTileCol>
            <MaxTileCol>33276233</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>40611264</MinTileRow>
            <MaxTileRow>43311287</MaxTileRow>
            <MinTileCol>64574157</MinTileCol>
            <MaxTileCol>66552466</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>81222529</MinTileRow>
            <MaxTileRow>86622575</MaxTileRow>
            <MinTileCol>129148315</MinTileCol>
            <MaxTileCol>133104932</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>162445058</MinTileRow>
            <MaxTileRow>173245151</MaxTileRow>
            <MinTileCol>258296630</MinTileCol>
            <MaxTileCol>266209864</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>324890117</MinTileRow>
            <MaxTileRow>346490303</MaxTileRow>
            <MinTileCol>516593260</MinTileCol>
            <MaxTileCol>532419729</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>649780234</MinTileRow>
            <MaxTileRow>692980606</MaxTileRow>
            <MinTileCol>1033186520</MinTileCol>
            <MaxTileCol>1064839458</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_dikes_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_dikes_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_dikes_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_dikes_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_dikes_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_dikes_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_dikes_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_dikes_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_dikes_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_dikes_plotrank/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_dikes_plotrank/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL GNS 1:250K structural measurements</ows:Title>
      <ows:Abstract>This dataset is the structural measurements data for New Zealand. The dataset is a product of the QMAP Geological Map of New Zealand Project and was produced by GNS Science. It represents the most current collection of structure data for New Zealand in a single dataset at a scale of 1:250 000. The dataset is stored in an ESRI vector geodatabase and exported to Geoserver. The dataset displays only when viewed at scales between 1:500 000 and 1:1. The dataset comprises points with each point having attributes describing the type of structure, its dip and dip direction the stratigraphic age and stratigraphic nomenclature.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>166.26502052988394 -47.414746401173566</ows:LowerCorner>
        <ows:UpperCorner>179.5002064603182 -34.009131398155034</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:NZL_GNS_250K_structural_measurements</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_structural_measurements.html"/>
      <Style isDefault="true">
        <ows:Identifier>gns:QMAP_Structure_Point</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=210&amp;height=1160&amp;layer=gns%3ANZL_GNS_250K_structural_measurements" width="210" height="1160" maxScaleDenominator="250000.0"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>176</MinTileRow>
            <MaxTileRow>195</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>352</MinTileRow>
            <MaxTileRow>390</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1022</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>705</MinTileRow>
            <MaxTileRow>781</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2045</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1410</MinTileRow>
            <MaxTileRow>1563</MaxTileRow>
            <MinTileCol>3939</MinTileCol>
            <MaxTileCol>4090</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2821</MinTileRow>
            <MaxTileRow>3126</MaxTileRow>
            <MinTileCol>7879</MinTileCol>
            <MaxTileCol>8180</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5643</MinTileRow>
            <MaxTileRow>6253</MaxTileRow>
            <MinTileCol>15758</MinTileCol>
            <MaxTileCol>16361</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11287</MinTileRow>
            <MaxTileRow>12507</MaxTileRow>
            <MinTileCol>31517</MinTileCol>
            <MaxTileCol>32722</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>22575</MinTileRow>
            <MaxTileRow>25015</MaxTileRow>
            <MinTileCol>63035</MinTileCol>
            <MaxTileCol>65445</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>45150</MinTileRow>
            <MaxTileRow>50031</MaxTileRow>
            <MinTileCol>126071</MinTileCol>
            <MaxTileCol>130890</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>90300</MinTileRow>
            <MaxTileRow>100062</MaxTileRow>
            <MinTileCol>252142</MinTileCol>
            <MaxTileCol>261780</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>180601</MinTileRow>
            <MaxTileRow>200124</MaxTileRow>
            <MinTileCol>504284</MinTileCol>
            <MaxTileCol>523560</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>361202</MinTileRow>
            <MaxTileRow>400249</MaxTileRow>
            <MinTileCol>1008569</MinTileCol>
            <MaxTileCol>1047120</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>722405</MinTileRow>
            <MaxTileRow>800498</MaxTileRow>
            <MinTileCol>2017139</MinTileCol>
            <MaxTileCol>2094240</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1444811</MinTileRow>
            <MaxTileRow>1600997</MaxTileRow>
            <MinTileCol>4034279</MinTileCol>
            <MaxTileCol>4188480</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>83</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>153</MinTileRow>
            <MaxTileRow>166</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>307</MinTileRow>
            <MaxTileRow>332</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>614</MinTileRow>
            <MaxTileRow>665</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1022</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1229</MinTileRow>
            <MaxTileRow>1331</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2045</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2459</MinTileRow>
            <MaxTileRow>2662</MaxTileRow>
            <MinTileCol>3939</MinTileCol>
            <MaxTileCol>4090</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>4919</MinTileRow>
            <MaxTileRow>5324</MaxTileRow>
            <MinTileCol>7879</MinTileCol>
            <MaxTileCol>8180</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>9839</MinTileRow>
            <MaxTileRow>10649</MaxTileRow>
            <MinTileCol>15758</MinTileCol>
            <MaxTileCol>16361</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>19679</MinTileRow>
            <MaxTileRow>21298</MaxTileRow>
            <MinTileCol>31517</MinTileCol>
            <MaxTileCol>32722</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>39358</MinTileRow>
            <MaxTileRow>42596</MaxTileRow>
            <MinTileCol>63035</MinTileCol>
            <MaxTileCol>65445</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>78716</MinTileRow>
            <MaxTileRow>85192</MaxTileRow>
            <MinTileCol>126071</MinTileCol>
            <MaxTileCol>130890</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>157433</MinTileRow>
            <MaxTileRow>170385</MaxTileRow>
            <MinTileCol>252142</MinTileCol>
            <MaxTileCol>261780</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>314867</MinTileRow>
            <MaxTileRow>340771</MaxTileRow>
            <MinTileCol>504284</MinTileCol>
            <MaxTileCol>523560</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>629735</MinTileRow>
            <MaxTileRow>681542</MaxTileRow>
            <MinTileCol>1008569</MinTileCol>
            <MaxTileCol>1047120</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1259470</MinTileRow>
            <MaxTileRow>1363085</MaxTileRow>
            <MinTileCol>2017139</MinTileCol>
            <MaxTileCol>2094240</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2518940</MinTileRow>
            <MaxTileRow>2726170</MaxTileRow>
            <MinTileCol>4034279</MinTileCol>
            <MaxTileCol>4188480</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5037880</MinTileRow>
            <MaxTileRow>5452340</MaxTileRow>
            <MinTileCol>8068559</MinTileCol>
            <MaxTileCol>8376961</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10075760</MinTileRow>
            <MaxTileRow>10904681</MaxTileRow>
            <MinTileCol>16137119</MinTileCol>
            <MaxTileCol>16753923</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20151520</MinTileRow>
            <MaxTileRow>21809362</MaxTileRow>
            <MinTileCol>32274239</MinTileCol>
            <MaxTileCol>33507847</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>40303040</MinTileRow>
            <MaxTileRow>43618724</MaxTileRow>
            <MinTileCol>64548478</MinTileCol>
            <MaxTileCol>67015695</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>80606081</MinTileRow>
            <MaxTileRow>87237448</MaxTileRow>
            <MinTileCol>129096956</MinTileCol>
            <MaxTileCol>134031391</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>161212163</MinTileRow>
            <MaxTileRow>174474897</MaxTileRow>
            <MinTileCol>258193913</MinTileCol>
            <MaxTileCol>268062782</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>322424327</MinTileRow>
            <MaxTileRow>348949795</MaxTileRow>
            <MinTileCol>516387826</MinTileCol>
            <MaxTileCol>536125565</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>644848654</MinTileRow>
            <MaxTileRow>697899590</MaxTileRow>
            <MinTileCol>1032775652</MinTileCol>
            <MaxTileCol>1072251131</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_structural_measurements/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_structural_measurements/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>ATA SVL GNS 1:250K metamorphic boundaries</ows:Title>
      <ows:Abstract>The 1:250 000 geological map of South Victoria Land encompasses the area of the southern Ross Sea, including Ross Island, the Dry Valleys and the Royal Society Range. The map is at a pre-press publication stage and this layer shows the metamorphic boundary types.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>160.052764892578 -78.8713302612305</ows:LowerCorner>
        <ows:UpperCorner>164.391326904297 -77.0110015869141</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:ATA_SVL_GNS_250K_metamorphic_boundaries</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/"/>
      <ows:Metadata xlink:type="simple" xlink:href="https://www.gns.cri.nz/Home/Our-Science/Energy-Resources/Geological-Mapping/Geological-Maps/1-250-000-Geological-Map-of-South-Victoria-Land"/>
      <Style isDefault="true">
        <ows:Identifier>SVL_2014_MinMetamorph</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=gns%3AATA_SVL_GNS_250K_metamorphic_boundaries" 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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>30</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>30</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>61</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>59</MinTileRow>
            <MaxTileRow>60</MaxTileRow>
            <MinTileCol>120</MinTileCol>
            <MaxTileCol>122</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>118</MinTileRow>
            <MaxTileRow>120</MaxTileRow>
            <MinTileCol>241</MinTileCol>
            <MaxTileCol>244</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>237</MinTileRow>
            <MaxTileRow>240</MaxTileRow>
            <MinTileCol>483</MinTileCol>
            <MaxTileCol>489</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>475</MinTileRow>
            <MaxTileRow>480</MaxTileRow>
            <MinTileCol>967</MinTileCol>
            <MaxTileCol>979</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>950</MinTileRow>
            <MaxTileRow>960</MaxTileRow>
            <MinTileCol>1934</MinTileCol>
            <MaxTileCol>1959</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1900</MinTileRow>
            <MaxTileRow>1921</MaxTileRow>
            <MinTileCol>3869</MinTileCol>
            <MaxTileCol>3918</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3800</MinTileRow>
            <MaxTileRow>3842</MaxTileRow>
            <MinTileCol>7738</MinTileCol>
            <MaxTileCol>7836</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>7600</MinTileRow>
            <MaxTileRow>7685</MaxTileRow>
            <MinTileCol>15476</MinTileCol>
            <MaxTileCol>15673</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>15201</MinTileRow>
            <MaxTileRow>15371</MaxTileRow>
            <MinTileCol>30952</MinTileCol>
            <MaxTileCol>31347</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>30403</MinTileRow>
            <MaxTileRow>30742</MaxTileRow>
            <MinTileCol>61904</MinTileCol>
            <MaxTileCol>62694</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>60806</MinTileRow>
            <MaxTileRow>61484</MaxTileRow>
            <MinTileCol>123809</MinTileCol>
            <MaxTileCol>125389</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>121613</MinTileRow>
            <MaxTileRow>122968</MaxTileRow>
            <MinTileCol>247618</MinTileCol>
            <MaxTileCol>250778</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>243227</MinTileRow>
            <MaxTileRow>245936</MaxTileRow>
            <MinTileCol>495237</MinTileCol>
            <MaxTileCol>501556</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>486454</MinTileRow>
            <MaxTileRow>491873</MaxTileRow>
            <MinTileCol>990475</MinTileCol>
            <MaxTileCol>1003112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>972909</MinTileRow>
            <MaxTileRow>983746</MaxTileRow>
            <MinTileCol>1980950</MinTileCol>
            <MaxTileCol>2006224</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1945819</MinTileRow>
            <MaxTileRow>1967493</MaxTileRow>
            <MinTileCol>3961901</MinTileCol>
            <MaxTileCol>4012449</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>27</MinTileRow>
            <MaxTileRow>27</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>30</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>54</MinTileRow>
            <MaxTileRow>55</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>61</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>108</MinTileRow>
            <MaxTileRow>111</MaxTileRow>
            <MinTileCol>120</MinTileCol>
            <MaxTileCol>122</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>216</MinTileRow>
            <MaxTileRow>222</MaxTileRow>
            <MinTileCol>241</MinTileCol>
            <MaxTileCol>244</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>433</MinTileRow>
            <MaxTileRow>445</MaxTileRow>
            <MinTileCol>483</MinTileCol>
            <MaxTileCol>489</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>866</MinTileRow>
            <MaxTileRow>891</MaxTileRow>
            <MinTileCol>967</MinTileCol>
            <MaxTileCol>979</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1732</MinTileRow>
            <MaxTileRow>1783</MaxTileRow>
            <MinTileCol>1934</MinTileCol>
            <MaxTileCol>1959</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>3464</MinTileRow>
            <MaxTileRow>3566</MaxTileRow>
            <MinTileCol>3869</MinTileCol>
            <MaxTileCol>3918</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>6929</MinTileRow>
            <MaxTileRow>7132</MaxTileRow>
            <MinTileCol>7738</MinTileCol>
            <MaxTileCol>7836</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>13858</MinTileRow>
            <MaxTileRow>14264</MaxTileRow>
            <MinTileCol>15476</MinTileCol>
            <MaxTileCol>15673</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>27716</MinTileRow>
            <MaxTileRow>28528</MaxTileRow>
            <MinTileCol>30952</MinTileCol>
            <MaxTileCol>31347</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>55432</MinTileRow>
            <MaxTileRow>57057</MaxTileRow>
            <MinTileCol>61904</MinTileCol>
            <MaxTileCol>62694</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>110865</MinTileRow>
            <MaxTileRow>114114</MaxTileRow>
            <MinTileCol>123809</MinTileCol>
            <MaxTileCol>125389</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>221731</MinTileRow>
            <MaxTileRow>228228</MaxTileRow>
            <MinTileCol>247618</MinTileCol>
            <MaxTileCol>250778</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>443463</MinTileRow>
            <MaxTileRow>456457</MaxTileRow>
            <MinTileCol>495237</MinTileCol>
            <MaxTileCol>501556</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>886927</MinTileRow>
            <MaxTileRow>912915</MaxTileRow>
            <MinTileCol>990475</MinTileCol>
            <MaxTileCol>1003112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1773854</MinTileRow>
            <MaxTileRow>1825830</MaxTileRow>
            <MinTileCol>1980950</MinTileCol>
            <MaxTileCol>2006224</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>3547709</MinTileRow>
            <MaxTileRow>3651661</MaxTileRow>
            <MinTileCol>3961901</MinTileCol>
            <MaxTileCol>4012449</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>7095418</MinTileRow>
            <MaxTileRow>7303322</MaxTileRow>
            <MinTileCol>7923803</MinTileCol>
            <MaxTileCol>8024899</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>14190837</MinTileRow>
            <MaxTileRow>14606645</MaxTileRow>
            <MinTileCol>15847607</MinTileCol>
            <MaxTileCol>16049799</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>28381675</MinTileRow>
            <MaxTileRow>29213290</MaxTileRow>
            <MinTileCol>31695214</MinTileCol>
            <MaxTileCol>32099598</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>56763350</MinTileRow>
            <MaxTileRow>58426581</MaxTileRow>
            <MinTileCol>63390429</MinTileCol>
            <MaxTileCol>64199196</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>113526700</MinTileRow>
            <MaxTileRow>116853163</MaxTileRow>
            <MinTileCol>126780859</MinTileCol>
            <MaxTileCol>128398392</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>227053401</MinTileRow>
            <MaxTileRow>233706327</MaxTileRow>
            <MinTileCol>253561719</MinTileCol>
            <MaxTileCol>256796785</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>454106803</MinTileRow>
            <MaxTileRow>467412655</MaxTileRow>
            <MinTileCol>507123438</MinTileCol>
            <MaxTileCol>513593571</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>908213606</MinTileRow>
            <MaxTileRow>934825310</MaxTileRow>
            <MinTileCol>1014246877</MinTileCol>
            <MaxTileCol>1027187143</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_metamorphic_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_metamorphic_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_metamorphic_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_metamorphic_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_metamorphic_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_metamorphic_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_metamorphic_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_metamorphic_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_metamorphic_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_metamorphic_boundaries/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_metamorphic_boundaries/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>New Zealand GNS GM5 Middlemarch Landslide Boundaries</ows:Title>
      <ows:Abstract>This data layer spatially represents the bounding arcs to landslide material present at the surface.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>170.08245920230976 -45.48716410753557</ows:LowerCorner>
        <ows:UpperCorner>170.20413078064283 -45.35041472929051</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gmnz:NZL_GNS_GM5_landslide_boundaries</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/metadata/srv/eng/search#%7C5C3055B8-3B75-4C07-8797-20BEE6A88CD9"/>
      <Style isDefault="true">
        <ows:Identifier>line</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=gmnz%3ANZL_GNS_GM5_landslide_boundaries" 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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>48</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>96</MinTileRow>
            <MaxTileRow>96</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>192</MinTileRow>
            <MaxTileRow>192</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>384</MinTileRow>
            <MaxTileRow>385</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>769</MinTileRow>
            <MaxTileRow>770</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1992</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1539</MinTileRow>
            <MaxTileRow>1541</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3984</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3079</MinTileRow>
            <MaxTileRow>3083</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7969</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>6159</MinTileRow>
            <MaxTileRow>6166</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15938</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>12319</MinTileRow>
            <MaxTileRow>12332</MaxTileRow>
            <MinTileCol>31865</MinTileCol>
            <MaxTileCol>31876</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>24639</MinTileRow>
            <MaxTileRow>24664</MaxTileRow>
            <MinTileCol>63730</MinTileCol>
            <MaxTileCol>63752</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>49279</MinTileRow>
            <MaxTileRow>49329</MaxTileRow>
            <MinTileCol>127461</MinTileCol>
            <MaxTileCol>127505</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>98559</MinTileRow>
            <MaxTileRow>98658</MaxTileRow>
            <MinTileCol>254922</MinTileCol>
            <MaxTileCol>255010</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>197118</MinTileRow>
            <MaxTileRow>197317</MaxTileRow>
            <MinTileCol>509844</MinTileCol>
            <MaxTileCol>510021</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>394236</MinTileRow>
            <MaxTileRow>394634</MaxTileRow>
            <MinTileCol>1019689</MinTileCol>
            <MaxTileCol>1020043</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>788473</MinTileRow>
            <MaxTileRow>789269</MaxTileRow>
            <MinTileCol>2039378</MinTileCol>
            <MaxTileCol>2040086</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1576946</MinTileRow>
            <MaxTileRow>1578539</MaxTileRow>
            <MinTileCol>4078756</MinTileCol>
            <MaxTileCol>4080173</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>82</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>164</MinTileRow>
            <MaxTileRow>164</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>328</MinTileRow>
            <MaxTileRow>328</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>657</MinTileRow>
            <MaxTileRow>657</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1314</MinTileRow>
            <MaxTileRow>1315</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1992</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2628</MinTileRow>
            <MaxTileRow>2630</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3984</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>5256</MinTileRow>
            <MaxTileRow>5260</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7969</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>10512</MinTileRow>
            <MaxTileRow>10521</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15938</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>21025</MinTileRow>
            <MaxTileRow>21043</MaxTileRow>
            <MinTileCol>31865</MinTileCol>
            <MaxTileCol>31876</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>42051</MinTileRow>
            <MaxTileRow>42087</MaxTileRow>
            <MinTileCol>63730</MinTileCol>
            <MaxTileCol>63752</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>84103</MinTileRow>
            <MaxTileRow>84174</MaxTileRow>
            <MinTileCol>127461</MinTileCol>
            <MaxTileCol>127505</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>168206</MinTileRow>
            <MaxTileRow>168348</MaxTileRow>
            <MinTileCol>254922</MinTileCol>
            <MaxTileCol>255010</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>336412</MinTileRow>
            <MaxTileRow>336696</MaxTileRow>
            <MinTileCol>509844</MinTileCol>
            <MaxTileCol>510021</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>672824</MinTileRow>
            <MaxTileRow>673392</MaxTileRow>
            <MinTileCol>1019689</MinTileCol>
            <MaxTileCol>1020043</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1345649</MinTileRow>
            <MaxTileRow>1346784</MaxTileRow>
            <MinTileCol>2039378</MinTileCol>
            <MaxTileCol>2040086</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2691299</MinTileRow>
            <MaxTileRow>2693569</MaxTileRow>
            <MinTileCol>4078756</MinTileCol>
            <MaxTileCol>4080173</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5382598</MinTileRow>
            <MaxTileRow>5387138</MaxTileRow>
            <MinTileCol>8157512</MinTileCol>
            <MaxTileCol>8160347</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10765197</MinTileRow>
            <MaxTileRow>10774276</MaxTileRow>
            <MinTileCol>16315025</MinTileCol>
            <MaxTileCol>16320695</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>21530394</MinTileRow>
            <MaxTileRow>21548553</MaxTileRow>
            <MinTileCol>32630050</MinTileCol>
            <MaxTileCol>32641390</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>43060788</MinTileRow>
            <MaxTileRow>43097106</MaxTileRow>
            <MinTileCol>65260100</MinTileCol>
            <MaxTileCol>65282781</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>86121577</MinTileRow>
            <MaxTileRow>86194212</MaxTileRow>
            <MinTileCol>130520200</MinTileCol>
            <MaxTileCol>130565563</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>172243155</MinTileRow>
            <MaxTileRow>172388425</MaxTileRow>
            <MinTileCol>261040401</MinTileCol>
            <MaxTileCol>261131126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>344486311</MinTileRow>
            <MaxTileRow>344776851</MaxTileRow>
            <MinTileCol>522080803</MinTileCol>
            <MaxTileCol>522262253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>688972623</MinTileRow>
            <MaxTileRow>689553703</MaxTileRow>
            <MinTileCol>1044161606</MinTileCol>
            <MaxTileCol>1044524506</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_landslide_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_landslide_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_landslide_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_landslide_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_landslide_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_landslide_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_landslide_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_landslide_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_landslide_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_landslide_boundaries/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_landslide_boundaries/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>New Zealand GNS GM5 Middlemarch Electromagnetic Interpretation (polygon) 40000 Hz</ows:Title>
      <ows:Abstract>This dataset spatially represents an interpretation of areas of consistent electromagnetic response at 40 000 Hz.

Credits: Martin, A.P., Cox, S.C., Smith Lyttle, B. 2016</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>170.07260678154034 -45.68151194099665</ows:LowerCorner>
        <ows:UpperCorner>170.39539798682728 -45.35041472929051</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gmnz:NZL_GNS_GM5_emi_polygon_40k</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/metadata/srv/eng/search#%7CE843DF12-2189-40CD-A0FE-26A44673798C"/>
      <Style isDefault="true">
        <ows:Identifier>gmnz:gmnz_emi_poly_40k</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=243&amp;height=160&amp;layer=gmnz%3ANZL_GNS_GM5_emi_polygon_40k" width="243" height="160"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>48</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>96</MinTileRow>
            <MaxTileRow>96</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>192</MinTileRow>
            <MaxTileRow>192</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>384</MinTileRow>
            <MaxTileRow>385</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>769</MinTileRow>
            <MaxTileRow>771</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1539</MinTileRow>
            <MaxTileRow>1543</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3079</MinTileRow>
            <MaxTileRow>3087</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>6159</MinTileRow>
            <MaxTileRow>6175</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>12319</MinTileRow>
            <MaxTileRow>12350</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>24639</MinTileRow>
            <MaxTileRow>24700</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>49279</MinTileRow>
            <MaxTileRow>49400</MaxTileRow>
            <MinTileCol>127457</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>98559</MinTileRow>
            <MaxTileRow>98800</MaxTileRow>
            <MinTileCol>254915</MinTileCol>
            <MaxTileCol>255150</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>197118</MinTileRow>
            <MaxTileRow>197600</MaxTileRow>
            <MinTileCol>509830</MinTileCol>
            <MaxTileCol>510300</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>394236</MinTileRow>
            <MaxTileRow>395201</MaxTileRow>
            <MinTileCol>1019660</MinTileCol>
            <MaxTileCol>1020600</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>788473</MinTileRow>
            <MaxTileRow>790402</MaxTileRow>
            <MinTileCol>2039320</MinTileCol>
            <MaxTileCol>2041201</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1576946</MinTileRow>
            <MaxTileRow>1580804</MaxTileRow>
            <MinTileCol>4078641</MinTileCol>
            <MaxTileCol>4082402</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>82</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>164</MinTileRow>
            <MaxTileRow>164</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>328</MinTileRow>
            <MaxTileRow>329</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>657</MinTileRow>
            <MaxTileRow>658</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1314</MinTileRow>
            <MaxTileRow>1316</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2628</MinTileRow>
            <MaxTileRow>2633</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>5256</MinTileRow>
            <MaxTileRow>5267</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>10512</MinTileRow>
            <MaxTileRow>10534</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>21025</MinTileRow>
            <MaxTileRow>21068</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>42051</MinTileRow>
            <MaxTileRow>42137</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>84103</MinTileRow>
            <MaxTileRow>84275</MaxTileRow>
            <MinTileCol>127457</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>168206</MinTileRow>
            <MaxTileRow>168550</MaxTileRow>
            <MinTileCol>254915</MinTileCol>
            <MaxTileCol>255150</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>336412</MinTileRow>
            <MaxTileRow>337100</MaxTileRow>
            <MinTileCol>509830</MinTileCol>
            <MaxTileCol>510300</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>672824</MinTileRow>
            <MaxTileRow>674201</MaxTileRow>
            <MinTileCol>1019660</MinTileCol>
            <MaxTileCol>1020600</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1345649</MinTileRow>
            <MaxTileRow>1348402</MaxTileRow>
            <MinTileCol>2039320</MinTileCol>
            <MaxTileCol>2041201</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2691299</MinTileRow>
            <MaxTileRow>2696804</MaxTileRow>
            <MinTileCol>4078641</MinTileCol>
            <MaxTileCol>4082402</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5382598</MinTileRow>
            <MaxTileRow>5393609</MaxTileRow>
            <MinTileCol>8157282</MinTileCol>
            <MaxTileCol>8164804</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10765197</MinTileRow>
            <MaxTileRow>10787218</MaxTileRow>
            <MinTileCol>16314565</MinTileCol>
            <MaxTileCol>16329609</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>21530394</MinTileRow>
            <MaxTileRow>21574436</MaxTileRow>
            <MinTileCol>32629131</MinTileCol>
            <MaxTileCol>32659218</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>43060788</MinTileRow>
            <MaxTileRow>43148872</MaxTileRow>
            <MinTileCol>65258263</MinTileCol>
            <MaxTileCol>65318436</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>86121577</MinTileRow>
            <MaxTileRow>86297745</MaxTileRow>
            <MinTileCol>130516527</MinTileCol>
            <MaxTileCol>130636872</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>172243155</MinTileRow>
            <MaxTileRow>172595491</MaxTileRow>
            <MinTileCol>261033055</MinTileCol>
            <MaxTileCol>261273745</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>344486311</MinTileRow>
            <MaxTileRow>345190982</MaxTileRow>
            <MinTileCol>522066110</MinTileCol>
            <MaxTileCol>522547491</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>688972623</MinTileRow>
            <MaxTileRow>690381964</MaxTileRow>
            <MinTileCol>1044132220</MinTileCol>
            <MaxTileCol>1045094982</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_40k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_40k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_40k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_40k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_40k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_40k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_40k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_40k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_40k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_40k/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_40k/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL GNS 1:250K resources</ows:Title>
      <ows:Abstract>This dataset is the resources data for New Zealand. The dataset is a product of the QMAP Geological Map of New Zealand Project and was produced by GNS Science. It represents a slightly updated selection of the data available from the Geological Resource Map of New Zealand (GERM) dataset. The dataset is stored in an ESRI vector geodatabase and exported to Geoserver. The dataset displays only at scales between 1:250 000 and 1:1. The dataset comprises points with each point having attributes describing the type of site and the commodity.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>164.91153211187205 -47.520487951536666</ows:LowerCorner>
        <ows:UpperCorner>179.87672447778493 -33.922676462668306</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:NZL_GNS_250K_resources</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2012/NZL_GNS_250K_resources.html"/>
      <Style isDefault="true">
        <ows:Identifier>QMAP_Resources</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=225&amp;height=920&amp;layer=gns%3ANZL_GNS_250K_resources" width="225" height="920" minScaleDenominator="1.0" maxScaleDenominator="250000.0"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>176</MinTileRow>
            <MaxTileRow>195</MaxTileRow>
            <MinTileCol>490</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>352</MinTileRow>
            <MaxTileRow>391</MaxTileRow>
            <MinTileCol>981</MinTileCol>
            <MaxTileCol>1023</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>704</MinTileRow>
            <MaxTileRow>782</MaxTileRow>
            <MinTileCol>1962</MinTileCol>
            <MaxTileCol>2047</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1409</MinTileRow>
            <MaxTileRow>1564</MaxTileRow>
            <MinTileCol>3924</MinTileCol>
            <MaxTileCol>4094</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2819</MinTileRow>
            <MaxTileRow>3129</MaxTileRow>
            <MinTileCol>7848</MinTileCol>
            <MaxTileCol>8189</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5639</MinTileRow>
            <MaxTileRow>6258</MaxTileRow>
            <MinTileCol>15697</MinTileCol>
            <MaxTileCol>16378</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11279</MinTileRow>
            <MaxTileRow>12517</MaxTileRow>
            <MinTileCol>31394</MinTileCol>
            <MaxTileCol>32756</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>22559</MinTileRow>
            <MaxTileRow>25034</MaxTileRow>
            <MinTileCol>62789</MinTileCol>
            <MaxTileCol>65513</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>45118</MinTileRow>
            <MaxTileRow>50069</MaxTileRow>
            <MinTileCol>125578</MinTileCol>
            <MaxTileCol>131027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>90237</MinTileRow>
            <MaxTileRow>100139</MaxTileRow>
            <MinTileCol>251156</MinTileCol>
            <MaxTileCol>262054</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>180475</MinTileRow>
            <MaxTileRow>200278</MaxTileRow>
            <MinTileCol>502313</MinTileCol>
            <MaxTileCol>524108</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>360950</MinTileRow>
            <MaxTileRow>400557</MaxTileRow>
            <MinTileCol>1004627</MinTileCol>
            <MaxTileCol>1048216</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>721901</MinTileRow>
            <MaxTileRow>801114</MaxTileRow>
            <MinTileCol>2009255</MinTileCol>
            <MaxTileCol>2096433</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1443803</MinTileRow>
            <MaxTileRow>1602229</MaxTileRow>
            <MinTileCol>4018510</MinTileCol>
            <MaxTileCol>4192867</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>83</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>153</MinTileRow>
            <MaxTileRow>166</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>307</MinTileRow>
            <MaxTileRow>333</MaxTileRow>
            <MinTileCol>490</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>614</MinTileRow>
            <MaxTileRow>666</MaxTileRow>
            <MinTileCol>981</MinTileCol>
            <MaxTileCol>1023</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1229</MinTileRow>
            <MaxTileRow>1332</MaxTileRow>
            <MinTileCol>1962</MinTileCol>
            <MaxTileCol>2047</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2458</MinTileRow>
            <MaxTileRow>2664</MaxTileRow>
            <MinTileCol>3924</MinTileCol>
            <MaxTileCol>4094</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>4917</MinTileRow>
            <MaxTileRow>5328</MaxTileRow>
            <MinTileCol>7848</MinTileCol>
            <MaxTileCol>8189</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>9834</MinTileRow>
            <MaxTileRow>10656</MaxTileRow>
            <MinTileCol>15697</MinTileCol>
            <MaxTileCol>16378</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>19669</MinTileRow>
            <MaxTileRow>21312</MaxTileRow>
            <MinTileCol>31394</MinTileCol>
            <MaxTileCol>32756</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>39339</MinTileRow>
            <MaxTileRow>42624</MaxTileRow>
            <MinTileCol>62789</MinTileCol>
            <MaxTileCol>65513</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>78678</MinTileRow>
            <MaxTileRow>85249</MaxTileRow>
            <MinTileCol>125578</MinTileCol>
            <MaxTileCol>131027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>157357</MinTileRow>
            <MaxTileRow>170499</MaxTileRow>
            <MinTileCol>251156</MinTileCol>
            <MaxTileCol>262054</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>314715</MinTileRow>
            <MaxTileRow>340999</MaxTileRow>
            <MinTileCol>502313</MinTileCol>
            <MaxTileCol>524108</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>629431</MinTileRow>
            <MaxTileRow>681998</MaxTileRow>
            <MinTileCol>1004627</MinTileCol>
            <MaxTileCol>1048216</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1258862</MinTileRow>
            <MaxTileRow>1363996</MaxTileRow>
            <MinTileCol>2009255</MinTileCol>
            <MaxTileCol>2096433</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2517725</MinTileRow>
            <MaxTileRow>2727992</MaxTileRow>
            <MinTileCol>4018510</MinTileCol>
            <MaxTileCol>4192867</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5035451</MinTileRow>
            <MaxTileRow>5455985</MaxTileRow>
            <MinTileCol>8037021</MinTileCol>
            <MaxTileCol>8385735</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10070902</MinTileRow>
            <MaxTileRow>10911970</MaxTileRow>
            <MinTileCol>16074042</MinTileCol>
            <MaxTileCol>16771470</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20141804</MinTileRow>
            <MaxTileRow>21823941</MaxTileRow>
            <MinTileCol>32148084</MinTileCol>
            <MaxTileCol>33542941</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>40283608</MinTileRow>
            <MaxTileRow>43647883</MaxTileRow>
            <MinTileCol>64296169</MinTileCol>
            <MaxTileCol>67085883</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>80567217</MinTileRow>
            <MaxTileRow>87295766</MaxTileRow>
            <MinTileCol>128592339</MinTileCol>
            <MaxTileCol>134171767</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>161134435</MinTileRow>
            <MaxTileRow>174591533</MaxTileRow>
            <MinTileCol>257184678</MinTileCol>
            <MaxTileCol>268343535</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>322268870</MinTileRow>
            <MaxTileRow>349183066</MaxTileRow>
            <MinTileCol>514369357</MinTileCol>
            <MaxTileCol>536687070</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>644537741</MinTileRow>
            <MaxTileRow>698366133</MaxTileRow>
            <MinTileCol>1028738715</MinTileCol>
            <MaxTileCol>1073374140</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_resources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_resources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_resources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_resources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_resources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_resources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_resources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_resources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_resources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_resources/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_resources/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>New Zealand GNS GM5 Middlemarch Electromagnetic Interpretation (polygon) 8200 Hz</ows:Title>
      <ows:Abstract>This dataset spatially represents an interpretation of areas of consistent electromagnetic response at 8200 Hz.

Credits: Martin, A.P., Cox, S.C., Smith Lyttle, B. 2016</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>170.07260678154034 -45.68151194099665</ows:LowerCorner>
        <ows:UpperCorner>170.39539798682728 -45.35041472929051</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gmnz:NZL_GNS_GM5_emi_polygon_8200</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/metadata/srv/eng/search#%7CE843DF12-2189-40CD-A0FE-26A44673798C"/>
      <Style isDefault="true">
        <ows:Identifier>gmnz:gmnz_emi_poly_8200</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=226&amp;height=100&amp;layer=gmnz%3ANZL_GNS_GM5_emi_polygon_8200" width="226" height="100"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>48</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>96</MinTileRow>
            <MaxTileRow>96</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>192</MinTileRow>
            <MaxTileRow>192</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>384</MinTileRow>
            <MaxTileRow>385</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>769</MinTileRow>
            <MaxTileRow>771</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1539</MinTileRow>
            <MaxTileRow>1543</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3079</MinTileRow>
            <MaxTileRow>3087</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>6159</MinTileRow>
            <MaxTileRow>6175</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>12319</MinTileRow>
            <MaxTileRow>12350</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>24639</MinTileRow>
            <MaxTileRow>24700</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>49279</MinTileRow>
            <MaxTileRow>49400</MaxTileRow>
            <MinTileCol>127457</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>98559</MinTileRow>
            <MaxTileRow>98800</MaxTileRow>
            <MinTileCol>254915</MinTileCol>
            <MaxTileCol>255150</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>197118</MinTileRow>
            <MaxTileRow>197600</MaxTileRow>
            <MinTileCol>509830</MinTileCol>
            <MaxTileCol>510300</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>394236</MinTileRow>
            <MaxTileRow>395201</MaxTileRow>
            <MinTileCol>1019660</MinTileCol>
            <MaxTileCol>1020600</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>788473</MinTileRow>
            <MaxTileRow>790402</MaxTileRow>
            <MinTileCol>2039320</MinTileCol>
            <MaxTileCol>2041201</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1576946</MinTileRow>
            <MaxTileRow>1580804</MaxTileRow>
            <MinTileCol>4078641</MinTileCol>
            <MaxTileCol>4082402</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>82</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>164</MinTileRow>
            <MaxTileRow>164</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>328</MinTileRow>
            <MaxTileRow>329</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>657</MinTileRow>
            <MaxTileRow>658</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1314</MinTileRow>
            <MaxTileRow>1316</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2628</MinTileRow>
            <MaxTileRow>2633</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>5256</MinTileRow>
            <MaxTileRow>5267</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>10512</MinTileRow>
            <MaxTileRow>10534</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>21025</MinTileRow>
            <MaxTileRow>21068</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>42051</MinTileRow>
            <MaxTileRow>42137</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>84103</MinTileRow>
            <MaxTileRow>84275</MaxTileRow>
            <MinTileCol>127457</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>168206</MinTileRow>
            <MaxTileRow>168550</MaxTileRow>
            <MinTileCol>254915</MinTileCol>
            <MaxTileCol>255150</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>336412</MinTileRow>
            <MaxTileRow>337100</MaxTileRow>
            <MinTileCol>509830</MinTileCol>
            <MaxTileCol>510300</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>672824</MinTileRow>
            <MaxTileRow>674201</MaxTileRow>
            <MinTileCol>1019660</MinTileCol>
            <MaxTileCol>1020600</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1345649</MinTileRow>
            <MaxTileRow>1348402</MaxTileRow>
            <MinTileCol>2039320</MinTileCol>
            <MaxTileCol>2041201</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2691299</MinTileRow>
            <MaxTileRow>2696804</MaxTileRow>
            <MinTileCol>4078641</MinTileCol>
            <MaxTileCol>4082402</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5382598</MinTileRow>
            <MaxTileRow>5393609</MaxTileRow>
            <MinTileCol>8157282</MinTileCol>
            <MaxTileCol>8164804</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10765197</MinTileRow>
            <MaxTileRow>10787218</MaxTileRow>
            <MinTileCol>16314565</MinTileCol>
            <MaxTileCol>16329609</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>21530394</MinTileRow>
            <MaxTileRow>21574436</MaxTileRow>
            <MinTileCol>32629131</MinTileCol>
            <MaxTileCol>32659218</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>43060788</MinTileRow>
            <MaxTileRow>43148872</MaxTileRow>
            <MinTileCol>65258263</MinTileCol>
            <MaxTileCol>65318436</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>86121577</MinTileRow>
            <MaxTileRow>86297745</MaxTileRow>
            <MinTileCol>130516527</MinTileCol>
            <MaxTileCol>130636872</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>172243155</MinTileRow>
            <MaxTileRow>172595491</MaxTileRow>
            <MinTileCol>261033055</MinTileCol>
            <MaxTileCol>261273745</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>344486311</MinTileRow>
            <MaxTileRow>345190982</MaxTileRow>
            <MinTileCol>522066110</MinTileCol>
            <MaxTileCol>522547491</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>688972623</MinTileRow>
            <MaxTileRow>690381964</MaxTileRow>
            <MinTileCol>1044132220</MinTileCol>
            <MaxTileCol>1045094982</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_8200/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_8200/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_8200/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_8200/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_8200/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_8200/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_8200/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_8200/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_8200/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_8200/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_8200/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL-GNS_250K_geological_boundaries</ows:Title>
      <ows:Abstract>This view combines the geological mapping units bounding arcs datasets for the North Island and South Island of New Zealand. The datasets included are NZL-NI_GNS_250K_geological_boundaries and NZL-SI_GNS_250K_geological_boundaries. The datasets used are a product of the QMAP Geological Map of New Zealand Project and was produced by GNS Science. They represents the most current mapping of the geology of the New Zealand in a single dataset at a scale of 1:250 000. The datasets are stored in an ESRI vector geodatabase and exported to Geoserver.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>166.26169914110937 -47.42267636566226</ows:LowerCorner>
        <ows:UpperCorner>179.50131793111456 -34.008451694738824</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:NZL-GNS_250K_geological_boundaries</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_geological_boundaries.html"/>
      <Style isDefault="true">
        <ows:Identifier>qmap_geo_bounds_clean</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=169&amp;height=120&amp;layer=gns%3ANZL-GNS_250K_geological_boundaries" width="169" height="120" minScaleDenominator="1.0" maxScaleDenominator="500000.0"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>176</MinTileRow>
            <MaxTileRow>195</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>352</MinTileRow>
            <MaxTileRow>390</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1022</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>705</MinTileRow>
            <MaxTileRow>781</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2045</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1410</MinTileRow>
            <MaxTileRow>1563</MaxTileRow>
            <MinTileCol>3939</MinTileCol>
            <MaxTileCol>4090</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2821</MinTileRow>
            <MaxTileRow>3127</MaxTileRow>
            <MinTileCol>7879</MinTileCol>
            <MaxTileCol>8180</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5643</MinTileRow>
            <MaxTileRow>6254</MaxTileRow>
            <MinTileCol>15758</MinTileCol>
            <MaxTileCol>16361</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11287</MinTileRow>
            <MaxTileRow>12508</MaxTileRow>
            <MinTileCol>31517</MinTileCol>
            <MaxTileCol>32722</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>22575</MinTileRow>
            <MaxTileRow>25017</MaxTileRow>
            <MinTileCol>63035</MinTileCol>
            <MaxTileCol>65445</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>45150</MinTileRow>
            <MaxTileRow>50034</MaxTileRow>
            <MinTileCol>126070</MinTileCol>
            <MaxTileCol>130890</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>90300</MinTileRow>
            <MaxTileRow>100068</MaxTileRow>
            <MinTileCol>252140</MinTileCol>
            <MaxTileCol>261780</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>180600</MinTileRow>
            <MaxTileRow>200136</MaxTileRow>
            <MinTileCol>504280</MinTileCol>
            <MaxTileCol>523561</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>361200</MinTileRow>
            <MaxTileRow>400272</MaxTileRow>
            <MinTileCol>1008560</MinTileCol>
            <MaxTileCol>1047123</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>722401</MinTileRow>
            <MaxTileRow>800545</MaxTileRow>
            <MinTileCol>2017120</MinTileCol>
            <MaxTileCol>2094246</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1444803</MinTileRow>
            <MaxTileRow>1601090</MaxTileRow>
            <MinTileCol>4034241</MinTileCol>
            <MaxTileCol>4188493</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>83</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>153</MinTileRow>
            <MaxTileRow>166</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>307</MinTileRow>
            <MaxTileRow>332</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>614</MinTileRow>
            <MaxTileRow>665</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1022</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1229</MinTileRow>
            <MaxTileRow>1331</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2045</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2459</MinTileRow>
            <MaxTileRow>2662</MaxTileRow>
            <MinTileCol>3939</MinTileCol>
            <MaxTileCol>4090</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>4919</MinTileRow>
            <MaxTileRow>5324</MaxTileRow>
            <MinTileCol>7879</MinTileCol>
            <MaxTileCol>8180</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>9839</MinTileRow>
            <MaxTileRow>10649</MaxTileRow>
            <MinTileCol>15758</MinTileCol>
            <MaxTileCol>16361</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>19679</MinTileRow>
            <MaxTileRow>21299</MaxTileRow>
            <MinTileCol>31517</MinTileCol>
            <MaxTileCol>32722</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>39358</MinTileRow>
            <MaxTileRow>42598</MaxTileRow>
            <MinTileCol>63035</MinTileCol>
            <MaxTileCol>65445</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>78716</MinTileRow>
            <MaxTileRow>85197</MaxTileRow>
            <MinTileCol>126070</MinTileCol>
            <MaxTileCol>130890</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>157433</MinTileRow>
            <MaxTileRow>170394</MaxTileRow>
            <MinTileCol>252140</MinTileCol>
            <MaxTileCol>261780</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>314866</MinTileRow>
            <MaxTileRow>340788</MaxTileRow>
            <MinTileCol>504280</MinTileCol>
            <MaxTileCol>523561</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>629732</MinTileRow>
            <MaxTileRow>681576</MaxTileRow>
            <MinTileCol>1008560</MinTileCol>
            <MaxTileCol>1047123</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1259465</MinTileRow>
            <MaxTileRow>1363153</MaxTileRow>
            <MinTileCol>2017120</MinTileCol>
            <MaxTileCol>2094246</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2518930</MinTileRow>
            <MaxTileRow>2726306</MaxTileRow>
            <MinTileCol>4034241</MinTileCol>
            <MaxTileCol>4188493</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5037861</MinTileRow>
            <MaxTileRow>5452613</MaxTileRow>
            <MinTileCol>8068482</MinTileCol>
            <MaxTileCol>8376987</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10075722</MinTileRow>
            <MaxTileRow>10905227</MaxTileRow>
            <MinTileCol>16136964</MinTileCol>
            <MaxTileCol>16753975</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20151444</MinTileRow>
            <MaxTileRow>21810454</MaxTileRow>
            <MinTileCol>32273929</MinTileCol>
            <MaxTileCol>33507951</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>40302888</MinTileRow>
            <MaxTileRow>43620909</MaxTileRow>
            <MinTileCol>64547859</MinTileCol>
            <MaxTileCol>67015902</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>80605776</MinTileRow>
            <MaxTileRow>87241818</MaxTileRow>
            <MinTileCol>129095718</MinTileCol>
            <MaxTileCol>134031805</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>161211552</MinTileRow>
            <MaxTileRow>174483636</MaxTileRow>
            <MinTileCol>258191436</MinTileCol>
            <MaxTileCol>268063611</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>322423104</MinTileRow>
            <MaxTileRow>348967272</MaxTileRow>
            <MinTileCol>516382872</MinTileCol>
            <MaxTileCol>536127223</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>644846209</MinTileRow>
            <MaxTileRow>697934545</MaxTileRow>
            <MinTileCol>1032765745</MinTileCol>
            <MaxTileCol>1072254446</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL-GNS_250K_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL-GNS_250K_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL-GNS_250K_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL-GNS_250K_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL-GNS_250K_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL-GNS_250K_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL-GNS_250K_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL-GNS_250K_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL-GNS_250K_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL-GNS_250K_geological_boundaries/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL-GNS_250K_geological_boundaries/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL_GNS_1M_Lithostratigraphy</ows:Title>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>166.26160339175675 -47.421262019275005</ows:LowerCorner>
        <ows:UpperCorner>179.49983681692763 -34.02159512113178</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:NZL_GNS_1M_Lithostratigraphy</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/1million/2012/NZL_GNS_1M_Lithostratigraphy.html"/>
      <ows:Metadata xlink:type="simple" xlink:href="https://www.gns.cri.nz/Home/Our-Science/Energy-Resources/Geological-Mapping/Geological-Maps/1-1-000-000-Geological-Map-of-NZ"/>
      <Style isDefault="true">
        <ows:Identifier>geological_units_1m</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=71&amp;height=2600&amp;layer=gns%3ANZL_GNS_1M_Lithostratigraphy" width="71" height="2600" minScaleDenominator="1.0" maxScaleDenominator="1.0E8"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>176</MinTileRow>
            <MaxTileRow>195</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>352</MinTileRow>
            <MaxTileRow>390</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1022</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>705</MinTileRow>
            <MaxTileRow>781</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2045</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1411</MinTileRow>
            <MaxTileRow>1563</MaxTileRow>
            <MinTileCol>3939</MinTileCol>
            <MaxTileCol>4090</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2822</MinTileRow>
            <MaxTileRow>3127</MaxTileRow>
            <MinTileCol>7879</MinTileCol>
            <MaxTileCol>8180</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5644</MinTileRow>
            <MaxTileRow>6254</MaxTileRow>
            <MinTileCol>15758</MinTileCol>
            <MaxTileCol>16361</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11288</MinTileRow>
            <MaxTileRow>12508</MaxTileRow>
            <MinTileCol>31517</MinTileCol>
            <MaxTileCol>32722</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>22577</MinTileRow>
            <MaxTileRow>25016</MaxTileRow>
            <MinTileCol>63035</MinTileCol>
            <MaxTileCol>65444</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>45154</MinTileRow>
            <MaxTileRow>50033</MaxTileRow>
            <MinTileCol>126070</MinTileCol>
            <MaxTileCol>130889</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>90309</MinTileRow>
            <MaxTileRow>100067</MaxTileRow>
            <MinTileCol>252140</MinTileCol>
            <MaxTileCol>261779</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>180619</MinTileRow>
            <MaxTileRow>200134</MaxTileRow>
            <MinTileCol>504280</MinTileCol>
            <MaxTileCol>523559</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>361239</MinTileRow>
            <MaxTileRow>400268</MaxTileRow>
            <MinTileCol>1008560</MinTileCol>
            <MaxTileCol>1047119</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>722478</MinTileRow>
            <MaxTileRow>800536</MaxTileRow>
            <MinTileCol>2017120</MinTileCol>
            <MaxTileCol>2094238</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1444956</MinTileRow>
            <MaxTileRow>1601073</MaxTileRow>
            <MinTileCol>4034240</MinTileCol>
            <MaxTileCol>4188476</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>83</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>153</MinTileRow>
            <MaxTileRow>166</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>307</MinTileRow>
            <MaxTileRow>332</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>615</MinTileRow>
            <MaxTileRow>665</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1022</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1230</MinTileRow>
            <MaxTileRow>1331</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2045</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2460</MinTileRow>
            <MaxTileRow>2662</MaxTileRow>
            <MinTileCol>3939</MinTileCol>
            <MaxTileCol>4090</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>4920</MinTileRow>
            <MaxTileRow>5324</MaxTileRow>
            <MinTileCol>7879</MinTileCol>
            <MaxTileCol>8180</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>9840</MinTileRow>
            <MaxTileRow>10649</MaxTileRow>
            <MinTileCol>15758</MinTileCol>
            <MaxTileCol>16361</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>19680</MinTileRow>
            <MaxTileRow>21299</MaxTileRow>
            <MinTileCol>31517</MinTileCol>
            <MaxTileCol>32722</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>39361</MinTileRow>
            <MaxTileRow>42598</MaxTileRow>
            <MinTileCol>63035</MinTileCol>
            <MaxTileCol>65444</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>78722</MinTileRow>
            <MaxTileRow>85196</MaxTileRow>
            <MinTileCol>126070</MinTileCol>
            <MaxTileCol>130889</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>157444</MinTileRow>
            <MaxTileRow>170392</MaxTileRow>
            <MinTileCol>252140</MinTileCol>
            <MaxTileCol>261779</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>314889</MinTileRow>
            <MaxTileRow>340785</MaxTileRow>
            <MinTileCol>504280</MinTileCol>
            <MaxTileCol>523559</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>629778</MinTileRow>
            <MaxTileRow>681570</MaxTileRow>
            <MinTileCol>1008560</MinTileCol>
            <MaxTileCol>1047119</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1259557</MinTileRow>
            <MaxTileRow>1363141</MaxTileRow>
            <MinTileCol>2017120</MinTileCol>
            <MaxTileCol>2094238</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2519115</MinTileRow>
            <MaxTileRow>2726282</MaxTileRow>
            <MinTileCol>4034240</MinTileCol>
            <MaxTileCol>4188476</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5038230</MinTileRow>
            <MaxTileRow>5452564</MaxTileRow>
            <MinTileCol>8068480</MinTileCol>
            <MaxTileCol>8376953</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10076460</MinTileRow>
            <MaxTileRow>10905129</MaxTileRow>
            <MinTileCol>16136960</MinTileCol>
            <MaxTileCol>16753906</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20152921</MinTileRow>
            <MaxTileRow>21810259</MaxTileRow>
            <MinTileCol>32273920</MinTileCol>
            <MaxTileCol>33507813</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>40305843</MinTileRow>
            <MaxTileRow>43620519</MaxTileRow>
            <MinTileCol>64547841</MinTileCol>
            <MaxTileCol>67015626</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>80611687</MinTileRow>
            <MaxTileRow>87241038</MaxTileRow>
            <MinTileCol>129095682</MinTileCol>
            <MaxTileCol>134031253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>161223375</MinTileRow>
            <MaxTileRow>174482077</MaxTileRow>
            <MinTileCol>258191365</MinTileCol>
            <MaxTileCol>268062507</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>322446751</MinTileRow>
            <MaxTileRow>348964155</MaxTileRow>
            <MinTileCol>516382730</MinTileCol>
            <MaxTileCol>536125014</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>644893503</MinTileRow>
            <MaxTileRow>697928310</MaxTileRow>
            <MinTileCol>1032765460</MinTileCol>
            <MaxTileCol>1072250029</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_Lithostratigraphy/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_Lithostratigraphy/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_Lithostratigraphy/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_Lithostratigraphy/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_Lithostratigraphy/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_Lithostratigraphy/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_Lithostratigraphy/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_Lithostratigraphy/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_Lithostratigraphy/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_Lithostratigraphy/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_Lithostratigraphy/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>New Zealand GNS GM5 Middlemarch Folds</ows:Title>
      <ows:Abstract>This data layer spatially represents folds located at or near the surface.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>170.07347570459018 -45.68129432828372</ows:LowerCorner>
        <ows:UpperCorner>170.39167971488152 -45.35108264175423</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gmnz:NZL_GNS_GM5_folds</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/metadata/srv/eng/search#%7C14164C04-6CBE-48C1-86EB-55E4B31E798D"/>
      <Style isDefault="true">
        <ows:Identifier>gmnz:gmnz_folds</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=123&amp;height=180&amp;layer=gmnz%3ANZL_GNS_GM5_folds" width="123" height="180"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>48</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>96</MinTileRow>
            <MaxTileRow>96</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>192</MinTileRow>
            <MaxTileRow>192</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>384</MinTileRow>
            <MaxTileRow>385</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>769</MinTileRow>
            <MaxTileRow>771</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1539</MinTileRow>
            <MaxTileRow>1543</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3079</MinTileRow>
            <MaxTileRow>3087</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>6159</MinTileRow>
            <MaxTileRow>6175</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>12319</MinTileRow>
            <MaxTileRow>12350</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>24639</MinTileRow>
            <MaxTileRow>24700</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63786</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>49279</MinTileRow>
            <MaxTileRow>49400</MaxTileRow>
            <MinTileCol>127457</MinTileCol>
            <MaxTileCol>127573</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>98559</MinTileRow>
            <MaxTileRow>98800</MaxTileRow>
            <MinTileCol>254915</MinTileCol>
            <MaxTileCol>255147</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>197119</MinTileRow>
            <MaxTileRow>197600</MaxTileRow>
            <MinTileCol>509831</MinTileCol>
            <MaxTileCol>510294</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>394238</MinTileRow>
            <MaxTileRow>395200</MaxTileRow>
            <MinTileCol>1019662</MinTileCol>
            <MaxTileCol>1020589</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>788477</MinTileRow>
            <MaxTileRow>790400</MaxTileRow>
            <MinTileCol>2039325</MinTileCol>
            <MaxTileCol>2041179</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1576954</MinTileRow>
            <MaxTileRow>1580801</MaxTileRow>
            <MinTileCol>4078651</MinTileCol>
            <MaxTileCol>4082358</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>82</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>164</MinTileRow>
            <MaxTileRow>164</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>328</MinTileRow>
            <MaxTileRow>329</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>657</MinTileRow>
            <MaxTileRow>658</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1314</MinTileRow>
            <MaxTileRow>1316</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2628</MinTileRow>
            <MaxTileRow>2633</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>5256</MinTileRow>
            <MaxTileRow>5267</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>10512</MinTileRow>
            <MaxTileRow>10534</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>21025</MinTileRow>
            <MaxTileRow>21068</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>42051</MinTileRow>
            <MaxTileRow>42137</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63786</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>84103</MinTileRow>
            <MaxTileRow>84275</MaxTileRow>
            <MinTileCol>127457</MinTileCol>
            <MaxTileCol>127573</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>168206</MinTileRow>
            <MaxTileRow>168550</MaxTileRow>
            <MinTileCol>254915</MinTileCol>
            <MaxTileCol>255147</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>336413</MinTileRow>
            <MaxTileRow>337100</MaxTileRow>
            <MinTileCol>509831</MinTileCol>
            <MaxTileCol>510294</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>672827</MinTileRow>
            <MaxTileRow>674200</MaxTileRow>
            <MinTileCol>1019662</MinTileCol>
            <MaxTileCol>1020589</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1345655</MinTileRow>
            <MaxTileRow>1348400</MaxTileRow>
            <MinTileCol>2039325</MinTileCol>
            <MaxTileCol>2041179</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2691310</MinTileRow>
            <MaxTileRow>2696800</MaxTileRow>
            <MinTileCol>4078651</MinTileCol>
            <MaxTileCol>4082358</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5382620</MinTileRow>
            <MaxTileRow>5393601</MaxTileRow>
            <MinTileCol>8157303</MinTileCol>
            <MaxTileCol>8164717</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10765241</MinTileRow>
            <MaxTileRow>10787203</MaxTileRow>
            <MinTileCol>16314606</MinTileCol>
            <MaxTileCol>16329435</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>21530483</MinTileRow>
            <MaxTileRow>21574407</MaxTileRow>
            <MinTileCol>32629212</MinTileCol>
            <MaxTileCol>32658871</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>43060966</MinTileRow>
            <MaxTileRow>43148814</MaxTileRow>
            <MinTileCol>65258425</MinTileCol>
            <MaxTileCol>65317743</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>86121932</MinTileRow>
            <MaxTileRow>86297629</MaxTileRow>
            <MinTileCol>130516851</MinTileCol>
            <MaxTileCol>130635486</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>172243864</MinTileRow>
            <MaxTileRow>172595258</MaxTileRow>
            <MinTileCol>261033703</MinTileCol>
            <MaxTileCol>261270973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>344487729</MinTileRow>
            <MaxTileRow>345190517</MaxTileRow>
            <MinTileCol>522067406</MinTileCol>
            <MaxTileCol>522541946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>688975458</MinTileRow>
            <MaxTileRow>690381035</MaxTileRow>
            <MinTileCol>1044134812</MinTileCol>
            <MaxTileCol>1045083892</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_folds/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_folds/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL GNS 1:1M geological units</ows:Title>
      <ows:Abstract>This dataset is the 1:1 000 000 geological units data for New Zealand. The dataset is a product of the Geological Map of New Zealand 1: 1 000 000 project and was produced by GNS Science. It represents the most current mapping of the geology of New Zealand in a single dataset at a scale of 1:1 000 000. The dataset is stored in an ESRI vector geodatabase and exported to Geoserver and ArcGIS Server. The dataset comprises polygons with each polygon having attributes describing the type of geological unit, its content, name and age. It complies with the GeoSciML Portrayal standard for GeologicUnitView and fields required by that standard were populated using the CGI Controlled Vocabulary (2012-11).</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>165.868942260742 -52.6200981140137</ows:LowerCorner>
        <ows:UpperCorner>179.065063476562 -34.142936706543</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:NZL_GNS_1M_geological_units</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/GMNZ1M/2014/NZL_GNS_1M_geological_units.html"/>
      <ows:Metadata xlink:type="simple" xlink:href="https://www.gns.cri.nz/Home/Our-Science/Earth-Science/Regional-Geology/Geological-Maps/1-1-000-000-Geological-Map-of-NZ"/>
      <Style isDefault="true">
        <ows:Identifier>gmnz_2014_geolunits</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=361&amp;height=3640&amp;layer=gns%3ANZL_GNS_1M_geological_units" width="361" height="3640"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>25</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>50</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>101</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>176</MinTileRow>
            <MaxTileRow>202</MaxTileRow>
            <MinTileCol>491</MinTileCol>
            <MaxTileCol>510</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>353</MinTileRow>
            <MaxTileRow>405</MaxTileRow>
            <MinTileCol>983</MinTileCol>
            <MaxTileCol>1021</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>706</MinTileRow>
            <MaxTileRow>811</MaxTileRow>
            <MinTileCol>1967</MinTileCol>
            <MaxTileCol>2042</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1412</MinTileRow>
            <MaxTileRow>1622</MaxTileRow>
            <MinTileCol>3935</MinTileCol>
            <MaxTileCol>4085</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2824</MinTileRow>
            <MaxTileRow>3245</MaxTileRow>
            <MinTileCol>7870</MinTileCol>
            <MaxTileCol>8170</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5649</MinTileRow>
            <MaxTileRow>6490</MaxTileRow>
            <MinTileCol>15740</MinTileCol>
            <MaxTileCol>16341</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11299</MinTileRow>
            <MaxTileRow>12981</MaxTileRow>
            <MinTileCol>31481</MinTileCol>
            <MaxTileCol>32682</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>22599</MinTileRow>
            <MaxTileRow>25963</MaxTileRow>
            <MinTileCol>62963</MinTileCol>
            <MaxTileCol>65365</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>45199</MinTileRow>
            <MaxTileRow>51926</MaxTileRow>
            <MinTileCol>125927</MinTileCol>
            <MaxTileCol>130731</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>90398</MinTileRow>
            <MaxTileRow>103852</MaxTileRow>
            <MinTileCol>251854</MinTileCol>
            <MaxTileCol>261463</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>180796</MinTileRow>
            <MaxTileRow>207705</MaxTileRow>
            <MinTileCol>503708</MinTileCol>
            <MaxTileCol>522926</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>361592</MinTileRow>
            <MaxTileRow>415411</MaxTileRow>
            <MinTileCol>1007416</MinTileCol>
            <MaxTileCol>1045852</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>723185</MinTileRow>
            <MaxTileRow>830822</MaxTileRow>
            <MinTileCol>2014832</MinTileCol>
            <MaxTileCol>2091705</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1446370</MinTileRow>
            <MaxTileRow>1661644</MaxTileRow>
            <MinTileCol>4029665</MinTileCol>
            <MaxTileCol>4183411</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>21</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>43</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>86</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>153</MinTileRow>
            <MaxTileRow>172</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>307</MinTileRow>
            <MaxTileRow>344</MaxTileRow>
            <MinTileCol>491</MinTileCol>
            <MaxTileCol>510</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>615</MinTileRow>
            <MaxTileRow>688</MaxTileRow>
            <MinTileCol>983</MinTileCol>
            <MaxTileCol>1021</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1230</MinTileRow>
            <MaxTileRow>1377</MaxTileRow>
            <MinTileCol>1967</MinTileCol>
            <MaxTileCol>2042</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2461</MinTileRow>
            <MaxTileRow>2754</MaxTileRow>
            <MinTileCol>3935</MinTileCol>
            <MaxTileCol>4085</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>4923</MinTileRow>
            <MaxTileRow>5509</MaxTileRow>
            <MinTileCol>7870</MinTileCol>
            <MaxTileCol>8170</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>9846</MinTileRow>
            <MaxTileRow>11018</MaxTileRow>
            <MinTileCol>15740</MinTileCol>
            <MaxTileCol>16341</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>19693</MinTileRow>
            <MaxTileRow>22036</MaxTileRow>
            <MinTileCol>31481</MinTileCol>
            <MaxTileCol>32682</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>39387</MinTileRow>
            <MaxTileRow>44073</MaxTileRow>
            <MinTileCol>62963</MinTileCol>
            <MaxTileCol>65365</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>78775</MinTileRow>
            <MaxTileRow>88146</MaxTileRow>
            <MinTileCol>125927</MinTileCol>
            <MaxTileCol>130731</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>157551</MinTileRow>
            <MaxTileRow>176292</MaxTileRow>
            <MinTileCol>251854</MinTileCol>
            <MaxTileCol>261463</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>315102</MinTileRow>
            <MaxTileRow>352584</MaxTileRow>
            <MinTileCol>503708</MinTileCol>
            <MaxTileCol>522926</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>630205</MinTileRow>
            <MaxTileRow>705169</MaxTileRow>
            <MinTileCol>1007416</MinTileCol>
            <MaxTileCol>1045852</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1260411</MinTileRow>
            <MaxTileRow>1410339</MaxTileRow>
            <MinTileCol>2014832</MinTileCol>
            <MaxTileCol>2091705</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2520822</MinTileRow>
            <MaxTileRow>2820679</MaxTileRow>
            <MinTileCol>4029665</MinTileCol>
            <MaxTileCol>4183411</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5041644</MinTileRow>
            <MaxTileRow>5641358</MaxTileRow>
            <MinTileCol>8059330</MinTileCol>
            <MaxTileCol>8366822</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10083288</MinTileRow>
            <MaxTileRow>11282716</MaxTileRow>
            <MinTileCol>16118660</MinTileCol>
            <MaxTileCol>16733644</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20166577</MinTileRow>
            <MaxTileRow>22565433</MaxTileRow>
            <MinTileCol>32237321</MinTileCol>
            <MaxTileCol>33467289</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>40333154</MinTileRow>
            <MaxTileRow>45130866</MaxTileRow>
            <MinTileCol>64474643</MinTileCol>
            <MaxTileCol>66934579</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>80666309</MinTileRow>
            <MaxTileRow>90261732</MaxTileRow>
            <MinTileCol>128949287</MinTileCol>
            <MaxTileCol>133869158</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>161332619</MinTileRow>
            <MaxTileRow>180523465</MaxTileRow>
            <MinTileCol>257898575</MinTileCol>
            <MaxTileCol>267738316</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>322665238</MinTileRow>
            <MaxTileRow>361046931</MaxTileRow>
            <MinTileCol>515797151</MinTileCol>
            <MaxTileCol>535476633</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>645330476</MinTileRow>
            <MaxTileRow>722093863</MaxTileRow>
            <MinTileCol>1031594302</MinTileCol>
            <MaxTileCol>1070953267</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_geological_units/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_geological_units/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>ATA SVL GNS 1:250K geological horizons</ows:Title>
      <ows:Abstract>The 1:250 000 geological map of South Victoria Land encompasses the area of the southern Ross Sea, including Ross Island, the Dry Valleys and the Royal Society Range. The map is at a pre-press publication stage and this layer shows the horizons.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>158.955505371094 -78.8605880737305</ows:LowerCorner>
        <ows:UpperCorner>163.653671264648 -76.549430847168</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:ATA_SVL_GNS_250K_horizons</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/"/>
      <ows:Metadata xlink:type="simple" xlink:href="https://www.gns.cri.nz/Home/Our-Science/Energy-Resources/Geological-Mapping/Geological-Maps/1-250-000-Geological-Map-of-South-Victoria-Land"/>
      <Style isDefault="true">
        <ows:Identifier>SVL_2014_horizons</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=44&amp;height=380&amp;layer=gns%3AATA_SVL_GNS_250K_horizons" width="44" height="380"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>30</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>30</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>61</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>59</MinTileRow>
            <MaxTileRow>60</MaxTileRow>
            <MinTileCol>120</MinTileCol>
            <MaxTileCol>122</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>118</MinTileRow>
            <MaxTileRow>120</MaxTileRow>
            <MinTileCol>241</MinTileCol>
            <MaxTileCol>244</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>236</MinTileRow>
            <MaxTileRow>240</MaxTileRow>
            <MinTileCol>482</MinTileCol>
            <MaxTileCol>488</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>473</MinTileRow>
            <MaxTileRow>480</MaxTileRow>
            <MinTileCol>964</MinTileCol>
            <MaxTileCol>977</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>947</MinTileRow>
            <MaxTileRow>960</MaxTileRow>
            <MinTileCol>1928</MinTileCol>
            <MaxTileCol>1955</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1894</MinTileRow>
            <MaxTileRow>1921</MaxTileRow>
            <MinTileCol>3856</MinTileCol>
            <MaxTileCol>3910</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3789</MinTileRow>
            <MaxTileRow>3842</MaxTileRow>
            <MinTileCol>7713</MinTileCol>
            <MaxTileCol>7820</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>7579</MinTileRow>
            <MaxTileRow>7685</MaxTileRow>
            <MinTileCol>15426</MinTileCol>
            <MaxTileCol>15640</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>15159</MinTileRow>
            <MaxTileRow>15370</MaxTileRow>
            <MinTileCol>30852</MinTileCol>
            <MaxTileCol>31280</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>30319</MinTileRow>
            <MaxTileRow>30740</MaxTileRow>
            <MinTileCol>61704</MinTileCol>
            <MaxTileCol>62560</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>60638</MinTileRow>
            <MaxTileRow>61480</MaxTileRow>
            <MinTileCol>123409</MinTileCol>
            <MaxTileCol>125120</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>121277</MinTileRow>
            <MaxTileRow>122960</MaxTileRow>
            <MinTileCol>246819</MinTileCol>
            <MaxTileCol>250240</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>242555</MinTileRow>
            <MaxTileRow>245921</MaxTileRow>
            <MinTileCol>493639</MinTileCol>
            <MaxTileCol>500481</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>485110</MinTileRow>
            <MaxTileRow>491842</MaxTileRow>
            <MinTileCol>987279</MinTileCol>
            <MaxTileCol>1000963</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>970220</MinTileRow>
            <MaxTileRow>983684</MaxTileRow>
            <MinTileCol>1974558</MinTileCol>
            <MaxTileCol>2001927</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1940441</MinTileRow>
            <MaxTileRow>1967368</MaxTileRow>
            <MinTileCol>3949117</MinTileCol>
            <MaxTileCol>4003855</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>26</MinTileRow>
            <MaxTileRow>27</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>30</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>53</MinTileRow>
            <MaxTileRow>55</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>61</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>107</MinTileRow>
            <MaxTileRow>111</MaxTileRow>
            <MinTileCol>120</MinTileCol>
            <MaxTileCol>122</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>215</MinTileRow>
            <MaxTileRow>222</MaxTileRow>
            <MinTileCol>241</MinTileCol>
            <MaxTileCol>244</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>430</MinTileRow>
            <MaxTileRow>445</MaxTileRow>
            <MinTileCol>482</MinTileCol>
            <MaxTileCol>488</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>860</MinTileRow>
            <MaxTileRow>891</MaxTileRow>
            <MinTileCol>964</MinTileCol>
            <MaxTileCol>977</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1720</MinTileRow>
            <MaxTileRow>1782</MaxTileRow>
            <MinTileCol>1928</MinTileCol>
            <MaxTileCol>1955</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>3441</MinTileRow>
            <MaxTileRow>3565</MaxTileRow>
            <MinTileCol>3856</MinTileCol>
            <MaxTileCol>3910</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>6883</MinTileRow>
            <MaxTileRow>7130</MaxTileRow>
            <MinTileCol>7713</MinTileCol>
            <MaxTileCol>7820</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>13766</MinTileRow>
            <MaxTileRow>14261</MaxTileRow>
            <MinTileCol>15426</MinTileCol>
            <MaxTileCol>15640</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>27532</MinTileRow>
            <MaxTileRow>28523</MaxTileRow>
            <MinTileCol>30852</MinTileCol>
            <MaxTileCol>31280</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>55065</MinTileRow>
            <MaxTileRow>57047</MaxTileRow>
            <MinTileCol>61704</MinTileCol>
            <MaxTileCol>62560</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>110130</MinTileRow>
            <MaxTileRow>114094</MaxTileRow>
            <MinTileCol>123409</MinTileCol>
            <MaxTileCol>125120</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>220261</MinTileRow>
            <MaxTileRow>228188</MaxTileRow>
            <MinTileCol>246819</MinTileCol>
            <MaxTileCol>250240</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>440523</MinTileRow>
            <MaxTileRow>456376</MaxTileRow>
            <MinTileCol>493639</MinTileCol>
            <MaxTileCol>500481</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>881047</MinTileRow>
            <MaxTileRow>912753</MaxTileRow>
            <MinTileCol>987279</MinTileCol>
            <MaxTileCol>1000963</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1762095</MinTileRow>
            <MaxTileRow>1825506</MaxTileRow>
            <MinTileCol>1974558</MinTileCol>
            <MaxTileCol>2001927</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>3524191</MinTileRow>
            <MaxTileRow>3651013</MaxTileRow>
            <MinTileCol>3949117</MinTileCol>
            <MaxTileCol>4003855</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>7048383</MinTileRow>
            <MaxTileRow>7302026</MaxTileRow>
            <MinTileCol>7898235</MinTileCol>
            <MaxTileCol>8007710</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>14096766</MinTileRow>
            <MaxTileRow>14604052</MaxTileRow>
            <MinTileCol>15796471</MinTileCol>
            <MaxTileCol>16015421</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>28193532</MinTileRow>
            <MaxTileRow>29208105</MaxTileRow>
            <MinTileCol>31592942</MinTileCol>
            <MaxTileCol>32030843</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>56387064</MinTileRow>
            <MaxTileRow>58416211</MaxTileRow>
            <MinTileCol>63185885</MinTileCol>
            <MaxTileCol>64061687</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>112774129</MinTileRow>
            <MaxTileRow>116832423</MaxTileRow>
            <MinTileCol>126371771</MinTileCol>
            <MaxTileCol>128123374</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>225548258</MinTileRow>
            <MaxTileRow>233664847</MaxTileRow>
            <MinTileCol>252743543</MinTileCol>
            <MaxTileCol>256246749</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>451096516</MinTileRow>
            <MaxTileRow>467329695</MaxTileRow>
            <MinTileCol>505487086</MinTileCol>
            <MaxTileCol>512493499</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>902193033</MinTileRow>
            <MaxTileRow>934659390</MaxTileRow>
            <MinTileCol>1010974173</MinTileCol>
            <MaxTileCol>1024986999</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_horizons/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_horizons/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_horizons/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_horizons/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_horizons/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_horizons/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_horizons/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_horizons/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_horizons/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_horizons/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_horizons/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>New Zealand GNS GM5 Middlemarch Faults</ows:Title>
      <ows:Abstract>This data layer spatially represents active and inactive faults located at or near the surface.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>170.07097937210366 -45.6832482128768</ows:LowerCorner>
        <ows:UpperCorner>170.39707359848458 -45.34870810323947</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gmnz:NZL_GNS_GM5_faults</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/metadata/srv/eng/search#%7C64B93CEC-FD55-478D-84AF-BD6D62FC5EEC"/>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=gmnz%3ANZL_GNS_GM5_faults" 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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>48</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>96</MinTileRow>
            <MaxTileRow>96</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>192</MinTileRow>
            <MaxTileRow>192</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>384</MinTileRow>
            <MaxTileRow>385</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>769</MinTileRow>
            <MaxTileRow>771</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1539</MinTileRow>
            <MaxTileRow>1543</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3079</MinTileRow>
            <MaxTileRow>3087</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>6159</MinTileRow>
            <MaxTileRow>6175</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>12319</MinTileRow>
            <MaxTileRow>12350</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>24639</MinTileRow>
            <MaxTileRow>24700</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>49278</MinTileRow>
            <MaxTileRow>49400</MaxTileRow>
            <MinTileCol>127456</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>98557</MinTileRow>
            <MaxTileRow>98801</MaxTileRow>
            <MinTileCol>254913</MinTileCol>
            <MaxTileCol>255151</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>197115</MinTileRow>
            <MaxTileRow>197603</MaxTileRow>
            <MinTileCol>509827</MinTileCol>
            <MaxTileCol>510302</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>394231</MinTileRow>
            <MaxTileRow>395206</MaxTileRow>
            <MinTileCol>1019655</MinTileCol>
            <MaxTileCol>1020605</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>788463</MinTileRow>
            <MaxTileRow>790412</MaxTileRow>
            <MinTileCol>2039311</MinTileCol>
            <MaxTileCol>2041210</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1576926</MinTileRow>
            <MaxTileRow>1580824</MaxTileRow>
            <MinTileCol>4078622</MinTileCol>
            <MaxTileCol>4082421</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>82</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>164</MinTileRow>
            <MaxTileRow>164</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>328</MinTileRow>
            <MaxTileRow>329</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>657</MinTileRow>
            <MaxTileRow>658</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1314</MinTileRow>
            <MaxTileRow>1316</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2628</MinTileRow>
            <MaxTileRow>2633</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>5256</MinTileRow>
            <MaxTileRow>5267</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>10512</MinTileRow>
            <MaxTileRow>10534</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>21025</MinTileRow>
            <MaxTileRow>21069</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>42051</MinTileRow>
            <MaxTileRow>42138</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>84102</MinTileRow>
            <MaxTileRow>84276</MaxTileRow>
            <MinTileCol>127456</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>168204</MinTileRow>
            <MaxTileRow>168552</MaxTileRow>
            <MinTileCol>254913</MinTileCol>
            <MaxTileCol>255151</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>336408</MinTileRow>
            <MaxTileRow>337104</MaxTileRow>
            <MinTileCol>509827</MinTileCol>
            <MaxTileCol>510302</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>672817</MinTileRow>
            <MaxTileRow>674208</MaxTileRow>
            <MinTileCol>1019655</MinTileCol>
            <MaxTileCol>1020605</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1345635</MinTileRow>
            <MaxTileRow>1348416</MaxTileRow>
            <MinTileCol>2039311</MinTileCol>
            <MaxTileCol>2041210</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2691271</MinTileRow>
            <MaxTileRow>2696833</MaxTileRow>
            <MinTileCol>4078622</MinTileCol>
            <MaxTileCol>4082421</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5382542</MinTileRow>
            <MaxTileRow>5393667</MaxTileRow>
            <MinTileCol>8157245</MinTileCol>
            <MaxTileCol>8164843</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10765084</MinTileRow>
            <MaxTileRow>10787334</MaxTileRow>
            <MinTileCol>16314490</MinTileCol>
            <MaxTileCol>16329687</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>21530168</MinTileRow>
            <MaxTileRow>21574668</MaxTileRow>
            <MinTileCol>32628980</MinTileCol>
            <MaxTileCol>32659374</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>43060336</MinTileRow>
            <MaxTileRow>43149336</MaxTileRow>
            <MinTileCol>65257960</MinTileCol>
            <MaxTileCol>65318748</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>86120672</MinTileRow>
            <MaxTileRow>86298672</MaxTileRow>
            <MinTileCol>130515920</MinTileCol>
            <MaxTileCol>130637497</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>172241345</MinTileRow>
            <MaxTileRow>172597344</MaxTileRow>
            <MinTileCol>261031841</MinTileCol>
            <MaxTileCol>261274995</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>344482690</MinTileRow>
            <MaxTileRow>345194688</MaxTileRow>
            <MinTileCol>522063683</MinTileCol>
            <MaxTileCol>522549990</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>688965380</MinTileRow>
            <MaxTileRow>690389377</MaxTileRow>
            <MinTileCol>1044127366</MinTileCol>
            <MaxTileCol>1045099980</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_faults/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_faults/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL GNS 1:250K textural boundaries</ows:Title>
      <ows:Abstract>This dataset is the bounding arcs to the textural metamorphic data for the North Island of New Zealand. The dataset is a product of the QMAP Geological Map of New Zealand Project and was produced by GNS Science. It represents the most current mapping of the textural metamorphism for New Zealand in a single dataset at a scale of 1:250 000. The dataset is stored in an ESRI vector geodatabase and exported to Geoserver. The dataset comprises arcs with each arc having attributes describing the accuracy, the type of the boundary and textural zone if the boundary is an isotect.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>168.00715227357352 -46.240352023939174</ows:LowerCorner>
        <ows:UpperCorner>176.3697042391215 -38.94340521052087</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:NZL_GNS_250K_textural_boundaries</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_textural_boundaries.html"/>
      <Style isDefault="true">
        <ows:Identifier>QMAP_2012_TextMeta_L</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=65&amp;height=140&amp;layer=gns%3ANZL_GNS_250K_textural_boundaries" width="65" height="140" maxScaleDenominator="500000.0"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>45</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>91</MinTileRow>
            <MaxTileRow>96</MaxTileRow>
            <MinTileCol>247</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>183</MinTileRow>
            <MaxTileRow>193</MaxTileRow>
            <MinTileCol>494</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>366</MinTileRow>
            <MaxTileRow>387</MaxTileRow>
            <MinTileCol>989</MinTileCol>
            <MaxTileCol>1013</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>733</MinTileRow>
            <MaxTileRow>775</MaxTileRow>
            <MinTileCol>1979</MinTileCol>
            <MaxTileCol>2027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1467</MinTileRow>
            <MaxTileRow>1550</MaxTileRow>
            <MinTileCol>3959</MinTileCol>
            <MaxTileCol>4054</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2934</MinTileRow>
            <MaxTileRow>3100</MaxTileRow>
            <MinTileCol>7919</MinTileCol>
            <MaxTileCol>8109</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5868</MinTileRow>
            <MaxTileRow>6200</MaxTileRow>
            <MinTileCol>15838</MinTileCol>
            <MaxTileCol>16218</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11736</MinTileRow>
            <MaxTileRow>12400</MaxTileRow>
            <MinTileCol>31676</MinTileCol>
            <MaxTileCol>32437</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>23473</MinTileRow>
            <MaxTileRow>24801</MaxTileRow>
            <MinTileCol>63352</MinTileCol>
            <MaxTileCol>64875</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>46946</MinTileRow>
            <MaxTileRow>49603</MaxTileRow>
            <MinTileCol>126705</MinTileCol>
            <MaxTileCol>129750</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>93893</MinTileRow>
            <MaxTileRow>99207</MaxTileRow>
            <MinTileCol>253411</MinTileCol>
            <MaxTileCol>259500</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>187787</MinTileRow>
            <MaxTileRow>198414</MaxTileRow>
            <MinTileCol>506822</MinTileCol>
            <MaxTileCol>519000</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>375574</MinTileRow>
            <MaxTileRow>396828</MaxTileRow>
            <MinTileCol>1013644</MinTileCol>
            <MaxTileCol>1038001</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>751149</MinTileRow>
            <MaxTileRow>793657</MaxTileRow>
            <MinTileCol>2027288</MinTileCol>
            <MaxTileCol>2076003</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1502299</MinTileRow>
            <MaxTileRow>1587315</MaxTileRow>
            <MinTileCol>4054577</MinTileCol>
            <MaxTileCol>4152007</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>79</MinTileRow>
            <MaxTileRow>82</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>158</MinTileRow>
            <MaxTileRow>165</MaxTileRow>
            <MinTileCol>247</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>316</MinTileRow>
            <MaxTileRow>330</MaxTileRow>
            <MinTileCol>494</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>632</MinTileRow>
            <MaxTileRow>660</MaxTileRow>
            <MinTileCol>989</MinTileCol>
            <MaxTileCol>1013</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1264</MinTileRow>
            <MaxTileRow>1321</MaxTileRow>
            <MinTileCol>1979</MinTileCol>
            <MaxTileCol>2027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2529</MinTileRow>
            <MaxTileRow>2642</MaxTileRow>
            <MinTileCol>3959</MinTileCol>
            <MaxTileCol>4054</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>5059</MinTileRow>
            <MaxTileRow>5285</MaxTileRow>
            <MinTileCol>7919</MinTileCol>
            <MaxTileCol>8109</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>10119</MinTileRow>
            <MaxTileRow>10570</MaxTileRow>
            <MinTileCol>15838</MinTileCol>
            <MaxTileCol>16218</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>20238</MinTileRow>
            <MaxTileRow>21141</MaxTileRow>
            <MinTileCol>31676</MinTileCol>
            <MaxTileCol>32437</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>40476</MinTileRow>
            <MaxTileRow>42283</MaxTileRow>
            <MinTileCol>63352</MinTileCol>
            <MaxTileCol>64875</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>80952</MinTileRow>
            <MaxTileRow>84567</MaxTileRow>
            <MinTileCol>126705</MinTileCol>
            <MaxTileCol>129750</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>161905</MinTileRow>
            <MaxTileRow>169135</MaxTileRow>
            <MinTileCol>253411</MinTileCol>
            <MaxTileCol>259500</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>323810</MinTileRow>
            <MaxTileRow>338271</MaxTileRow>
            <MinTileCol>506822</MinTileCol>
            <MaxTileCol>519000</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>647620</MinTileRow>
            <MaxTileRow>676542</MaxTileRow>
            <MinTileCol>1013644</MinTileCol>
            <MaxTileCol>1038001</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1295240</MinTileRow>
            <MaxTileRow>1353085</MaxTileRow>
            <MinTileCol>2027288</MinTileCol>
            <MaxTileCol>2076003</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2590480</MinTileRow>
            <MaxTileRow>2706170</MaxTileRow>
            <MinTileCol>4054577</MinTileCol>
            <MaxTileCol>4152007</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5180960</MinTileRow>
            <MaxTileRow>5412341</MaxTileRow>
            <MinTileCol>8109154</MinTileCol>
            <MaxTileCol>8304015</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10361920</MinTileRow>
            <MaxTileRow>10824683</MaxTileRow>
            <MinTileCol>16218308</MinTileCol>
            <MaxTileCol>16608031</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20723841</MinTileRow>
            <MaxTileRow>21649367</MaxTileRow>
            <MinTileCol>32436617</MinTileCol>
            <MaxTileCol>33216063</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>41447683</MinTileRow>
            <MaxTileRow>43298735</MaxTileRow>
            <MinTileCol>64873235</MinTileCol>
            <MaxTileCol>66432127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>82895367</MinTileRow>
            <MaxTileRow>86597470</MaxTileRow>
            <MinTileCol>129746470</MinTileCol>
            <MaxTileCol>132864255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>165790735</MinTileRow>
            <MaxTileRow>173194940</MaxTileRow>
            <MinTileCol>259492940</MinTileCol>
            <MaxTileCol>265728511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>331581470</MinTileRow>
            <MaxTileRow>346389881</MaxTileRow>
            <MinTileCol>518985881</MinTileCol>
            <MaxTileCol>531457022</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>663162941</MinTileRow>
            <MaxTileRow>692779762</MaxTileRow>
            <MinTileCol>1037971762</MinTileCol>
            <MaxTileCol>1062914045</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_textural_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_textural_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_textural_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_textural_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_textural_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_textural_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_textural_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_textural_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_textural_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_textural_boundaries/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_textural_boundaries/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>ATA SVL GNS 1:250K structural measurements</ows:Title>
      <ows:Abstract>The 1:250 000 geological map of South Victoria Land encompasses the area of the southern Ross Sea, including Ross Island, the Dry Valleys and the Royal Society Range. The map is at a pre-press publication stage and this layer shows the structural measurements.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>159.959289550781 -78.8727798461914</ows:LowerCorner>
        <ows:UpperCorner>164.531845092773 -76.5979919433594</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:ATA_SVL_GNS_250K_structural_measurements</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/"/>
      <ows:Metadata xlink:type="simple" xlink:href="https://www.gns.cri.nz/Home/Our-Science/Energy-Resources/Geological-Mapping/Geological-Maps/1-250-000-Geological-Map-of-South-Victoria-Land"/>
      <Style isDefault="true">
        <ows:Identifier>SVL_2014_StructuralMeasurements</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=210&amp;height=1160&amp;layer=gns%3AATA_SVL_GNS_250K_structural_measurements" width="210" height="1160" maxScaleDenominator="250000.0"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>30</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>30</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>61</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>59</MinTileRow>
            <MaxTileRow>60</MaxTileRow>
            <MinTileCol>120</MinTileCol>
            <MaxTileCol>122</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>118</MinTileRow>
            <MaxTileRow>120</MaxTileRow>
            <MinTileCol>241</MinTileCol>
            <MaxTileCol>245</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>236</MinTileRow>
            <MaxTileRow>240</MaxTileRow>
            <MinTileCol>483</MinTileCol>
            <MaxTileCol>490</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>473</MinTileRow>
            <MaxTileRow>480</MaxTileRow>
            <MinTileCol>966</MinTileCol>
            <MaxTileCol>980</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>947</MinTileRow>
            <MaxTileRow>960</MaxTileRow>
            <MinTileCol>1933</MinTileCol>
            <MaxTileCol>1960</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1895</MinTileRow>
            <MaxTileRow>1921</MaxTileRow>
            <MinTileCol>3867</MinTileCol>
            <MaxTileCol>3920</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3791</MinTileRow>
            <MaxTileRow>3842</MaxTileRow>
            <MinTileCol>7735</MinTileCol>
            <MaxTileCol>7840</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>7582</MinTileRow>
            <MaxTileRow>7685</MaxTileRow>
            <MinTileCol>15471</MinTileCol>
            <MaxTileCol>15680</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>15164</MinTileRow>
            <MaxTileRow>15371</MaxTileRow>
            <MinTileCol>30943</MinTileCol>
            <MaxTileCol>31360</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>30328</MinTileRow>
            <MaxTileRow>30742</MaxTileRow>
            <MinTileCol>61887</MinTileCol>
            <MaxTileCol>62720</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>60656</MinTileRow>
            <MaxTileRow>61484</MaxTileRow>
            <MinTileCol>123775</MinTileCol>
            <MaxTileCol>125440</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>121312</MinTileRow>
            <MaxTileRow>122969</MaxTileRow>
            <MinTileCol>247550</MinTileCol>
            <MaxTileCol>250880</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>242625</MinTileRow>
            <MaxTileRow>245938</MaxTileRow>
            <MinTileCol>495101</MinTileCol>
            <MaxTileCol>501760</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>485251</MinTileRow>
            <MaxTileRow>491877</MaxTileRow>
            <MinTileCol>990203</MinTileCol>
            <MaxTileCol>1003521</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>970503</MinTileRow>
            <MaxTileRow>983755</MaxTileRow>
            <MinTileCol>1980406</MinTileCol>
            <MaxTileCol>2007043</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1941007</MinTileRow>
            <MaxTileRow>1967510</MaxTileRow>
            <MinTileCol>3960812</MinTileCol>
            <MaxTileCol>4014086</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>26</MinTileRow>
            <MaxTileRow>27</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>30</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>53</MinTileRow>
            <MaxTileRow>55</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>61</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>107</MinTileRow>
            <MaxTileRow>111</MaxTileRow>
            <MinTileCol>120</MinTileCol>
            <MaxTileCol>122</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>215</MinTileRow>
            <MaxTileRow>222</MaxTileRow>
            <MinTileCol>241</MinTileCol>
            <MaxTileCol>245</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>430</MinTileRow>
            <MaxTileRow>445</MaxTileRow>
            <MinTileCol>483</MinTileCol>
            <MaxTileCol>490</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>860</MinTileRow>
            <MaxTileRow>891</MaxTileRow>
            <MinTileCol>966</MinTileCol>
            <MaxTileCol>980</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1721</MinTileRow>
            <MaxTileRow>1783</MaxTileRow>
            <MinTileCol>1933</MinTileCol>
            <MaxTileCol>1960</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>3443</MinTileRow>
            <MaxTileRow>3566</MaxTileRow>
            <MinTileCol>3867</MinTileCol>
            <MaxTileCol>3920</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>6887</MinTileRow>
            <MaxTileRow>7132</MaxTileRow>
            <MinTileCol>7735</MinTileCol>
            <MaxTileCol>7840</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>13775</MinTileRow>
            <MaxTileRow>14264</MaxTileRow>
            <MinTileCol>15471</MinTileCol>
            <MaxTileCol>15680</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>27551</MinTileRow>
            <MaxTileRow>28529</MaxTileRow>
            <MinTileCol>30943</MinTileCol>
            <MaxTileCol>31360</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>55103</MinTileRow>
            <MaxTileRow>57058</MaxTileRow>
            <MinTileCol>61887</MinTileCol>
            <MaxTileCol>62720</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>110207</MinTileRow>
            <MaxTileRow>114117</MaxTileRow>
            <MinTileCol>123775</MinTileCol>
            <MaxTileCol>125440</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>220414</MinTileRow>
            <MaxTileRow>228234</MaxTileRow>
            <MinTileCol>247550</MinTileCol>
            <MaxTileCol>250880</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>440828</MinTileRow>
            <MaxTileRow>456468</MaxTileRow>
            <MinTileCol>495101</MinTileCol>
            <MaxTileCol>501760</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>881657</MinTileRow>
            <MaxTileRow>912937</MaxTileRow>
            <MinTileCol>990203</MinTileCol>
            <MaxTileCol>1003521</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1763314</MinTileRow>
            <MaxTileRow>1825874</MaxTileRow>
            <MinTileCol>1980406</MinTileCol>
            <MaxTileCol>2007043</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>3526628</MinTileRow>
            <MaxTileRow>3651748</MaxTileRow>
            <MinTileCol>3960812</MinTileCol>
            <MaxTileCol>4014086</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>7053256</MinTileRow>
            <MaxTileRow>7303497</MaxTileRow>
            <MinTileCol>7921625</MinTileCol>
            <MaxTileCol>8028173</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>14106512</MinTileRow>
            <MaxTileRow>14606995</MaxTileRow>
            <MinTileCol>15843251</MinTileCol>
            <MaxTileCol>16056347</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>28213025</MinTileRow>
            <MaxTileRow>29213990</MaxTileRow>
            <MinTileCol>31686502</MinTileCol>
            <MaxTileCol>32112695</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>56426051</MinTileRow>
            <MaxTileRow>58427981</MaxTileRow>
            <MinTileCol>63373004</MinTileCol>
            <MaxTileCol>64225390</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>112852102</MinTileRow>
            <MaxTileRow>116855963</MaxTileRow>
            <MinTileCol>126746009</MinTileCol>
            <MaxTileCol>128450781</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>225704204</MinTileRow>
            <MaxTileRow>233711927</MaxTileRow>
            <MinTileCol>253492019</MinTileCol>
            <MaxTileCol>256901563</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>451408409</MinTileRow>
            <MaxTileRow>467423855</MaxTileRow>
            <MinTileCol>506984038</MinTileCol>
            <MaxTileCol>513803127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>902816818</MinTileRow>
            <MaxTileRow>934847711</MaxTileRow>
            <MinTileCol>1013968076</MinTileCol>
            <MaxTileCol>1027606255</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_structural_measurements/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_structural_measurements/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>ATA SVL GNS 1:250K folds</ows:Title>
      <ows:Abstract>The 1:250 000 geological map of South Victoria Land encompasses the area of the southern Ross Sea, including Ross Island, the Dry Valleys and the Royal Society Range. The map is at a pre-press publication stage and this layer shows the major mappable fold axial traces exposed at the surface.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>161.409393310547 -78.8291397094727</ows:LowerCorner>
        <ows:UpperCorner>164.380920410156 -77.3224945068359</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:ATA_SVL_GNS_250K_folds</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/"/>
      <ows:Metadata xlink:type="simple" xlink:href="https://www.gns.cri.nz/Home/Our-Science/Energy-Resources/Geological-Mapping/Geological-Maps/1-250-000-Geological-Map-of-South-Victoria-Land"/>
      <Style isDefault="true">
        <ows:Identifier>SVL_2014__Folds</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=286&amp;height=2760&amp;layer=gns%3AATA_SVL_GNS_250K_folds" width="286" height="2760" maxScaleDenominator="250000.0"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>30</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>30</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>61</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>59</MinTileRow>
            <MaxTileRow>60</MaxTileRow>
            <MinTileCol>121</MinTileCol>
            <MaxTileCol>122</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>118</MinTileRow>
            <MaxTileRow>120</MaxTileRow>
            <MinTileCol>242</MinTileCol>
            <MaxTileCol>244</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>237</MinTileRow>
            <MaxTileRow>240</MaxTileRow>
            <MinTileCol>485</MinTileCol>
            <MaxTileCol>489</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>475</MinTileRow>
            <MaxTileRow>480</MaxTileRow>
            <MinTileCol>971</MinTileCol>
            <MaxTileCol>979</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>951</MinTileRow>
            <MaxTileRow>960</MaxTileRow>
            <MinTileCol>1942</MinTileCol>
            <MaxTileCol>1959</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1903</MinTileRow>
            <MaxTileRow>1920</MaxTileRow>
            <MinTileCol>3884</MinTileCol>
            <MaxTileCol>3918</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3807</MinTileRow>
            <MaxTileRow>3841</MaxTileRow>
            <MinTileCol>7768</MinTileCol>
            <MaxTileCol>7836</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>7615</MinTileRow>
            <MaxTileRow>7683</MaxTileRow>
            <MinTileCol>15537</MinTileCol>
            <MaxTileCol>15673</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>15230</MinTileRow>
            <MaxTileRow>15367</MaxTileRow>
            <MinTileCol>31075</MinTileCol>
            <MaxTileCol>31346</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>30460</MinTileRow>
            <MaxTileRow>30734</MaxTileRow>
            <MinTileCol>62151</MinTileCol>
            <MaxTileCol>62692</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>60920</MinTileRow>
            <MaxTileRow>61468</MaxTileRow>
            <MinTileCol>124303</MinTileCol>
            <MaxTileCol>125385</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>121840</MinTileRow>
            <MaxTileRow>122937</MaxTileRow>
            <MinTileCol>248606</MinTileCol>
            <MaxTileCol>250770</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>243681</MinTileRow>
            <MaxTileRow>245875</MaxTileRow>
            <MinTileCol>497213</MinTileCol>
            <MaxTileCol>501541</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>487362</MinTileRow>
            <MaxTileRow>491750</MaxTileRow>
            <MinTileCol>994426</MinTileCol>
            <MaxTileCol>1003082</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>974724</MinTileRow>
            <MaxTileRow>983501</MaxTileRow>
            <MinTileCol>1988853</MinTileCol>
            <MaxTileCol>2006164</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1949448</MinTileRow>
            <MaxTileRow>1967002</MaxTileRow>
            <MinTileCol>3977707</MinTileCol>
            <MaxTileCol>4012328</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>27</MinTileRow>
            <MaxTileRow>27</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>30</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>54</MinTileRow>
            <MaxTileRow>55</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>61</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>108</MinTileRow>
            <MaxTileRow>111</MaxTileRow>
            <MinTileCol>121</MinTileCol>
            <MaxTileCol>122</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>217</MinTileRow>
            <MaxTileRow>222</MaxTileRow>
            <MinTileCol>242</MinTileCol>
            <MaxTileCol>244</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>435</MinTileRow>
            <MaxTileRow>445</MaxTileRow>
            <MinTileCol>485</MinTileCol>
            <MaxTileCol>489</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>870</MinTileRow>
            <MaxTileRow>890</MaxTileRow>
            <MinTileCol>971</MinTileCol>
            <MaxTileCol>979</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1740</MinTileRow>
            <MaxTileRow>1781</MaxTileRow>
            <MinTileCol>1942</MinTileCol>
            <MaxTileCol>1959</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>3480</MinTileRow>
            <MaxTileRow>3563</MaxTileRow>
            <MinTileCol>3884</MinTileCol>
            <MaxTileCol>3918</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>6961</MinTileRow>
            <MaxTileRow>7127</MaxTileRow>
            <MinTileCol>7768</MinTileCol>
            <MaxTileCol>7836</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>13922</MinTileRow>
            <MaxTileRow>14254</MaxTileRow>
            <MinTileCol>15537</MinTileCol>
            <MaxTileCol>15673</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>27844</MinTileRow>
            <MaxTileRow>28508</MaxTileRow>
            <MinTileCol>31075</MinTileCol>
            <MaxTileCol>31346</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>55688</MinTileRow>
            <MaxTileRow>57017</MaxTileRow>
            <MinTileCol>62151</MinTileCol>
            <MaxTileCol>62692</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>111376</MinTileRow>
            <MaxTileRow>114034</MaxTileRow>
            <MinTileCol>124303</MinTileCol>
            <MaxTileCol>125385</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>222753</MinTileRow>
            <MaxTileRow>228069</MaxTileRow>
            <MinTileCol>248606</MinTileCol>
            <MaxTileCol>250770</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>445506</MinTileRow>
            <MaxTileRow>456139</MaxTileRow>
            <MinTileCol>497213</MinTileCol>
            <MaxTileCol>501541</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>891012</MinTileRow>
            <MaxTileRow>912279</MaxTileRow>
            <MinTileCol>994426</MinTileCol>
            <MaxTileCol>1003082</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1782024</MinTileRow>
            <MaxTileRow>1824559</MaxTileRow>
            <MinTileCol>1988853</MinTileCol>
            <MaxTileCol>2006164</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>3564049</MinTileRow>
            <MaxTileRow>3649119</MaxTileRow>
            <MinTileCol>3977707</MinTileCol>
            <MaxTileCol>4012328</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>7128098</MinTileRow>
            <MaxTileRow>7298238</MaxTileRow>
            <MinTileCol>7955415</MinTileCol>
            <MaxTileCol>8024657</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>14256197</MinTileRow>
            <MaxTileRow>14596477</MaxTileRow>
            <MinTileCol>15910830</MinTileCol>
            <MaxTileCol>16049314</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>28512394</MinTileRow>
            <MaxTileRow>29192954</MaxTileRow>
            <MinTileCol>31821661</MinTileCol>
            <MaxTileCol>32098628</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>57024789</MinTileRow>
            <MaxTileRow>58385909</MaxTileRow>
            <MinTileCol>63643323</MinTileCol>
            <MaxTileCol>64197256</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>114049578</MinTileRow>
            <MaxTileRow>116771819</MaxTileRow>
            <MinTileCol>127286647</MinTileCol>
            <MaxTileCol>128394513</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>228099156</MinTileRow>
            <MaxTileRow>233543639</MaxTileRow>
            <MinTileCol>254573294</MinTileCol>
            <MaxTileCol>256789026</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>456198313</MinTileRow>
            <MaxTileRow>467087279</MaxTileRow>
            <MinTileCol>509146589</MinTileCol>
            <MaxTileCol>513578052</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>912396627</MinTileRow>
            <MaxTileRow>934174559</MaxTileRow>
            <MinTileCol>1018293179</MinTileCol>
            <MaxTileCol>1027156104</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_folds/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_folds/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL GNS 1:250K metamorphic zones</ows:Title>
      <ows:Abstract>This dataset is the mineral metamorphic data for New Zealand. The dataset is a product of the QMAP Geological Map of New Zealand Project and was produced by GNS Science. It represents the most current mapping of mineral metamorphic polygons for New Zealand in a single dataset at a scale of 1:250 000. The dataset is stored in an ESRI vector geodatabase and exported to Geoserver. The dataset comprises polygons with each polygon having attributes describing the mineral grade and age.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>166.26240953987826 -47.416286089958554</ows:LowerCorner>
        <ows:UpperCorner>178.90481450496623 -34.00845169473897</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:NZL_GNS_250K_metamorphic_zones</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_metamorphic_zones.html"/>
      <Style isDefault="true">
        <ows:Identifier>QMAP_MINERAL_METAMORPHISM_POLY</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=239&amp;height=1300&amp;layer=gns%3ANZL_GNS_250K_metamorphic_zones" width="239" height="1300"/>
      </Style>
      <Style>
        <ows:Identifier>QMAP_SIMPLE_MINERAL_METAMORPHISM_POLY</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=178&amp;height=320&amp;layer=gns%3ANZL_GNS_250K_metamorphic_zones&amp;style=QMAP_SIMPLE_MINERAL_METAMORPHISM_POLY" width="178" height="320"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>176</MinTileRow>
            <MaxTileRow>195</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>510</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>352</MinTileRow>
            <MaxTileRow>390</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1020</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>705</MinTileRow>
            <MaxTileRow>781</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2041</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1410</MinTileRow>
            <MaxTileRow>1563</MaxTileRow>
            <MinTileCol>3939</MinTileCol>
            <MaxTileCol>4083</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2821</MinTileRow>
            <MaxTileRow>3126</MaxTileRow>
            <MinTileCol>7879</MinTileCol>
            <MaxTileCol>8167</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5643</MinTileRow>
            <MaxTileRow>6253</MaxTileRow>
            <MinTileCol>15758</MinTileCol>
            <MaxTileCol>16334</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11287</MinTileRow>
            <MaxTileRow>12507</MaxTileRow>
            <MinTileCol>31517</MinTileCol>
            <MaxTileCol>32668</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>22575</MinTileRow>
            <MaxTileRow>25015</MaxTileRow>
            <MinTileCol>63035</MinTileCol>
            <MaxTileCol>65336</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>45150</MinTileRow>
            <MaxTileRow>50031</MaxTileRow>
            <MinTileCol>126070</MinTileCol>
            <MaxTileCol>130673</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>90300</MinTileRow>
            <MaxTileRow>100063</MaxTileRow>
            <MinTileCol>252140</MinTileCol>
            <MaxTileCol>261346</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>180600</MinTileRow>
            <MaxTileRow>200126</MaxTileRow>
            <MinTileCol>504281</MinTileCol>
            <MaxTileCol>522693</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>361200</MinTileRow>
            <MaxTileRow>400253</MaxTileRow>
            <MinTileCol>1008562</MinTileCol>
            <MaxTileCol>1045386</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>722401</MinTileRow>
            <MaxTileRow>800507</MaxTileRow>
            <MinTileCol>2017124</MinTileCol>
            <MaxTileCol>2090772</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1444803</MinTileRow>
            <MaxTileRow>1601015</MaxTileRow>
            <MinTileCol>4034249</MinTileCol>
            <MaxTileCol>4181544</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>83</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>153</MinTileRow>
            <MaxTileRow>166</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>307</MinTileRow>
            <MaxTileRow>332</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>510</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>614</MinTileRow>
            <MaxTileRow>665</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1020</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1229</MinTileRow>
            <MaxTileRow>1331</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2041</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2459</MinTileRow>
            <MaxTileRow>2662</MaxTileRow>
            <MinTileCol>3939</MinTileCol>
            <MaxTileCol>4083</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>4919</MinTileRow>
            <MaxTileRow>5324</MaxTileRow>
            <MinTileCol>7879</MinTileCol>
            <MaxTileCol>8167</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>9839</MinTileRow>
            <MaxTileRow>10649</MaxTileRow>
            <MinTileCol>15758</MinTileCol>
            <MaxTileCol>16334</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>19679</MinTileRow>
            <MaxTileRow>21298</MaxTileRow>
            <MinTileCol>31517</MinTileCol>
            <MaxTileCol>32668</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>39358</MinTileRow>
            <MaxTileRow>42596</MaxTileRow>
            <MinTileCol>63035</MinTileCol>
            <MaxTileCol>65336</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>78716</MinTileRow>
            <MaxTileRow>85193</MaxTileRow>
            <MinTileCol>126070</MinTileCol>
            <MaxTileCol>130673</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>157433</MinTileRow>
            <MaxTileRow>170387</MaxTileRow>
            <MinTileCol>252140</MinTileCol>
            <MaxTileCol>261346</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>314866</MinTileRow>
            <MaxTileRow>340774</MaxTileRow>
            <MinTileCol>504281</MinTileCol>
            <MaxTileCol>522693</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>629732</MinTileRow>
            <MaxTileRow>681549</MaxTileRow>
            <MinTileCol>1008562</MinTileCol>
            <MaxTileCol>1045386</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1259465</MinTileRow>
            <MaxTileRow>1363098</MaxTileRow>
            <MinTileCol>2017124</MinTileCol>
            <MaxTileCol>2090772</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2518930</MinTileRow>
            <MaxTileRow>2726196</MaxTileRow>
            <MinTileCol>4034249</MinTileCol>
            <MaxTileCol>4181544</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5037861</MinTileRow>
            <MaxTileRow>5452393</MaxTileRow>
            <MinTileCol>8068498</MinTileCol>
            <MaxTileCol>8363088</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10075722</MinTileRow>
            <MaxTileRow>10904787</MaxTileRow>
            <MinTileCol>16136997</MinTileCol>
            <MaxTileCol>16726176</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20151444</MinTileRow>
            <MaxTileRow>21809574</MaxTileRow>
            <MinTileCol>32273995</MinTileCol>
            <MaxTileCol>33452353</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>40302888</MinTileRow>
            <MaxTileRow>43619148</MaxTileRow>
            <MinTileCol>64547991</MinTileCol>
            <MaxTileCol>66904706</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>80605776</MinTileRow>
            <MaxTileRow>87238297</MaxTileRow>
            <MinTileCol>129095983</MinTileCol>
            <MaxTileCol>133809413</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>161211552</MinTileRow>
            <MaxTileRow>174476594</MaxTileRow>
            <MinTileCol>258191966</MinTileCol>
            <MaxTileCol>267618826</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>322423104</MinTileRow>
            <MaxTileRow>348953188</MaxTileRow>
            <MinTileCol>516383932</MinTileCol>
            <MaxTileCol>535237653</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>644846209</MinTileRow>
            <MaxTileRow>697906376</MaxTileRow>
            <MinTileCol>1032767864</MinTileCol>
            <MaxTileCol>1070475306</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_metamorphic_zones/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_metamorphic_zones/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>ATA SVL GNS 1:250K faults</ows:Title>
      <ows:Abstract>The 1:250 000 geological map of South Victoria Land encompasses the area of the southern Ross Sea, including Ross Island, the Dry Valleys and the Royal Society Range. The map is at a pre-press publication stage and this layer shows the major mappable fault traces exposed at the surface.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>158.772109985352 -78.895751953125</ows:LowerCorner>
        <ows:UpperCorner>166.505569458008 -76.4692916870117</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:ATA_SVL_GNS_250K_faults</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/"/>
      <ows:Metadata xlink:type="simple" xlink:href="https://www.gns.cri.nz/Home/Our-Science/Energy-Resources/Geological-Mapping/Geological-Maps/1-250-000-Geological-Map-of-South-Victoria-Land"/>
      <Style isDefault="true">
        <ows:Identifier>qmap_faults_clean</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=82&amp;height=480&amp;layer=gns%3AATA_SVL_GNS_250K_faults" width="82" height="480" minScaleDenominator="1.0" maxScaleDenominator="1000000.0"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>30</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>30</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>61</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>59</MinTileRow>
            <MaxTileRow>60</MaxTileRow>
            <MinTileCol>120</MinTileCol>
            <MaxTileCol>123</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>118</MinTileRow>
            <MaxTileRow>120</MaxTileRow>
            <MinTileCol>240</MinTileCol>
            <MaxTileCol>246</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>236</MinTileRow>
            <MaxTileRow>240</MaxTileRow>
            <MinTileCol>481</MinTileCol>
            <MaxTileCol>492</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>473</MinTileRow>
            <MaxTileRow>480</MaxTileRow>
            <MinTileCol>963</MinTileCol>
            <MaxTileCol>985</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>947</MinTileRow>
            <MaxTileRow>960</MaxTileRow>
            <MinTileCol>1927</MinTileCol>
            <MaxTileCol>1971</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1894</MinTileRow>
            <MaxTileRow>1921</MaxTileRow>
            <MinTileCol>3854</MinTileCol>
            <MaxTileCol>3942</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3788</MinTileRow>
            <MaxTileRow>3843</MaxTileRow>
            <MinTileCol>7708</MinTileCol>
            <MaxTileCol>7884</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>7576</MinTileRow>
            <MaxTileRow>7686</MaxTileRow>
            <MinTileCol>15417</MinTileCol>
            <MaxTileCol>15769</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>15152</MinTileRow>
            <MaxTileRow>15373</MaxTileRow>
            <MinTileCol>30835</MinTileCol>
            <MaxTileCol>31539</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>30304</MinTileRow>
            <MaxTileRow>30746</MaxTileRow>
            <MinTileCol>61671</MinTileCol>
            <MaxTileCol>63079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>60609</MinTileRow>
            <MaxTileRow>61493</MaxTileRow>
            <MinTileCol>123343</MinTileCol>
            <MaxTileCol>126158</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>121219</MinTileRow>
            <MaxTileRow>122986</MaxTileRow>
            <MinTileCol>246686</MinTileCol>
            <MaxTileCol>252317</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>242438</MinTileRow>
            <MaxTileRow>245972</MaxTileRow>
            <MinTileCol>493372</MinTileCol>
            <MaxTileCol>504635</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>484876</MinTileRow>
            <MaxTileRow>491944</MaxTileRow>
            <MinTileCol>986745</MinTileCol>
            <MaxTileCol>1009270</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>969753</MinTileRow>
            <MaxTileRow>983889</MaxTileRow>
            <MinTileCol>1973490</MinTileCol>
            <MaxTileCol>2018541</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1939507</MinTileRow>
            <MaxTileRow>1967778</MaxTileRow>
            <MinTileCol>3946981</MinTileCol>
            <MaxTileCol>4037082</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>26</MinTileRow>
            <MaxTileRow>27</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>30</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>53</MinTileRow>
            <MaxTileRow>55</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>61</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>107</MinTileRow>
            <MaxTileRow>111</MaxTileRow>
            <MinTileCol>120</MinTileCol>
            <MaxTileCol>123</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>214</MinTileRow>
            <MaxTileRow>222</MaxTileRow>
            <MinTileCol>240</MinTileCol>
            <MaxTileCol>246</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>429</MinTileRow>
            <MaxTileRow>445</MaxTileRow>
            <MinTileCol>481</MinTileCol>
            <MaxTileCol>492</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>859</MinTileRow>
            <MaxTileRow>891</MaxTileRow>
            <MinTileCol>963</MinTileCol>
            <MaxTileCol>985</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1718</MinTileRow>
            <MaxTileRow>1783</MaxTileRow>
            <MinTileCol>1927</MinTileCol>
            <MaxTileCol>1971</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>3437</MinTileRow>
            <MaxTileRow>3567</MaxTileRow>
            <MinTileCol>3854</MinTileCol>
            <MaxTileCol>3942</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>6875</MinTileRow>
            <MaxTileRow>7135</MaxTileRow>
            <MinTileCol>7708</MinTileCol>
            <MaxTileCol>7884</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>13750</MinTileRow>
            <MaxTileRow>14270</MaxTileRow>
            <MinTileCol>15417</MinTileCol>
            <MaxTileCol>15769</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>27501</MinTileRow>
            <MaxTileRow>28540</MaxTileRow>
            <MinTileCol>30835</MinTileCol>
            <MaxTileCol>31539</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>55002</MinTileRow>
            <MaxTileRow>57080</MaxTileRow>
            <MinTileCol>61671</MinTileCol>
            <MaxTileCol>63079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>110005</MinTileRow>
            <MaxTileRow>114160</MaxTileRow>
            <MinTileCol>123343</MinTileCol>
            <MaxTileCol>126158</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>220011</MinTileRow>
            <MaxTileRow>228321</MaxTileRow>
            <MinTileCol>246686</MinTileCol>
            <MaxTileCol>252317</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>440023</MinTileRow>
            <MaxTileRow>456642</MaxTileRow>
            <MinTileCol>493372</MinTileCol>
            <MaxTileCol>504635</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>880047</MinTileRow>
            <MaxTileRow>913284</MaxTileRow>
            <MinTileCol>986745</MinTileCol>
            <MaxTileCol>1009270</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1760094</MinTileRow>
            <MaxTileRow>1826568</MaxTileRow>
            <MinTileCol>1973490</MinTileCol>
            <MaxTileCol>2018541</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>3520189</MinTileRow>
            <MaxTileRow>3653137</MaxTileRow>
            <MinTileCol>3946981</MinTileCol>
            <MaxTileCol>4037082</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>7040378</MinTileRow>
            <MaxTileRow>7306274</MaxTileRow>
            <MinTileCol>7893962</MinTileCol>
            <MaxTileCol>8074164</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>14080756</MinTileRow>
            <MaxTileRow>14612548</MaxTileRow>
            <MinTileCol>15787924</MinTileCol>
            <MaxTileCol>16148329</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>28161513</MinTileRow>
            <MaxTileRow>29225097</MaxTileRow>
            <MinTileCol>31575849</MinTileCol>
            <MaxTileCol>32296659</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>56323027</MinTileRow>
            <MaxTileRow>58450194</MaxTileRow>
            <MinTileCol>63151698</MinTileCol>
            <MaxTileCol>64593319</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>112646054</MinTileRow>
            <MaxTileRow>116900388</MaxTileRow>
            <MinTileCol>126303396</MinTileCol>
            <MaxTileCol>129186639</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>225292108</MinTileRow>
            <MaxTileRow>233800776</MaxTileRow>
            <MinTileCol>252606793</MinTileCol>
            <MaxTileCol>258373279</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>450584217</MinTileRow>
            <MaxTileRow>467601553</MaxTileRow>
            <MinTileCol>505213587</MinTileCol>
            <MaxTileCol>516746558</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>901168434</MinTileRow>
            <MaxTileRow>935203106</MaxTileRow>
            <MinTileCol>1010427175</MinTileCol>
            <MaxTileCol>1033493117</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_faults/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_faults/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL GNS 1:250K fold axes</ows:Title>
      <ows:Abstract>This dataset is the folds data for New Zealand. The dataset is a product of the QMAP Geological Map of New Zealand Project and was produced by GNS Science. It represents the most current mapping of folds for New Zealand in a single dataset at a scale of 1:250 000. The dataset is stored in an ESRI vector geodatabase and exported to Geoserver. The dataset comprises arcs with each arc having attributes describing the type of fold, its name and age, and activity.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>166.37712700151042 -46.74798777763175</ows:LowerCorner>
        <ows:UpperCorner>179.35409940364028 -34.032706687462735</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:NZL_GNS_250K_folds</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2012/NZL_GNS_250K_folds_plotrank.html"/>
      <Style isDefault="true">
        <ows:Identifier>QMAP_Folds_AUTO</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=286&amp;height=2760&amp;layer=gns%3ANZL_GNS_250K_folds" width="286" height="2760" maxScaleDenominator="250000.0"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>176</MinTileRow>
            <MaxTileRow>194</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>352</MinTileRow>
            <MaxTileRow>388</MaxTileRow>
            <MinTileCol>985</MinTileCol>
            <MaxTileCol>1022</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>705</MinTileRow>
            <MaxTileRow>777</MaxTileRow>
            <MinTileCol>1970</MinTileCol>
            <MaxTileCol>2044</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1411</MinTileRow>
            <MaxTileRow>1555</MaxTileRow>
            <MinTileCol>3941</MinTileCol>
            <MaxTileCol>4088</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2822</MinTileRow>
            <MaxTileRow>3111</MaxTileRow>
            <MinTileCol>7882</MinTileCol>
            <MaxTileCol>8177</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5644</MinTileRow>
            <MaxTileRow>6223</MaxTileRow>
            <MinTileCol>15764</MinTileCol>
            <MaxTileCol>16354</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11289</MinTileRow>
            <MaxTileRow>12447</MaxTileRow>
            <MinTileCol>31528</MinTileCol>
            <MaxTileCol>32709</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>22579</MinTileRow>
            <MaxTileRow>24894</MaxTileRow>
            <MinTileCol>63056</MinTileCol>
            <MaxTileCol>65418</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>45158</MinTileRow>
            <MaxTileRow>49788</MaxTileRow>
            <MinTileCol>126112</MinTileCol>
            <MaxTileCol>130836</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>90317</MinTileRow>
            <MaxTileRow>99576</MaxTileRow>
            <MinTileCol>252224</MinTileCol>
            <MaxTileCol>261673</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>180635</MinTileRow>
            <MaxTileRow>199153</MaxTileRow>
            <MinTileCol>504448</MinTileCol>
            <MaxTileCol>523347</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>361271</MinTileRow>
            <MaxTileRow>398307</MaxTileRow>
            <MinTileCol>1008896</MinTileCol>
            <MaxTileCol>1046694</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>722542</MinTileRow>
            <MaxTileRow>796614</MaxTileRow>
            <MinTileCol>2017793</MinTileCol>
            <MaxTileCol>2093389</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1445085</MinTileRow>
            <MaxTileRow>1593229</MaxTileRow>
            <MinTileCol>4035586</MinTileCol>
            <MaxTileCol>4186778</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>82</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>153</MinTileRow>
            <MaxTileRow>165</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>307</MinTileRow>
            <MaxTileRow>331</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>615</MinTileRow>
            <MaxTileRow>662</MaxTileRow>
            <MinTileCol>985</MinTileCol>
            <MaxTileCol>1022</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1230</MinTileRow>
            <MaxTileRow>1325</MaxTileRow>
            <MinTileCol>1970</MinTileCol>
            <MaxTileCol>2044</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2460</MinTileRow>
            <MaxTileRow>2651</MaxTileRow>
            <MinTileCol>3941</MinTileCol>
            <MaxTileCol>4088</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>4920</MinTileRow>
            <MaxTileRow>5302</MaxTileRow>
            <MinTileCol>7882</MinTileCol>
            <MaxTileCol>8177</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>9840</MinTileRow>
            <MaxTileRow>10604</MaxTileRow>
            <MinTileCol>15764</MinTileCol>
            <MaxTileCol>16354</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>19681</MinTileRow>
            <MaxTileRow>21209</MaxTileRow>
            <MinTileCol>31528</MinTileCol>
            <MaxTileCol>32709</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>39363</MinTileRow>
            <MaxTileRow>42418</MaxTileRow>
            <MinTileCol>63056</MinTileCol>
            <MaxTileCol>65418</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>78727</MinTileRow>
            <MaxTileRow>84836</MaxTileRow>
            <MinTileCol>126112</MinTileCol>
            <MaxTileCol>130836</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>157454</MinTileRow>
            <MaxTileRow>169672</MaxTileRow>
            <MinTileCol>252224</MinTileCol>
            <MaxTileCol>261673</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>314908</MinTileRow>
            <MaxTileRow>339345</MaxTileRow>
            <MinTileCol>504448</MinTileCol>
            <MaxTileCol>523347</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>629817</MinTileRow>
            <MaxTileRow>678690</MaxTileRow>
            <MinTileCol>1008896</MinTileCol>
            <MaxTileCol>1046694</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1259635</MinTileRow>
            <MaxTileRow>1357381</MaxTileRow>
            <MinTileCol>2017793</MinTileCol>
            <MaxTileCol>2093389</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2519271</MinTileRow>
            <MaxTileRow>2714762</MaxTileRow>
            <MinTileCol>4035586</MinTileCol>
            <MaxTileCol>4186778</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5038542</MinTileRow>
            <MaxTileRow>5429524</MaxTileRow>
            <MinTileCol>8071172</MinTileCol>
            <MaxTileCol>8373557</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10077085</MinTileRow>
            <MaxTileRow>10859048</MaxTileRow>
            <MinTileCol>16142344</MinTileCol>
            <MaxTileCol>16747114</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20154171</MinTileRow>
            <MaxTileRow>21718097</MaxTileRow>
            <MinTileCol>32284688</MinTileCol>
            <MaxTileCol>33494229</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>40308343</MinTileRow>
            <MaxTileRow>43436194</MaxTileRow>
            <MinTileCol>64569376</MinTileCol>
            <MaxTileCol>66988459</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>80616686</MinTileRow>
            <MaxTileRow>86872389</MaxTileRow>
            <MinTileCol>129138752</MinTileCol>
            <MaxTileCol>133976918</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>161233373</MinTileRow>
            <MaxTileRow>173744779</MaxTileRow>
            <MinTileCol>258277505</MinTileCol>
            <MaxTileCol>267953837</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>322466746</MinTileRow>
            <MaxTileRow>347489558</MaxTileRow>
            <MinTileCol>516555011</MinTileCol>
            <MaxTileCol>535907675</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>644933492</MinTileRow>
            <MaxTileRow>694979117</MaxTileRow>
            <MinTileCol>1033110022</MinTileCol>
            <MaxTileCol>1071815350</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_folds/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_folds/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_folds/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL GNS 1:1M faults</ows:Title>
      <ows:Abstract>This dataset is the 1:1 000 000 faults data for New Zealand. The dataset is a product of the Geological Map of New Zealand 1: 1 000 000 project and was produced by GNS Science. It represents the most current mapping of faults for New Zealand in a single dataset at a scale of 1:1 000 000. The dataset is stored in an ESRI vector geodatabase and exported to Geoserver and ArcGIS Server. The dataset comprises arcs with each arc having attributes describing the type of fault, its name, age and activity, and the sense of movement and cumulative slip. It complies with the GeoSciML Portrayal standard for ShearDisplacementStructureView and fields required by that standard were populated using the CGI Controlled Vocabulary (2012-11). The data should not be used at scales beyond that for which it was prepared. The spatial accuracy is estimated to be no better than +/- 1000 m.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>166.438171386719 -52.5620193481445</ows:LowerCorner>
        <ows:UpperCorner>178.442565917969 -34.4228057861328</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:NZL_GNS_1M_faults</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/GMNZ1M/2014/NZL_GNS_1M_faults.html"/>
      <ows:Metadata xlink:type="simple" xlink:href="https://www.gns.cri.nz/Home/Our-Science/Earth-Science/Regional-Geology/Geological-Maps/1-1-000-000-Geological-Map-of-NZ"/>
      <Style isDefault="true">
        <ows:Identifier>gmnz_2014_faults_wide</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=82&amp;height=160&amp;layer=gns%3ANZL_GNS_1M_faults" width="82" height="160" minScaleDenominator="1.0" maxScaleDenominator="2000000.0"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>25</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>50</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>101</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>176</MinTileRow>
            <MaxTileRow>202</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>353</MinTileRow>
            <MaxTileRow>405</MaxTileRow>
            <MinTileCol>985</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>707</MinTileRow>
            <MaxTileRow>811</MaxTileRow>
            <MinTileCol>1970</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1415</MinTileRow>
            <MaxTileRow>1622</MaxTileRow>
            <MinTileCol>3941</MinTileCol>
            <MaxTileCol>4078</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2831</MinTileRow>
            <MaxTileRow>3244</MaxTileRow>
            <MinTileCol>7883</MinTileCol>
            <MaxTileCol>8156</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5662</MinTileRow>
            <MaxTileRow>6488</MaxTileRow>
            <MinTileCol>15766</MinTileCol>
            <MaxTileCol>16313</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11325</MinTileRow>
            <MaxTileRow>12976</MaxTileRow>
            <MinTileCol>31533</MinTileCol>
            <MaxTileCol>32626</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>22650</MinTileRow>
            <MaxTileRow>25952</MaxTileRow>
            <MinTileCol>63067</MinTileCol>
            <MaxTileCol>65252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>45300</MinTileRow>
            <MaxTileRow>51905</MaxTileRow>
            <MinTileCol>126134</MinTileCol>
            <MaxTileCol>130504</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>90601</MinTileRow>
            <MaxTileRow>103810</MaxTileRow>
            <MinTileCol>252268</MinTileCol>
            <MaxTileCol>261009</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>181203</MinTileRow>
            <MaxTileRow>207620</MaxTileRow>
            <MinTileCol>504537</MinTileCol>
            <MaxTileCol>522019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>362407</MinTileRow>
            <MaxTileRow>415241</MaxTileRow>
            <MinTileCol>1009074</MinTileCol>
            <MaxTileCol>1044039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>724815</MinTileRow>
            <MaxTileRow>830483</MaxTileRow>
            <MinTileCol>2018148</MinTileCol>
            <MaxTileCol>2088079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1449630</MinTileRow>
            <MaxTileRow>1660967</MaxTileRow>
            <MinTileCol>4036297</MinTileCol>
            <MaxTileCol>4176158</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>21</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>43</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>77</MinTileRow>
            <MaxTileRow>86</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>154</MinTileRow>
            <MaxTileRow>172</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>308</MinTileRow>
            <MaxTileRow>344</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>616</MinTileRow>
            <MaxTileRow>688</MaxTileRow>
            <MinTileCol>985</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1232</MinTileRow>
            <MaxTileRow>1376</MaxTileRow>
            <MinTileCol>1970</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2465</MinTileRow>
            <MaxTileRow>2753</MaxTileRow>
            <MinTileCol>3941</MinTileCol>
            <MaxTileCol>4078</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>4931</MinTileRow>
            <MaxTileRow>5506</MaxTileRow>
            <MinTileCol>7883</MinTileCol>
            <MaxTileCol>8156</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>9862</MinTileRow>
            <MaxTileRow>11013</MaxTileRow>
            <MinTileCol>15766</MinTileCol>
            <MaxTileCol>16313</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>19724</MinTileRow>
            <MaxTileRow>22027</MaxTileRow>
            <MinTileCol>31533</MinTileCol>
            <MaxTileCol>32626</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>39449</MinTileRow>
            <MaxTileRow>44055</MaxTileRow>
            <MinTileCol>63067</MinTileCol>
            <MaxTileCol>65252</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>78899</MinTileRow>
            <MaxTileRow>88111</MaxTileRow>
            <MinTileCol>126134</MinTileCol>
            <MaxTileCol>130504</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>157798</MinTileRow>
            <MaxTileRow>176222</MaxTileRow>
            <MinTileCol>252268</MinTileCol>
            <MaxTileCol>261009</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>315596</MinTileRow>
            <MaxTileRow>352445</MaxTileRow>
            <MinTileCol>504537</MinTileCol>
            <MaxTileCol>522019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>631192</MinTileRow>
            <MaxTileRow>704891</MaxTileRow>
            <MinTileCol>1009074</MinTileCol>
            <MaxTileCol>1044039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1262384</MinTileRow>
            <MaxTileRow>1409782</MaxTileRow>
            <MinTileCol>2018148</MinTileCol>
            <MaxTileCol>2088079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2524768</MinTileRow>
            <MaxTileRow>2819565</MaxTileRow>
            <MinTileCol>4036297</MinTileCol>
            <MaxTileCol>4176158</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5049536</MinTileRow>
            <MaxTileRow>5639130</MaxTileRow>
            <MinTileCol>8072594</MinTileCol>
            <MaxTileCol>8352317</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10099073</MinTileRow>
            <MaxTileRow>11278261</MaxTileRow>
            <MinTileCol>16145188</MinTileCol>
            <MaxTileCol>16704634</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20198147</MinTileRow>
            <MaxTileRow>22556522</MaxTileRow>
            <MinTileCol>32290377</MinTileCol>
            <MaxTileCol>33409268</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>40396295</MinTileRow>
            <MaxTileRow>45113044</MaxTileRow>
            <MinTileCol>64580755</MinTileCol>
            <MaxTileCol>66818537</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>80792591</MinTileRow>
            <MaxTileRow>90226089</MaxTileRow>
            <MinTileCol>129161511</MinTileCol>
            <MaxTileCol>133637074</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>161585183</MinTileRow>
            <MaxTileRow>180452179</MaxTileRow>
            <MinTileCol>258323023</MinTileCol>
            <MaxTileCol>267274148</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>323170367</MinTileRow>
            <MaxTileRow>360904358</MaxTileRow>
            <MinTileCol>516646047</MinTileCol>
            <MaxTileCol>534548297</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>646340735</MinTileRow>
            <MaxTileRow>721808716</MaxTileRow>
            <MinTileCol>1033292094</MinTileCol>
            <MaxTileCol>1069096595</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_faults/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_faults/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_1M_faults/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>ATA SVL GNS 1:250K metamorphic zones</ows:Title>
      <ows:Abstract>The 1:250 000 geological map of South Victoria Land encompasses the area of the southern Ross Sea, including Ross Island, the Dry Valleys and the Royal Society Range. The map is at a pre-press publication stage and this layer shows the metamorphic zones.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>160.052764892578 -78.8713302612305</ows:LowerCorner>
        <ows:UpperCorner>164.391326904297 -77.0110015869141</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:ATA_SVL_GNS_250K_metamorphic_zones</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/"/>
      <ows:Metadata xlink:type="simple" xlink:href="https://www.gns.cri.nz/Home/Our-Science/Energy-Resources/Geological-Mapping/Geological-Maps/1-250-000-Geological-Map-of-South-Victoria-Land"/>
      <Style isDefault="true">
        <ows:Identifier>SVL_2014_MinMetamorphZones</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=46&amp;height=60&amp;layer=gns%3AATA_SVL_GNS_250K_metamorphic_zones" width="46" height="60"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>30</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>30</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>61</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>59</MinTileRow>
            <MaxTileRow>60</MaxTileRow>
            <MinTileCol>120</MinTileCol>
            <MaxTileCol>122</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>118</MinTileRow>
            <MaxTileRow>120</MaxTileRow>
            <MinTileCol>241</MinTileCol>
            <MaxTileCol>244</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>237</MinTileRow>
            <MaxTileRow>240</MaxTileRow>
            <MinTileCol>483</MinTileCol>
            <MaxTileCol>489</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>475</MinTileRow>
            <MaxTileRow>480</MaxTileRow>
            <MinTileCol>967</MinTileCol>
            <MaxTileCol>979</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>950</MinTileRow>
            <MaxTileRow>960</MaxTileRow>
            <MinTileCol>1934</MinTileCol>
            <MaxTileCol>1959</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1900</MinTileRow>
            <MaxTileRow>1921</MaxTileRow>
            <MinTileCol>3869</MinTileCol>
            <MaxTileCol>3918</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3800</MinTileRow>
            <MaxTileRow>3842</MaxTileRow>
            <MinTileCol>7738</MinTileCol>
            <MaxTileCol>7836</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>7600</MinTileRow>
            <MaxTileRow>7685</MaxTileRow>
            <MinTileCol>15476</MinTileCol>
            <MaxTileCol>15673</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>15201</MinTileRow>
            <MaxTileRow>15371</MaxTileRow>
            <MinTileCol>30952</MinTileCol>
            <MaxTileCol>31347</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>30403</MinTileRow>
            <MaxTileRow>30742</MaxTileRow>
            <MinTileCol>61904</MinTileCol>
            <MaxTileCol>62694</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>60806</MinTileRow>
            <MaxTileRow>61484</MaxTileRow>
            <MinTileCol>123809</MinTileCol>
            <MaxTileCol>125389</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>121613</MinTileRow>
            <MaxTileRow>122968</MaxTileRow>
            <MinTileCol>247618</MinTileCol>
            <MaxTileCol>250778</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>243227</MinTileRow>
            <MaxTileRow>245936</MaxTileRow>
            <MinTileCol>495237</MinTileCol>
            <MaxTileCol>501556</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>486454</MinTileRow>
            <MaxTileRow>491873</MaxTileRow>
            <MinTileCol>990475</MinTileCol>
            <MaxTileCol>1003112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>972909</MinTileRow>
            <MaxTileRow>983746</MaxTileRow>
            <MinTileCol>1980950</MinTileCol>
            <MaxTileCol>2006224</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1945819</MinTileRow>
            <MaxTileRow>1967493</MaxTileRow>
            <MinTileCol>3961901</MinTileCol>
            <MaxTileCol>4012449</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>27</MinTileRow>
            <MaxTileRow>27</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>30</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>54</MinTileRow>
            <MaxTileRow>55</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>61</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>108</MinTileRow>
            <MaxTileRow>111</MaxTileRow>
            <MinTileCol>120</MinTileCol>
            <MaxTileCol>122</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>216</MinTileRow>
            <MaxTileRow>222</MaxTileRow>
            <MinTileCol>241</MinTileCol>
            <MaxTileCol>244</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>433</MinTileRow>
            <MaxTileRow>445</MaxTileRow>
            <MinTileCol>483</MinTileCol>
            <MaxTileCol>489</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>866</MinTileRow>
            <MaxTileRow>891</MaxTileRow>
            <MinTileCol>967</MinTileCol>
            <MaxTileCol>979</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1732</MinTileRow>
            <MaxTileRow>1783</MaxTileRow>
            <MinTileCol>1934</MinTileCol>
            <MaxTileCol>1959</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>3464</MinTileRow>
            <MaxTileRow>3566</MaxTileRow>
            <MinTileCol>3869</MinTileCol>
            <MaxTileCol>3918</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>6929</MinTileRow>
            <MaxTileRow>7132</MaxTileRow>
            <MinTileCol>7738</MinTileCol>
            <MaxTileCol>7836</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>13858</MinTileRow>
            <MaxTileRow>14264</MaxTileRow>
            <MinTileCol>15476</MinTileCol>
            <MaxTileCol>15673</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>27716</MinTileRow>
            <MaxTileRow>28528</MaxTileRow>
            <MinTileCol>30952</MinTileCol>
            <MaxTileCol>31347</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>55432</MinTileRow>
            <MaxTileRow>57057</MaxTileRow>
            <MinTileCol>61904</MinTileCol>
            <MaxTileCol>62694</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>110865</MinTileRow>
            <MaxTileRow>114114</MaxTileRow>
            <MinTileCol>123809</MinTileCol>
            <MaxTileCol>125389</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>221731</MinTileRow>
            <MaxTileRow>228228</MaxTileRow>
            <MinTileCol>247618</MinTileCol>
            <MaxTileCol>250778</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>443463</MinTileRow>
            <MaxTileRow>456457</MaxTileRow>
            <MinTileCol>495237</MinTileCol>
            <MaxTileCol>501556</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>886927</MinTileRow>
            <MaxTileRow>912915</MaxTileRow>
            <MinTileCol>990475</MinTileCol>
            <MaxTileCol>1003112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1773854</MinTileRow>
            <MaxTileRow>1825830</MaxTileRow>
            <MinTileCol>1980950</MinTileCol>
            <MaxTileCol>2006224</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>3547709</MinTileRow>
            <MaxTileRow>3651661</MaxTileRow>
            <MinTileCol>3961901</MinTileCol>
            <MaxTileCol>4012449</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>7095418</MinTileRow>
            <MaxTileRow>7303322</MaxTileRow>
            <MinTileCol>7923803</MinTileCol>
            <MaxTileCol>8024899</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>14190837</MinTileRow>
            <MaxTileRow>14606645</MaxTileRow>
            <MinTileCol>15847607</MinTileCol>
            <MaxTileCol>16049799</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>28381675</MinTileRow>
            <MaxTileRow>29213290</MaxTileRow>
            <MinTileCol>31695214</MinTileCol>
            <MaxTileCol>32099598</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>56763350</MinTileRow>
            <MaxTileRow>58426581</MaxTileRow>
            <MinTileCol>63390429</MinTileCol>
            <MaxTileCol>64199196</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>113526700</MinTileRow>
            <MaxTileRow>116853163</MaxTileRow>
            <MinTileCol>126780859</MinTileCol>
            <MaxTileCol>128398392</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>227053401</MinTileRow>
            <MaxTileRow>233706327</MaxTileRow>
            <MinTileCol>253561719</MinTileCol>
            <MaxTileCol>256796785</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>454106803</MinTileRow>
            <MaxTileRow>467412655</MaxTileRow>
            <MinTileCol>507123438</MinTileCol>
            <MaxTileCol>513593571</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>908213606</MinTileRow>
            <MaxTileRow>934825310</MaxTileRow>
            <MinTileCol>1014246877</MinTileCol>
            <MaxTileCol>1027187143</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_metamorphic_zones/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_metamorphic_zones/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>New Zealand GNS GM5 Middlemarch Landslides</ows:Title>
      <ows:Abstract>This data layer spatially represents the landslide material present at the surface.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>170.08245920230976 -45.48716410753557</ows:LowerCorner>
        <ows:UpperCorner>170.20413078064283 -45.35041472929051</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gmnz:NZL_GNS_GM5_landslides</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/metadata/srv/eng/search#%7CB3120660-AE1D-4C39-842B-186DF0001D76"/>
      <Style isDefault="true">
        <ows:Identifier>SVL_Landslides_2014</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=gmnz%3ANZL_GNS_GM5_landslides" 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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>48</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>96</MinTileRow>
            <MaxTileRow>96</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>192</MinTileRow>
            <MaxTileRow>192</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>384</MinTileRow>
            <MaxTileRow>385</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>769</MinTileRow>
            <MaxTileRow>770</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1992</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1539</MinTileRow>
            <MaxTileRow>1541</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3984</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3079</MinTileRow>
            <MaxTileRow>3083</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7969</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>6159</MinTileRow>
            <MaxTileRow>6166</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15938</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>12319</MinTileRow>
            <MaxTileRow>12332</MaxTileRow>
            <MinTileCol>31865</MinTileCol>
            <MaxTileCol>31876</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>24639</MinTileRow>
            <MaxTileRow>24664</MaxTileRow>
            <MinTileCol>63730</MinTileCol>
            <MaxTileCol>63752</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>49279</MinTileRow>
            <MaxTileRow>49329</MaxTileRow>
            <MinTileCol>127461</MinTileCol>
            <MaxTileCol>127505</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>98559</MinTileRow>
            <MaxTileRow>98658</MaxTileRow>
            <MinTileCol>254922</MinTileCol>
            <MaxTileCol>255010</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>197118</MinTileRow>
            <MaxTileRow>197317</MaxTileRow>
            <MinTileCol>509844</MinTileCol>
            <MaxTileCol>510021</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>394236</MinTileRow>
            <MaxTileRow>394634</MaxTileRow>
            <MinTileCol>1019689</MinTileCol>
            <MaxTileCol>1020043</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>788473</MinTileRow>
            <MaxTileRow>789269</MaxTileRow>
            <MinTileCol>2039378</MinTileCol>
            <MaxTileCol>2040086</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1576946</MinTileRow>
            <MaxTileRow>1578539</MaxTileRow>
            <MinTileCol>4078756</MinTileCol>
            <MaxTileCol>4080173</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>82</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>164</MinTileRow>
            <MaxTileRow>164</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>328</MinTileRow>
            <MaxTileRow>328</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>657</MinTileRow>
            <MaxTileRow>657</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1314</MinTileRow>
            <MaxTileRow>1315</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1992</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2628</MinTileRow>
            <MaxTileRow>2630</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3984</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>5256</MinTileRow>
            <MaxTileRow>5260</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7969</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>10512</MinTileRow>
            <MaxTileRow>10521</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15938</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>21025</MinTileRow>
            <MaxTileRow>21043</MaxTileRow>
            <MinTileCol>31865</MinTileCol>
            <MaxTileCol>31876</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>42051</MinTileRow>
            <MaxTileRow>42087</MaxTileRow>
            <MinTileCol>63730</MinTileCol>
            <MaxTileCol>63752</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>84103</MinTileRow>
            <MaxTileRow>84174</MaxTileRow>
            <MinTileCol>127461</MinTileCol>
            <MaxTileCol>127505</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>168206</MinTileRow>
            <MaxTileRow>168348</MaxTileRow>
            <MinTileCol>254922</MinTileCol>
            <MaxTileCol>255010</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>336412</MinTileRow>
            <MaxTileRow>336696</MaxTileRow>
            <MinTileCol>509844</MinTileCol>
            <MaxTileCol>510021</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>672824</MinTileRow>
            <MaxTileRow>673392</MaxTileRow>
            <MinTileCol>1019689</MinTileCol>
            <MaxTileCol>1020043</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1345649</MinTileRow>
            <MaxTileRow>1346784</MaxTileRow>
            <MinTileCol>2039378</MinTileCol>
            <MaxTileCol>2040086</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2691299</MinTileRow>
            <MaxTileRow>2693569</MaxTileRow>
            <MinTileCol>4078756</MinTileCol>
            <MaxTileCol>4080173</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5382598</MinTileRow>
            <MaxTileRow>5387138</MaxTileRow>
            <MinTileCol>8157512</MinTileCol>
            <MaxTileCol>8160347</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10765197</MinTileRow>
            <MaxTileRow>10774276</MaxTileRow>
            <MinTileCol>16315025</MinTileCol>
            <MaxTileCol>16320695</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>21530394</MinTileRow>
            <MaxTileRow>21548553</MaxTileRow>
            <MinTileCol>32630050</MinTileCol>
            <MaxTileCol>32641390</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>43060788</MinTileRow>
            <MaxTileRow>43097106</MaxTileRow>
            <MinTileCol>65260100</MinTileCol>
            <MaxTileCol>65282781</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>86121577</MinTileRow>
            <MaxTileRow>86194212</MaxTileRow>
            <MinTileCol>130520200</MinTileCol>
            <MaxTileCol>130565563</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>172243155</MinTileRow>
            <MaxTileRow>172388425</MaxTileRow>
            <MinTileCol>261040401</MinTileCol>
            <MaxTileCol>261131126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>344486311</MinTileRow>
            <MaxTileRow>344776851</MaxTileRow>
            <MinTileCol>522080803</MinTileCol>
            <MaxTileCol>522262253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>688972623</MinTileRow>
            <MaxTileRow>689553703</MaxTileRow>
            <MinTileCol>1044161606</MinTileCol>
            <MaxTileCol>1044524506</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_landslides/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_landslides/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_landslides/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_landslides/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_landslides/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_landslides/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_landslides/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_landslides/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_landslides/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_landslides/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_landslides/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL_GNS_250K_seamless_qmap_geological_map_current_view</ows:Title>
      <ows:Abstract>This view combines datasets from the QMAP Geological Map of New Zealand Project and was produced by GNS Science. It represents the most current mapping of the geology of New Zealand at a scale of 1:250 000. The datasets are stored in an ESRI vector geodatabase and exported to Geoserver.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>-180.0 -49.53168589706862</ows:LowerCorner>
        <ows:UpperCorner>180.0 -31.938496912781794</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>NZL_GNS_250K_seamless_qmap_geological_map_current_view</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_geological_units.html"/>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_geological_units.html"/>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_geological_units.html"/>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_geological_boundaries.html"/>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_faults_plotrank.html"/>
      <Style isDefault="true">
        <ows:Identifier/>
      </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>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:1</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>21</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>43</MinTileRow>
            <MaxTileRow>49</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>86</MinTileRow>
            <MaxTileRow>99</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>173</MinTileRow>
            <MaxTileRow>198</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>346</MinTileRow>
            <MaxTileRow>396</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1023</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>693</MinTileRow>
            <MaxTileRow>793</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>2047</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1387</MinTileRow>
            <MaxTileRow>1587</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>4095</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2774</MinTileRow>
            <MaxTileRow>3175</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>8191</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5549</MinTileRow>
            <MaxTileRow>6350</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>16383</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11099</MinTileRow>
            <MaxTileRow>12700</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>32767</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>22198</MinTileRow>
            <MaxTileRow>25400</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>65535</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>44396</MinTileRow>
            <MaxTileRow>50801</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>131071</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>88792</MinTileRow>
            <MaxTileRow>101603</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>262143</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>177585</MinTileRow>
            <MaxTileRow>203207</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>524287</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>355171</MinTileRow>
            <MaxTileRow>406415</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1048575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>710343</MinTileRow>
            <MaxTileRow>812830</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>2097151</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1420686</MinTileRow>
            <MaxTileRow>1625661</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>4194303</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>18</MinTileRow>
            <MaxTileRow>21</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>37</MinTileRow>
            <MaxTileRow>42</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>75</MinTileRow>
            <MaxTileRow>84</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>151</MinTileRow>
            <MaxTileRow>168</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>254</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>303</MinTileRow>
            <MaxTileRow>337</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>607</MinTileRow>
            <MaxTileRow>674</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1215</MinTileRow>
            <MaxTileRow>1349</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>2039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2431</MinTileRow>
            <MaxTileRow>2698</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>4079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>4863</MinTileRow>
            <MaxTileRow>5397</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>8158</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>9727</MinTileRow>
            <MaxTileRow>10794</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>16316</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>19454</MinTileRow>
            <MaxTileRow>21588</MaxTileRow>
            <MinTileCol>14</MinTileCol>
            <MaxTileCol>32632</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>38909</MinTileRow>
            <MaxTileRow>43177</MaxTileRow>
            <MinTileCol>28</MinTileCol>
            <MaxTileCol>65264</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>77818</MinTileRow>
            <MaxTileRow>86355</MaxTileRow>
            <MinTileCol>56</MinTileCol>
            <MaxTileCol>130528</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>155636</MinTileRow>
            <MaxTileRow>172711</MaxTileRow>
            <MinTileCol>112</MinTileCol>
            <MaxTileCol>261056</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>311272</MinTileRow>
            <MaxTileRow>345422</MaxTileRow>
            <MinTileCol>224</MinTileCol>
            <MaxTileCol>522112</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>622545</MinTileRow>
            <MaxTileRow>690845</MaxTileRow>
            <MinTileCol>448</MinTileCol>
            <MaxTileCol>1044225</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1245090</MinTileRow>
            <MaxTileRow>1381690</MaxTileRow>
            <MinTileCol>897</MinTileCol>
            <MaxTileCol>2088450</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2490180</MinTileRow>
            <MaxTileRow>2763380</MaxTileRow>
            <MinTileCol>1795</MinTileCol>
            <MaxTileCol>4176900</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>4980360</MinTileRow>
            <MaxTileRow>5526760</MaxTileRow>
            <MinTileCol>3590</MinTileCol>
            <MaxTileCol>8353800</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>9960721</MinTileRow>
            <MaxTileRow>11053521</MaxTileRow>
            <MinTileCol>7181</MinTileCol>
            <MaxTileCol>16707601</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>19921442</MinTileRow>
            <MaxTileRow>22107042</MaxTileRow>
            <MinTileCol>14362</MinTileCol>
            <MaxTileCol>33415202</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>39842885</MinTileRow>
            <MaxTileRow>44214084</MaxTileRow>
            <MinTileCol>28725</MinTileCol>
            <MaxTileCol>66830405</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>79685771</MinTileRow>
            <MaxTileRow>88428168</MaxTileRow>
            <MinTileCol>57450</MinTileCol>
            <MaxTileCol>133660811</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>159371543</MinTileRow>
            <MaxTileRow>176856337</MaxTileRow>
            <MinTileCol>114900</MinTileCol>
            <MaxTileCol>267321623</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>318743087</MinTileRow>
            <MaxTileRow>353712674</MaxTileRow>
            <MinTileCol>229800</MinTileCol>
            <MaxTileCol>534643246</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>637486175</MinTileRow>
            <MaxTileRow>707425349</MaxTileRow>
            <MinTileCol>459601</MinTileCol>
            <MaxTileCol>1069286493</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/NZL_GNS_250K_seamless_qmap_geological_map_current_view/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/NZL_GNS_250K_seamless_qmap_geological_map_current_view/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/NZL_GNS_250K_seamless_qmap_geological_map_current_view/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/NZL_GNS_250K_seamless_qmap_geological_map_current_view/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/NZL_GNS_250K_seamless_qmap_geological_map_current_view/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/NZL_GNS_250K_seamless_qmap_geological_map_current_view/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/NZL_GNS_250K_seamless_qmap_geological_map_current_view/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/NZL_GNS_250K_seamless_qmap_geological_map_current_view/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/NZL_GNS_250K_seamless_qmap_geological_map_current_view/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/NZL_GNS_250K_seamless_qmap_geological_map_current_view/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/NZL_GNS_250K_seamless_qmap_geological_map_current_view/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>New Zealand GNS GM5 Middlemarch Electromagnetic Interpretation (polygon) 1800 Hz</ows:Title>
      <ows:Abstract>This dataset spatially represents an interpretation of areas of consistent electromagnetic response at 1800 Hz.

Credits: Martin, A.P., Cox, S.C., Smith Lyttle, B. 2016</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>170.07260678154034 -45.68151194099665</ows:LowerCorner>
        <ows:UpperCorner>170.39539798682728 -45.35041472929051</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gmnz:NZL_GNS_GM5_emi_polygon_1800</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/metadata/srv/eng/search#%7CE843DF12-2189-40CD-A0FE-26A44673798C"/>
      <Style isDefault="true">
        <ows:Identifier>gmnz:gmnz_emi_poly_1800</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=154&amp;height=120&amp;layer=gmnz%3ANZL_GNS_GM5_emi_polygon_1800" width="154" height="120"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>48</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>96</MinTileRow>
            <MaxTileRow>96</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>192</MinTileRow>
            <MaxTileRow>192</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>384</MinTileRow>
            <MaxTileRow>385</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>769</MinTileRow>
            <MaxTileRow>771</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1539</MinTileRow>
            <MaxTileRow>1543</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3079</MinTileRow>
            <MaxTileRow>3087</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>6159</MinTileRow>
            <MaxTileRow>6175</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>12319</MinTileRow>
            <MaxTileRow>12350</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>24639</MinTileRow>
            <MaxTileRow>24700</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>49279</MinTileRow>
            <MaxTileRow>49400</MaxTileRow>
            <MinTileCol>127457</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>98559</MinTileRow>
            <MaxTileRow>98800</MaxTileRow>
            <MinTileCol>254915</MinTileCol>
            <MaxTileCol>255150</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>197118</MinTileRow>
            <MaxTileRow>197600</MaxTileRow>
            <MinTileCol>509830</MinTileCol>
            <MaxTileCol>510300</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>394236</MinTileRow>
            <MaxTileRow>395201</MaxTileRow>
            <MinTileCol>1019660</MinTileCol>
            <MaxTileCol>1020600</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>788473</MinTileRow>
            <MaxTileRow>790402</MaxTileRow>
            <MinTileCol>2039320</MinTileCol>
            <MaxTileCol>2041201</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1576946</MinTileRow>
            <MaxTileRow>1580804</MaxTileRow>
            <MinTileCol>4078641</MinTileCol>
            <MaxTileCol>4082402</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>82</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>164</MinTileRow>
            <MaxTileRow>164</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>328</MinTileRow>
            <MaxTileRow>329</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>657</MinTileRow>
            <MaxTileRow>658</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1314</MinTileRow>
            <MaxTileRow>1316</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2628</MinTileRow>
            <MaxTileRow>2633</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>5256</MinTileRow>
            <MaxTileRow>5267</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>10512</MinTileRow>
            <MaxTileRow>10534</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>21025</MinTileRow>
            <MaxTileRow>21068</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>42051</MinTileRow>
            <MaxTileRow>42137</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>84103</MinTileRow>
            <MaxTileRow>84275</MaxTileRow>
            <MinTileCol>127457</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>168206</MinTileRow>
            <MaxTileRow>168550</MaxTileRow>
            <MinTileCol>254915</MinTileCol>
            <MaxTileCol>255150</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>336412</MinTileRow>
            <MaxTileRow>337100</MaxTileRow>
            <MinTileCol>509830</MinTileCol>
            <MaxTileCol>510300</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>672824</MinTileRow>
            <MaxTileRow>674201</MaxTileRow>
            <MinTileCol>1019660</MinTileCol>
            <MaxTileCol>1020600</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1345649</MinTileRow>
            <MaxTileRow>1348402</MaxTileRow>
            <MinTileCol>2039320</MinTileCol>
            <MaxTileCol>2041201</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2691299</MinTileRow>
            <MaxTileRow>2696804</MaxTileRow>
            <MinTileCol>4078641</MinTileCol>
            <MaxTileCol>4082402</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5382598</MinTileRow>
            <MaxTileRow>5393609</MaxTileRow>
            <MinTileCol>8157282</MinTileCol>
            <MaxTileCol>8164804</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10765197</MinTileRow>
            <MaxTileRow>10787218</MaxTileRow>
            <MinTileCol>16314565</MinTileCol>
            <MaxTileCol>16329609</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>21530394</MinTileRow>
            <MaxTileRow>21574436</MaxTileRow>
            <MinTileCol>32629131</MinTileCol>
            <MaxTileCol>32659218</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>43060788</MinTileRow>
            <MaxTileRow>43148872</MaxTileRow>
            <MinTileCol>65258263</MinTileCol>
            <MaxTileCol>65318436</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>86121577</MinTileRow>
            <MaxTileRow>86297745</MaxTileRow>
            <MinTileCol>130516527</MinTileCol>
            <MaxTileCol>130636872</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>172243155</MinTileRow>
            <MaxTileRow>172595491</MaxTileRow>
            <MinTileCol>261033055</MinTileCol>
            <MaxTileCol>261273745</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>344486311</MinTileRow>
            <MaxTileRow>345190982</MaxTileRow>
            <MinTileCol>522066110</MinTileCol>
            <MaxTileCol>522547491</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>688972623</MinTileRow>
            <MaxTileRow>690381964</MaxTileRow>
            <MinTileCol>1044132220</MinTileCol>
            <MaxTileCol>1045094982</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_1800/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_1800/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_1800/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_1800/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_1800/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_1800/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_1800/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_1800/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_1800/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_1800/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_polygon_1800/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>New Zealand GNS GM5 Middlemarch Formlines</ows:Title>
      <ows:Abstract>Form lines within schist indicate strike parallel to dominant foliation.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>170.07171427108747 -45.682797179719344</ows:LowerCorner>
        <ows:UpperCorner>170.39678356053463 -45.3494183663535</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gmnz:NZL_GNS_GM5_formlines</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/metadata/srv/eng/search#%7CF043C0C2-5571-4001-9F45-9A7A461689AE"/>
      <Style isDefault="true">
        <ows:Identifier>gmnz:gmnz_formlines</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=gmnz%3ANZL_GNS_GM5_formlines" 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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>48</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>96</MinTileRow>
            <MaxTileRow>96</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>192</MinTileRow>
            <MaxTileRow>192</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>384</MinTileRow>
            <MaxTileRow>385</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>769</MinTileRow>
            <MaxTileRow>771</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1539</MinTileRow>
            <MaxTileRow>1543</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3079</MinTileRow>
            <MaxTileRow>3087</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>6159</MinTileRow>
            <MaxTileRow>6175</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>12319</MinTileRow>
            <MaxTileRow>12350</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>24639</MinTileRow>
            <MaxTileRow>24700</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>49279</MinTileRow>
            <MaxTileRow>49400</MaxTileRow>
            <MinTileCol>127457</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>98558</MinTileRow>
            <MaxTileRow>98801</MaxTileRow>
            <MinTileCol>254914</MinTileCol>
            <MaxTileCol>255151</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>197116</MinTileRow>
            <MaxTileRow>197602</MaxTileRow>
            <MinTileCol>509828</MinTileCol>
            <MaxTileCol>510302</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>394233</MinTileRow>
            <MaxTileRow>395204</MaxTileRow>
            <MinTileCol>1019657</MinTileCol>
            <MaxTileCol>1020604</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>788467</MinTileRow>
            <MaxTileRow>790409</MaxTileRow>
            <MinTileCol>2039315</MinTileCol>
            <MaxTileCol>2041209</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1576935</MinTileRow>
            <MaxTileRow>1580819</MaxTileRow>
            <MinTileCol>4078631</MinTileCol>
            <MaxTileCol>4082418</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>82</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>164</MinTileRow>
            <MaxTileRow>164</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>328</MinTileRow>
            <MaxTileRow>329</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>657</MinTileRow>
            <MaxTileRow>658</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1314</MinTileRow>
            <MaxTileRow>1316</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2628</MinTileRow>
            <MaxTileRow>2633</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>5256</MinTileRow>
            <MaxTileRow>5267</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>10512</MinTileRow>
            <MaxTileRow>10534</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>21025</MinTileRow>
            <MaxTileRow>21068</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>42051</MinTileRow>
            <MaxTileRow>42137</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>84102</MinTileRow>
            <MaxTileRow>84275</MaxTileRow>
            <MinTileCol>127457</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>168205</MinTileRow>
            <MaxTileRow>168551</MaxTileRow>
            <MinTileCol>254914</MinTileCol>
            <MaxTileCol>255151</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>336410</MinTileRow>
            <MaxTileRow>337103</MaxTileRow>
            <MinTileCol>509828</MinTileCol>
            <MaxTileCol>510302</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>672820</MinTileRow>
            <MaxTileRow>674206</MaxTileRow>
            <MinTileCol>1019657</MinTileCol>
            <MaxTileCol>1020604</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1345641</MinTileRow>
            <MaxTileRow>1348412</MaxTileRow>
            <MinTileCol>2039315</MinTileCol>
            <MaxTileCol>2041209</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2691282</MinTileRow>
            <MaxTileRow>2696825</MaxTileRow>
            <MinTileCol>4078631</MinTileCol>
            <MaxTileCol>4082418</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5382565</MinTileRow>
            <MaxTileRow>5393651</MaxTileRow>
            <MinTileCol>8157262</MinTileCol>
            <MaxTileCol>8164836</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10765131</MinTileRow>
            <MaxTileRow>10787303</MaxTileRow>
            <MinTileCol>16314524</MinTileCol>
            <MaxTileCol>16329673</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>21530262</MinTileRow>
            <MaxTileRow>21574607</MaxTileRow>
            <MinTileCol>32629048</MinTileCol>
            <MaxTileCol>32659347</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>43060524</MinTileRow>
            <MaxTileRow>43149215</MaxTileRow>
            <MinTileCol>65258097</MinTileCol>
            <MaxTileCol>65318694</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>86121049</MinTileRow>
            <MaxTileRow>86298431</MaxTileRow>
            <MinTileCol>130516194</MinTileCol>
            <MaxTileCol>130637389</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>172242098</MinTileRow>
            <MaxTileRow>172596862</MaxTileRow>
            <MinTileCol>261032389</MinTileCol>
            <MaxTileCol>261274778</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>344484197</MinTileRow>
            <MaxTileRow>345193725</MaxTileRow>
            <MinTileCol>522064779</MinTileCol>
            <MaxTileCol>522549557</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>688968394</MinTileRow>
            <MaxTileRow>690387451</MaxTileRow>
            <MinTileCol>1044129558</MinTileCol>
            <MaxTileCol>1045099115</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_formlines/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_formlines/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_formlines/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_formlines/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_formlines/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_formlines/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_formlines/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_formlines/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_formlines/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_formlines/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_formlines/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>ATA SVL GNS 1:250K geological boundaries</ows:Title>
      <ows:Abstract>The 1:250 000 geological map of South Victoria Land encompasses the area of the southern Ross Sea, including Ross Island, the Dry Valleys and the Royal Society Range. The map is at a pre-press publication stage and this layer shows the lithostratigraphic geological map unit boundary types.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>157.057723999023 -78.8936386108398</ows:LowerCorner>
        <ows:UpperCorner>169.979843139648 -76.3926162719727</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:ATA_SVL_GNS_250K_geological_boundaries</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/"/>
      <ows:Metadata xlink:type="simple" xlink:href="https://www.gns.cri.nz/Home/Our-Science/Energy-Resources/Geological-Mapping/Geological-Maps/1-250-000-Geological-Map-of-South-Victoria-Land"/>
      <Style isDefault="true">
        <ows:Identifier>SVL_Geol_Units_Bnd</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=93&amp;height=380&amp;layer=gns%3AATA_SVL_GNS_250K_geological_boundaries" width="93" height="380"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>14</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>29</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>30</MaxTileRow>
            <MinTileCol>59</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>59</MinTileRow>
            <MaxTileRow>60</MaxTileRow>
            <MinTileCol>119</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>118</MinTileRow>
            <MaxTileRow>120</MaxTileRow>
            <MinTileCol>239</MinTileCol>
            <MaxTileCol>248</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>236</MinTileRow>
            <MaxTileRow>240</MaxTileRow>
            <MinTileCol>479</MinTileCol>
            <MaxTileCol>497</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>473</MinTileRow>
            <MaxTileRow>480</MaxTileRow>
            <MinTileCol>958</MinTileCol>
            <MaxTileCol>995</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>946</MinTileRow>
            <MaxTileRow>960</MaxTileRow>
            <MinTileCol>1917</MinTileCol>
            <MaxTileCol>1990</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1893</MinTileRow>
            <MaxTileRow>1921</MaxTileRow>
            <MinTileCol>3834</MinTileCol>
            <MaxTileCol>3981</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3786</MinTileRow>
            <MaxTileRow>3843</MaxTileRow>
            <MinTileCol>7669</MinTileCol>
            <MaxTileCol>7963</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>7572</MinTileRow>
            <MaxTileRow>7686</MaxTileRow>
            <MinTileCol>15339</MinTileCol>
            <MaxTileCol>15927</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>15145</MinTileRow>
            <MaxTileRow>15373</MaxTileRow>
            <MinTileCol>30679</MinTileCol>
            <MaxTileCol>31855</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>30290</MinTileRow>
            <MaxTileRow>30746</MaxTileRow>
            <MinTileCol>61359</MinTileCol>
            <MaxTileCol>63711</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>60581</MinTileRow>
            <MaxTileRow>61492</MaxTileRow>
            <MinTileCol>122718</MinTileCol>
            <MaxTileCol>127423</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>121163</MinTileRow>
            <MaxTileRow>122984</MaxTileRow>
            <MinTileCol>245437</MinTileCol>
            <MaxTileCol>254847</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>242326</MinTileRow>
            <MaxTileRow>245969</MaxTileRow>
            <MinTileCol>490875</MinTileCol>
            <MaxTileCol>509695</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>484653</MinTileRow>
            <MaxTileRow>491938</MaxTileRow>
            <MinTileCol>981751</MinTileCol>
            <MaxTileCol>1019390</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>969307</MinTileRow>
            <MaxTileRow>983876</MaxTileRow>
            <MinTileCol>1963503</MinTileCol>
            <MaxTileCol>2038780</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1938614</MinTileRow>
            <MaxTileRow>1967753</MaxTileRow>
            <MinTileCol>3927007</MinTileCol>
            <MaxTileCol>4077560</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>14</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>26</MinTileRow>
            <MaxTileRow>27</MaxTileRow>
            <MinTileCol>29</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>53</MinTileRow>
            <MaxTileRow>55</MaxTileRow>
            <MinTileCol>59</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>107</MinTileRow>
            <MaxTileRow>111</MaxTileRow>
            <MinTileCol>119</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>214</MinTileRow>
            <MaxTileRow>222</MaxTileRow>
            <MinTileCol>239</MinTileCol>
            <MaxTileCol>248</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>429</MinTileRow>
            <MaxTileRow>445</MaxTileRow>
            <MinTileCol>479</MinTileCol>
            <MaxTileCol>497</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>858</MinTileRow>
            <MaxTileRow>891</MaxTileRow>
            <MinTileCol>958</MinTileCol>
            <MaxTileCol>995</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1716</MinTileRow>
            <MaxTileRow>1783</MaxTileRow>
            <MinTileCol>1917</MinTileCol>
            <MaxTileCol>1990</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>3433</MinTileRow>
            <MaxTileRow>3567</MaxTileRow>
            <MinTileCol>3834</MinTileCol>
            <MaxTileCol>3981</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>6867</MinTileRow>
            <MaxTileRow>7134</MaxTileRow>
            <MinTileCol>7669</MinTileCol>
            <MaxTileCol>7963</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>13735</MinTileRow>
            <MaxTileRow>14269</MaxTileRow>
            <MinTileCol>15339</MinTileCol>
            <MaxTileCol>15927</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>27471</MinTileRow>
            <MaxTileRow>28539</MaxTileRow>
            <MinTileCol>30679</MinTileCol>
            <MaxTileCol>31855</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>54943</MinTileRow>
            <MaxTileRow>57078</MaxTileRow>
            <MinTileCol>61359</MinTileCol>
            <MaxTileCol>63711</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>109886</MinTileRow>
            <MaxTileRow>114156</MaxTileRow>
            <MinTileCol>122718</MinTileCol>
            <MaxTileCol>127423</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>219773</MinTileRow>
            <MaxTileRow>228313</MaxTileRow>
            <MinTileCol>245437</MinTileCol>
            <MaxTileCol>254847</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>439547</MinTileRow>
            <MaxTileRow>456626</MaxTileRow>
            <MinTileCol>490875</MinTileCol>
            <MaxTileCol>509695</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>879095</MinTileRow>
            <MaxTileRow>913252</MaxTileRow>
            <MinTileCol>981751</MinTileCol>
            <MaxTileCol>1019390</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1758190</MinTileRow>
            <MaxTileRow>1826504</MaxTileRow>
            <MinTileCol>1963503</MinTileCol>
            <MaxTileCol>2038780</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>3516381</MinTileRow>
            <MaxTileRow>3653009</MaxTileRow>
            <MinTileCol>3927007</MinTileCol>
            <MaxTileCol>4077560</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>7032763</MinTileRow>
            <MaxTileRow>7306018</MaxTileRow>
            <MinTileCol>7854014</MinTileCol>
            <MaxTileCol>8155121</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>14065526</MinTileRow>
            <MaxTileRow>14612037</MaxTileRow>
            <MinTileCol>15708028</MinTileCol>
            <MaxTileCol>16310242</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>28131052</MinTileRow>
            <MaxTileRow>29224074</MaxTileRow>
            <MinTileCol>31416056</MinTileCol>
            <MaxTileCol>32620485</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>56262104</MinTileRow>
            <MaxTileRow>58448148</MaxTileRow>
            <MinTileCol>62832113</MinTileCol>
            <MaxTileCol>65240971</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>112524209</MinTileRow>
            <MaxTileRow>116896297</MaxTileRow>
            <MinTileCol>125664227</MinTileCol>
            <MaxTileCol>130481942</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>225048419</MinTileRow>
            <MaxTileRow>233792595</MaxTileRow>
            <MinTileCol>251328455</MinTileCol>
            <MaxTileCol>260963885</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>450096839</MinTileRow>
            <MaxTileRow>467585190</MaxTileRow>
            <MinTileCol>502656910</MinTileCol>
            <MaxTileCol>521927771</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>900193679</MinTileRow>
            <MaxTileRow>935170381</MaxTileRow>
            <MinTileCol>1005313820</MinTileCol>
            <MaxTileCol>1043855542</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_geological_boundaries/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_geological_boundaries/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>New Zealand GNS GM5 Middlemarch Geological Boundaries</ows:Title>
      <ows:Abstract>This data layer spatially represents the bounding arcs to the geological materials present at or near the surface.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>170.07098359640307 -45.68316570879497</ows:LowerCorner>
        <ows:UpperCorner>170.39700277650772 -45.34875754676614</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gmnz:NZL_GNS_GM5_geological_boundaries</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/metadata/srv/eng/search#%7C6879F131-3DFE-42DA-8F3B-58F8FFAC0EB4"/>
      <Style isDefault="true">
        <ows:Identifier>line</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=gmnz%3ANZL_GNS_GM5_geological_boundaries" 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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>48</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>96</MinTileRow>
            <MaxTileRow>96</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>192</MinTileRow>
            <MaxTileRow>192</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>384</MinTileRow>
            <MaxTileRow>385</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>769</MinTileRow>
            <MaxTileRow>771</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1539</MinTileRow>
            <MaxTileRow>1543</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3079</MinTileRow>
            <MaxTileRow>3087</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>6159</MinTileRow>
            <MaxTileRow>6175</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>12319</MinTileRow>
            <MaxTileRow>12350</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>24639</MinTileRow>
            <MaxTileRow>24700</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>49278</MinTileRow>
            <MaxTileRow>49400</MaxTileRow>
            <MinTileCol>127456</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>98557</MinTileRow>
            <MaxTileRow>98801</MaxTileRow>
            <MinTileCol>254913</MinTileCol>
            <MaxTileCol>255151</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>197115</MinTileRow>
            <MaxTileRow>197602</MaxTileRow>
            <MinTileCol>509827</MinTileCol>
            <MaxTileCol>510302</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>394231</MinTileRow>
            <MaxTileRow>395205</MaxTileRow>
            <MinTileCol>1019655</MinTileCol>
            <MaxTileCol>1020605</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>788463</MinTileRow>
            <MaxTileRow>790411</MaxTileRow>
            <MinTileCol>2039311</MinTileCol>
            <MaxTileCol>2041210</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1576927</MinTileRow>
            <MaxTileRow>1580823</MaxTileRow>
            <MinTileCol>4078622</MinTileCol>
            <MaxTileCol>4082420</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>82</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>164</MinTileRow>
            <MaxTileRow>164</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>328</MinTileRow>
            <MaxTileRow>329</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>657</MinTileRow>
            <MaxTileRow>658</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1314</MinTileRow>
            <MaxTileRow>1316</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2628</MinTileRow>
            <MaxTileRow>2633</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>5256</MinTileRow>
            <MaxTileRow>5267</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>10512</MinTileRow>
            <MaxTileRow>10534</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>21025</MinTileRow>
            <MaxTileRow>21069</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>42051</MinTileRow>
            <MaxTileRow>42138</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>84102</MinTileRow>
            <MaxTileRow>84276</MaxTileRow>
            <MinTileCol>127456</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>168204</MinTileRow>
            <MaxTileRow>168552</MaxTileRow>
            <MinTileCol>254913</MinTileCol>
            <MaxTileCol>255151</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>336408</MinTileRow>
            <MaxTileRow>337104</MaxTileRow>
            <MinTileCol>509827</MinTileCol>
            <MaxTileCol>510302</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>672817</MinTileRow>
            <MaxTileRow>674208</MaxTileRow>
            <MinTileCol>1019655</MinTileCol>
            <MaxTileCol>1020605</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1345635</MinTileRow>
            <MaxTileRow>1348416</MaxTileRow>
            <MinTileCol>2039311</MinTileCol>
            <MaxTileCol>2041210</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2691271</MinTileRow>
            <MaxTileRow>2696832</MaxTileRow>
            <MinTileCol>4078622</MinTileCol>
            <MaxTileCol>4082420</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5382543</MinTileRow>
            <MaxTileRow>5393664</MaxTileRow>
            <MinTileCol>8157245</MinTileCol>
            <MaxTileCol>8164841</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10765087</MinTileRow>
            <MaxTileRow>10787328</MaxTileRow>
            <MinTileCol>16314490</MinTileCol>
            <MaxTileCol>16329683</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>21530174</MinTileRow>
            <MaxTileRow>21574657</MaxTileRow>
            <MinTileCol>32628980</MinTileCol>
            <MaxTileCol>32659367</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>43060349</MinTileRow>
            <MaxTileRow>43149314</MaxTileRow>
            <MinTileCol>65257961</MinTileCol>
            <MaxTileCol>65318735</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>86120698</MinTileRow>
            <MaxTileRow>86298628</MaxTileRow>
            <MinTileCol>130515922</MinTileCol>
            <MaxTileCol>130637471</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>172241397</MinTileRow>
            <MaxTileRow>172597256</MaxTileRow>
            <MinTileCol>261031844</MinTileCol>
            <MaxTileCol>261274942</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>344482795</MinTileRow>
            <MaxTileRow>345194512</MaxTileRow>
            <MinTileCol>522063689</MinTileCol>
            <MaxTileCol>522549884</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>688965590</MinTileRow>
            <MaxTileRow>690389024</MaxTileRow>
            <MinTileCol>1044127379</MinTileCol>
            <MaxTileCol>1045099769</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_geological_boundaries/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_geological_boundaries/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_geological_boundaries/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>ATA SVL GNS 1:250K linears</ows:Title>
      <ows:Abstract>The 1:250 000 geological map of South Victoria Land encompasses the area of the southern Ross Sea, including Ross Island, the Dry Valleys and the Royal Society Range. The map is at a pre-press publication stage and this layer portrays lineaments derived from remote sensing imagery including satellite multi-spectral images, aerial photos and digital terrain models.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>158.225784301758 -78.6516494750977</ows:LowerCorner>
        <ows:UpperCorner>169.336303710938 -76.5314865112305</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:ATA_SVL_GNS_250K_linears</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/"/>
      <ows:Metadata xlink:type="simple" xlink:href="https://www.gns.cri.nz/Home/Our-Science/Energy-Resources/Geological-Mapping/Geological-Maps/1-250-000-Geological-Map-of-South-Victoria-Land"/>
      <Style isDefault="true">
        <ows:Identifier>svl_linears_clean</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=102&amp;height=80&amp;layer=gns%3AATA_SVL_GNS_250K_linears" width="102" height="80"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>14</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>29</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>59</MinTileRow>
            <MaxTileRow>59</MaxTileRow>
            <MinTileCol>120</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>118</MinTileRow>
            <MaxTileRow>119</MaxTileRow>
            <MinTileCol>240</MinTileCol>
            <MaxTileCol>248</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>236</MinTileRow>
            <MaxTileRow>239</MaxTileRow>
            <MinTileCol>481</MinTileCol>
            <MaxTileCol>496</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>473</MinTileRow>
            <MaxTileRow>479</MaxTileRow>
            <MinTileCol>962</MinTileCol>
            <MaxTileCol>993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>947</MinTileRow>
            <MaxTileRow>959</MaxTileRow>
            <MinTileCol>1924</MinTileCol>
            <MaxTileCol>1987</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1894</MinTileRow>
            <MaxTileRow>1918</MaxTileRow>
            <MinTileCol>3848</MinTileCol>
            <MaxTileCol>3974</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3789</MinTileRow>
            <MaxTileRow>3837</MaxTileRow>
            <MinTileCol>7696</MinTileCol>
            <MaxTileCol>7949</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>7579</MinTileRow>
            <MaxTileRow>7675</MaxTileRow>
            <MinTileCol>15393</MinTileCol>
            <MaxTileCol>15898</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>15158</MinTileRow>
            <MaxTileRow>15351</MaxTileRow>
            <MinTileCol>30786</MinTileCol>
            <MaxTileCol>31797</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>30316</MinTileRow>
            <MaxTileRow>30702</MaxTileRow>
            <MinTileCol>61572</MinTileCol>
            <MaxTileCol>63594</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>60632</MinTileRow>
            <MaxTileRow>61404</MaxTileRow>
            <MinTileCol>123144</MinTileCol>
            <MaxTileCol>127189</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>121264</MinTileRow>
            <MaxTileRow>122808</MaxTileRow>
            <MinTileCol>246288</MinTileCol>
            <MaxTileCol>254378</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>242529</MinTileRow>
            <MaxTileRow>245616</MaxTileRow>
            <MinTileCol>492577</MinTileCol>
            <MaxTileCol>508757</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>485058</MinTileRow>
            <MaxTileRow>491233</MaxTileRow>
            <MinTileCol>985154</MinTileCol>
            <MaxTileCol>1017515</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>970116</MinTileRow>
            <MaxTileRow>982467</MaxTileRow>
            <MinTileCol>1970308</MinTileCol>
            <MaxTileCol>2035031</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1940232</MinTileRow>
            <MaxTileRow>1964934</MaxTileRow>
            <MinTileCol>3940616</MinTileCol>
            <MaxTileCol>4070062</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>26</MinTileRow>
            <MaxTileRow>27</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>53</MinTileRow>
            <MaxTileRow>55</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>107</MinTileRow>
            <MaxTileRow>111</MaxTileRow>
            <MinTileCol>120</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>215</MinTileRow>
            <MaxTileRow>222</MaxTileRow>
            <MinTileCol>240</MinTileCol>
            <MaxTileCol>248</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>430</MinTileRow>
            <MaxTileRow>444</MaxTileRow>
            <MinTileCol>481</MinTileCol>
            <MaxTileCol>496</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>860</MinTileRow>
            <MaxTileRow>888</MaxTileRow>
            <MinTileCol>962</MinTileCol>
            <MaxTileCol>993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1720</MinTileRow>
            <MaxTileRow>1776</MaxTileRow>
            <MinTileCol>1924</MinTileCol>
            <MaxTileCol>1987</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>3440</MinTileRow>
            <MaxTileRow>3553</MaxTileRow>
            <MinTileCol>3848</MinTileCol>
            <MaxTileCol>3974</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>6881</MinTileRow>
            <MaxTileRow>7106</MaxTileRow>
            <MinTileCol>7696</MinTileCol>
            <MaxTileCol>7949</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>13762</MinTileRow>
            <MaxTileRow>14213</MaxTileRow>
            <MinTileCol>15393</MinTileCol>
            <MaxTileCol>15898</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>27525</MinTileRow>
            <MaxTileRow>28426</MaxTileRow>
            <MinTileCol>30786</MinTileCol>
            <MaxTileCol>31797</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>55051</MinTileRow>
            <MaxTileRow>56852</MaxTileRow>
            <MinTileCol>61572</MinTileCol>
            <MaxTileCol>63594</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>110102</MinTileRow>
            <MaxTileRow>113704</MaxTileRow>
            <MinTileCol>123144</MinTileCol>
            <MaxTileCol>127189</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>220205</MinTileRow>
            <MaxTileRow>227408</MaxTileRow>
            <MinTileCol>246288</MinTileCol>
            <MaxTileCol>254378</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>440411</MinTileRow>
            <MaxTileRow>454816</MaxTileRow>
            <MinTileCol>492577</MinTileCol>
            <MaxTileCol>508757</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>880823</MinTileRow>
            <MaxTileRow>909632</MaxTileRow>
            <MinTileCol>985154</MinTileCol>
            <MaxTileCol>1017515</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1761646</MinTileRow>
            <MaxTileRow>1819264</MaxTileRow>
            <MinTileCol>1970308</MinTileCol>
            <MaxTileCol>2035031</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>3523293</MinTileRow>
            <MaxTileRow>3638528</MaxTileRow>
            <MinTileCol>3940616</MinTileCol>
            <MaxTileCol>4070062</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>7046586</MinTileRow>
            <MaxTileRow>7277056</MaxTileRow>
            <MinTileCol>7881232</MinTileCol>
            <MaxTileCol>8140125</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>14093173</MinTileRow>
            <MaxTileRow>14554113</MaxTileRow>
            <MinTileCol>15762464</MinTileCol>
            <MaxTileCol>16280251</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>28186346</MinTileRow>
            <MaxTileRow>29108226</MaxTileRow>
            <MinTileCol>31524928</MinTileCol>
            <MaxTileCol>32560503</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>56372693</MinTileRow>
            <MaxTileRow>58216453</MaxTileRow>
            <MinTileCol>63049856</MinTileCol>
            <MaxTileCol>65121006</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>112745386</MinTileRow>
            <MaxTileRow>116432906</MaxTileRow>
            <MinTileCol>126099712</MinTileCol>
            <MaxTileCol>130242013</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>225490772</MinTileRow>
            <MaxTileRow>232865812</MaxTileRow>
            <MinTileCol>252199424</MinTileCol>
            <MaxTileCol>260484027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>450981545</MinTileRow>
            <MaxTileRow>465731624</MaxTileRow>
            <MinTileCol>504398848</MinTileCol>
            <MaxTileCol>520968055</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>901963090</MinTileRow>
            <MaxTileRow>931463249</MaxTileRow>
            <MinTileCol>1008797696</MinTileCol>
            <MaxTileCol>1041936111</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_linears/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_linears/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_linears/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_linears/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_linears/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_linears/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_linears/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_linears/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_linears/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_linears/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_linears/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>New Zealand GNS GM5 Middlemarch Aeromagnetic Interpretation (polygon)</ows:Title>
      <ows:Abstract>This data layer spatially represents an interpretation of areas of consistent response of total magnetic intensity reduced to pole.

Credits: Martin, A.P., Cox, S.C., Smith Lyttle, B. 2016</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>170.07260678154034 -45.68151194099665</ows:LowerCorner>
        <ows:UpperCorner>170.39539798682728 -45.35041472929051</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gmnz:NZL_GNS_GM5_ami_polygon</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/metadata/srv/eng/search#%7C2678FE82-FCDE-451D-B975-33B526525FE5"/>
      <Style isDefault="true">
        <ows:Identifier>gmnz:gmnz_ami_poly</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=488&amp;height=240&amp;layer=gmnz%3ANZL_GNS_GM5_ami_polygon" width="488" height="240"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>48</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>96</MinTileRow>
            <MaxTileRow>96</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>192</MinTileRow>
            <MaxTileRow>192</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>384</MinTileRow>
            <MaxTileRow>385</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>769</MinTileRow>
            <MaxTileRow>771</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1539</MinTileRow>
            <MaxTileRow>1543</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3079</MinTileRow>
            <MaxTileRow>3087</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>6159</MinTileRow>
            <MaxTileRow>6175</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>12319</MinTileRow>
            <MaxTileRow>12350</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>24639</MinTileRow>
            <MaxTileRow>24700</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>49279</MinTileRow>
            <MaxTileRow>49400</MaxTileRow>
            <MinTileCol>127457</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>98559</MinTileRow>
            <MaxTileRow>98800</MaxTileRow>
            <MinTileCol>254915</MinTileCol>
            <MaxTileCol>255150</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>197118</MinTileRow>
            <MaxTileRow>197600</MaxTileRow>
            <MinTileCol>509830</MinTileCol>
            <MaxTileCol>510300</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>394236</MinTileRow>
            <MaxTileRow>395201</MaxTileRow>
            <MinTileCol>1019660</MinTileCol>
            <MaxTileCol>1020600</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>788473</MinTileRow>
            <MaxTileRow>790402</MaxTileRow>
            <MinTileCol>2039320</MinTileCol>
            <MaxTileCol>2041201</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1576946</MinTileRow>
            <MaxTileRow>1580804</MaxTileRow>
            <MinTileCol>4078641</MinTileCol>
            <MaxTileCol>4082402</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>82</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>164</MinTileRow>
            <MaxTileRow>164</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>328</MinTileRow>
            <MaxTileRow>329</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>657</MinTileRow>
            <MaxTileRow>658</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1314</MinTileRow>
            <MaxTileRow>1316</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2628</MinTileRow>
            <MaxTileRow>2633</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>5256</MinTileRow>
            <MaxTileRow>5267</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>10512</MinTileRow>
            <MaxTileRow>10534</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>21025</MinTileRow>
            <MaxTileRow>21068</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>42051</MinTileRow>
            <MaxTileRow>42137</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>84103</MinTileRow>
            <MaxTileRow>84275</MaxTileRow>
            <MinTileCol>127457</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>168206</MinTileRow>
            <MaxTileRow>168550</MaxTileRow>
            <MinTileCol>254915</MinTileCol>
            <MaxTileCol>255150</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>336412</MinTileRow>
            <MaxTileRow>337100</MaxTileRow>
            <MinTileCol>509830</MinTileCol>
            <MaxTileCol>510300</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>672824</MinTileRow>
            <MaxTileRow>674201</MaxTileRow>
            <MinTileCol>1019660</MinTileCol>
            <MaxTileCol>1020600</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1345649</MinTileRow>
            <MaxTileRow>1348402</MaxTileRow>
            <MinTileCol>2039320</MinTileCol>
            <MaxTileCol>2041201</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2691299</MinTileRow>
            <MaxTileRow>2696804</MaxTileRow>
            <MinTileCol>4078641</MinTileCol>
            <MaxTileCol>4082402</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5382598</MinTileRow>
            <MaxTileRow>5393609</MaxTileRow>
            <MinTileCol>8157282</MinTileCol>
            <MaxTileCol>8164804</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10765197</MinTileRow>
            <MaxTileRow>10787218</MaxTileRow>
            <MinTileCol>16314565</MinTileCol>
            <MaxTileCol>16329609</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>21530394</MinTileRow>
            <MaxTileRow>21574436</MaxTileRow>
            <MinTileCol>32629131</MinTileCol>
            <MaxTileCol>32659218</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>43060788</MinTileRow>
            <MaxTileRow>43148872</MaxTileRow>
            <MinTileCol>65258263</MinTileCol>
            <MaxTileCol>65318436</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>86121577</MinTileRow>
            <MaxTileRow>86297745</MaxTileRow>
            <MinTileCol>130516527</MinTileCol>
            <MaxTileCol>130636872</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>172243155</MinTileRow>
            <MaxTileRow>172595491</MaxTileRow>
            <MinTileCol>261033055</MinTileCol>
            <MaxTileCol>261273745</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>344486311</MinTileRow>
            <MaxTileRow>345190982</MaxTileRow>
            <MinTileCol>522066110</MinTileCol>
            <MaxTileCol>522547491</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>688972623</MinTileRow>
            <MaxTileRow>690381964</MaxTileRow>
            <MinTileCol>1044132220</MinTileCol>
            <MaxTileCol>1045094982</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_ami_polygon/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_ami_polygon/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_ami_polygon/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_ami_polygon/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_ami_polygon/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_ami_polygon/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_ami_polygon/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_ami_polygon/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_ami_polygon/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_ami_polygon/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_ami_polygon/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>ATA SVL GNS 1:250K geological units</ows:Title>
      <ows:Abstract>The 1:250 000 geological map of South Victoria Land encompasses the area of the southern Ross Sea, including Ross Island, the Dry Valleys and the Royal Society Range. The map is at a pre-press publication stage and this layer shows the lithostratigraphic geological map unit polygons coloured according to age and stratigraphic affiliation.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>157.057723999023 -78.8936386108398</ows:LowerCorner>
        <ows:UpperCorner>170.013198852539 -76.3926162719727</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:ATA_SVL_GNS_250K_geological_units</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/"/>
      <ows:Metadata xlink:type="simple" xlink:href="https://www.gns.cri.nz/Home/Our-Science/Energy-Resources/Geological-Mapping/Geological-Maps/1-250-000-Geological-Map-of-South-Victoria-Land"/>
      <Style isDefault="true">
        <ows:Identifier>SVL_2014_GeolUnits</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=269&amp;height=2180&amp;layer=gns%3AATA_SVL_GNS_250K_geological_units" width="269" height="2180"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>14</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>29</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>30</MaxTileRow>
            <MinTileCol>59</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>59</MinTileRow>
            <MaxTileRow>60</MaxTileRow>
            <MinTileCol>119</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>118</MinTileRow>
            <MaxTileRow>120</MaxTileRow>
            <MinTileCol>239</MinTileCol>
            <MaxTileCol>248</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>236</MinTileRow>
            <MaxTileRow>240</MaxTileRow>
            <MinTileCol>479</MinTileCol>
            <MaxTileCol>497</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>473</MinTileRow>
            <MaxTileRow>480</MaxTileRow>
            <MinTileCol>958</MinTileCol>
            <MaxTileCol>995</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>946</MinTileRow>
            <MaxTileRow>960</MaxTileRow>
            <MinTileCol>1917</MinTileCol>
            <MaxTileCol>1991</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1893</MinTileRow>
            <MaxTileRow>1921</MaxTileRow>
            <MinTileCol>3834</MinTileCol>
            <MaxTileCol>3982</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3786</MinTileRow>
            <MaxTileRow>3843</MaxTileRow>
            <MinTileCol>7669</MinTileCol>
            <MaxTileCol>7964</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>7572</MinTileRow>
            <MaxTileRow>7686</MaxTileRow>
            <MinTileCol>15339</MinTileCol>
            <MaxTileCol>15929</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>15145</MinTileRow>
            <MaxTileRow>15373</MaxTileRow>
            <MinTileCol>30679</MinTileCol>
            <MaxTileCol>31858</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>30290</MinTileRow>
            <MaxTileRow>30746</MaxTileRow>
            <MinTileCol>61359</MinTileCol>
            <MaxTileCol>63717</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>60581</MinTileRow>
            <MaxTileRow>61492</MaxTileRow>
            <MinTileCol>122718</MinTileCol>
            <MaxTileCol>127435</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>121163</MinTileRow>
            <MaxTileRow>122984</MaxTileRow>
            <MinTileCol>245437</MinTileCol>
            <MaxTileCol>254871</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>242326</MinTileRow>
            <MaxTileRow>245969</MaxTileRow>
            <MinTileCol>490875</MinTileCol>
            <MaxTileCol>509743</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>484653</MinTileRow>
            <MaxTileRow>491938</MaxTileRow>
            <MinTileCol>981751</MinTileCol>
            <MaxTileCol>1019487</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>969307</MinTileRow>
            <MaxTileRow>983876</MaxTileRow>
            <MinTileCol>1963503</MinTileCol>
            <MaxTileCol>2038974</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1938614</MinTileRow>
            <MaxTileRow>1967753</MaxTileRow>
            <MinTileCol>3927007</MinTileCol>
            <MaxTileCol>4077949</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>14</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>26</MinTileRow>
            <MaxTileRow>27</MaxTileRow>
            <MinTileCol>29</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>53</MinTileRow>
            <MaxTileRow>55</MaxTileRow>
            <MinTileCol>59</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>107</MinTileRow>
            <MaxTileRow>111</MaxTileRow>
            <MinTileCol>119</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>214</MinTileRow>
            <MaxTileRow>222</MaxTileRow>
            <MinTileCol>239</MinTileCol>
            <MaxTileCol>248</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>429</MinTileRow>
            <MaxTileRow>445</MaxTileRow>
            <MinTileCol>479</MinTileCol>
            <MaxTileCol>497</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>858</MinTileRow>
            <MaxTileRow>891</MaxTileRow>
            <MinTileCol>958</MinTileCol>
            <MaxTileCol>995</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1716</MinTileRow>
            <MaxTileRow>1783</MaxTileRow>
            <MinTileCol>1917</MinTileCol>
            <MaxTileCol>1991</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>3433</MinTileRow>
            <MaxTileRow>3567</MaxTileRow>
            <MinTileCol>3834</MinTileCol>
            <MaxTileCol>3982</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>6867</MinTileRow>
            <MaxTileRow>7134</MaxTileRow>
            <MinTileCol>7669</MinTileCol>
            <MaxTileCol>7964</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>13735</MinTileRow>
            <MaxTileRow>14269</MaxTileRow>
            <MinTileCol>15339</MinTileCol>
            <MaxTileCol>15929</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>27471</MinTileRow>
            <MaxTileRow>28539</MaxTileRow>
            <MinTileCol>30679</MinTileCol>
            <MaxTileCol>31858</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>54943</MinTileRow>
            <MaxTileRow>57078</MaxTileRow>
            <MinTileCol>61359</MinTileCol>
            <MaxTileCol>63717</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>109886</MinTileRow>
            <MaxTileRow>114156</MaxTileRow>
            <MinTileCol>122718</MinTileCol>
            <MaxTileCol>127435</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>219773</MinTileRow>
            <MaxTileRow>228313</MaxTileRow>
            <MinTileCol>245437</MinTileCol>
            <MaxTileCol>254871</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>439547</MinTileRow>
            <MaxTileRow>456626</MaxTileRow>
            <MinTileCol>490875</MinTileCol>
            <MaxTileCol>509743</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>879095</MinTileRow>
            <MaxTileRow>913252</MaxTileRow>
            <MinTileCol>981751</MinTileCol>
            <MaxTileCol>1019487</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1758190</MinTileRow>
            <MaxTileRow>1826504</MaxTileRow>
            <MinTileCol>1963503</MinTileCol>
            <MaxTileCol>2038974</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>3516381</MinTileRow>
            <MaxTileRow>3653009</MaxTileRow>
            <MinTileCol>3927007</MinTileCol>
            <MaxTileCol>4077949</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>7032763</MinTileRow>
            <MaxTileRow>7306018</MaxTileRow>
            <MinTileCol>7854014</MinTileCol>
            <MaxTileCol>8155898</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>14065526</MinTileRow>
            <MaxTileRow>14612037</MaxTileRow>
            <MinTileCol>15708028</MinTileCol>
            <MaxTileCol>16311797</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>28131052</MinTileRow>
            <MaxTileRow>29224074</MaxTileRow>
            <MinTileCol>31416056</MinTileCol>
            <MaxTileCol>32623594</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>56262104</MinTileRow>
            <MaxTileRow>58448148</MaxTileRow>
            <MinTileCol>62832113</MinTileCol>
            <MaxTileCol>65247189</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>112524209</MinTileRow>
            <MaxTileRow>116896297</MaxTileRow>
            <MinTileCol>125664227</MinTileCol>
            <MaxTileCol>130494378</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>225048419</MinTileRow>
            <MaxTileRow>233792595</MaxTileRow>
            <MinTileCol>251328455</MinTileCol>
            <MaxTileCol>260988757</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>450096839</MinTileRow>
            <MaxTileRow>467585190</MaxTileRow>
            <MinTileCol>502656910</MinTileCol>
            <MaxTileCol>521977514</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>900193679</MinTileRow>
            <MaxTileRow>935170381</MaxTileRow>
            <MinTileCol>1005313820</MinTileCol>
            <MaxTileCol>1043955029</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_geological_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_geological_units/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_geological_units/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL GNS 1:250K geological units (scale 500K-2M)</ows:Title>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>166.19043258697937 -47.48899008268631</ows:LowerCorner>
        <ows:UpperCorner>179.57393298922355 -33.939925546039554</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:NZL_GNS_250K_geological_units_scale500k_2m</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_geological_units.html"/>
      <Style isDefault="true">
        <ows:Identifier>qmap_geological_unit_500k_2m</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=116&amp;height=36960&amp;layer=gns%3ANZL_GNS_250K_geological_units_scale500k_2m" width="116" height="36960" minScaleDenominator="500000.0" maxScaleDenominator="2000000.0"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>176</MinTileRow>
            <MaxTileRow>195</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>352</MinTileRow>
            <MaxTileRow>391</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1022</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>705</MinTileRow>
            <MaxTileRow>782</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2045</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1410</MinTileRow>
            <MaxTileRow>1564</MaxTileRow>
            <MinTileCol>3938</MinTileCol>
            <MaxTileCol>4091</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2820</MinTileRow>
            <MaxTileRow>3128</MaxTileRow>
            <MinTileCol>7877</MinTileCol>
            <MaxTileCol>8182</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5640</MinTileRow>
            <MaxTileRow>6257</MaxTileRow>
            <MinTileCol>15755</MinTileCol>
            <MaxTileCol>16364</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11281</MinTileRow>
            <MaxTileRow>12514</MaxTileRow>
            <MinTileCol>31511</MinTileCol>
            <MaxTileCol>32729</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>22562</MinTileRow>
            <MaxTileRow>25029</MaxTileRow>
            <MinTileCol>63022</MinTileCol>
            <MaxTileCol>65458</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>45125</MinTileRow>
            <MaxTileRow>50058</MaxTileRow>
            <MinTileCol>126044</MinTileCol>
            <MaxTileCol>130916</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>90250</MinTileRow>
            <MaxTileRow>100116</MaxTileRow>
            <MinTileCol>252088</MinTileCol>
            <MaxTileCol>261833</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>180500</MinTileRow>
            <MaxTileRow>200232</MaxTileRow>
            <MinTileCol>504176</MinTileCol>
            <MaxTileCol>523667</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>361001</MinTileRow>
            <MaxTileRow>400465</MaxTileRow>
            <MinTileCol>1008352</MinTileCol>
            <MaxTileCol>1047334</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>722002</MinTileRow>
            <MaxTileRow>800931</MaxTileRow>
            <MinTileCol>2016705</MinTileCol>
            <MaxTileCol>2094669</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1444004</MinTileRow>
            <MaxTileRow>1601862</MaxTileRow>
            <MinTileCol>4033410</MinTileCol>
            <MaxTileCol>4189339</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>83</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>153</MinTileRow>
            <MaxTileRow>166</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>307</MinTileRow>
            <MaxTileRow>332</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>614</MinTileRow>
            <MaxTileRow>665</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1022</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1229</MinTileRow>
            <MaxTileRow>1331</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2045</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2458</MinTileRow>
            <MaxTileRow>2663</MaxTileRow>
            <MinTileCol>3938</MinTileCol>
            <MaxTileCol>4091</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>4917</MinTileRow>
            <MaxTileRow>5327</MaxTileRow>
            <MinTileCol>7877</MinTileCol>
            <MaxTileCol>8182</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>9835</MinTileRow>
            <MaxTileRow>10654</MaxTileRow>
            <MinTileCol>15755</MinTileCol>
            <MaxTileCol>16364</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>19671</MinTileRow>
            <MaxTileRow>21308</MaxTileRow>
            <MinTileCol>31511</MinTileCol>
            <MaxTileCol>32729</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>39343</MinTileRow>
            <MaxTileRow>42616</MaxTileRow>
            <MinTileCol>63022</MinTileCol>
            <MaxTileCol>65458</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>78686</MinTileRow>
            <MaxTileRow>85232</MaxTileRow>
            <MinTileCol>126044</MinTileCol>
            <MaxTileCol>130916</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>157372</MinTileRow>
            <MaxTileRow>170465</MaxTileRow>
            <MinTileCol>252088</MinTileCol>
            <MaxTileCol>261833</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>314745</MinTileRow>
            <MaxTileRow>340931</MaxTileRow>
            <MinTileCol>504176</MinTileCol>
            <MaxTileCol>523667</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>629491</MinTileRow>
            <MaxTileRow>681862</MaxTileRow>
            <MinTileCol>1008352</MinTileCol>
            <MaxTileCol>1047334</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1258983</MinTileRow>
            <MaxTileRow>1363724</MaxTileRow>
            <MinTileCol>2016705</MinTileCol>
            <MaxTileCol>2094669</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2517967</MinTileRow>
            <MaxTileRow>2727449</MaxTileRow>
            <MinTileCol>4033410</MinTileCol>
            <MaxTileCol>4189339</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5035935</MinTileRow>
            <MaxTileRow>5454898</MaxTileRow>
            <MinTileCol>8066821</MinTileCol>
            <MaxTileCol>8378679</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10071871</MinTileRow>
            <MaxTileRow>10909797</MaxTileRow>
            <MinTileCol>16133643</MinTileCol>
            <MaxTileCol>16757359</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20143742</MinTileRow>
            <MaxTileRow>21819595</MaxTileRow>
            <MinTileCol>32267287</MinTileCol>
            <MaxTileCol>33514719</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>40287484</MinTileRow>
            <MaxTileRow>43639191</MaxTileRow>
            <MinTileCol>64534574</MinTileCol>
            <MaxTileCol>67029439</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>80574968</MinTileRow>
            <MaxTileRow>87278382</MaxTileRow>
            <MinTileCol>129069148</MinTileCol>
            <MaxTileCol>134058878</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>161149937</MinTileRow>
            <MaxTileRow>174556765</MaxTileRow>
            <MinTileCol>258138296</MinTileCol>
            <MaxTileCol>268117757</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>322299874</MinTileRow>
            <MaxTileRow>349113531</MaxTileRow>
            <MinTileCol>516276592</MinTileCol>
            <MaxTileCol>536235514</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>644599748</MinTileRow>
            <MaxTileRow>698227063</MaxTileRow>
            <MinTileCol>1032553184</MinTileCol>
            <MaxTileCol>1072471029</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale500k_2m/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale500k_2m/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale500k_2m/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale500k_2m/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale500k_2m/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale500k_2m/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale500k_2m/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale500k_2m/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale500k_2m/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale500k_2m/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale500k_2m/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>ATA SVL GNS 1:250K landslides lines</ows:Title>
      <ows:Abstract>The 1:250 000 geological map of South Victoria Land encompasses the area of the southern Ross Sea, including Ross Island, the Dry Valleys and the Royal Society Range. The map is at a pre-press publication stage and this layer shows the landslide scarp lines.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>165.291374882553 -78.1335855085546</ows:LowerCorner>
        <ows:UpperCorner>165.357560339854 -78.1098855435621</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:ATA_SVL_GNS_250K_landslides_lines</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/"/>
      <ows:Metadata xlink:type="simple" xlink:href="https://www.gns.cri.nz/Home/Our-Science/Energy-Resources/Geological-Mapping/Geological-Maps/1-250-000-Geological-Map-of-South-Victoria-Land"/>
      <Style isDefault="true">
        <ows:Identifier>SVL_Landslides_lines_2014</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=gns%3AATA_SVL_GNS_250K_landslides_lines" 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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>14</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>30</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>29</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>61</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>59</MinTileRow>
            <MaxTileRow>59</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>122</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>119</MinTileRow>
            <MaxTileRow>119</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>245</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>239</MinTileRow>
            <MaxTileRow>239</MaxTileRow>
            <MinTileCol>491</MinTileCol>
            <MaxTileCol>491</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>478</MinTileRow>
            <MaxTileRow>478</MaxTileRow>
            <MinTileCol>982</MinTileCol>
            <MaxTileCol>982</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>956</MinTileRow>
            <MaxTileRow>956</MaxTileRow>
            <MinTileCol>1964</MinTileCol>
            <MaxTileCol>1964</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1912</MinTileRow>
            <MaxTileRow>1912</MaxTileRow>
            <MinTileCol>3928</MinTileCol>
            <MaxTileCol>3929</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3825</MinTileRow>
            <MaxTileRow>3825</MaxTileRow>
            <MinTileCol>7857</MinTileCol>
            <MaxTileCol>7858</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>7650</MinTileRow>
            <MaxTileRow>7651</MaxTileRow>
            <MinTileCol>15714</MinTileCol>
            <MaxTileCol>15717</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>15301</MinTileRow>
            <MaxTileRow>15303</MaxTileRow>
            <MinTileCol>31429</MinTileCol>
            <MaxTileCol>31435</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>30603</MinTileRow>
            <MaxTileRow>30607</MaxTileRow>
            <MinTileCol>62858</MinTileCol>
            <MaxTileCol>62870</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>61206</MinTileRow>
            <MaxTileRow>61215</MaxTileRow>
            <MinTileCol>125716</MinTileCol>
            <MaxTileCol>125740</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>122413</MinTileRow>
            <MaxTileRow>122431</MaxTileRow>
            <MinTileCol>251433</MinTileCol>
            <MaxTileCol>251481</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>244827</MinTileRow>
            <MaxTileRow>244862</MaxTileRow>
            <MinTileCol>502867</MinTileCol>
            <MaxTileCol>502963</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>489655</MinTileRow>
            <MaxTileRow>489724</MaxTileRow>
            <MinTileCol>1005734</MinTileCol>
            <MaxTileCol>1005926</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>979311</MinTileRow>
            <MaxTileRow>979449</MaxTileRow>
            <MinTileCol>2011468</MinTileCol>
            <MaxTileCol>2011853</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1958622</MinTileRow>
            <MaxTileRow>1958898</MaxTileRow>
            <MinTileCol>4022936</MinTileCol>
            <MaxTileCol>4023707</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>27</MinTileRow>
            <MaxTileRow>27</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>30</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>55</MinTileRow>
            <MaxTileRow>55</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>61</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>110</MinTileRow>
            <MaxTileRow>110</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>122</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>220</MinTileRow>
            <MaxTileRow>220</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>245</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>440</MinTileRow>
            <MaxTileRow>440</MaxTileRow>
            <MinTileCol>491</MinTileCol>
            <MaxTileCol>491</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>880</MinTileRow>
            <MaxTileRow>880</MaxTileRow>
            <MinTileCol>982</MinTileCol>
            <MaxTileCol>982</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1761</MinTileRow>
            <MaxTileRow>1761</MaxTileRow>
            <MinTileCol>1964</MinTileCol>
            <MaxTileCol>1964</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>3522</MinTileRow>
            <MaxTileRow>3523</MaxTileRow>
            <MinTileCol>3928</MinTileCol>
            <MaxTileCol>3929</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>7045</MinTileRow>
            <MaxTileRow>7047</MaxTileRow>
            <MinTileCol>7857</MinTileCol>
            <MaxTileCol>7858</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>14090</MinTileRow>
            <MaxTileRow>14095</MaxTileRow>
            <MinTileCol>15714</MinTileCol>
            <MaxTileCol>15717</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>28181</MinTileRow>
            <MaxTileRow>28191</MaxTileRow>
            <MinTileCol>31429</MinTileCol>
            <MaxTileCol>31435</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>56362</MinTileRow>
            <MaxTileRow>56383</MaxTileRow>
            <MinTileCol>62858</MinTileCol>
            <MaxTileCol>62870</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>112724</MinTileRow>
            <MaxTileRow>112766</MaxTileRow>
            <MinTileCol>125716</MinTileCol>
            <MaxTileCol>125740</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>225448</MinTileRow>
            <MaxTileRow>225532</MaxTileRow>
            <MinTileCol>251433</MinTileCol>
            <MaxTileCol>251481</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>450897</MinTileRow>
            <MaxTileRow>451065</MaxTileRow>
            <MinTileCol>502867</MinTileCol>
            <MaxTileCol>502963</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>901795</MinTileRow>
            <MaxTileRow>902131</MaxTileRow>
            <MinTileCol>1005734</MinTileCol>
            <MaxTileCol>1005926</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1803591</MinTileRow>
            <MaxTileRow>1804262</MaxTileRow>
            <MinTileCol>2011468</MinTileCol>
            <MaxTileCol>2011853</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>3607183</MinTileRow>
            <MaxTileRow>3608524</MaxTileRow>
            <MinTileCol>4022936</MinTileCol>
            <MaxTileCol>4023707</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>7214366</MinTileRow>
            <MaxTileRow>7217049</MaxTileRow>
            <MinTileCol>8045872</MinTileCol>
            <MaxTileCol>8047414</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>14428732</MinTileRow>
            <MaxTileRow>14434098</MaxTileRow>
            <MinTileCol>16091744</MinTileCol>
            <MaxTileCol>16094828</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>28857464</MinTileRow>
            <MaxTileRow>28868196</MaxTileRow>
            <MinTileCol>32183488</MinTileCol>
            <MaxTileCol>32189657</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>57714929</MinTileRow>
            <MaxTileRow>57736393</MaxTileRow>
            <MinTileCol>64366977</MinTileCol>
            <MaxTileCol>64379315</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>115429858</MinTileRow>
            <MaxTileRow>115472786</MaxTileRow>
            <MinTileCol>128733955</MinTileCol>
            <MaxTileCol>128758630</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>230859716</MinTileRow>
            <MaxTileRow>230945572</MaxTileRow>
            <MinTileCol>257467910</MinTileCol>
            <MaxTileCol>257517261</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>461719433</MinTileRow>
            <MaxTileRow>461891144</MaxTileRow>
            <MinTileCol>514935820</MinTileCol>
            <MaxTileCol>515034523</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>923438866</MinTileRow>
            <MaxTileRow>923782289</MaxTileRow>
            <MinTileCol>1029871640</MinTileCol>
            <MaxTileCol>1030069046</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_landslides_lines/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_landslides_lines/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_landslides_lines/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_landslides_lines/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_landslides_lines/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_landslides_lines/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_landslides_lines/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_landslides_lines/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_landslides_lines/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_landslides_lines/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_landslides_lines/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL GNS 1:250K textural zones</ows:Title>
      <ows:Abstract>This dataset is the textural metamorphic data for New Zealand. The dataset is a product of the QMAP Geological Map of New Zealand Project and was produced by GNS Science. It represents the most current mapping of textural metamorphic polygons for New Zealand in a single dataset at a scale of 1:250 000. The dataset is stored in an ESRI vector geodatabase and exported to Geoserver. The dataset comprises polygons with each polygon having attributes describing the textural zone (after Turnbull, I.M.; Mortimer, N.; Craw, D. 2001 Textural zones in the Haast Schist - a reappraisal. New Zealand journal of geology and geophysics 44-1: 171-183) and age.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>168.00715227357352 -46.240352023939174</ows:LowerCorner>
        <ows:UpperCorner>176.3697042391215 -38.94340521052087</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:NZL_GNS_250K_textural_zones</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_textural_zones.html"/>
      <Style isDefault="true">
        <ows:Identifier>QMAP_2012_TextMeta_P</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=74&amp;height=140&amp;layer=gns%3ANZL_GNS_250K_textural_zones" width="74" height="140" minScaleDenominator="1.0" maxScaleDenominator="1.0E8"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>45</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>91</MinTileRow>
            <MaxTileRow>96</MaxTileRow>
            <MinTileCol>247</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>183</MinTileRow>
            <MaxTileRow>193</MaxTileRow>
            <MinTileCol>494</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>366</MinTileRow>
            <MaxTileRow>387</MaxTileRow>
            <MinTileCol>989</MinTileCol>
            <MaxTileCol>1013</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>733</MinTileRow>
            <MaxTileRow>775</MaxTileRow>
            <MinTileCol>1979</MinTileCol>
            <MaxTileCol>2027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1467</MinTileRow>
            <MaxTileRow>1550</MaxTileRow>
            <MinTileCol>3959</MinTileCol>
            <MaxTileCol>4054</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2934</MinTileRow>
            <MaxTileRow>3100</MaxTileRow>
            <MinTileCol>7919</MinTileCol>
            <MaxTileCol>8109</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5868</MinTileRow>
            <MaxTileRow>6200</MaxTileRow>
            <MinTileCol>15838</MinTileCol>
            <MaxTileCol>16218</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11736</MinTileRow>
            <MaxTileRow>12400</MaxTileRow>
            <MinTileCol>31676</MinTileCol>
            <MaxTileCol>32437</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>23473</MinTileRow>
            <MaxTileRow>24801</MaxTileRow>
            <MinTileCol>63352</MinTileCol>
            <MaxTileCol>64875</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>46946</MinTileRow>
            <MaxTileRow>49603</MaxTileRow>
            <MinTileCol>126705</MinTileCol>
            <MaxTileCol>129750</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>93893</MinTileRow>
            <MaxTileRow>99207</MaxTileRow>
            <MinTileCol>253411</MinTileCol>
            <MaxTileCol>259500</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>187787</MinTileRow>
            <MaxTileRow>198414</MaxTileRow>
            <MinTileCol>506822</MinTileCol>
            <MaxTileCol>519000</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>375574</MinTileRow>
            <MaxTileRow>396828</MaxTileRow>
            <MinTileCol>1013644</MinTileCol>
            <MaxTileCol>1038001</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>751149</MinTileRow>
            <MaxTileRow>793657</MaxTileRow>
            <MinTileCol>2027288</MinTileCol>
            <MaxTileCol>2076003</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1502299</MinTileRow>
            <MaxTileRow>1587315</MaxTileRow>
            <MinTileCol>4054577</MinTileCol>
            <MaxTileCol>4152007</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>39</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>79</MinTileRow>
            <MaxTileRow>82</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>126</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>158</MinTileRow>
            <MaxTileRow>165</MaxTileRow>
            <MinTileCol>247</MinTileCol>
            <MaxTileCol>253</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>316</MinTileRow>
            <MaxTileRow>330</MaxTileRow>
            <MinTileCol>494</MinTileCol>
            <MaxTileCol>506</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>632</MinTileRow>
            <MaxTileRow>660</MaxTileRow>
            <MinTileCol>989</MinTileCol>
            <MaxTileCol>1013</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1264</MinTileRow>
            <MaxTileRow>1321</MaxTileRow>
            <MinTileCol>1979</MinTileCol>
            <MaxTileCol>2027</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2529</MinTileRow>
            <MaxTileRow>2642</MaxTileRow>
            <MinTileCol>3959</MinTileCol>
            <MaxTileCol>4054</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>5059</MinTileRow>
            <MaxTileRow>5285</MaxTileRow>
            <MinTileCol>7919</MinTileCol>
            <MaxTileCol>8109</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>10119</MinTileRow>
            <MaxTileRow>10570</MaxTileRow>
            <MinTileCol>15838</MinTileCol>
            <MaxTileCol>16218</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>20238</MinTileRow>
            <MaxTileRow>21141</MaxTileRow>
            <MinTileCol>31676</MinTileCol>
            <MaxTileCol>32437</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>40476</MinTileRow>
            <MaxTileRow>42283</MaxTileRow>
            <MinTileCol>63352</MinTileCol>
            <MaxTileCol>64875</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>80952</MinTileRow>
            <MaxTileRow>84567</MaxTileRow>
            <MinTileCol>126705</MinTileCol>
            <MaxTileCol>129750</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>161905</MinTileRow>
            <MaxTileRow>169135</MaxTileRow>
            <MinTileCol>253411</MinTileCol>
            <MaxTileCol>259500</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>323810</MinTileRow>
            <MaxTileRow>338271</MaxTileRow>
            <MinTileCol>506822</MinTileCol>
            <MaxTileCol>519000</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>647620</MinTileRow>
            <MaxTileRow>676542</MaxTileRow>
            <MinTileCol>1013644</MinTileCol>
            <MaxTileCol>1038001</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1295240</MinTileRow>
            <MaxTileRow>1353085</MaxTileRow>
            <MinTileCol>2027288</MinTileCol>
            <MaxTileCol>2076003</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2590480</MinTileRow>
            <MaxTileRow>2706170</MaxTileRow>
            <MinTileCol>4054577</MinTileCol>
            <MaxTileCol>4152007</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5180960</MinTileRow>
            <MaxTileRow>5412341</MaxTileRow>
            <MinTileCol>8109154</MinTileCol>
            <MaxTileCol>8304015</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10361920</MinTileRow>
            <MaxTileRow>10824683</MaxTileRow>
            <MinTileCol>16218308</MinTileCol>
            <MaxTileCol>16608031</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20723841</MinTileRow>
            <MaxTileRow>21649367</MaxTileRow>
            <MinTileCol>32436617</MinTileCol>
            <MaxTileCol>33216063</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>41447683</MinTileRow>
            <MaxTileRow>43298735</MaxTileRow>
            <MinTileCol>64873235</MinTileCol>
            <MaxTileCol>66432127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>82895367</MinTileRow>
            <MaxTileRow>86597470</MaxTileRow>
            <MinTileCol>129746470</MinTileCol>
            <MaxTileCol>132864255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>165790735</MinTileRow>
            <MaxTileRow>173194940</MaxTileRow>
            <MinTileCol>259492940</MinTileCol>
            <MaxTileCol>265728511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>331581470</MinTileRow>
            <MaxTileRow>346389881</MaxTileRow>
            <MinTileCol>518985881</MinTileCol>
            <MaxTileCol>531457022</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>663162941</MinTileRow>
            <MaxTileRow>692779762</MaxTileRow>
            <MinTileCol>1037971762</MinTileCol>
            <MaxTileCol>1062914045</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_textural_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_textural_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_textural_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_textural_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_textural_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_textural_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_textural_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_textural_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_textural_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_textural_zones/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_textural_zones/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL GNS 1:250K faults plotrank</ows:Title>
      <ows:Abstract>This view applys a filter to the faults data for New Zealand. The original dataset is a product of the QMAP Geological Map of New Zealand Project and was produced by GNS Science. It represents the most current mapping of faults for New Zealand in a single dataset at a scale of 1:250 000. The dataset is stored in an ESRI vector geodatabase and exported to Geoserver. The view displays at scales between 1:1 000 000 and 1:1. The original dataset comprises arcs with each arc having attributes describing the type of fault, its name, age and activity, and the sense of movement and cumulative slip. This view has been derived by filtering NZL_GNS_250K_faults to enable it to be used, in conjunction with other layers, to create a 1:250 000 geological map. Faults with a plot rank other than 1:250 000 have been suppressed in this view.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>166.2656512576577 -47.412780733257115</ows:LowerCorner>
        <ows:UpperCorner>179.43491110367967 -34.027327976986314</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:NZL_GNS_250K_faults_plotrank</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_faults_plotrank.html"/>
      <Style isDefault="true">
        <ows:Identifier>qmap_faults_clean</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=82&amp;height=480&amp;layer=gns%3ANZL_GNS_250K_faults_plotrank" width="82" height="480" minScaleDenominator="1.0" maxScaleDenominator="1000000.0"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>176</MinTileRow>
            <MaxTileRow>195</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>352</MinTileRow>
            <MaxTileRow>390</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1022</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>705</MinTileRow>
            <MaxTileRow>781</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2044</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1411</MinTileRow>
            <MaxTileRow>1563</MaxTileRow>
            <MinTileCol>3939</MinTileCol>
            <MaxTileCol>4089</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2822</MinTileRow>
            <MaxTileRow>3126</MaxTileRow>
            <MinTileCol>7879</MinTileCol>
            <MaxTileCol>8179</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5644</MinTileRow>
            <MaxTileRow>6253</MaxTileRow>
            <MinTileCol>15758</MinTileCol>
            <MaxTileCol>16358</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11289</MinTileRow>
            <MaxTileRow>12507</MaxTileRow>
            <MinTileCol>31517</MinTileCol>
            <MaxTileCol>32716</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>22578</MinTileRow>
            <MaxTileRow>25015</MaxTileRow>
            <MinTileCol>63035</MinTileCol>
            <MaxTileCol>65433</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>45156</MinTileRow>
            <MaxTileRow>50030</MaxTileRow>
            <MinTileCol>126071</MinTileCol>
            <MaxTileCol>130866</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>90313</MinTileRow>
            <MaxTileRow>100060</MaxTileRow>
            <MinTileCol>252142</MinTileCol>
            <MaxTileCol>261732</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>180627</MinTileRow>
            <MaxTileRow>200121</MaxTileRow>
            <MinTileCol>504285</MinTileCol>
            <MaxTileCol>523465</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>361255</MinTileRow>
            <MaxTileRow>400243</MaxTileRow>
            <MinTileCol>1008571</MinTileCol>
            <MaxTileCol>1046930</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>722511</MinTileRow>
            <MaxTileRow>800487</MaxTileRow>
            <MinTileCol>2017143</MinTileCol>
            <MaxTileCol>2093860</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1445023</MinTileRow>
            <MaxTileRow>1600974</MaxTileRow>
            <MinTileCol>4034287</MinTileCol>
            <MaxTileCol>4187720</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>83</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>153</MinTileRow>
            <MaxTileRow>166</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>307</MinTileRow>
            <MaxTileRow>332</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>615</MinTileRow>
            <MaxTileRow>665</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1022</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1230</MinTileRow>
            <MaxTileRow>1331</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2044</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2460</MinTileRow>
            <MaxTileRow>2662</MaxTileRow>
            <MinTileCol>3939</MinTileCol>
            <MaxTileCol>4089</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>4920</MinTileRow>
            <MaxTileRow>5324</MaxTileRow>
            <MinTileCol>7879</MinTileCol>
            <MaxTileCol>8179</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>9840</MinTileRow>
            <MaxTileRow>10648</MaxTileRow>
            <MinTileCol>15758</MinTileCol>
            <MaxTileCol>16358</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>19681</MinTileRow>
            <MaxTileRow>21297</MaxTileRow>
            <MinTileCol>31517</MinTileCol>
            <MaxTileCol>32716</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>39362</MinTileRow>
            <MaxTileRow>42595</MaxTileRow>
            <MinTileCol>63035</MinTileCol>
            <MaxTileCol>65433</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>78724</MinTileRow>
            <MaxTileRow>85191</MaxTileRow>
            <MinTileCol>126071</MinTileCol>
            <MaxTileCol>130866</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>157449</MinTileRow>
            <MaxTileRow>170383</MaxTileRow>
            <MinTileCol>252142</MinTileCol>
            <MaxTileCol>261732</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>314899</MinTileRow>
            <MaxTileRow>340767</MaxTileRow>
            <MinTileCol>504285</MinTileCol>
            <MaxTileCol>523465</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>629798</MinTileRow>
            <MaxTileRow>681534</MaxTileRow>
            <MinTileCol>1008571</MinTileCol>
            <MaxTileCol>1046930</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1259597</MinTileRow>
            <MaxTileRow>1363068</MaxTileRow>
            <MinTileCol>2017143</MinTileCol>
            <MaxTileCol>2093860</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2519195</MinTileRow>
            <MaxTileRow>2726136</MaxTileRow>
            <MinTileCol>4034287</MinTileCol>
            <MaxTileCol>4187720</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5038391</MinTileRow>
            <MaxTileRow>5452272</MaxTileRow>
            <MinTileCol>8068574</MinTileCol>
            <MaxTileCol>8375440</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10076783</MinTileRow>
            <MaxTileRow>10904545</MaxTileRow>
            <MinTileCol>16137148</MinTileCol>
            <MaxTileCol>16750880</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20153566</MinTileRow>
            <MaxTileRow>21809091</MaxTileRow>
            <MinTileCol>32274297</MinTileCol>
            <MaxTileCol>33501761</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>40307133</MinTileRow>
            <MaxTileRow>43618182</MaxTileRow>
            <MinTileCol>64548595</MinTileCol>
            <MaxTileCol>67003523</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>80614266</MinTileRow>
            <MaxTileRow>87236365</MaxTileRow>
            <MinTileCol>129097191</MinTileCol>
            <MaxTileCol>134007047</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>161228533</MinTileRow>
            <MaxTileRow>174472731</MaxTileRow>
            <MinTileCol>258194383</MinTileCol>
            <MaxTileCol>268014095</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>322457067</MinTileRow>
            <MaxTileRow>348945463</MaxTileRow>
            <MinTileCol>516388766</MinTileCol>
            <MaxTileCol>536028190</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>644914134</MinTileRow>
            <MaxTileRow>697890926</MaxTileRow>
            <MinTileCol>1032777533</MinTileCol>
            <MaxTileCol>1072056380</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_faults_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_faults_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_faults_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_faults_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_faults_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_faults_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_faults_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_faults_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_faults_plotrank/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_faults_plotrank/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_faults_plotrank/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>ATA SVL GNS 1:250K outcrops</ows:Title>
      <ows:Abstract>The 1:250 000 geological map of South Victoria Land encompasses the area of the southern Ross Sea, including Ross Island, the Dry Valleys and the Royal Society Range. The map is at a pre-press publication stage and this layer shows the outcrops.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>160.663940429688 -78.4380950927734</ows:LowerCorner>
        <ows:UpperCorner>169.322494506836 -77.2478179931641</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:ATA_SVL_GNS_250K_outcrops</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/"/>
      <ows:Metadata xlink:type="simple" xlink:href="https://www.gns.cri.nz/Home/Our-Science/Energy-Resources/Geological-Mapping/Geological-Maps/1-250-000-Geological-Map-of-South-Victoria-Land"/>
      <Style isDefault="true">
        <ows:Identifier>SVL_2014_Outcrop</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=gns%3AATA_SVL_GNS_250K_outcrops" width="20" height="20" maxScaleDenominator="250000.0"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>14</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>29</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>59</MinTileRow>
            <MaxTileRow>59</MaxTileRow>
            <MinTileCol>121</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>118</MinTileRow>
            <MaxTileRow>119</MaxTileRow>
            <MinTileCol>242</MinTileCol>
            <MaxTileCol>248</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>237</MinTileRow>
            <MaxTileRow>239</MaxTileRow>
            <MinTileCol>484</MinTileCol>
            <MaxTileCol>496</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>475</MinTileRow>
            <MaxTileRow>479</MaxTileRow>
            <MinTileCol>968</MinTileCol>
            <MaxTileCol>993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>951</MinTileRow>
            <MaxTileRow>958</MaxTileRow>
            <MinTileCol>1937</MinTileCol>
            <MaxTileCol>1987</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1902</MinTileRow>
            <MaxTileRow>1916</MaxTileRow>
            <MinTileCol>3875</MinTileCol>
            <MaxTileCol>3974</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3805</MinTileRow>
            <MaxTileRow>3832</MaxTileRow>
            <MinTileCol>7751</MinTileCol>
            <MaxTileCol>7949</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>7611</MinTileRow>
            <MaxTileRow>7665</MaxTileRow>
            <MinTileCol>15503</MinTileCol>
            <MaxTileCol>15898</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>15223</MinTileRow>
            <MaxTileRow>15331</MaxTileRow>
            <MinTileCol>31007</MinTileCol>
            <MaxTileCol>31796</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>30446</MinTileRow>
            <MaxTileRow>30663</MaxTileRow>
            <MinTileCol>62015</MinTileCol>
            <MaxTileCol>63592</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>60893</MinTileRow>
            <MaxTileRow>61326</MaxTileRow>
            <MinTileCol>124031</MinTileCol>
            <MaxTileCol>127184</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>121786</MinTileRow>
            <MaxTileRow>122652</MaxTileRow>
            <MinTileCol>248063</MinTileCol>
            <MaxTileCol>254368</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>243572</MinTileRow>
            <MaxTileRow>245305</MaxTileRow>
            <MinTileCol>496127</MinTileCol>
            <MaxTileCol>508737</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>487144</MinTileRow>
            <MaxTileRow>490611</MaxTileRow>
            <MinTileCol>992255</MinTileCol>
            <MaxTileCol>1017475</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>974289</MinTileRow>
            <MaxTileRow>981223</MaxTileRow>
            <MinTileCol>1984511</MinTileCol>
            <MaxTileCol>2034951</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1948578</MinTileRow>
            <MaxTileRow>1962446</MaxTileRow>
            <MinTileCol>3969022</MinTileCol>
            <MaxTileCol>4069902</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>27</MinTileRow>
            <MaxTileRow>27</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>54</MinTileRow>
            <MaxTileRow>55</MaxTileRow>
            <MinTileCol>60</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>108</MinTileRow>
            <MaxTileRow>110</MaxTileRow>
            <MinTileCol>121</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>217</MinTileRow>
            <MaxTileRow>221</MaxTileRow>
            <MinTileCol>242</MinTileCol>
            <MaxTileCol>248</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>434</MinTileRow>
            <MaxTileRow>442</MaxTileRow>
            <MinTileCol>484</MinTileCol>
            <MaxTileCol>496</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>869</MinTileRow>
            <MaxTileRow>885</MaxTileRow>
            <MinTileCol>968</MinTileCol>
            <MaxTileCol>993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1738</MinTileRow>
            <MaxTileRow>1770</MaxTileRow>
            <MinTileCol>1937</MinTileCol>
            <MaxTileCol>1987</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>3476</MinTileRow>
            <MaxTileRow>3541</MaxTileRow>
            <MinTileCol>3875</MinTileCol>
            <MaxTileCol>3974</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>6953</MinTileRow>
            <MaxTileRow>7082</MaxTileRow>
            <MinTileCol>7751</MinTileCol>
            <MaxTileCol>7949</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>13906</MinTileRow>
            <MaxTileRow>14164</MaxTileRow>
            <MinTileCol>15503</MinTileCol>
            <MaxTileCol>15898</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>27813</MinTileRow>
            <MaxTileRow>28328</MaxTileRow>
            <MinTileCol>31007</MinTileCol>
            <MaxTileCol>31796</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>55626</MinTileRow>
            <MaxTileRow>56656</MaxTileRow>
            <MinTileCol>62015</MinTileCol>
            <MaxTileCol>63592</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>111253</MinTileRow>
            <MaxTileRow>113312</MaxTileRow>
            <MinTileCol>124031</MinTileCol>
            <MaxTileCol>127184</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>222506</MinTileRow>
            <MaxTileRow>226624</MaxTileRow>
            <MinTileCol>248063</MinTileCol>
            <MaxTileCol>254368</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>445012</MinTileRow>
            <MaxTileRow>453249</MaxTileRow>
            <MinTileCol>496127</MinTileCol>
            <MaxTileCol>508737</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>890024</MinTileRow>
            <MaxTileRow>906499</MaxTileRow>
            <MinTileCol>992255</MinTileCol>
            <MaxTileCol>1017475</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1780048</MinTileRow>
            <MaxTileRow>1812999</MaxTileRow>
            <MinTileCol>1984511</MinTileCol>
            <MaxTileCol>2034951</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>3560096</MinTileRow>
            <MaxTileRow>3625999</MaxTileRow>
            <MinTileCol>3969022</MinTileCol>
            <MaxTileCol>4069902</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>7120192</MinTileRow>
            <MaxTileRow>7251999</MaxTileRow>
            <MinTileCol>7938045</MinTileCol>
            <MaxTileCol>8139804</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>14240385</MinTileRow>
            <MaxTileRow>14503999</MaxTileRow>
            <MinTileCol>15876090</MinTileCol>
            <MaxTileCol>16279608</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>28480770</MinTileRow>
            <MaxTileRow>29007998</MaxTileRow>
            <MinTileCol>31752180</MinTileCol>
            <MaxTileCol>32559216</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>56961541</MinTileRow>
            <MaxTileRow>58015997</MaxTileRow>
            <MinTileCol>63504361</MinTileCol>
            <MaxTileCol>65118432</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>113923082</MinTileRow>
            <MaxTileRow>116031994</MaxTileRow>
            <MinTileCol>127008722</MinTileCol>
            <MaxTileCol>130236865</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>227846165</MinTileRow>
            <MaxTileRow>232063989</MaxTileRow>
            <MinTileCol>254017444</MinTileCol>
            <MaxTileCol>260473730</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>455692331</MinTileRow>
            <MaxTileRow>464127979</MaxTileRow>
            <MinTileCol>508034889</MinTileCol>
            <MaxTileCol>520947461</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>911384663</MinTileRow>
            <MaxTileRow>928255959</MaxTileRow>
            <MinTileCol>1016069779</MinTileCol>
            <MaxTileCol>1041894923</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_outcrops/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_outcrops/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_outcrops/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_outcrops/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_outcrops/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_outcrops/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_outcrops/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_outcrops/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_outcrops/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_outcrops/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_outcrops/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>ATA SVL GNS 1:250K drillholes</ows:Title>
      <ows:Abstract>The 1:250 000 geological map of South Victoria Land encompasses the area of the southern Ross Sea, including Ross Island, the Dry Valleys and the Royal Society Range. The map is at a pre-press publication stage and this layer shows drillholes.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>157.057723999023 -78.8936386108398</ows:LowerCorner>
        <ows:UpperCorner>169.979843139648 -76.3926162719727</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:ATA_SVL_GNS_250K_drillholes</ows:Identifier>
      <Style isDefault="true">
        <ows:Identifier>SVL_2014_drillholes</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=gns%3AATA_SVL_GNS_250K_drillholes" width="20" height="20" minScaleDenominator="1.0" maxScaleDenominator="250000.0"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>14</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>29</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>30</MaxTileRow>
            <MinTileCol>59</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>59</MinTileRow>
            <MaxTileRow>60</MaxTileRow>
            <MinTileCol>119</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>118</MinTileRow>
            <MaxTileRow>120</MaxTileRow>
            <MinTileCol>239</MinTileCol>
            <MaxTileCol>248</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>236</MinTileRow>
            <MaxTileRow>240</MaxTileRow>
            <MinTileCol>479</MinTileCol>
            <MaxTileCol>497</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>473</MinTileRow>
            <MaxTileRow>480</MaxTileRow>
            <MinTileCol>958</MinTileCol>
            <MaxTileCol>995</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>946</MinTileRow>
            <MaxTileRow>960</MaxTileRow>
            <MinTileCol>1917</MinTileCol>
            <MaxTileCol>1990</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1893</MinTileRow>
            <MaxTileRow>1921</MaxTileRow>
            <MinTileCol>3834</MinTileCol>
            <MaxTileCol>3981</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3786</MinTileRow>
            <MaxTileRow>3843</MaxTileRow>
            <MinTileCol>7669</MinTileCol>
            <MaxTileCol>7963</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>7572</MinTileRow>
            <MaxTileRow>7686</MaxTileRow>
            <MinTileCol>15339</MinTileCol>
            <MaxTileCol>15927</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>15145</MinTileRow>
            <MaxTileRow>15373</MaxTileRow>
            <MinTileCol>30679</MinTileCol>
            <MaxTileCol>31855</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>30290</MinTileRow>
            <MaxTileRow>30746</MaxTileRow>
            <MinTileCol>61359</MinTileCol>
            <MaxTileCol>63711</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>60581</MinTileRow>
            <MaxTileRow>61492</MaxTileRow>
            <MinTileCol>122718</MinTileCol>
            <MaxTileCol>127423</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>121163</MinTileRow>
            <MaxTileRow>122984</MaxTileRow>
            <MinTileCol>245437</MinTileCol>
            <MaxTileCol>254847</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>242326</MinTileRow>
            <MaxTileRow>245969</MaxTileRow>
            <MinTileCol>490875</MinTileCol>
            <MaxTileCol>509695</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>484653</MinTileRow>
            <MaxTileRow>491938</MaxTileRow>
            <MinTileCol>981751</MinTileCol>
            <MaxTileCol>1019390</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>969307</MinTileRow>
            <MaxTileRow>983876</MaxTileRow>
            <MinTileCol>1963503</MinTileCol>
            <MaxTileCol>2038780</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1938614</MinTileRow>
            <MaxTileRow>1967753</MaxTileRow>
            <MinTileCol>3927007</MinTileCol>
            <MaxTileCol>4077560</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>14</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>26</MinTileRow>
            <MaxTileRow>27</MaxTileRow>
            <MinTileCol>29</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>53</MinTileRow>
            <MaxTileRow>55</MaxTileRow>
            <MinTileCol>59</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>107</MinTileRow>
            <MaxTileRow>111</MaxTileRow>
            <MinTileCol>119</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>214</MinTileRow>
            <MaxTileRow>222</MaxTileRow>
            <MinTileCol>239</MinTileCol>
            <MaxTileCol>248</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>429</MinTileRow>
            <MaxTileRow>445</MaxTileRow>
            <MinTileCol>479</MinTileCol>
            <MaxTileCol>497</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>858</MinTileRow>
            <MaxTileRow>891</MaxTileRow>
            <MinTileCol>958</MinTileCol>
            <MaxTileCol>995</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1716</MinTileRow>
            <MaxTileRow>1783</MaxTileRow>
            <MinTileCol>1917</MinTileCol>
            <MaxTileCol>1990</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>3433</MinTileRow>
            <MaxTileRow>3567</MaxTileRow>
            <MinTileCol>3834</MinTileCol>
            <MaxTileCol>3981</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>6867</MinTileRow>
            <MaxTileRow>7134</MaxTileRow>
            <MinTileCol>7669</MinTileCol>
            <MaxTileCol>7963</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>13735</MinTileRow>
            <MaxTileRow>14269</MaxTileRow>
            <MinTileCol>15339</MinTileCol>
            <MaxTileCol>15927</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>27471</MinTileRow>
            <MaxTileRow>28539</MaxTileRow>
            <MinTileCol>30679</MinTileCol>
            <MaxTileCol>31855</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>54943</MinTileRow>
            <MaxTileRow>57078</MaxTileRow>
            <MinTileCol>61359</MinTileCol>
            <MaxTileCol>63711</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>109886</MinTileRow>
            <MaxTileRow>114156</MaxTileRow>
            <MinTileCol>122718</MinTileCol>
            <MaxTileCol>127423</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>219773</MinTileRow>
            <MaxTileRow>228313</MaxTileRow>
            <MinTileCol>245437</MinTileCol>
            <MaxTileCol>254847</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>439547</MinTileRow>
            <MaxTileRow>456626</MaxTileRow>
            <MinTileCol>490875</MinTileCol>
            <MaxTileCol>509695</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>879095</MinTileRow>
            <MaxTileRow>913252</MaxTileRow>
            <MinTileCol>981751</MinTileCol>
            <MaxTileCol>1019390</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1758190</MinTileRow>
            <MaxTileRow>1826504</MaxTileRow>
            <MinTileCol>1963503</MinTileCol>
            <MaxTileCol>2038780</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>3516381</MinTileRow>
            <MaxTileRow>3653009</MaxTileRow>
            <MinTileCol>3927007</MinTileCol>
            <MaxTileCol>4077560</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>7032763</MinTileRow>
            <MaxTileRow>7306018</MaxTileRow>
            <MinTileCol>7854014</MinTileCol>
            <MaxTileCol>8155121</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>14065526</MinTileRow>
            <MaxTileRow>14612037</MaxTileRow>
            <MinTileCol>15708028</MinTileCol>
            <MaxTileCol>16310242</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>28131052</MinTileRow>
            <MaxTileRow>29224074</MaxTileRow>
            <MinTileCol>31416056</MinTileCol>
            <MaxTileCol>32620485</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>56262104</MinTileRow>
            <MaxTileRow>58448148</MaxTileRow>
            <MinTileCol>62832113</MinTileCol>
            <MaxTileCol>65240971</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>112524209</MinTileRow>
            <MaxTileRow>116896297</MaxTileRow>
            <MinTileCol>125664227</MinTileCol>
            <MaxTileCol>130481942</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>225048419</MinTileRow>
            <MaxTileRow>233792595</MaxTileRow>
            <MinTileCol>251328455</MinTileCol>
            <MaxTileCol>260963885</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>450096839</MinTileRow>
            <MaxTileRow>467585190</MaxTileRow>
            <MinTileCol>502656910</MinTileCol>
            <MaxTileCol>521927771</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>900193679</MinTileRow>
            <MaxTileRow>935170381</MaxTileRow>
            <MinTileCol>1005313820</MinTileCol>
            <MaxTileCol>1043855542</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_drillholes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_drillholes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_drillholes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_drillholes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_drillholes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_drillholes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_drillholes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_drillholes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_drillholes/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_drillholes/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_drillholes/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>New Zealand GNS GM5 Middlemarch Electromagnetic Interpretation (line) 8200 Hz</ows:Title>
      <ows:Abstract>This data layer spatially represents an interpretation of lineations within and boundaries between areas of consistent electromagnetic response at 1800 Hz.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>170.072606211139 -45.681522874572416</ows:LowerCorner>
        <ows:UpperCorner>170.39539798682728 -45.35041472929051</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gmnz:NZL_GNS_GM5_emi_line_8200</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/metadata/srv/eng/search#%7C7B6CAB97-85E4-451E-B054-BF8BB683FD61"/>
      <Style isDefault="true">
        <ows:Identifier>gmnz:gmnz_emi_line</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=134&amp;height=40&amp;layer=gmnz%3ANZL_GNS_GM5_emi_line_8200" width="134" height="40"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>48</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>96</MinTileRow>
            <MaxTileRow>96</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>192</MinTileRow>
            <MaxTileRow>192</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>384</MinTileRow>
            <MaxTileRow>385</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>769</MinTileRow>
            <MaxTileRow>771</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1539</MinTileRow>
            <MaxTileRow>1543</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3079</MinTileRow>
            <MaxTileRow>3087</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>6159</MinTileRow>
            <MaxTileRow>6175</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>12319</MinTileRow>
            <MaxTileRow>12350</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>24639</MinTileRow>
            <MaxTileRow>24700</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>49279</MinTileRow>
            <MaxTileRow>49400</MaxTileRow>
            <MinTileCol>127457</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>98559</MinTileRow>
            <MaxTileRow>98800</MaxTileRow>
            <MinTileCol>254915</MinTileCol>
            <MaxTileCol>255150</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>197118</MinTileRow>
            <MaxTileRow>197600</MaxTileRow>
            <MinTileCol>509830</MinTileCol>
            <MaxTileCol>510300</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>394236</MinTileRow>
            <MaxTileRow>395201</MaxTileRow>
            <MinTileCol>1019660</MinTileCol>
            <MaxTileCol>1020600</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>788473</MinTileRow>
            <MaxTileRow>790402</MaxTileRow>
            <MinTileCol>2039320</MinTileCol>
            <MaxTileCol>2041201</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1576946</MinTileRow>
            <MaxTileRow>1580804</MaxTileRow>
            <MinTileCol>4078641</MinTileCol>
            <MaxTileCol>4082402</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>82</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>164</MinTileRow>
            <MaxTileRow>164</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>328</MinTileRow>
            <MaxTileRow>329</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>657</MinTileRow>
            <MaxTileRow>658</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1314</MinTileRow>
            <MaxTileRow>1316</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2628</MinTileRow>
            <MaxTileRow>2633</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>5256</MinTileRow>
            <MaxTileRow>5267</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>10512</MinTileRow>
            <MaxTileRow>10534</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>21025</MinTileRow>
            <MaxTileRow>21068</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>42051</MinTileRow>
            <MaxTileRow>42137</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>84103</MinTileRow>
            <MaxTileRow>84275</MaxTileRow>
            <MinTileCol>127457</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>168206</MinTileRow>
            <MaxTileRow>168550</MaxTileRow>
            <MinTileCol>254915</MinTileCol>
            <MaxTileCol>255150</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>336412</MinTileRow>
            <MaxTileRow>337100</MaxTileRow>
            <MinTileCol>509830</MinTileCol>
            <MaxTileCol>510300</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>672824</MinTileRow>
            <MaxTileRow>674201</MaxTileRow>
            <MinTileCol>1019660</MinTileCol>
            <MaxTileCol>1020600</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1345649</MinTileRow>
            <MaxTileRow>1348402</MaxTileRow>
            <MinTileCol>2039320</MinTileCol>
            <MaxTileCol>2041201</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2691299</MinTileRow>
            <MaxTileRow>2696804</MaxTileRow>
            <MinTileCol>4078641</MinTileCol>
            <MaxTileCol>4082402</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5382598</MinTileRow>
            <MaxTileRow>5393609</MaxTileRow>
            <MinTileCol>8157282</MinTileCol>
            <MaxTileCol>8164804</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10765197</MinTileRow>
            <MaxTileRow>10787218</MaxTileRow>
            <MinTileCol>16314565</MinTileCol>
            <MaxTileCol>16329609</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>21530394</MinTileRow>
            <MaxTileRow>21574437</MaxTileRow>
            <MinTileCol>32629131</MinTileCol>
            <MaxTileCol>32659218</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>43060788</MinTileRow>
            <MaxTileRow>43148875</MaxTileRow>
            <MinTileCol>65258263</MinTileCol>
            <MaxTileCol>65318436</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>86121577</MinTileRow>
            <MaxTileRow>86297751</MaxTileRow>
            <MinTileCol>130516527</MinTileCol>
            <MaxTileCol>130636872</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>172243155</MinTileRow>
            <MaxTileRow>172595502</MaxTileRow>
            <MinTileCol>261033054</MinTileCol>
            <MaxTileCol>261273745</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>344486311</MinTileRow>
            <MaxTileRow>345191005</MaxTileRow>
            <MinTileCol>522066109</MinTileCol>
            <MaxTileCol>522547491</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>688972623</MinTileRow>
            <MaxTileRow>690382011</MaxTileRow>
            <MinTileCol>1044132218</MinTileCol>
            <MaxTileCol>1045094982</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_8200/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_8200/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_8200/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_8200/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_8200/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_8200/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_8200/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_8200/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_8200/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_8200/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_8200/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>New Zealand GNS GM5 Middlemarch Aeromagnetic Interpretation (line)</ows:Title>
      <ows:Abstract>This data layer spatially represents an interpretation of lineations and boundaries described by the total magnetic intensity reduced to pole aeromagnetic data.

Credits: Martin, A.P., Cox, S.C., Smith Lyttle, B. 2016</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>170.07260678154034 -45.68151194099665</ows:LowerCorner>
        <ows:UpperCorner>170.39539798682728 -45.35041472929051</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gmnz:NZL_GNS_GM5_ami_line</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/metadata/srv/eng/search#%7C4CB1024F-F0A0-49C4-9852-B1C4D9614A6F"/>
      <Style isDefault="true">
        <ows:Identifier>gmnz:gmnz_ami_line</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=117&amp;height=40&amp;layer=gmnz%3ANZL_GNS_GM5_ami_line" width="117" height="40"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>48</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>96</MinTileRow>
            <MaxTileRow>96</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>192</MinTileRow>
            <MaxTileRow>192</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>384</MinTileRow>
            <MaxTileRow>385</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>769</MinTileRow>
            <MaxTileRow>771</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1539</MinTileRow>
            <MaxTileRow>1543</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3079</MinTileRow>
            <MaxTileRow>3087</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>6159</MinTileRow>
            <MaxTileRow>6175</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>12319</MinTileRow>
            <MaxTileRow>12350</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>24639</MinTileRow>
            <MaxTileRow>24700</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>49279</MinTileRow>
            <MaxTileRow>49400</MaxTileRow>
            <MinTileCol>127457</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>98559</MinTileRow>
            <MaxTileRow>98800</MaxTileRow>
            <MinTileCol>254915</MinTileCol>
            <MaxTileCol>255150</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>197118</MinTileRow>
            <MaxTileRow>197600</MaxTileRow>
            <MinTileCol>509830</MinTileCol>
            <MaxTileCol>510300</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>394236</MinTileRow>
            <MaxTileRow>395201</MaxTileRow>
            <MinTileCol>1019660</MinTileCol>
            <MaxTileCol>1020600</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>788473</MinTileRow>
            <MaxTileRow>790402</MaxTileRow>
            <MinTileCol>2039320</MinTileCol>
            <MaxTileCol>2041201</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1576946</MinTileRow>
            <MaxTileRow>1580804</MaxTileRow>
            <MinTileCol>4078641</MinTileCol>
            <MaxTileCol>4082402</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>82</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>164</MinTileRow>
            <MaxTileRow>164</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>328</MinTileRow>
            <MaxTileRow>329</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>657</MinTileRow>
            <MaxTileRow>658</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1314</MinTileRow>
            <MaxTileRow>1316</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2628</MinTileRow>
            <MaxTileRow>2633</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>5256</MinTileRow>
            <MaxTileRow>5267</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>10512</MinTileRow>
            <MaxTileRow>10534</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>21025</MinTileRow>
            <MaxTileRow>21068</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>42051</MinTileRow>
            <MaxTileRow>42137</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>84103</MinTileRow>
            <MaxTileRow>84275</MaxTileRow>
            <MinTileCol>127457</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>168206</MinTileRow>
            <MaxTileRow>168550</MaxTileRow>
            <MinTileCol>254915</MinTileCol>
            <MaxTileCol>255150</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>336412</MinTileRow>
            <MaxTileRow>337100</MaxTileRow>
            <MinTileCol>509830</MinTileCol>
            <MaxTileCol>510300</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>672824</MinTileRow>
            <MaxTileRow>674201</MaxTileRow>
            <MinTileCol>1019660</MinTileCol>
            <MaxTileCol>1020600</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1345649</MinTileRow>
            <MaxTileRow>1348402</MaxTileRow>
            <MinTileCol>2039320</MinTileCol>
            <MaxTileCol>2041201</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2691299</MinTileRow>
            <MaxTileRow>2696804</MaxTileRow>
            <MinTileCol>4078641</MinTileCol>
            <MaxTileCol>4082402</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5382598</MinTileRow>
            <MaxTileRow>5393609</MaxTileRow>
            <MinTileCol>8157282</MinTileCol>
            <MaxTileCol>8164804</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10765197</MinTileRow>
            <MaxTileRow>10787218</MaxTileRow>
            <MinTileCol>16314565</MinTileCol>
            <MaxTileCol>16329609</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>21530394</MinTileRow>
            <MaxTileRow>21574436</MaxTileRow>
            <MinTileCol>32629131</MinTileCol>
            <MaxTileCol>32659218</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>43060788</MinTileRow>
            <MaxTileRow>43148872</MaxTileRow>
            <MinTileCol>65258263</MinTileCol>
            <MaxTileCol>65318436</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>86121577</MinTileRow>
            <MaxTileRow>86297745</MaxTileRow>
            <MinTileCol>130516527</MinTileCol>
            <MaxTileCol>130636872</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>172243155</MinTileRow>
            <MaxTileRow>172595491</MaxTileRow>
            <MinTileCol>261033055</MinTileCol>
            <MaxTileCol>261273745</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>344486311</MinTileRow>
            <MaxTileRow>345190982</MaxTileRow>
            <MinTileCol>522066110</MinTileCol>
            <MaxTileCol>522547491</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>688972623</MinTileRow>
            <MaxTileRow>690381964</MaxTileRow>
            <MinTileCol>1044132220</MinTileCol>
            <MaxTileCol>1045094982</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_ami_line/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_ami_line/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_ami_line/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_ami_line/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_ami_line/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_ami_line/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_ami_line/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_ami_line/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_ami_line/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_ami_line/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_ami_line/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>New Zealand GNS GM5 Middlemarch Structural Measurements</ows:Title>
      <ows:Abstract>This data layer spatially represents selected structural measurements collected for this area, drawn at all scales. The dataset comprises points with each point having attributes describing the type of structure, its dip and dip direction the stratigraphic age and stratigraphic nomenclature.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>170.07275738864877 -45.69641820001521</ows:LowerCorner>
        <ows:UpperCorner>170.39530271890266 -45.35109431057693</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gmnz:NZL_GNS_GM5_structural_measurements</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/metadata/srv/eng/search#%7C6E524FB3-5544-4209-A27E-6D02DD2FFD48"/>
      <Style isDefault="true">
        <ows:Identifier>generic</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=gmnz%3ANZL_GNS_GM5_structural_measurements" 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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>48</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>96</MinTileRow>
            <MaxTileRow>96</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>192</MinTileRow>
            <MaxTileRow>192</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>384</MinTileRow>
            <MaxTileRow>385</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>769</MinTileRow>
            <MaxTileRow>771</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1539</MinTileRow>
            <MaxTileRow>1543</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3079</MinTileRow>
            <MaxTileRow>3087</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>6159</MinTileRow>
            <MaxTileRow>6175</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>12319</MinTileRow>
            <MaxTileRow>12351</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>24639</MinTileRow>
            <MaxTileRow>24702</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>49279</MinTileRow>
            <MaxTileRow>49405</MaxTileRow>
            <MinTileCol>127457</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>98559</MinTileRow>
            <MaxTileRow>98811</MaxTileRow>
            <MinTileCol>254915</MinTileCol>
            <MaxTileCol>255150</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>197119</MinTileRow>
            <MaxTileRow>197622</MaxTileRow>
            <MinTileCol>509830</MinTileCol>
            <MaxTileCol>510300</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>394238</MinTileRow>
            <MaxTileRow>395244</MaxTileRow>
            <MinTileCol>1019660</MinTileCol>
            <MaxTileCol>1020600</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>788477</MinTileRow>
            <MaxTileRow>790488</MaxTileRow>
            <MinTileCol>2039321</MinTileCol>
            <MaxTileCol>2041200</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1576954</MinTileRow>
            <MaxTileRow>1580977</MaxTileRow>
            <MinTileCol>4078643</MinTileCol>
            <MaxTileCol>4082401</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>82</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>164</MinTileRow>
            <MaxTileRow>164</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>328</MinTileRow>
            <MaxTileRow>329</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>657</MinTileRow>
            <MaxTileRow>658</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1314</MinTileRow>
            <MaxTileRow>1316</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2628</MinTileRow>
            <MaxTileRow>2633</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>5256</MinTileRow>
            <MaxTileRow>5267</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>10512</MinTileRow>
            <MaxTileRow>10535</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>21025</MinTileRow>
            <MaxTileRow>21070</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>42051</MinTileRow>
            <MaxTileRow>42141</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>84103</MinTileRow>
            <MaxTileRow>84282</MaxTileRow>
            <MinTileCol>127457</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>168206</MinTileRow>
            <MaxTileRow>168565</MaxTileRow>
            <MinTileCol>254915</MinTileCol>
            <MaxTileCol>255150</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>336413</MinTileRow>
            <MaxTileRow>337131</MaxTileRow>
            <MinTileCol>509830</MinTileCol>
            <MaxTileCol>510300</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>672827</MinTileRow>
            <MaxTileRow>674263</MaxTileRow>
            <MinTileCol>1019660</MinTileCol>
            <MaxTileCol>1020600</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1345655</MinTileRow>
            <MaxTileRow>1348526</MaxTileRow>
            <MinTileCol>2039321</MinTileCol>
            <MaxTileCol>2041200</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2691310</MinTileRow>
            <MaxTileRow>2697053</MaxTileRow>
            <MinTileCol>4078643</MinTileCol>
            <MaxTileCol>4082401</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5382621</MinTileRow>
            <MaxTileRow>5394106</MaxTileRow>
            <MinTileCol>8157286</MinTileCol>
            <MaxTileCol>8164802</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10765242</MinTileRow>
            <MaxTileRow>10788212</MaxTileRow>
            <MinTileCol>16314572</MinTileCol>
            <MaxTileCol>16329604</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>21530484</MinTileRow>
            <MaxTileRow>21576425</MaxTileRow>
            <MinTileCol>32629145</MinTileCol>
            <MaxTileCol>32659209</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>43060969</MinTileRow>
            <MaxTileRow>43152850</MaxTileRow>
            <MinTileCol>65258291</MinTileCol>
            <MaxTileCol>65318418</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>86121938</MinTileRow>
            <MaxTileRow>86305701</MaxTileRow>
            <MinTileCol>130516583</MinTileCol>
            <MaxTileCol>130636837</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>172243876</MinTileRow>
            <MaxTileRow>172611402</MaxTileRow>
            <MinTileCol>261033167</MinTileCol>
            <MaxTileCol>261273674</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>344487753</MinTileRow>
            <MaxTileRow>345222804</MaxTileRow>
            <MinTileCol>522066334</MinTileCol>
            <MaxTileCol>522547349</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>688975507</MinTileRow>
            <MaxTileRow>690445609</MaxTileRow>
            <MinTileCol>1044132669</MinTileCol>
            <MaxTileCol>1045094698</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_structural_measurements/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_structural_measurements/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_structural_measurements/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>ATA SVL GNS 1:250K sources</ows:Title>
      <ows:Abstract>The 1:250 000 geological map of South Victoria Land encompasses the area of the southern Ross Sea, including Ross Island, the Dry Valleys and the Royal Society Range. The map is at a pre-press publication stage and this layer shows the extents of the geological maps from which information has been integrated into the new map.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>156.761855747153 -79.9332096508264</ows:LowerCorner>
        <ows:UpperCorner>170.88950727127 -75.9308051329802</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:ATA_SVL_GNS_250K_sources</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/"/>
      <ows:Metadata xlink:type="simple" xlink:href="https://www.gns.cri.nz/Home/Our-Science/Energy-Resources/Geological-Mapping/Geological-Maps/1-250-000-Geological-Map-of-South-Victoria-Land"/>
      <Style isDefault="true">
        <ows:Identifier>QMAPSVLsources_style</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=146&amp;height=3220&amp;layer=gns%3AATA_SVL_GNS_250K_sources" width="146" height="3220"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>14</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>15</MaxTileRow>
            <MinTileCol>29</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>30</MaxTileRow>
            <MinTileCol>59</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>58</MinTileRow>
            <MaxTileRow>60</MaxTileRow>
            <MinTileCol>119</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>117</MinTileRow>
            <MaxTileRow>120</MaxTileRow>
            <MinTileCol>239</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>235</MinTileRow>
            <MaxTileRow>241</MaxTileRow>
            <MinTileCol>478</MinTileCol>
            <MaxTileCol>499</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>471</MinTileRow>
            <MaxTileRow>483</MaxTileRow>
            <MinTileCol>957</MinTileCol>
            <MaxTileCol>998</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>943</MinTileRow>
            <MaxTileRow>966</MaxTileRow>
            <MinTileCol>1915</MinTileCol>
            <MaxTileCol>1996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1887</MinTileRow>
            <MaxTileRow>1933</MaxTileRow>
            <MinTileCol>3831</MinTileCol>
            <MaxTileCol>3992</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3775</MinTileRow>
            <MaxTileRow>3866</MaxTileRow>
            <MinTileCol>7663</MinTileCol>
            <MaxTileCol>7984</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>7551</MinTileRow>
            <MaxTileRow>7733</MaxTileRow>
            <MinTileCol>15326</MinTileCol>
            <MaxTileCol>15969</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>15103</MinTileRow>
            <MaxTileRow>15467</MaxTileRow>
            <MinTileCol>30652</MinTileCol>
            <MaxTileCol>31938</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>30206</MinTileRow>
            <MaxTileRow>30935</MaxTileRow>
            <MinTileCol>61305</MinTileCol>
            <MaxTileCol>63877</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>60413</MinTileRow>
            <MaxTileRow>61870</MaxTileRow>
            <MinTileCol>122611</MinTileCol>
            <MaxTileCol>127754</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>120827</MinTileRow>
            <MaxTileRow>123741</MaxTileRow>
            <MinTileCol>245222</MinTileCol>
            <MaxTileCol>255509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>241654</MinTileRow>
            <MaxTileRow>247483</MaxTileRow>
            <MinTileCol>490444</MinTileCol>
            <MaxTileCol>511019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>483308</MinTileRow>
            <MaxTileRow>494966</MaxTileRow>
            <MinTileCol>980889</MinTileCol>
            <MaxTileCol>1022039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>966616</MinTileRow>
            <MaxTileRow>989932</MaxTileRow>
            <MinTileCol>1961779</MinTileCol>
            <MaxTileCol>2044079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1933233</MinTileRow>
            <MaxTileRow>1979865</MaxTileRow>
            <MinTileCol>3923559</MinTileCol>
            <MaxTileCol>4088159</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>14</MaxTileRow>
            <MinTileCol>14</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>26</MinTileRow>
            <MaxTileRow>28</MaxTileRow>
            <MinTileCol>29</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>53</MinTileRow>
            <MaxTileRow>56</MaxTileRow>
            <MinTileCol>59</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>106</MinTileRow>
            <MaxTileRow>113</MaxTileRow>
            <MinTileCol>119</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>213</MinTileRow>
            <MaxTileRow>226</MaxTileRow>
            <MinTileCol>239</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>426</MinTileRow>
            <MaxTileRow>453</MaxTileRow>
            <MinTileCol>478</MinTileCol>
            <MaxTileCol>499</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>852</MinTileRow>
            <MaxTileRow>907</MaxTileRow>
            <MinTileCol>957</MinTileCol>
            <MaxTileCol>998</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1705</MinTileRow>
            <MaxTileRow>1815</MaxTileRow>
            <MinTileCol>1915</MinTileCol>
            <MaxTileCol>1996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>3411</MinTileRow>
            <MaxTileRow>3631</MaxTileRow>
            <MinTileCol>3831</MinTileCol>
            <MaxTileCol>3992</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>6823</MinTileRow>
            <MaxTileRow>7263</MaxTileRow>
            <MinTileCol>7663</MinTileCol>
            <MaxTileCol>7984</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>13647</MinTileRow>
            <MaxTileRow>14527</MaxTileRow>
            <MinTileCol>15326</MinTileCol>
            <MaxTileCol>15969</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>27295</MinTileRow>
            <MaxTileRow>29054</MaxTileRow>
            <MinTileCol>30652</MinTileCol>
            <MaxTileCol>31938</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>54591</MinTileRow>
            <MaxTileRow>58109</MaxTileRow>
            <MinTileCol>61305</MinTileCol>
            <MaxTileCol>63877</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>109183</MinTileRow>
            <MaxTileRow>116218</MaxTileRow>
            <MinTileCol>122611</MinTileCol>
            <MaxTileCol>127754</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>218367</MinTileRow>
            <MaxTileRow>232436</MaxTileRow>
            <MinTileCol>245222</MinTileCol>
            <MaxTileCol>255509</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>436735</MinTileRow>
            <MaxTileRow>464873</MaxTileRow>
            <MinTileCol>490444</MinTileCol>
            <MaxTileCol>511019</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>873471</MinTileRow>
            <MaxTileRow>929746</MaxTileRow>
            <MinTileCol>980889</MinTileCol>
            <MaxTileCol>1022039</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1746942</MinTileRow>
            <MaxTileRow>1859493</MaxTileRow>
            <MinTileCol>1961779</MinTileCol>
            <MaxTileCol>2044079</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>3493884</MinTileRow>
            <MaxTileRow>3718987</MaxTileRow>
            <MinTileCol>3923559</MinTileCol>
            <MaxTileCol>4088159</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>6987768</MinTileRow>
            <MaxTileRow>7437974</MaxTileRow>
            <MinTileCol>7847119</MinTileCol>
            <MaxTileCol>8176318</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>13975536</MinTileRow>
            <MaxTileRow>14875949</MaxTileRow>
            <MinTileCol>15694239</MinTileCol>
            <MaxTileCol>16352636</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>27951073</MinTileRow>
            <MaxTileRow>29751899</MaxTileRow>
            <MinTileCol>31388479</MinTileCol>
            <MaxTileCol>32705272</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>55902146</MinTileRow>
            <MaxTileRow>59503799</MaxTileRow>
            <MinTileCol>62776959</MinTileCol>
            <MaxTileCol>65410545</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>111804292</MinTileRow>
            <MaxTileRow>119007598</MaxTileRow>
            <MinTileCol>125553919</MinTileCol>
            <MaxTileCol>130821090</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>223608585</MinTileRow>
            <MaxTileRow>238015196</MaxTileRow>
            <MinTileCol>251107839</MinTileCol>
            <MaxTileCol>261642180</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>447217171</MinTileRow>
            <MaxTileRow>476030392</MaxTileRow>
            <MinTileCol>502215679</MinTileCol>
            <MaxTileCol>523284360</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>894434342</MinTileRow>
            <MaxTileRow>952060784</MaxTileRow>
            <MinTileCol>1004431359</MinTileCol>
            <MaxTileCol>1046568721</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_sources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_sources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_sources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_sources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_sources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_sources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_sources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_sources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_sources/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_sources/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_sources/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL GNS 1:250K simple metamorphic zones</ows:Title>
      <ows:Abstract>This view applys a filter to the mineral metamorphic data for New Zealand. The original dataset is a product of the QMAP Geological Map of New Zealand Project and was produced by GNS Science. It represents the most current mapping of mineral metamorphic polygons for New Zealand in a single dataset at a scale of 1:250 000. The dataset is stored in an ESRI vector geodatabase and exported to Geoserver. The original dataset comprises polygons with each polygon having attributes describing the mineral grade and age.This view has been derived by symbolising NZL_GNS_250K_metamorphic zones using the SIMPLE_GRADE field to create a simplifed mineral metamorphic map.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>166.26240953987826 -47.416286089958554</ows:LowerCorner>
        <ows:UpperCorner>178.90481450496623 -34.00845169473897</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:NZL_GNS_250K_simple_metamorphic_zones</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2012/NZL_GNS_250K_simple_metamorphic_zones.html"/>
      <Style isDefault="true">
        <ows:Identifier>QMAP_SIMPLE_MINERAL_METAMORPHISM_POLY</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=178&amp;height=320&amp;layer=gns%3ANZL_GNS_250K_simple_metamorphic_zones" width="178" height="320"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>176</MinTileRow>
            <MaxTileRow>195</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>510</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>352</MinTileRow>
            <MaxTileRow>390</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1020</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>705</MinTileRow>
            <MaxTileRow>781</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2041</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1410</MinTileRow>
            <MaxTileRow>1563</MaxTileRow>
            <MinTileCol>3939</MinTileCol>
            <MaxTileCol>4083</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2821</MinTileRow>
            <MaxTileRow>3126</MaxTileRow>
            <MinTileCol>7879</MinTileCol>
            <MaxTileCol>8167</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5643</MinTileRow>
            <MaxTileRow>6253</MaxTileRow>
            <MinTileCol>15758</MinTileCol>
            <MaxTileCol>16334</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11287</MinTileRow>
            <MaxTileRow>12507</MaxTileRow>
            <MinTileCol>31517</MinTileCol>
            <MaxTileCol>32668</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>22575</MinTileRow>
            <MaxTileRow>25015</MaxTileRow>
            <MinTileCol>63035</MinTileCol>
            <MaxTileCol>65336</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>45150</MinTileRow>
            <MaxTileRow>50031</MaxTileRow>
            <MinTileCol>126070</MinTileCol>
            <MaxTileCol>130673</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>90300</MinTileRow>
            <MaxTileRow>100063</MaxTileRow>
            <MinTileCol>252140</MinTileCol>
            <MaxTileCol>261346</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>180600</MinTileRow>
            <MaxTileRow>200126</MaxTileRow>
            <MinTileCol>504281</MinTileCol>
            <MaxTileCol>522693</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>361200</MinTileRow>
            <MaxTileRow>400253</MaxTileRow>
            <MinTileCol>1008562</MinTileCol>
            <MaxTileCol>1045386</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>722401</MinTileRow>
            <MaxTileRow>800507</MaxTileRow>
            <MinTileCol>2017124</MinTileCol>
            <MaxTileCol>2090772</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1444803</MinTileRow>
            <MaxTileRow>1601015</MaxTileRow>
            <MinTileCol>4034249</MinTileCol>
            <MaxTileCol>4181544</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>83</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>153</MinTileRow>
            <MaxTileRow>166</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>307</MinTileRow>
            <MaxTileRow>332</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>510</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>614</MinTileRow>
            <MaxTileRow>665</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1020</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1229</MinTileRow>
            <MaxTileRow>1331</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2041</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2459</MinTileRow>
            <MaxTileRow>2662</MaxTileRow>
            <MinTileCol>3939</MinTileCol>
            <MaxTileCol>4083</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>4919</MinTileRow>
            <MaxTileRow>5324</MaxTileRow>
            <MinTileCol>7879</MinTileCol>
            <MaxTileCol>8167</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>9839</MinTileRow>
            <MaxTileRow>10649</MaxTileRow>
            <MinTileCol>15758</MinTileCol>
            <MaxTileCol>16334</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>19679</MinTileRow>
            <MaxTileRow>21298</MaxTileRow>
            <MinTileCol>31517</MinTileCol>
            <MaxTileCol>32668</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>39358</MinTileRow>
            <MaxTileRow>42596</MaxTileRow>
            <MinTileCol>63035</MinTileCol>
            <MaxTileCol>65336</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>78716</MinTileRow>
            <MaxTileRow>85193</MaxTileRow>
            <MinTileCol>126070</MinTileCol>
            <MaxTileCol>130673</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>157433</MinTileRow>
            <MaxTileRow>170387</MaxTileRow>
            <MinTileCol>252140</MinTileCol>
            <MaxTileCol>261346</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>314866</MinTileRow>
            <MaxTileRow>340774</MaxTileRow>
            <MinTileCol>504281</MinTileCol>
            <MaxTileCol>522693</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>629732</MinTileRow>
            <MaxTileRow>681549</MaxTileRow>
            <MinTileCol>1008562</MinTileCol>
            <MaxTileCol>1045386</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1259465</MinTileRow>
            <MaxTileRow>1363098</MaxTileRow>
            <MinTileCol>2017124</MinTileCol>
            <MaxTileCol>2090772</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2518930</MinTileRow>
            <MaxTileRow>2726196</MaxTileRow>
            <MinTileCol>4034249</MinTileCol>
            <MaxTileCol>4181544</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5037861</MinTileRow>
            <MaxTileRow>5452393</MaxTileRow>
            <MinTileCol>8068498</MinTileCol>
            <MaxTileCol>8363088</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10075722</MinTileRow>
            <MaxTileRow>10904787</MaxTileRow>
            <MinTileCol>16136997</MinTileCol>
            <MaxTileCol>16726176</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20151444</MinTileRow>
            <MaxTileRow>21809574</MaxTileRow>
            <MinTileCol>32273995</MinTileCol>
            <MaxTileCol>33452353</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>40302888</MinTileRow>
            <MaxTileRow>43619148</MaxTileRow>
            <MinTileCol>64547991</MinTileCol>
            <MaxTileCol>66904706</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>80605776</MinTileRow>
            <MaxTileRow>87238297</MaxTileRow>
            <MinTileCol>129095983</MinTileCol>
            <MaxTileCol>133809413</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>161211552</MinTileRow>
            <MaxTileRow>174476594</MaxTileRow>
            <MinTileCol>258191966</MinTileCol>
            <MaxTileCol>267618826</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>322423104</MinTileRow>
            <MaxTileRow>348953188</MaxTileRow>
            <MinTileCol>516383932</MinTileCol>
            <MaxTileCol>535237653</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>644846209</MinTileRow>
            <MaxTileRow>697906376</MaxTileRow>
            <MinTileCol>1032767864</MinTileCol>
            <MaxTileCol>1070475306</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_simple_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_simple_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_simple_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_simple_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_simple_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_simple_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_simple_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_simple_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_simple_metamorphic_zones/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_simple_metamorphic_zones/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_simple_metamorphic_zones/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL_GNS_250K_geologic_units</ows:Title>
      <ows:Abstract>This view combines the 3 scale-dependent views of the geological mapping units datasets for both the North Island and South Island of New Zealand. The datasets included are NZL-NI_GNS_250K_geological_units_scale500k, NZL-SI_GNS_250K_geological_units_scale500k, NZL-NI GNS 1:250K geological units (scale 500K-2M), NZL-SI GNS 1:250K geological units (scale 500K-2M), NZL-NI GNS 1:250K geological units (scale 2m-) and NZL-SI GNS 1:250K geological units (scale 2m-). The datsets used are a product of the QMAP Geological Map of New Zealand Project and were produced by GNS Science. They represent the most current mapping of the geology of New Zealand at a scale of 1:250 000. The datasets are stored in an ESRI vector geodatabase and exported to Geoserver.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>-180.0 -47.620766273968016</ows:LowerCorner>
        <ows:UpperCorner>180.0 -33.82475538371112</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>NZL_GNS_250K_geologic_units</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_geological_units.html"/>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_geological_units.html"/>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_geological_units.html"/>
      <Style isDefault="true">
        <ows:Identifier/>
      </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>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:1</TileMatrix>
            <MinTileRow>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>176</MinTileRow>
            <MaxTileRow>195</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>352</MinTileRow>
            <MaxTileRow>391</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1023</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>704</MinTileRow>
            <MaxTileRow>782</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>2047</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1408</MinTileRow>
            <MaxTileRow>1565</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>4095</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2817</MinTileRow>
            <MaxTileRow>3131</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>8191</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5635</MinTileRow>
            <MaxTileRow>6263</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>16383</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11270</MinTileRow>
            <MaxTileRow>12526</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>32767</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>22541</MinTileRow>
            <MaxTileRow>25053</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>65535</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>45083</MinTileRow>
            <MaxTileRow>50106</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>131071</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>90166</MinTileRow>
            <MaxTileRow>100212</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>262143</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>180332</MinTileRow>
            <MaxTileRow>200424</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>524287</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>360665</MinTileRow>
            <MaxTileRow>400849</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1048575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>721331</MinTileRow>
            <MaxTileRow>801699</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>2097151</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1442662</MinTileRow>
            <MaxTileRow>1603398</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>4194303</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>83</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>153</MinTileRow>
            <MaxTileRow>166</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>307</MinTileRow>
            <MaxTileRow>333</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>614</MinTileRow>
            <MaxTileRow>666</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>1023</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1228</MinTileRow>
            <MaxTileRow>1332</MaxTileRow>
            <MinTileCol>0</MinTileCol>
            <MaxTileCol>2047</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2457</MinTileRow>
            <MaxTileRow>2665</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>4094</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>4914</MinTileRow>
            <MaxTileRow>5331</MaxTileRow>
            <MinTileCol>2</MinTileCol>
            <MaxTileCol>8189</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>9829</MinTileRow>
            <MaxTileRow>10662</MaxTileRow>
            <MinTileCol>4</MinTileCol>
            <MaxTileCol>16378</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>19658</MinTileRow>
            <MaxTileRow>21325</MaxTileRow>
            <MinTileCol>8</MinTileCol>
            <MaxTileCol>32756</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>39317</MinTileRow>
            <MaxTileRow>42651</MaxTileRow>
            <MinTileCol>17</MinTileCol>
            <MaxTileCol>65512</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>78635</MinTileRow>
            <MaxTileRow>85303</MaxTileRow>
            <MinTileCol>35</MinTileCol>
            <MaxTileCol>131024</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>157271</MinTileRow>
            <MaxTileRow>170607</MaxTileRow>
            <MinTileCol>70</MinTileCol>
            <MaxTileCol>262049</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>314543</MinTileRow>
            <MaxTileRow>341215</MaxTileRow>
            <MinTileCol>141</MinTileCol>
            <MaxTileCol>524099</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>629087</MinTileRow>
            <MaxTileRow>682431</MaxTileRow>
            <MinTileCol>282</MinTileCol>
            <MaxTileCol>1048198</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1258175</MinTileRow>
            <MaxTileRow>1364862</MaxTileRow>
            <MinTileCol>564</MinTileCol>
            <MaxTileCol>2096397</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2516351</MinTileRow>
            <MaxTileRow>2729724</MaxTileRow>
            <MinTileCol>1128</MinTileCol>
            <MaxTileCol>4192795</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5032702</MinTileRow>
            <MaxTileRow>5459448</MaxTileRow>
            <MinTileCol>2256</MinTileCol>
            <MaxTileCol>8385590</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10065405</MinTileRow>
            <MaxTileRow>10918897</MaxTileRow>
            <MinTileCol>4513</MinTileCol>
            <MaxTileCol>16771180</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20130811</MinTileRow>
            <MaxTileRow>21837795</MaxTileRow>
            <MinTileCol>9027</MinTileCol>
            <MaxTileCol>33542361</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>40261623</MinTileRow>
            <MaxTileRow>43675590</MaxTileRow>
            <MinTileCol>18055</MinTileCol>
            <MaxTileCol>67084723</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>80523246</MinTileRow>
            <MaxTileRow>87351180</MaxTileRow>
            <MinTileCol>36110</MinTileCol>
            <MaxTileCol>134169446</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>161046493</MinTileRow>
            <MaxTileRow>174702360</MaxTileRow>
            <MinTileCol>72221</MinTileCol>
            <MaxTileCol>268338893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>322092987</MinTileRow>
            <MaxTileRow>349404721</MaxTileRow>
            <MinTileCol>144443</MinTileCol>
            <MaxTileCol>536677787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>644185974</MinTileRow>
            <MaxTileRow>698809442</MaxTileRow>
            <MinTileCol>288886</MinTileCol>
            <MaxTileCol>1073355575</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/NZL_GNS_250K_geologic_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/NZL_GNS_250K_geologic_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/NZL_GNS_250K_geologic_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/NZL_GNS_250K_geologic_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/NZL_GNS_250K_geologic_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/NZL_GNS_250K_geologic_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/NZL_GNS_250K_geologic_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/NZL_GNS_250K_geologic_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/NZL_GNS_250K_geologic_units/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/NZL_GNS_250K_geologic_units/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/NZL_GNS_250K_geologic_units/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>NZL GNS 1:250K geological units (scale 1-500k)</ows:Title>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>166.18766628422236 -47.48889917320925</ows:LowerCorner>
        <ows:UpperCorner>179.54302081323817 -33.95361429751785</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:NZL_GNS_250K_geological_units_scale500k</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/QMAPseamless/2013/NZL_GNS_250K_geological_units.html"/>
      <Style isDefault="true">
        <ows:Identifier>qmap_geological_unit_1_500k</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=130&amp;height=36960&amp;layer=gns%3ANZL_GNS_250K_geological_units_scale500k" width="130" height="36960" minScaleDenominator="1.0" maxScaleDenominator="500000.0"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>11</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>22</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>44</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>88</MinTileRow>
            <MaxTileRow>97</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>176</MinTileRow>
            <MaxTileRow>195</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>352</MinTileRow>
            <MaxTileRow>391</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1022</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>705</MinTileRow>
            <MaxTileRow>782</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2045</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1410</MinTileRow>
            <MaxTileRow>1564</MaxTileRow>
            <MinTileCol>3938</MinTileCol>
            <MaxTileCol>4090</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>2820</MinTileRow>
            <MaxTileRow>3128</MaxTileRow>
            <MinTileCol>7877</MinTileCol>
            <MaxTileCol>8181</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>5641</MinTileRow>
            <MaxTileRow>6257</MaxTileRow>
            <MinTileCol>15755</MinTileCol>
            <MaxTileCol>16363</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>11282</MinTileRow>
            <MaxTileRow>12514</MaxTileRow>
            <MinTileCol>31510</MinTileCol>
            <MaxTileCol>32726</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>22565</MinTileRow>
            <MaxTileRow>25029</MaxTileRow>
            <MinTileCol>63021</MinTileCol>
            <MaxTileCol>65452</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>45130</MinTileRow>
            <MaxTileRow>50058</MaxTileRow>
            <MinTileCol>126043</MinTileCol>
            <MaxTileCol>130905</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>90260</MinTileRow>
            <MaxTileRow>100116</MaxTileRow>
            <MinTileCol>252086</MinTileCol>
            <MaxTileCol>261811</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>180520</MinTileRow>
            <MaxTileRow>200232</MaxTileRow>
            <MinTileCol>504172</MinTileCol>
            <MaxTileCol>523622</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>361041</MinTileRow>
            <MaxTileRow>400465</MaxTileRow>
            <MinTileCol>1008344</MinTileCol>
            <MaxTileCol>1047244</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>722082</MinTileRow>
            <MaxTileRow>800930</MaxTileRow>
            <MinTileCol>2016689</MinTileCol>
            <MaxTileCol>2094489</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1444164</MinTileRow>
            <MaxTileRow>1601861</MaxTileRow>
            <MinTileCol>4033378</MinTileCol>
            <MaxTileCol>4188979</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>4</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>9</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>19</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>38</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>63</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>76</MinTileRow>
            <MaxTileRow>83</MaxTileRow>
            <MinTileCol>123</MinTileCol>
            <MaxTileCol>127</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>153</MinTileRow>
            <MaxTileRow>166</MaxTileRow>
            <MinTileCol>246</MinTileCol>
            <MaxTileCol>255</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>307</MinTileRow>
            <MaxTileRow>332</MaxTileRow>
            <MinTileCol>492</MinTileCol>
            <MaxTileCol>511</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>614</MinTileRow>
            <MaxTileRow>665</MaxTileRow>
            <MinTileCol>984</MinTileCol>
            <MaxTileCol>1022</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1229</MinTileRow>
            <MaxTileRow>1331</MaxTileRow>
            <MinTileCol>1969</MinTileCol>
            <MaxTileCol>2045</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2459</MinTileRow>
            <MaxTileRow>2663</MaxTileRow>
            <MinTileCol>3938</MinTileCol>
            <MaxTileCol>4090</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>4918</MinTileRow>
            <MaxTileRow>5327</MaxTileRow>
            <MinTileCol>7877</MinTileCol>
            <MaxTileCol>8181</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>9836</MinTileRow>
            <MaxTileRow>10654</MaxTileRow>
            <MinTileCol>15755</MinTileCol>
            <MaxTileCol>16363</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>19673</MinTileRow>
            <MaxTileRow>21308</MaxTileRow>
            <MinTileCol>31510</MinTileCol>
            <MaxTileCol>32726</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>39346</MinTileRow>
            <MaxTileRow>42616</MaxTileRow>
            <MinTileCol>63021</MinTileCol>
            <MaxTileCol>65452</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>78692</MinTileRow>
            <MaxTileRow>85232</MaxTileRow>
            <MinTileCol>126043</MinTileCol>
            <MaxTileCol>130905</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>157385</MinTileRow>
            <MaxTileRow>170465</MaxTileRow>
            <MinTileCol>252086</MinTileCol>
            <MaxTileCol>261811</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>314770</MinTileRow>
            <MaxTileRow>340930</MaxTileRow>
            <MinTileCol>504172</MinTileCol>
            <MaxTileCol>523622</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>629540</MinTileRow>
            <MaxTileRow>681861</MaxTileRow>
            <MinTileCol>1008344</MinTileCol>
            <MaxTileCol>1047244</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1259080</MinTileRow>
            <MaxTileRow>1363723</MaxTileRow>
            <MinTileCol>2016689</MinTileCol>
            <MaxTileCol>2094489</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2518160</MinTileRow>
            <MaxTileRow>2727447</MaxTileRow>
            <MinTileCol>4033378</MinTileCol>
            <MaxTileCol>4188979</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5036320</MinTileRow>
            <MaxTileRow>5454895</MaxTileRow>
            <MinTileCol>8066757</MinTileCol>
            <MaxTileCol>8377959</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10072640</MinTileRow>
            <MaxTileRow>10909791</MaxTileRow>
            <MinTileCol>16133514</MinTileCol>
            <MaxTileCol>16755919</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>20145280</MinTileRow>
            <MaxTileRow>21819583</MaxTileRow>
            <MinTileCol>32267029</MinTileCol>
            <MaxTileCol>33511838</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>40290560</MinTileRow>
            <MaxTileRow>43639166</MaxTileRow>
            <MinTileCol>64534058</MinTileCol>
            <MaxTileCol>67023676</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>80581120</MinTileRow>
            <MaxTileRow>87278332</MaxTileRow>
            <MinTileCol>129068116</MinTileCol>
            <MaxTileCol>134047353</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>161162241</MinTileRow>
            <MaxTileRow>174556665</MaxTileRow>
            <MinTileCol>258136233</MinTileCol>
            <MaxTileCol>268094707</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>322324482</MinTileRow>
            <MaxTileRow>349113331</MaxTileRow>
            <MinTileCol>516272467</MinTileCol>
            <MaxTileCol>536189415</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>644648965</MinTileRow>
            <MaxTileRow>698226662</MaxTileRow>
            <MinTileCol>1032544934</MinTileCol>
            <MaxTileCol>1072378830</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale500k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale500k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale500k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale500k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale500k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale500k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale500k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale500k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale500k/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale500k/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:NZL_GNS_250K_geological_units_scale500k/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>ATA SVL GNS 1:250K landslides</ows:Title>
      <ows:Abstract>The 1:250 000 geological map of South Victoria Land encompasses the area of the southern Ross Sea, including Ross Island, the Dry Valleys and the Royal Society Range. The map is at a pre-press publication stage and this layer shows the landslides.</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>165.291374882553 -78.1335855085546</ows:LowerCorner>
        <ows:UpperCorner>165.357560339854 -78.1098855435621</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gns:ATA_SVL_GNS_250K_landslides</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/rgmad/datadict/"/>
      <ows:Metadata xlink:type="simple" xlink:href="https://www.gns.cri.nz/Home/Our-Science/Energy-Resources/Geological-Mapping/Geological-Maps/1-250-000-Geological-Map-of-South-Victoria-Land"/>
      <Style isDefault="true">
        <ows:Identifier>SVL_Landslides_2014</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=gns%3AATA_SVL_GNS_250K_landslides" 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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>7</MinTileRow>
            <MaxTileRow>7</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>14</MinTileRow>
            <MaxTileRow>14</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>30</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>29</MinTileRow>
            <MaxTileRow>29</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>61</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>59</MinTileRow>
            <MaxTileRow>59</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>122</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>119</MinTileRow>
            <MaxTileRow>119</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>245</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>239</MinTileRow>
            <MaxTileRow>239</MaxTileRow>
            <MinTileCol>491</MinTileCol>
            <MaxTileCol>491</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>478</MinTileRow>
            <MaxTileRow>478</MaxTileRow>
            <MinTileCol>982</MinTileCol>
            <MaxTileCol>982</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>956</MinTileRow>
            <MaxTileRow>956</MaxTileRow>
            <MinTileCol>1964</MinTileCol>
            <MaxTileCol>1964</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1912</MinTileRow>
            <MaxTileRow>1912</MaxTileRow>
            <MinTileCol>3928</MinTileCol>
            <MaxTileCol>3929</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3825</MinTileRow>
            <MaxTileRow>3825</MaxTileRow>
            <MinTileCol>7857</MinTileCol>
            <MaxTileCol>7858</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>7650</MinTileRow>
            <MaxTileRow>7651</MaxTileRow>
            <MinTileCol>15714</MinTileCol>
            <MaxTileCol>15717</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>15301</MinTileRow>
            <MaxTileRow>15303</MaxTileRow>
            <MinTileCol>31429</MinTileCol>
            <MaxTileCol>31435</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>30603</MinTileRow>
            <MaxTileRow>30607</MaxTileRow>
            <MinTileCol>62858</MinTileCol>
            <MaxTileCol>62870</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>61206</MinTileRow>
            <MaxTileRow>61215</MaxTileRow>
            <MinTileCol>125716</MinTileCol>
            <MaxTileCol>125740</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>122413</MinTileRow>
            <MaxTileRow>122431</MaxTileRow>
            <MinTileCol>251433</MinTileCol>
            <MaxTileCol>251481</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>244827</MinTileRow>
            <MaxTileRow>244862</MaxTileRow>
            <MinTileCol>502867</MinTileCol>
            <MaxTileCol>502963</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>489655</MinTileRow>
            <MaxTileRow>489724</MaxTileRow>
            <MinTileCol>1005734</MinTileCol>
            <MaxTileCol>1005926</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>979311</MinTileRow>
            <MaxTileRow>979449</MaxTileRow>
            <MinTileCol>2011468</MinTileCol>
            <MaxTileCol>2011853</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1958622</MinTileRow>
            <MaxTileRow>1958898</MaxTileRow>
            <MinTileCol>4022936</MinTileCol>
            <MaxTileCol>4023707</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>13</MinTileRow>
            <MaxTileRow>13</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>27</MinTileRow>
            <MaxTileRow>27</MaxTileRow>
            <MinTileCol>30</MinTileCol>
            <MaxTileCol>30</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>55</MinTileRow>
            <MaxTileRow>55</MaxTileRow>
            <MinTileCol>61</MinTileCol>
            <MaxTileCol>61</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>110</MinTileRow>
            <MaxTileRow>110</MaxTileRow>
            <MinTileCol>122</MinTileCol>
            <MaxTileCol>122</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>220</MinTileRow>
            <MaxTileRow>220</MaxTileRow>
            <MinTileCol>245</MinTileCol>
            <MaxTileCol>245</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>440</MinTileRow>
            <MaxTileRow>440</MaxTileRow>
            <MinTileCol>491</MinTileCol>
            <MaxTileCol>491</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>880</MinTileRow>
            <MaxTileRow>880</MaxTileRow>
            <MinTileCol>982</MinTileCol>
            <MaxTileCol>982</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1761</MinTileRow>
            <MaxTileRow>1761</MaxTileRow>
            <MinTileCol>1964</MinTileCol>
            <MaxTileCol>1964</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>3522</MinTileRow>
            <MaxTileRow>3523</MaxTileRow>
            <MinTileCol>3928</MinTileCol>
            <MaxTileCol>3929</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>7045</MinTileRow>
            <MaxTileRow>7047</MaxTileRow>
            <MinTileCol>7857</MinTileCol>
            <MaxTileCol>7858</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>14090</MinTileRow>
            <MaxTileRow>14095</MaxTileRow>
            <MinTileCol>15714</MinTileCol>
            <MaxTileCol>15717</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>28181</MinTileRow>
            <MaxTileRow>28191</MaxTileRow>
            <MinTileCol>31429</MinTileCol>
            <MaxTileCol>31435</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>56362</MinTileRow>
            <MaxTileRow>56383</MaxTileRow>
            <MinTileCol>62858</MinTileCol>
            <MaxTileCol>62870</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>112724</MinTileRow>
            <MaxTileRow>112766</MaxTileRow>
            <MinTileCol>125716</MinTileCol>
            <MaxTileCol>125740</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>225448</MinTileRow>
            <MaxTileRow>225532</MaxTileRow>
            <MinTileCol>251433</MinTileCol>
            <MaxTileCol>251481</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>450897</MinTileRow>
            <MaxTileRow>451065</MaxTileRow>
            <MinTileCol>502867</MinTileCol>
            <MaxTileCol>502963</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>901795</MinTileRow>
            <MaxTileRow>902131</MaxTileRow>
            <MinTileCol>1005734</MinTileCol>
            <MaxTileCol>1005926</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1803591</MinTileRow>
            <MaxTileRow>1804262</MaxTileRow>
            <MinTileCol>2011468</MinTileCol>
            <MaxTileCol>2011853</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>3607183</MinTileRow>
            <MaxTileRow>3608524</MaxTileRow>
            <MinTileCol>4022936</MinTileCol>
            <MaxTileCol>4023707</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>7214366</MinTileRow>
            <MaxTileRow>7217049</MaxTileRow>
            <MinTileCol>8045872</MinTileCol>
            <MaxTileCol>8047414</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>14428732</MinTileRow>
            <MaxTileRow>14434098</MaxTileRow>
            <MinTileCol>16091744</MinTileCol>
            <MaxTileCol>16094828</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>28857464</MinTileRow>
            <MaxTileRow>28868196</MaxTileRow>
            <MinTileCol>32183488</MinTileCol>
            <MaxTileCol>32189657</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>57714929</MinTileRow>
            <MaxTileRow>57736393</MaxTileRow>
            <MinTileCol>64366977</MinTileCol>
            <MaxTileCol>64379315</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>115429858</MinTileRow>
            <MaxTileRow>115472786</MaxTileRow>
            <MinTileCol>128733955</MinTileCol>
            <MaxTileCol>128758630</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>230859716</MinTileRow>
            <MaxTileRow>230945572</MaxTileRow>
            <MinTileCol>257467910</MinTileCol>
            <MaxTileCol>257517261</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>461719433</MinTileRow>
            <MaxTileRow>461891144</MaxTileRow>
            <MinTileCol>514935820</MinTileCol>
            <MaxTileCol>515034523</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>923438866</MinTileRow>
            <MaxTileRow>923782289</MaxTileRow>
            <MinTileCol>1029871640</MinTileCol>
            <MaxTileCol>1030069046</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_landslides/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_landslides/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_landslides/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_landslides/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_landslides/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_landslides/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_landslides/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_landslides/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_landslides/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_landslides/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gns:ATA_SVL_GNS_250K_landslides/{style}/tilejson/jpeg?format=application/json"/>
    </Layer>
    <Layer>
      <ows:Title>New Zealand GNS GM5 Middlemarch Electromagnetic Interpretation (line) 1800 Hz</ows:Title>
      <ows:Abstract>This data layer spatially represents an interpretation of lineations within and boundaries between areas of consistent electromagnetic response at 1800 Hz.

Credits: Martin, A.P., Cox, S.C., Smith Lyttle, B. 2016</ows:Abstract>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>170.07260678154034 -45.68151194099665</ows:LowerCorner>
        <ows:UpperCorner>170.39539798682728 -45.35041472929051</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:Identifier>gmnz:NZL_GNS_GM5_emi_line_1800</ows:Identifier>
      <ows:Metadata xlink:type="simple" xlink:href="https://data.gns.cri.nz/metadata/srv/eng/search#%7C7B6CAB97-85E4-451E-B054-BF8BB683FD61"/>
      <Style isDefault="true">
        <ows:Identifier>gmnz:gmnz_emi_line</ows:Identifier>
        <LegendURL format="image/png" xlink:href="https://data.gns.cri.nz/webmaps/geology/ows?service=WMS&amp;request=GetLegendGraphic&amp;version=1.1.0&amp;format=image%2Fpng&amp;width=134&amp;height=40&amp;layer=gmnz%3ANZL_GNS_GM5_emi_line_1800" width="134" height="40"/>
      </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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:2</TileMatrix>
            <MinTileRow>3</MinTileRow>
            <MaxTileRow>3</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:3</TileMatrix>
            <MinTileRow>6</MinTileRow>
            <MaxTileRow>6</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:4</TileMatrix>
            <MinTileRow>12</MinTileRow>
            <MaxTileRow>12</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:5</TileMatrix>
            <MinTileRow>24</MinTileRow>
            <MaxTileRow>24</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:6</TileMatrix>
            <MinTileRow>48</MinTileRow>
            <MaxTileRow>48</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:7</TileMatrix>
            <MinTileRow>96</MinTileRow>
            <MaxTileRow>96</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:8</TileMatrix>
            <MinTileRow>192</MinTileRow>
            <MaxTileRow>192</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:9</TileMatrix>
            <MinTileRow>384</MinTileRow>
            <MaxTileRow>385</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:10</TileMatrix>
            <MinTileRow>769</MinTileRow>
            <MaxTileRow>771</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:11</TileMatrix>
            <MinTileRow>1539</MinTileRow>
            <MaxTileRow>1543</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:12</TileMatrix>
            <MinTileRow>3079</MinTileRow>
            <MaxTileRow>3087</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:13</TileMatrix>
            <MinTileRow>6159</MinTileRow>
            <MaxTileRow>6175</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:14</TileMatrix>
            <MinTileRow>12319</MinTileRow>
            <MaxTileRow>12350</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:15</TileMatrix>
            <MinTileRow>24639</MinTileRow>
            <MaxTileRow>24700</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:16</TileMatrix>
            <MinTileRow>49279</MinTileRow>
            <MaxTileRow>49400</MaxTileRow>
            <MinTileCol>127457</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:17</TileMatrix>
            <MinTileRow>98559</MinTileRow>
            <MaxTileRow>98800</MaxTileRow>
            <MinTileCol>254915</MinTileCol>
            <MaxTileCol>255150</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:18</TileMatrix>
            <MinTileRow>197118</MinTileRow>
            <MaxTileRow>197600</MaxTileRow>
            <MinTileCol>509830</MinTileCol>
            <MaxTileCol>510300</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:19</TileMatrix>
            <MinTileRow>394236</MinTileRow>
            <MaxTileRow>395201</MaxTileRow>
            <MinTileCol>1019660</MinTileCol>
            <MaxTileCol>1020600</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:20</TileMatrix>
            <MinTileRow>788473</MinTileRow>
            <MaxTileRow>790402</MaxTileRow>
            <MinTileCol>2039320</MinTileCol>
            <MaxTileCol>2041201</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:4326:21</TileMatrix>
            <MinTileRow>1576946</MinTileRow>
            <MaxTileRow>1580804</MaxTileRow>
            <MinTileCol>4078641</MinTileCol>
            <MaxTileCol>4082402</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>1</MinTileRow>
            <MaxTileRow>1</MaxTileRow>
            <MinTileCol>1</MinTileCol>
            <MaxTileCol>1</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:2</TileMatrix>
            <MinTileRow>2</MinTileRow>
            <MaxTileRow>2</MaxTileRow>
            <MinTileCol>3</MinTileCol>
            <MaxTileCol>3</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:3</TileMatrix>
            <MinTileRow>5</MinTileRow>
            <MaxTileRow>5</MaxTileRow>
            <MinTileCol>7</MinTileCol>
            <MaxTileCol>7</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:4</TileMatrix>
            <MinTileRow>10</MinTileRow>
            <MaxTileRow>10</MaxTileRow>
            <MinTileCol>15</MinTileCol>
            <MaxTileCol>15</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:5</TileMatrix>
            <MinTileRow>20</MinTileRow>
            <MaxTileRow>20</MaxTileRow>
            <MinTileCol>31</MinTileCol>
            <MaxTileCol>31</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:6</TileMatrix>
            <MinTileRow>41</MinTileRow>
            <MaxTileRow>41</MaxTileRow>
            <MinTileCol>62</MinTileCol>
            <MaxTileCol>62</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:7</TileMatrix>
            <MinTileRow>82</MinTileRow>
            <MaxTileRow>82</MaxTileRow>
            <MinTileCol>124</MinTileCol>
            <MaxTileCol>124</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:8</TileMatrix>
            <MinTileRow>164</MinTileRow>
            <MaxTileRow>164</MaxTileRow>
            <MinTileCol>248</MinTileCol>
            <MaxTileCol>249</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:9</TileMatrix>
            <MinTileRow>328</MinTileRow>
            <MaxTileRow>329</MaxTileRow>
            <MinTileCol>497</MinTileCol>
            <MaxTileCol>498</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:10</TileMatrix>
            <MinTileRow>657</MinTileRow>
            <MaxTileRow>658</MaxTileRow>
            <MinTileCol>995</MinTileCol>
            <MaxTileCol>996</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:11</TileMatrix>
            <MinTileRow>1314</MinTileRow>
            <MaxTileRow>1316</MaxTileRow>
            <MinTileCol>1991</MinTileCol>
            <MaxTileCol>1993</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:12</TileMatrix>
            <MinTileRow>2628</MinTileRow>
            <MaxTileRow>2633</MaxTileRow>
            <MinTileCol>3983</MinTileCol>
            <MaxTileCol>3986</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:13</TileMatrix>
            <MinTileRow>5256</MinTileRow>
            <MaxTileRow>5267</MaxTileRow>
            <MinTileCol>7966</MinTileCol>
            <MaxTileCol>7973</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:14</TileMatrix>
            <MinTileRow>10512</MinTileRow>
            <MaxTileRow>10534</MaxTileRow>
            <MinTileCol>15932</MinTileCol>
            <MaxTileCol>15946</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:15</TileMatrix>
            <MinTileRow>21025</MinTileRow>
            <MaxTileRow>21068</MaxTileRow>
            <MinTileCol>31864</MinTileCol>
            <MaxTileCol>31893</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:16</TileMatrix>
            <MinTileRow>42051</MinTileRow>
            <MaxTileRow>42137</MaxTileRow>
            <MinTileCol>63728</MinTileCol>
            <MaxTileCol>63787</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:17</TileMatrix>
            <MinTileRow>84103</MinTileRow>
            <MaxTileRow>84275</MaxTileRow>
            <MinTileCol>127457</MinTileCol>
            <MaxTileCol>127575</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:18</TileMatrix>
            <MinTileRow>168206</MinTileRow>
            <MaxTileRow>168550</MaxTileRow>
            <MinTileCol>254915</MinTileCol>
            <MaxTileCol>255150</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:19</TileMatrix>
            <MinTileRow>336412</MinTileRow>
            <MaxTileRow>337100</MaxTileRow>
            <MinTileCol>509830</MinTileCol>
            <MaxTileCol>510300</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:20</TileMatrix>
            <MinTileRow>672824</MinTileRow>
            <MaxTileRow>674201</MaxTileRow>
            <MinTileCol>1019660</MinTileCol>
            <MaxTileCol>1020600</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:21</TileMatrix>
            <MinTileRow>1345649</MinTileRow>
            <MaxTileRow>1348402</MaxTileRow>
            <MinTileCol>2039320</MinTileCol>
            <MaxTileCol>2041201</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:22</TileMatrix>
            <MinTileRow>2691299</MinTileRow>
            <MaxTileRow>2696804</MaxTileRow>
            <MinTileCol>4078641</MinTileCol>
            <MaxTileCol>4082402</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:23</TileMatrix>
            <MinTileRow>5382598</MinTileRow>
            <MaxTileRow>5393609</MaxTileRow>
            <MinTileCol>8157282</MinTileCol>
            <MaxTileCol>8164804</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:24</TileMatrix>
            <MinTileRow>10765197</MinTileRow>
            <MaxTileRow>10787218</MaxTileRow>
            <MinTileCol>16314565</MinTileCol>
            <MaxTileCol>16329609</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:25</TileMatrix>
            <MinTileRow>21530394</MinTileRow>
            <MaxTileRow>21574436</MaxTileRow>
            <MinTileCol>32629131</MinTileCol>
            <MaxTileCol>32659218</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:26</TileMatrix>
            <MinTileRow>43060788</MinTileRow>
            <MaxTileRow>43148872</MaxTileRow>
            <MinTileCol>65258263</MinTileCol>
            <MaxTileCol>65318436</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:27</TileMatrix>
            <MinTileRow>86121577</MinTileRow>
            <MaxTileRow>86297745</MaxTileRow>
            <MinTileCol>130516527</MinTileCol>
            <MaxTileCol>130636872</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:28</TileMatrix>
            <MinTileRow>172243155</MinTileRow>
            <MaxTileRow>172595491</MaxTileRow>
            <MinTileCol>261033055</MinTileCol>
            <MaxTileCol>261273745</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:29</TileMatrix>
            <MinTileRow>344486311</MinTileRow>
            <MaxTileRow>345190982</MaxTileRow>
            <MinTileCol>522066110</MinTileCol>
            <MaxTileCol>522547491</MaxTileCol>
          </TileMatrixLimits>
          <TileMatrixLimits>
            <TileMatrix>EPSG:900913:30</TileMatrix>
            <MinTileRow>688972623</MinTileRow>
            <MaxTileRow>690381964</MaxTileRow>
            <MinTileCol>1044132220</MinTileCol>
            <MaxTileCol>1045094982</MaxTileCol>
          </TileMatrixLimits>
        </TileMatrixSetLimits>
      </TileMatrixSetLink>
      <ResourceURL format="image/png" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_1800/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
      <ResourceURL format="image/jpeg" resourceType="tile" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_1800/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/>
      <ResourceURL format="text/plain" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_1800/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
      <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_1800/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_1800/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_1800/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
      <ResourceURL format="text/xml" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_1800/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
      <ResourceURL format="text/html" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_1800/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
      <ResourceURL format="application/json" resourceType="FeatureInfo" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_1800/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_1800/{style}/tilejson/png?format=application/json"/>
      <ResourceURL format="application/json" resourceType="TileJSON" template="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/gmnz:NZL_GNS_GM5_emi_line_1800/{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://data.gns.cri.nz/webmaps/geology/gwc/service/wmts?SERVICE=wmts&amp;REQUEST=getcapabilities&amp;VERSION=1.0.0"/>
  <ServiceMetadataURL xlink:href="https://data.gns.cri.nz/webmaps/geology/gwc/service/wmts/rest/WMTSCapabilities.xml"/>
</Capabilities>