<?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>Basemaps_Imagery2016</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="http://gis.es.govt.nz/arcgis/rest/services/Basemaps/Imagery2016/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="http://gis.es.govt.nz/arcgis/rest/services/Basemaps/Imagery2016/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="http://gis.es.govt.nz/arcgis/rest/services/Basemaps/Imagery2016/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="http://gis.es.govt.nz/arcgis/rest/services/Basemaps/Imagery2016/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>Basemaps_Imagery2016</ows:Title> 
    <ows:Identifier>Basemaps_Imagery2016</ows:Identifier>
    
      <ows:BoundingBox crs="urn:ogc:def:crs:EPSG::2193">
	  
			<ows:LowerCorner>161992.7282 -3888315.1282</ows:LowerCorner>
			<ows:UpperCorner>1.00441999926E7 9618691.0525</ows:UpperCorner>
		
      </ows:BoundingBox>  
      
    <ows:WGS84BoundingBox crs="urn:ogc:def:crs:OGC:2:84">
      <ows:LowerCorner>-180.0 -88.56731743686417</ows:LowerCorner>
      <ows:UpperCorner>180.0 0.3998911289968824</ows:UpperCorner>
    </ows:WGS84BoundingBox>
    <Style isDefault="true">
      <ows:Title>Default Style</ows:Title>
      <ows:Identifier>default</ows:Identifier>
    </Style>
    <Format>image/png</Format>
    <TileMatrixSetLink>
      <TileMatrixSet>default028mm</TileMatrixSet>
    </TileMatrixSetLink>

        
    <ResourceURL format="image/png" resourceType="tile" template="http://gis.es.govt.nz/arcgis/rest/services/Basemaps/Imagery2016/MapServer/WMTS/tile/1.0.0/Basemaps_Imagery2016/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png" />
  </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>4367829.777325672</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>44</MatrixWidth> 
            <MatrixHeight>64</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>1</ows:Identifier>
          
          <ScaleDenominator>2183914.888662836</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>88</MatrixWidth> 
            <MatrixHeight>127</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>2</ows:Identifier>
          
          <ScaleDenominator>1091957.444331418</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>175</MatrixWidth> 
            <MatrixHeight>254</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>3</ows:Identifier>
          
          <ScaleDenominator>545979.1946368921</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>349</MatrixWidth> 
            <MatrixHeight>507</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>4</ows:Identifier>
          
          <ScaleDenominator>272989.12484726304</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>698</MatrixWidth> 
            <MatrixHeight>1014</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>5</ows:Identifier>
          
          <ScaleDenominator>136495.03489481454</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>1395</MatrixWidth> 
            <MatrixHeight>2028</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>6</ows:Identifier>
          
          <ScaleDenominator>68247.51744740727</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>2789</MatrixWidth> 
            <MatrixHeight>4055</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>7</ows:Identifier>
          
          <ScaleDenominator>34123.758723703635</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>5577</MatrixWidth> 
            <MatrixHeight>8110</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>8</ows:Identifier>
          
          <ScaleDenominator>17061.879361851818</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>11153</MatrixWidth> 
            <MatrixHeight>16220</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>9</ows:Identifier>
          
          <ScaleDenominator>8530.939680925909</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>22306</MatrixWidth> 
            <MatrixHeight>32439</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>10</ows:Identifier>
          
          <ScaleDenominator>4265.469840462954</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>44611</MatrixWidth> 
            <MatrixHeight>64878</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>11</ows:Identifier>
          
          <ScaleDenominator>2132.734920231477</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>89221</MatrixWidth> 
            <MatrixHeight>129755</MatrixHeight>
          
          </TileMatrix>
          
          <TileMatrix>
          <ows:Identifier>12</ows:Identifier>
          
          <ScaleDenominator>1065.894988932701</ScaleDenominator>
          
          <TopLeftCorner>1.99981E7 -4020900.0</TopLeftCorner>  
          <TileWidth>256</TileWidth> 
          <TileHeight>256</TileHeight>
            
            <MatrixWidth>178521</MatrixWidth> 
            <MatrixHeight>259624</MatrixHeight>
          
          </TileMatrix>
          
   </TileMatrixSet>
   
</Contents>
<ServiceMetadataURL xlink:href="http://gis.es.govt.nz/arcgis/rest/services/Basemaps/Imagery2016/MapServer/WMTS/1.0.0/WMTSCapabilities.xml" /> 
</Capabilities>
