<?xml version="1.0" encoding="UTF-8"?>
<WMS_Capabilities version="1.3.0"
  xmlns="http://www.opengis.net/wms"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:esri_wms="http://www.esri.com/wms"
  xsi:schemaLocation="http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd http://www.esri.com/wms https://seasketch.doc.govt.nz:443/arcgis/services/National/Nitrogen_state_and_trends/MapServer/WMSServer?version=1.3.0%26service=WMS%26request=GetSchemaExtension">
  <Service>
    <Name><![CDATA[WMS]]></Name>
    <Title>WMS</Title>
    <Abstract>WMS</Abstract>
    <KeywordList><Keyword><![CDATA[]]></Keyword></KeywordList>
    <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://seasketch.doc.govt.nz:443/arcgis/services/National/Nitrogen_state_and_trends/MapServer/WMSServer?"/>
    <ContactInformation>
      <ContactPersonPrimary>
        <ContactPerson><![CDATA[]]></ContactPerson>
        <ContactOrganization><![CDATA[]]></ContactOrganization>
      </ContactPersonPrimary>
      <ContactPosition><![CDATA[]]></ContactPosition>
      <ContactAddress>
        <AddressType><![CDATA[]]></AddressType>
        <Address><![CDATA[]]></Address>
        <City><![CDATA[]]></City>
        <StateOrProvince><![CDATA[]]></StateOrProvince>
        <PostCode><![CDATA[]]></PostCode>
        <Country><![CDATA[]]></Country>
      </ContactAddress>
      <ContactVoiceTelephone><![CDATA[]]></ContactVoiceTelephone>
      <ContactFacsimileTelephone><![CDATA[]]></ContactFacsimileTelephone>
      <ContactElectronicMailAddress><![CDATA[]]></ContactElectronicMailAddress>
    </ContactInformation>
    <Fees><![CDATA[]]></Fees>
    <AccessConstraints><![CDATA[]]></AccessConstraints>
    <MaxWidth>4096</MaxWidth>
    <MaxHeight>4096</MaxHeight>
  </Service>
  <Capability>
    <Request>
      <GetCapabilities>
        <Format>application/vnd.ogc.wms_xml</Format>
        <Format>text/xml</Format>
        <DCPType>
          <HTTP><Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://seasketch.doc.govt.nz:443/arcgis/services/National/Nitrogen_state_and_trends/MapServer/WMSServer?"/></Get></HTTP>
        </DCPType>
      </GetCapabilities>
      <GetMap>
        <Format>image/bmp</Format>
        <Format>image/jpeg</Format>
        <Format>image/tiff</Format>
        <Format>image/png</Format>
        <Format>image/png8</Format>
        <Format>image/png24</Format>
        <Format>image/png32</Format>
        <Format>image/gif</Format>
        <Format>image/svg+xml</Format>
        <DCPType>
          <HTTP><Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://seasketch.doc.govt.nz:443/arcgis/services/National/Nitrogen_state_and_trends/MapServer/WMSServer?"/></Get></HTTP>
        </DCPType>
      </GetMap>
      <GetFeatureInfo>
        <Format>application/vnd.esri.wms_raw_xml</Format>
        <Format>application/vnd.esri.wms_featureinfo_xml</Format>
        <Format>application/vnd.ogc.wms_xml</Format>
        <Format>application/geojson</Format>
        <Format>text/xml</Format>
        <Format>text/html</Format>
        <Format>text/plain</Format>
        <DCPType>
          <HTTP><Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://seasketch.doc.govt.nz:443/arcgis/services/National/Nitrogen_state_and_trends/MapServer/WMSServer?"/></Get></HTTP>
        </DCPType>
      </GetFeatureInfo>
      <esri_wms:GetStyles>
        <Format>application/vnd.ogc.sld+xml</Format>
        <DCPType>
          <HTTP><Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://seasketch.doc.govt.nz:443/arcgis/services/National/Nitrogen_state_and_trends/MapServer/WMSServer?"/></Get></HTTP>
        </DCPType>
      </esri_wms:GetStyles>
    </Request>
    <Exception>
      <Format>application/vnd.ogc.se_xml</Format>
      <Format>application/vnd.ogc.se_inimage</Format>
      <Format>application/vnd.ogc.se_blank</Format>
      <Format>text/xml</Format>
      <Format>XML</Format>
    </Exception>
    <Layer>
      <Title><![CDATA[Nitrogen state and trends]]></Title>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>167.454100</westBoundLongitude><eastBoundLongitude>178.427553</eastBoundLongitude><southBoundLatitude>-46.629711</southBoundLatitude><northBoundLatitude>-35.038630</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="167.454100" miny="-46.629711" maxx="178.427553" maxy="-35.038630"/>
