<?xml version="1.0" encoding="UTF-8"?>
<gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xsi:schemaLocation="http://www.isotc211.org/2005/gmd https://www.isotc211.org/2005/gmd/gmd.xsd http://www.isotc211.org/2005/gmx https://www.isotc211.org/2005/gmx/gmx.xsd http://www.isotc211.org/2005/srv http://schemas.opengis.net/iso/19139/20060504/srv/srv.xsd">
  <gmd:fileIdentifier>
      <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">c57c9c6c-3ef2-44a1-9733-d13b7286c652</gco:CharacterString>
  </gmd:fileIdentifier>
  <gmd:language>
      <gmd:LanguageCode codeList="http://www.loc.gov/standards/iso639-2/" codeListValue="eng"
                        codeSpace="ISO639-2"/>
  </gmd:language>
  <gmd:characterSet>
      <gmd:MD_CharacterSetCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#MD_CharacterSetCode"
                               codeListValue="utf8"
                               codeSpace="ISOTC211/19115"/>
  </gmd:characterSet>
  <gmd:hierarchyLevel>
      <gmd:MD_ScopeCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#MD_ScopeCode"
                        codeListValue="dataset"
                        codeSpace="ISOTC211/19115"/>
  </gmd:hierarchyLevel>
  <gmd:hierarchyLevelName>
      <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">dataset</gco:CharacterString>
  </gmd:hierarchyLevelName>
  <gmd:contact>
      <gmd:CI_ResponsibleParty>
         <gmd:individualName>
            <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Enquiries</gco:CharacterString>
         </gmd:individualName>
         <gmd:organisationName>
            <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">NIWA</gco:CharacterString>
         </gmd:organisationName>
         <gmd:positionName>
            <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">NIWA Enquiries</gco:CharacterString>
         </gmd:positionName>
         <gmd:contactInfo>
            <gmd:CI_Contact>
               <gmd:phone>
                  <gmd:CI_Telephone>
                     <gmd:voice>
                        <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">(+64)043860300</gco:CharacterString>
                     </gmd:voice>
                  </gmd:CI_Telephone>
               </gmd:phone>
               <gmd:address>
                  <gmd:CI_Address>
                     <gmd:electronicMailAddress>
                        <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">enquiries@niwa.co.nz</gco:CharacterString>
                     </gmd:electronicMailAddress>
                  </gmd:CI_Address>
               </gmd:address>
            </gmd:CI_Contact>
         </gmd:contactInfo>
         <gmd:role>
            <gmd:CI_RoleCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#CI_RoleCode"
                             codeListValue="pointOfContact"
                             codeSpace="ISOTC211/19115"/>
         </gmd:role>
      </gmd:CI_ResponsibleParty>
  </gmd:contact>
  <gmd:dateStamp>
      <gco:DateTime xmlns:gco="http://www.isotc211.org/2005/gco">2022-11-15T15:51:05</gco:DateTime>
  </gmd:dateStamp>
  <gmd:metadataStandardName>
      <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">ISO 19139 Geographic Information - Metadata - Implementation Specification</gco:CharacterString>
  </gmd:metadataStandardName>
  <gmd:metadataStandardVersion>
      <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">2007</gco:CharacterString>
  </gmd:metadataStandardVersion>
  <gmd:spatialRepresentationInfo>
      <gmd:MD_VectorSpatialRepresentation>
         <gmd:topologyLevel>
            <gmd:MD_TopologyLevelCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#MD_TopologyLevelCode"
                                      codeListValue="geometryOnly"
                                      codeSpace="ISOTC211/19115"/>
         </gmd:topologyLevel>
         <gmd:geometricObjects>
            <gmd:MD_GeometricObjects>
               <gmd:geometricObjectType>
                  <gmd:MD_GeometricObjectTypeCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#MD_GeometricObjectTypeCode"
                                                  codeListValue="composite"
                                                  codeSpace="ISOTC211/19115"/>
               </gmd:geometricObjectType>
            </gmd:MD_GeometricObjects>
         </gmd:geometricObjects>
      </gmd:MD_VectorSpatialRepresentation>
  </gmd:spatialRepresentationInfo>
  <gmd:referenceSystemInfo>
      <gmd:MD_ReferenceSystem>
         <gmd:referenceSystemIdentifier>
            <gmd:RS_Identifier>
               <gmd:code>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">2193</gco:CharacterString>
               </gmd:code>
               <gmd:codeSpace>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">EPSG</gco:CharacterString>
               </gmd:codeSpace>
               <gmd:version>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">6.15(9.0.0)</gco:CharacterString>
               </gmd:version>
            </gmd:RS_Identifier>
         </gmd:referenceSystemIdentifier>
      </gmd:MD_ReferenceSystem>
  </gmd:referenceSystemInfo>
  <gmd:identificationInfo>
      <gmd:MD_DataIdentification>
         <gmd:citation>
            <gmd:CI_Citation>
               <gmd:title>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">NZ Large River Catchments</gco:CharacterString>
               </gmd:title>
               <gmd:date>
                  <gmd:CI_Date>
                     <gmd:date>
                        <gco:Date xmlns:gco="http://www.isotc211.org/2005/gco">2021-07-21</gco:Date>
                     </gmd:date>
                     <gmd:dateType>
                        <gmd:CI_DateTypeCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#CI_DateTypeCode"
                                             codeListValue="creation"
                                             codeSpace="ISOTC211/19115"/>
                     </gmd:dateType>
                  </gmd:CI_Date>
               </gmd:date>
               <gmd:presentationForm>
                  <gmd:CI_PresentationFormCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#CI_PresentationFormCode"
                                               codeListValue="documentDigital"
                                               codeSpace="ISOTC211/19115"/>
               </gmd:presentationForm>
            </gmd:CI_Citation>
         </gmd:citation>
         <gmd:abstract>
            <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">This layer is based on the New Zealand River Environment Classification REC2 V5 and describes the larger catchments of New Zealand that are a Strahler order five and greater. 

