<?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">
  <!-- Service Identification --> 
 <ows:ServiceIdentification>
	<ows:Title>GNS_qmapgeology</ows:Title>
	<ows:ServiceType>OGC WMTS</ows:ServiceType>
	<ows:ServiceTypeVersion>1.0.0</ows:ServiceTypeVersion>
</ows:ServiceIdentification> <!-- Operations Metadata --> <ows:OperationsMetadata>
	<ows:Operation name="GetCapabilities">
		<ows:DCP>
			<ows:HTTP>
				<ows:Get xlink:href="https://services.arcgisonline.co.nz/arcgis/rest/services/GNS/qmapgeology/MapServer/WMTS/1.0.0/WMTSCapabilities.xml">
					<ows:Constraint name="GetEncoding">
						<ows:AllowedValues>
							<ows:Value>RESTful</ows:Value>
						</ows:AllowedValues>
					</ows:Constraint>
				</ows:Get>
                <!-- add KVP binding in 10.1 -->
                <ows:Get xlink:href="https://services.arcgisonline.co.nz/arcgis/rest/services/GNS/qmapgeology/MapServer/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://services.arcgisonline.co.nz/arcgis/rest/services/GNS/qmapgeology/MapServer/WMTS/tile/1.0.0/">
					<ows:Constraint name="GetEncoding">
						<ows:AllowedValues>
							<ows:Value>RESTful</ows:Value>
						</ows:AllowedValues>
					</ows:Constraint>
				</ows:Get>
                <ows:Get xlink:href="https://services.arcgisonline.co.nz/arcgis/rest/services/GNS/qmapgeology/MapServer/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-->  
  <Layer>
    <ows:Title>GNS_qmapgeology</ows:Title> 
    <ows:Identifier>GNS_qmapgeology</ows:Identifier>
    
      <ows:BoundingBox crs="urn:ogc:def:crs:EPSG::2193">
	  
			<ows:LowerCorner>3359707.5908999993 -1603744.2957999995</ows:LowerCorner>
			<ows:UpperCorner>7487215.846000002 5012968.937599994</ows:UpperCorner>
		
      </ows:BoundingBox>  
      
    <ows:WGS84BoundingBox crs="urn:ogc:def:crs:OGC:2:84">
      <ows:LowerCorner>-180.0 -59.90016078616573</ows:LowerCorner>
      <ows:UpperCorner>180.0 -19.66974322997582</ows:UpperCorner>
    </ows:WGS84BoundingBox>
    <Style isDefault="true">
      <ows:Title>Default Style</ows:Title>
      <ows:Identifier>default</ows:Identifier>
    </Style>
    <Format>image/jpgpng</Format>
    <TileMatrixSetLink>
      <TileMatrixSet>default028mm</TileMatrixSet>
    </TileMatrixSetLink>

        
    <ResourceURL format="image/jpgpng" resourceType="tile" template="https://services.arcgisonline.co.nz/arcgis/rest/services/GNS/qmapgeology/MapServer/WMTS/tile/1.0.0/GNS_qmapgeology/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}" />
  </Layer> 
   <!--TileMatrixSet-->
   <TileMatrixSet>
     <ows:Title>TileMatrix using 0.28mm</ows:Title>
     <ows:Abstract>The tile matrix set that has scale values calculated based on the dpi defined by OGC specification (dpi assumes 0.28mm as the physical distance of a pixel).</ows:Abstract> 
     <ows:Identifier>default028mm</ows:Identifier>
     <ows:SupportedCRS>urn:ogc:def:crs:EPSG::2193</ows:SupportedCRS>
      
          <TileMatrix>
          <ows:Identifier>0</ows:Identifier>
          
          <ScaleDenominator>1.7471320750890587E7</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>8</MatrixWidth> 
            <MatrixHeight>14</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>1</ows:Identifier>
          
          <ScaleDenominator>8735660.375445293</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>15</MatrixWidth> 
            <MatrixHeight>27</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>2</ows:Identifier>
          
          <ScaleDenominator>4367830.187722647</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>29</MatrixWidth> 
            <MatrixHeight>54</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>3</ows:Identifier>
          
          <ScaleDenominator>2183915.0938617955</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>58</MatrixWidth> 
            <MatrixHeight>107</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>4</ows:Identifier>
          
          <ScaleDenominator>1091957.5469304253</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>116</MatrixWidth> 
            <MatrixHeight>213</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>5</ows:Identifier>
          
          <ScaleDenominator>545978.7734656851</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>231</MatrixWidth> 
            <MatrixHeight>426</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>6</ows:Identifier>
          
          <ScaleDenominator>272989.38673237007</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>462</MatrixWidth> 
            <MatrixHeight>851</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>7</ows:Identifier>
          
          <ScaleDenominator>136494.69336618503</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>924</MatrixWidth> 
            <MatrixHeight>1701</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>8</ows:Identifier>
          
          <ScaleDenominator>68247.34668309252</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>1847</MatrixWidth> 
            <MatrixHeight>3402</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>9</ows:Identifier>
          
          <ScaleDenominator>34123.67334154626</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>3694</MatrixWidth> 
            <MatrixHeight>6803</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>10</ows:Identifier>
          
          <ScaleDenominator>17061.836671245605</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>7387</MatrixWidth> 
            <MatrixHeight>13605</MatrixHeight>
          
          </TileMatrix>
          
   </TileMatrixSet>
   
</Contents>
<ServiceMetadataURL xlink:href="https://services.arcgisonline.co.nz/arcgis/rest/services/GNS/qmapgeology/MapServer/WMTS/1.0.0/WMTSCapabilities.xml" /> 
</Capabilities>