<BoundingBox CRS="EPSG:4326" minx="-46.629711" miny="167.454100" maxx="-35.038630" maxy="178.427553"/>
<BoundingBox CRS="EPSG:3857" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
<BoundingBox CRS="EPSG:102100" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
      <Layer queryable="1">
        <Title><![CDATA[Nitrogen state and trends]]></Title>
        <Abstract><![CDATA[Total nitrogen, nitrate-nitrogen and ammoniacal nitrogen levels were monitored at selected river sites. The median values from 2013 to 2017 were calculated to measure the state of river water quality. River water quality trends were calculated for 10 years (2008–2017), 20 years (1998–2017) and 28 years (1990–2017) and categorised as very likely improving, likely improving, indeterminate, likely worsening and very likely worsening. River water quality monitoring data was collected by NIWA and regional councils using consistent time periods and comparable methods.]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>167.454100</westBoundLongitude><eastBoundLongitude>178.427553</eastBoundLongitude><southBoundLatitude>-46.629711</southBoundLatitude><northBoundLatitude>-35.038630</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="167.454100" miny="-46.629711" maxx="178.427553" maxy="-35.038630"/>
<BoundingBox CRS="EPSG:4326" minx="-46.629711" miny="167.454100" maxx="-35.038630" maxy="178.427553"/>
<BoundingBox CRS="EPSG:3857" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
<BoundingBox CRS="EPSG:102100" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
      <Layer queryable="1">
        <Name>1</Name>
        <Title><![CDATA[River water quality - ammoniacal nitrogen - state]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>167.454100</westBoundLongitude><eastBoundLongitude>178.427553</eastBoundLongitude><southBoundLatitude>-46.629711</southBoundLatitude><northBoundLatitude>-35.038630</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="167.454100" miny="-46.629711" maxx="178.427553" maxy="-35.038630"/>
<BoundingBox CRS="EPSG:4326" minx="-46.629711" miny="167.454100" maxx="-35.038630" maxy="178.427553"/>
<BoundingBox CRS="EPSG:3857" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
<BoundingBox CRS="EPSG:102100" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
        <Style>
          <Name>default</Name>
          <Title>1</Title>
          <LegendURL width="210" height="90">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://seasketch.doc.govt.nz:443/arcgis/services/National/Nitrogen_state_and_trends/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=1" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
      <Layer queryable="1">
        <Name>2</Name>
        <Title><![CDATA[River water quality - nitrate-nitrogen - state]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>167.454100</westBoundLongitude><eastBoundLongitude>178.427553</eastBoundLongitude><southBoundLatitude>-46.629711</southBoundLatitude><northBoundLatitude>-35.038630</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="167.454100" miny="-46.629711" maxx="178.427553" maxy="-35.038630"/>
<BoundingBox CRS="EPSG:4326" minx="-46.629711" miny="167.454100" maxx="-35.038630" maxy="178.427553"/>
<BoundingBox CRS="EPSG:3857" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
<BoundingBox CRS="EPSG:102100" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
        <Style>
          <Name>default</Name>
          <Title>2</Title>
          <LegendURL width="210" height="90">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://seasketch.doc.govt.nz:443/arcgis/services/National/Nitrogen_state_and_trends/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=2" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
      <Layer queryable="1">
        <Name>3</Name>
        <Title><![CDATA[River water quality - total nitrogen - state]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>167.454100</westBoundLongitude><eastBoundLongitude>178.427553</eastBoundLongitude><southBoundLatitude>-46.629711</southBoundLatitude><northBoundLatitude>-35.038630</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="167.454100" miny="-46.629711" maxx="178.427553" maxy="-35.038630"/>
<BoundingBox CRS="EPSG:4326" minx="-46.629711" miny="167.454100" maxx="-35.038630" maxy="178.427553"/>
<BoundingBox CRS="EPSG:3857" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
<BoundingBox CRS="EPSG:102100" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
        <Style>
          <Name>default</Name>
          <Title>3</Title>
          <LegendURL width="210" height="90">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://seasketch.doc.govt.nz:443/arcgis/services/National/Nitrogen_state_and_trends/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=3" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
      <Layer queryable="1">
        <Title><![CDATA[River water quality - ammoniacal nitrogen - trends ]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>167.454100</westBoundLongitude><eastBoundLongitude>178.427553</eastBoundLongitude><southBoundLatitude>-46.629711</southBoundLatitude><northBoundLatitude>-35.038630</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="167.454100" miny="-46.629711" maxx="178.427553" maxy="-35.038630"/>
<BoundingBox CRS="EPSG:4326" minx="-46.629711" miny="167.454100" maxx="-35.038630" maxy="178.427553"/>
<BoundingBox CRS="EPSG:3857" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
<BoundingBox CRS="EPSG:102100" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
      <Layer queryable="1">
        <Name>5</Name>
        <Title><![CDATA[River water quality - ammoniacal nitrogen - trends ]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>167.454100</westBoundLongitude><eastBoundLongitude>178.427553</eastBoundLongitude><southBoundLatitude>-46.629711</southBoundLatitude><northBoundLatitude>-35.038630</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="167.454100" miny="-46.629711" maxx="178.427553" maxy="-35.038630"/>
<BoundingBox CRS="EPSG:4326" minx="-46.629711" miny="167.454100" maxx="-35.038630" maxy="178.427553"/>
<BoundingBox CRS="EPSG:3857" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
<BoundingBox CRS="EPSG:102100" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
        <Style>
          <Name>default</Name>
          <Title>5</Title>
          <LegendURL width="162" height="108">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://seasketch.doc.govt.nz:443/arcgis/services/National/Nitrogen_state_and_trends/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=5" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
      <Layer queryable="1">
        <Name>6</Name>
        <Title><![CDATA[River water quality - ammoniacal nitrogen - trends ]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>167.454100</westBoundLongitude><eastBoundLongitude>178.427553</eastBoundLongitude><southBoundLatitude>-46.629711</southBoundLatitude><northBoundLatitude>-35.038630</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="167.454100" miny="-46.629711" maxx="178.427553" maxy="-35.038630"/>
<BoundingBox CRS="EPSG:4326" minx="-46.629711" miny="167.454100" maxx="-35.038630" maxy="178.427553"/>
<BoundingBox CRS="EPSG:3857" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
<BoundingBox CRS="EPSG:102100" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
        <Style>
          <Name>default</Name>
          <Title>6</Title>
          <LegendURL width="162" height="108">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://seasketch.doc.govt.nz:443/arcgis/services/National/Nitrogen_state_and_trends/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=6" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
      <Layer queryable="1">
        <Name>7</Name>
        <Title><![CDATA[River water quality - ammoniacal nitrogen - trends ]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>167.454100</westBoundLongitude><eastBoundLongitude>178.427553</eastBoundLongitude><southBoundLatitude>-46.629711</southBoundLatitude><northBoundLatitude>-35.038630</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="167.454100" miny="-46.629711" maxx="178.427553" maxy="-35.038630"/>
<BoundingBox CRS="EPSG:4326" minx="-46.629711" miny="167.454100" maxx="-35.038630" maxy="178.427553"/>
<BoundingBox CRS="EPSG:3857" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
<BoundingBox CRS="EPSG:102100" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
        <Style>
          <Name>default</Name>
          <Title>7</Title>
          <LegendURL width="162" height="108">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://seasketch.doc.govt.nz:443/arcgis/services/National/Nitrogen_state_and_trends/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=7" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
      </Layer>
      <Layer queryable="1">
        <Title><![CDATA[River water quality - nitrate-nitrogen - trends ]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>167.454100</westBoundLongitude><eastBoundLongitude>178.427553</eastBoundLongitude><southBoundLatitude>-46.629711</southBoundLatitude><northBoundLatitude>-35.038630</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="167.454100" miny="-46.629711" maxx="178.427553" maxy="-35.038630"/>
<BoundingBox CRS="EPSG:4326" minx="-46.629711" miny="167.454100" maxx="-35.038630" maxy="178.427553"/>
<BoundingBox CRS="EPSG:3857" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
<BoundingBox CRS="EPSG:102100" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
      <Layer queryable="1">
        <Name>9</Name>
        <Title><![CDATA[River water quality - nitrate-nitrogen - trends ]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>167.454100</westBoundLongitude><eastBoundLongitude>178.427553</eastBoundLongitude><southBoundLatitude>-46.629711</southBoundLatitude><northBoundLatitude>-35.038630</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="167.454100" miny="-46.629711" maxx="178.427553" maxy="-35.038630"/>
<BoundingBox CRS="EPSG:4326" minx="-46.629711" miny="167.454100" maxx="-35.038630" maxy="178.427553"/>
<BoundingBox CRS="EPSG:3857" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
<BoundingBox CRS="EPSG:102100" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
        <Style>
          <Name>default</Name>
          <Title>9</Title>
          <LegendURL width="162" height="108">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://seasketch.doc.govt.nz:443/arcgis/services/National/Nitrogen_state_and_trends/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=9" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
      <Layer queryable="1">
        <Name>10</Name>
        <Title><![CDATA[River water quality - nitrate-nitrogen - trends ]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>167.454100</westBoundLongitude><eastBoundLongitude>178.427553</eastBoundLongitude><southBoundLatitude>-46.629711</southBoundLatitude><northBoundLatitude>-35.038630</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="167.454100" miny="-46.629711" maxx="178.427553" maxy="-35.038630"/>
<BoundingBox CRS="EPSG:4326" minx="-46.629711" miny="167.454100" maxx="-35.038630" maxy="178.427553"/>
<BoundingBox CRS="EPSG:3857" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
<BoundingBox CRS="EPSG:102100" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
        <Style>
          <Name>default</Name>
          <Title>10</Title>
          <LegendURL width="162" height="108">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://seasketch.doc.govt.nz:443/arcgis/services/National/Nitrogen_state_and_trends/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=10" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
      <Layer queryable="1">
        <Name>11</Name>
        <Title><![CDATA[River water quality - nitrate-nitrogen - trends ]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>167.454100</westBoundLongitude><eastBoundLongitude>178.427553</eastBoundLongitude><southBoundLatitude>-46.629711</southBoundLatitude><northBoundLatitude>-35.038630</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="167.454100" miny="-46.629711" maxx="178.427553" maxy="-35.038630"/>
<BoundingBox CRS="EPSG:4326" minx="-46.629711" miny="167.454100" maxx="-35.038630" maxy="178.427553"/>
<BoundingBox CRS="EPSG:3857" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
<BoundingBox CRS="EPSG:102100" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
        <Style>
          <Name>default</Name>
          <Title>11</Title>
          <LegendURL width="162" height="108">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://seasketch.doc.govt.nz:443/arcgis/services/National/Nitrogen_state_and_trends/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=11" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
      </Layer>
      <Layer queryable="1">
        <Title><![CDATA[River water quality - total nitrogen - trends ]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>167.454100</westBoundLongitude><eastBoundLongitude>178.427553</eastBoundLongitude><southBoundLatitude>-46.629711</southBoundLatitude><northBoundLatitude>-35.038630</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="167.454100" miny="-46.629711" maxx="178.427553" maxy="-35.038630"/>
<BoundingBox CRS="EPSG:4326" minx="-46.629711" miny="167.454100" maxx="-35.038630" maxy="178.427553"/>
<BoundingBox CRS="EPSG:3857" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
<BoundingBox CRS="EPSG:102100" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
      <Layer queryable="1">
        <Name>13</Name>
        <Title><![CDATA[River water quality - total nitrogen - trends ]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>167.454100</westBoundLongitude><eastBoundLongitude>178.427553</eastBoundLongitude><southBoundLatitude>-46.629711</southBoundLatitude><northBoundLatitude>-35.038630</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="167.454100" miny="-46.629711" maxx="178.427553" maxy="-35.038630"/>
<BoundingBox CRS="EPSG:4326" minx="-46.629711" miny="167.454100" maxx="-35.038630" maxy="178.427553"/>
<BoundingBox CRS="EPSG:3857" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
<BoundingBox CRS="EPSG:102100" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
        <Style>
          <Name>default</Name>
          <Title>13</Title>
          <LegendURL width="162" height="108">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://seasketch.doc.govt.nz:443/arcgis/services/National/Nitrogen_state_and_trends/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=13" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
      <Layer queryable="1">
        <Name>14</Name>
        <Title><![CDATA[River water quality - total nitrogen - trends ]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>167.454100</westBoundLongitude><eastBoundLongitude>178.427553</eastBoundLongitude><southBoundLatitude>-46.629711</southBoundLatitude><northBoundLatitude>-35.038630</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="167.454100" miny="-46.629711" maxx="178.427553" maxy="-35.038630"/>
<BoundingBox CRS="EPSG:4326" minx="-46.629711" miny="167.454100" maxx="-35.038630" maxy="178.427553"/>
<BoundingBox CRS="EPSG:3857" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
<BoundingBox CRS="EPSG:102100" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
        <Style>
          <Name>default</Name>
          <Title>14</Title>
          <LegendURL width="162" height="108">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://seasketch.doc.govt.nz:443/arcgis/services/National/Nitrogen_state_and_trends/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=14" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
      <Layer queryable="1">
        <Name>15</Name>
        <Title><![CDATA[River water quality - total nitrogen - trends ]]></Title>
        <Abstract><![CDATA[]]></Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
 <!-- alias 3857 -->
<CRS>EPSG:102100</CRS>
<EX_GeographicBoundingBox><westBoundLongitude>167.454100</westBoundLongitude><eastBoundLongitude>178.427553</eastBoundLongitude><southBoundLatitude>-46.629711</southBoundLatitude><northBoundLatitude>-35.038630</northBoundLatitude></EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="167.454100" miny="-46.629711" maxx="178.427553" maxy="-35.038630"/>
<BoundingBox CRS="EPSG:4326" minx="-46.629711" miny="167.454100" maxx="-35.038630" maxy="178.427553"/>
<BoundingBox CRS="EPSG:3857" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
<BoundingBox CRS="EPSG:102100" minx="18640905.143300" miny="-5881841.583000" maxx="19862464.297900" maxy="-4169132.103800"/>
        <Style>
          <Name>default</Name>
          <Title>15</Title>
          <LegendURL width="162" height="108">
            <Format>image/png</Format>
            <OnlineResource xlink:href="https://seasketch.doc.govt.nz:443/arcgis/services/National/Nitrogen_state_and_trends/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=15" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" />
          </LegendURL>
        </Style>
      </Layer>
      </Layer>
      </Layer>
    </Layer>
  </Capability>
</WMS_Capabilities>