It also has the associated names that belong to the parent sea draining catchment. It was originally derived by dissolving local Strahler Order 1 watersheds.
REC2 (River Environment Classification, v2.5) - June 2019 [Hosted Feature Layer]This service depicts catchments as polygons      The River Environment Classification (REC) is a database of   catchment spatial attributes, summarised for every segment in New   Zealand's network of rivers. The attributes were compiled for the   purposes of river classification, while the river network description   has been used to underpin models.    
Typically, models (e.g. CLUES and   TopNet) would use the dendritic (branched) linkages of REC river   segments to perform their calculations. Since its release and use over   the last decade, some errors in the location and connectivity of these   linkages have been identified. The current revision corrects those   errors, and updates a number of spatial attributes with the latest data.      REC2 provides a re-cut framework of rivers for modelling and   classification. It is built on a newer version of   the 30m digital elevation model, in which the original 20m contours were   supplemented with, for example, more spot elevation data and a better   coastline contour. Boundary errors were minimised by processing   contiguous areas (such as the whole of the North Island) together, which   wasn't possible when it was originally created.Major   updates include the revision of catchment land use information, by   overlaying with the land cover database (LCDB3, current as at 2008), and   the update of river and rainfall statistics with data from 1960-2006.
      
The river network and associated attributes have been assembled within   an ArcGIS geodatabase. Topological connectivity has been established to   allow upstream and downstream tracing within the network. 
This is based on REC2 (Version 5) , June 2019 - a publicly available dataset from NIWA Taihoro Nukurangi.NIWA acknowledges funding from the MBIE SSIF towards the preparation of REC v2.5Coordinate Reference System: NZTM (New Zealand Transverse Mercator, EPSG: 2193)

Geometric Representation of Rivers: Lines
Geometric Representation of Catchments: Polygons

Extent (Bounding Box):              Top(Latitude)    -33.9534Bottom(Latitude)    -47.4867          Left (Longitude)    166.2634          Right (Longitude)    178.9733    

Available Fields: Shape,FID_1,diss,FID_2,HydroID,CATAREA,CUM_AREA,nzsegment,StreamOrde,upElev,downElev,upcoordX_1,downcoor_1,downcoor_2,upcoordY_1,RivName,Distance,ord_diff,Distance_1,Shape_Length,Shape_Area</gco:CharacterString>
         </gmd:abstract>
         <gmd:purpose>
            <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">New Zealand NZ Large River Catchments: layer can be used in conjunction with the NIWA NZ REC (River Environment Classification) and NZ Rivers and Names layer.</gco:CharacterString>
         </gmd:purpose>
         <gmd:credit>
            <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">National Institute of Water and Atmosphere (NIWA)</gco:CharacterString>
         </gmd:credit>
         <gmd:resourceMaintenance>
            <gmd:MD_MaintenanceInformation>
               <gmd:maintenanceAndUpdateFrequency>
                  <gmd:MD_MaintenanceFrequencyCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#MD_MaintenanceFrequencyCode"
                                                   codeListValue="asNeeded"
                                                   codeSpace="ISOTC211/19115"/>
               </gmd:maintenanceAndUpdateFrequency>
            </gmd:MD_MaintenanceInformation>
         </gmd:resourceMaintenance>
         <gmd:descriptiveKeywords>
            <gmd:MD_Keywords>
               <gmd:keyword>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Live Data and Maps</gco:CharacterString>
               </gmd:keyword>
               <gmd:keyword>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Catchment</gco:CharacterString>
               </gmd:keyword>
               <gmd:keyword>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">NZ</gco:CharacterString>
               </gmd:keyword>
               <gmd:keyword>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">River</gco:CharacterString>
               </gmd:keyword>
               <gmd:keyword>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Large</gco:CharacterString>
               </gmd:keyword>
               <gmd:keyword>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">New Zealand</gco:CharacterString>
               </gmd:keyword>
               <gmd:keyword>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">NZ</gco:CharacterString>
               </gmd:keyword>
               <gmd:keyword>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">freshwater</gco:CharacterString>
               </gmd:keyword>
            </gmd:MD_Keywords>
         </gmd:descriptiveKeywords>
         <gmd:resourceConstraints>
            <gmd:MD_LegalConstraints>
               <gmd:otherConstraints>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Other Constraints</gco:CharacterString>
               </gmd:otherConstraints>
            </gmd:MD_LegalConstraints>
         </gmd:resourceConstraints>
         <gmd:spatialRepresentationType>
            <gmd:MD_SpatialRepresentationTypeCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#MD_SpatialRepresentationTypeCode"
                                                  codeListValue="vector"
                                                  codeSpace="ISOTC211/19115"/>
         </gmd:spatialRepresentationType>
         <gmd:language>
            <gmd:LanguageCode codeList="http://www.loc.gov/standards/iso639-2/" codeListValue="eng"
                              codeSpace="ISO639-2"/>
         </gmd:language>
         <gmd:characterSet>
            <gmd:MD_CharacterSetCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#MD_CharacterSetCode"
                                     codeListValue="utf8"
                                     codeSpace="ISOTC211/19115"/>
         </gmd:characterSet>
         <gmd:topicCategory>
            <gmd:MD_TopicCategoryCode>inlandWaters</gmd:MD_TopicCategoryCode>
         </gmd:topicCategory>
         <gmd:environmentDescription>
            <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">processing environment is ArcGIS</gco:CharacterString>
         </gmd:environmentDescription>
         <gmd:extent>
            <gmd:EX_Extent>
               <gmd:geographicElement>
                  <gmd:EX_GeographicBoundingBox>
                     <gmd:extentTypeCode>
                        <gco:Boolean xmlns:gco="http://www.isotc211.org/2005/gco">true</gco:Boolean>
                     </gmd:extentTypeCode>
                     <gmd:westBoundLongitude>
                        <gco:Decimal xmlns:gco="http://www.isotc211.org/2005/gco">166.2634</gco:Decimal>
                     </gmd:westBoundLongitude>
                     <gmd:eastBoundLongitude>
                        <gco:Decimal xmlns:gco="http://www.isotc211.org/2005/gco">178.9733</gco:Decimal>
                     </gmd:eastBoundLongitude>
                     <gmd:southBoundLatitude>
                        <gco:Decimal xmlns:gco="http://www.isotc211.org/2005/gco">-47.4867</gco:Decimal>
                     </gmd:southBoundLatitude>
                     <gmd:northBoundLatitude>
                        <gco:Decimal xmlns:gco="http://www.isotc211.org/2005/gco">-33.9534</gco:Decimal>
                     </gmd:northBoundLatitude>
                  </gmd:EX_GeographicBoundingBox>
               </gmd:geographicElement>
            </gmd:EX_Extent>
         </gmd:extent>
      </gmd:MD_DataIdentification>
  </gmd:identificationInfo>
  <gmd:distributionInfo xmlns:gco="http://www.isotc211.org/2005/gco">
      <gmd:MD_Distribution>
         <gmd:distributionFormat>
            <gmd:MD_Format>
               <gmd:name>
                  <gco:CharacterString>ArcGIS Online Hosted Feature Layer</gco:CharacterString>
               </gmd:name>
               <gmd:version>
                  <gco:CharacterString>2022</gco:CharacterString>
               </gmd:version>
            </gmd:MD_Format>
         </gmd:distributionFormat>
         <gmd:transferOptions>
            <gmd:MD_DigitalTransferOptions>
               <gmd:onLine>
                  <gmd:CI_OnlineResource>
                     <gmd:linkage>
                        <gmd:URL>https://gis.niwa.co.nz/server/rest/services/HYDRO/River_Environment_classification_test/MapServer/</gmd:URL>
                     </gmd:linkage>
                     <gmd:name>
                        <gco:CharacterString>River Environment Classification - Large Catchments</gco:CharacterString>
                     </gmd:name>
                  </gmd:CI_OnlineResource>
               </gmd:onLine>
            </gmd:MD_DigitalTransferOptions>
         </gmd:transferOptions>
      </gmd:MD_Distribution>
  </gmd:distributionInfo>
  <gmd:dataQualityInfo>
      <gmd:DQ_DataQuality>
         <gmd:scope>
            <gmd:DQ_Scope>
               <gmd:level>
                  <gmd:MD_ScopeCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#MD_ScopeCode"
                                    codeListValue="dataset"
                                    codeSpace="ISOTC211/19115"/>
               </gmd:level>
            </gmd:DQ_Scope>
         </gmd:scope>
         <gmd:lineage>
            <gmd:LI_Lineage>
               <gmd:statement>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">This layer is based on the New Zealand River Environment Classification REC2 V5 and describes the larger catchments of New Zealand that are a Strahler order five and greater. It also has the associated names that belong to the parent sea draining catchment. It was originally derived by dissolving local Strahler Order 1 watersheds.REC2 (River Environment Classification, v2.5) - June 2019 [Hosted Feature Layer]This service depicts rivers as lines and catchments as polygons
    The River Environment Classification (REC) is a database of catchment spatial attributes, summarised for every segment in New Zealand's network of rivers. The attributes were compiled for the 
purposes of river classification, while the river network description has been used to underpin models.    Typically, models (e.g. CLUES and TopNet) would use the dendritic (branched) linkages of REC river segments to perform their calculations. Since its release and use over the last decade, some errors in the location and connectivity of these linkages have been identified. The current revision corrects those errors, and updates a number of spatial attributes with the latest data.
    REC2 provides a re-cut framework of rivers for modelling and classification. It is built on a newer version of the 30m digital elevation model, in which the original 20m contours were supplemented with, for example, more spot elevation data and a better coastline contour. Boundary errors were minimised by processing contiguous areas (such as the whole of the North Island) together, which wasn't possible when it was originally created. Major updates include the revision of catchment land use information, by overlaying with the land cover database (LCDB3, current as at 2008), and the update of river and rainfall statistics with data from 1960-2006.  
  The river network and associated attributes have been assembled within an ArcGIS geodatabase. Topological connectivity has been established to allow upstream and downstream tracing within the network. REC2 can be downloaded or streamed and used directly in ArcMap. (A file geodatabase version for ArcGIS of REC2 can be downloaded as a zip file and used directly for analyses in ArcMap from here)This layer is using Esri's ArcGIS Online Optimizations for fast rendering.

This is REC2 (Version 5) , June 2019 - a publicly available dataset from NIWA Taihoro Nukurangi. NIWA acknowledges funding from the MBIE SSIF towards the preparation of REC v2.5</gco:CharacterString>
               </gmd:statement>
            </gmd:LI_Lineage>
         </gmd:lineage>
      </gmd:DQ_DataQuality>
  </gmd:dataQualityInfo>
  <gmd:metadataMaintenance>
      <gmd:MD_MaintenanceInformation>
         <gmd:maintenanceAndUpdateFrequency>
            <gmd:MD_MaintenanceFrequencyCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#MD_MaintenanceFrequencyCode"
                                             codeListValue="asNeeded"
                                             codeSpace="ISOTC211/19115"/>
         </gmd:maintenanceAndUpdateFrequency>
         <gmd:maintenanceNote>
            <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">maintenance will be done on an ad-hoc basis</gco:CharacterString>
         </gmd:maintenanceNote>
      </gmd:MD_MaintenanceInformation>
  </gmd:metadataMaintenance>
</gmd:MD_Metadata>