<?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"
                 xmlns:xlink="http://www.w3.org/1999/xlink"
                 xmlns:gco="http://www.isotc211.org/2005/gco"
                 xmlns:gmx="http://www.isotc211.org/2005/gmx"
                 xmlns:srv="http://www.isotc211.org/2005/srv"
                 xmlns:gml="http://www.opengis.net/gml/3.2"
                 xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://schemas.opengis.net/iso/19139/20070417/gmd/gmd.xsd http://www.isotc211.org/2005/gmx http://schemas.opengis.net/iso/19139/20070417/gmx/gmx.xsd http://www.isotc211.org/2005/srv http://schemas.opengis.net/iso/19139/20070417/srv/1.0/srv.xsd">
  <gmd:fileIdentifier>
      <gco:CharacterString>c4e0f85c-6637-488b-8d96-080e6d680d1c</gco:CharacterString>
  </gmd:fileIdentifier>
  <gmd:language>
      <gmd:LanguageCode codeListValue="swe" codeList="http://www.loc.gov/standards/iso639-2/">Svenska</gmd:LanguageCode>
  </gmd:language>
  <gmd:hierarchyLevel>
      <gmd:MD_ScopeCode codeListValue="dataset"
                        codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ScopeCode"/>
  </gmd:hierarchyLevel>
  <gmd:contact>
      <gmd:CI_ResponsibleParty>
         <gmd:organisationName>
            <gco:CharacterString>SMHI</gco:CharacterString>
         </gmd:organisationName>
         <gmd:contactInfo>
            <gmd:CI_Contact>
               <gmd:phone>
                  <gmd:CI_Telephone>
                     <gmd:voice>
                        <gco:CharacterString>011-4958000</gco:CharacterString>
                     </gmd:voice>
                  </gmd:CI_Telephone>
               </gmd:phone>
               <gmd:address>
                  <gmd:CI_Address>
                     <gmd:deliveryPoint>
                        <gco:CharacterString>Folkborgsvägen 17</gco:CharacterString>
                     </gmd:deliveryPoint>
                     <gmd:city>
                        <gco:CharacterString>Norrköping</gco:CharacterString>
                     </gmd:city>
                     <gmd:postalCode>
                        <gco:CharacterString>60176</gco:CharacterString>
                     </gmd:postalCode>
                     <gmd:electronicMailAddress>
                        <gco:CharacterString>hydrolog@smhi.se</gco:CharacterString>
                     </gmd:electronicMailAddress>
                  </gmd:CI_Address>
               </gmd:address>
            </gmd:CI_Contact>
         </gmd:contactInfo>
         <gmd:role>
            <gmd:CI_RoleCode codeListValue="pointOfContact"
                             codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode"/>
         </gmd:role>
      </gmd:CI_ResponsibleParty>
  </gmd:contact>
  <gmd:dateStamp>
      <gco:Date>2025-03-04</gco:Date>
  </gmd:dateStamp>
  <gmd:metadataStandardName>
      <gco:CharacterString>SS-EN-ISO-19115:2005-NMDP 4.0</gco:CharacterString>
  </gmd:metadataStandardName>
  <gmd:referenceSystemInfo>
      <gmd:MD_ReferenceSystem>
         <gmd:referenceSystemIdentifier>
            <gmd:RS_Identifier>
               <gmd:code>
                  <gmx:Anchor xlink:href="http://www.opengis.net/def/crs/EPSG/0/3006">EPSG:3006</gmx:Anchor>
               </gmd:code>
            </gmd:RS_Identifier>
         </gmd:referenceSystemIdentifier>
      </gmd:MD_ReferenceSystem>
  </gmd:referenceSystemInfo>
  <gmd:identificationInfo>
      <gmd:MD_DataIdentification>
         <gmd:citation>
            <gmd:CI_Citation>
               <gmd:title>
                  <gco:CharacterString>Huvud- och delavrinningsområden (SVAR2016)</gco:CharacterString>
               </gmd:title>
               <gmd:date>
                  <gmd:CI_Date>
                     <gmd:date>
                        <gco:Date>2023-09-25</gco:Date>
                     </gmd:date>
                     <gmd:dateType>
                        <gmd:CI_DateTypeCode codeListValue="creation"
                                             codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode"/>
                     </gmd:dateType>
                  </gmd:CI_Date>
               </gmd:date>
               <gmd:date>
                  <gmd:CI_Date>
                     <gmd:date>
                        <gco:Date>2023-09-25</gco:Date>
                     </gmd:date>
                     <gmd:dateType>
                        <gmd:CI_DateTypeCode codeListValue="publication"
                                             codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode"/>
                     </gmd:dateType>
                  </gmd:CI_Date>
               </gmd:date>
               <gmd:date>
                  <gmd:CI_Date>
                     <gmd:date>
                        <gco:Date>2024-03-19</gco:Date>
                     </gmd:date>
                     <gmd:dateType>
                        <gmd:CI_DateTypeCode codeListValue="revision"
                                             codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode"/>
                     </gmd:dateType>
                  </gmd:CI_Date>
               </gmd:date>
               <gmd:identifier>
                  <gmd:MD_Identifier>
                     <gmd:code>
                        <gmx:Anchor xlink:href="https://opendata-catalog.smhi.se/md/c4e0f85c-6637-488b-8d96-080e6d680d1c"/>
                     </gmd:code>
                  </gmd:MD_Identifier>
               </gmd:identifier>
            </gmd:CI_Citation>
         </gmd:citation>
         <gmd:abstract>
            <gco:CharacterString>Ett avrinningsområde är det område från vilket vatten dräneras uppströms en viss punkt. Avrinningsområdet begränsas av höjdryggar, som delar flödet från regn och smältvatten åt olika håll. Gränsen för avrinningsområdet utgörs av vattendelaren. För ett avrinningsområde kan vattenföringen i utloppsplatsen beräknas med hjälp av information om områdets area, mark, sjöar, vattendragslängder, nederbörd, avdunstning, snömagasinering m.m. 

Ett huvudavrinningsområde definieras av att det har sin mynning i havet och att det har en areal som är minst ca 200 km². 

Med delavrinningsområden avses oftast den finaste indelningen i avrinningsområden men ordet delavrinningsområde kan i princip betyda en godtycklig del av ett större avrinningsområde.

Produkten huvudavrinningsområden som baserar sig på version SVAR 2016:8, innehåller 232 polygoner som representerar de svenska huvudavrinningsområdena och kustområdena mellan dem, samt delar av de norska huvudavrinningsområdena.

Produkten delavrinningsområden som baserar sig på version SVAR 2016:8, innehåller 53538 polygoner som representerar svenska delavrinningsområden och svenska öar i havet.

En delmängd av de norska och finska delavrinningsområdena finns också med i produkten.

Leveransbeskrivning: https://opendata-download.smhi.se/svar/SVAR_Basprodukter_2016_8.pdf</gco:CharacterString>
         </gmd:abstract>
         <gmd:status>
            <gmd:MD_ProgressCode codeListValue="completed"
                                 codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ProgressCode"/>
         </gmd:status>
         <gmd:pointOfContact>
            <gmd:CI_ResponsibleParty>
               <gmd:organisationName>
                  <gco:CharacterString>SMHI</gco:CharacterString>
               </gmd:organisationName>
               <gmd:contactInfo>
                  <gmd:CI_Contact>
                     <gmd:phone>
                        <gmd:CI_Telephone>
                           <gmd:voice>
                              <gco:CharacterString>011-495 8000</gco:CharacterString>
                           </gmd:voice>
                        </gmd:CI_Telephone>
                     </gmd:phone>
                     <gmd:address>
                        <gmd:CI_Address>
                           <gmd:deliveryPoint>
                              <gco:CharacterString>Folkborgsvägen 17</gco:CharacterString>
                           </gmd:deliveryPoint>
                           <gmd:city>
                              <gco:CharacterString>Norrköping</gco:CharacterString>
                           </gmd:city>
                           <gmd:postalCode>
                              <gco:CharacterString>601 76</gco:CharacterString>
                           </gmd:postalCode>
                           <gmd:electronicMailAddress>
                              <gco:CharacterString>dataleveranser@smhi.se</gco:CharacterString>
                           </gmd:electronicMailAddress>
                        </gmd:CI_Address>
                     </gmd:address>
                  </gmd:CI_Contact>
               </gmd:contactInfo>
               <gmd:role>
                  <gmd:CI_RoleCode codeListValue="owner"
                                   codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode"/>
               </gmd:role>
            </gmd:CI_ResponsibleParty>
         </gmd:pointOfContact>
         <gmd:resourceMaintenance>
            <gmd:MD_MaintenanceInformation>
               <gmd:maintenanceAndUpdateFrequency>
                  <gmd:MD_MaintenanceFrequencyCode codeListValue="asNeeded"
                                                   codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_MaintenanceFrequencyCode"/>
               </gmd:maintenanceAndUpdateFrequency>
            </gmd:MD_MaintenanceInformation>
         </gmd:resourceMaintenance>
         <gmd:descriptiveKeywords>
            <gmd:MD_Keywords>
               <gmd:keyword>
                  <gmx:Anchor xlink:href="http://resources.geodata.se/codelist/metadata/initiativ.xml#oppnadata">Öppna data</gmx:Anchor>
               </gmd:keyword>
               <gmd:thesaurusName>
                  <gmd:CI_Citation>
                     <gmd:title>
                        <gmx:Anchor xlink:href="http://resources.geodata.se/codelist/metadata/initiativ.xml">Initiativ</gmx:Anchor>
                     </gmd:title>
                     <gmd:date>
                        <gmd:CI_Date>
                           <gmd:date>
                              <gco:Date>2017-01-01</gco:Date>
                           </gmd:date>
                           <gmd:dateType>
                              <gmd:CI_DateTypeCode codeListValue="publication"
                                                   codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode"/>
                           </gmd:dateType>
                        </gmd:CI_Date>
                     </gmd:date>
                  </gmd:CI_Citation>
               </gmd:thesaurusName>
            </gmd:MD_Keywords>
         </gmd:descriptiveKeywords>
         <gmd:descriptiveKeywords>
            <gmd:MD_Keywords>
               <gmd:keyword>
                  <gmx:Anchor xlink:href="http://inspire.ec.europa.eu/theme/hy">Hydrografi</gmx:Anchor>
               </gmd:keyword>
               <gmd:thesaurusName>
                  <gmd:CI_Citation>
                     <gmd:title>
                        <gmx:Anchor xlink:href="http://www.eionet.europa.eu/gemet/inspire_themes">GEMET - INSPIRE themes, version 1.0</gmx:Anchor>
                     </gmd:title>
                     <gmd:date>
                        <gmd:CI_Date>
                           <gmd:date>
                              <gco:Date>2008-06-01</gco:Date>
                           </gmd:date>
                           <gmd:dateType>
                              <gmd:CI_DateTypeCode codeListValue="publication"
                                                   codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode"/>
                           </gmd:dateType>
                        </gmd:CI_Date>
                     </gmd:date>
                  </gmd:CI_Citation>
               </gmd:thesaurusName>
            </gmd:MD_Keywords>
         </gmd:descriptiveKeywords>
         <gmd:descriptiveKeywords>
            <gmd:MD_Keywords>
               <gmd:keyword>
                  <gco:CharacterString>hydrology</gco:CharacterString>
               </gmd:keyword>
               <gmd:thesaurusName>
                  <gmd:CI_Citation>
                     <gmd:title>
                        <gco:CharacterString>WMO_CategoryCode</gco:CharacterString>
                     </gmd:title>
                     <gmd:date>
                        <gmd:CI_Date>
                           <gmd:date>
                              <gco:Date>2010-01-01</gco:Date>
                           </gmd:date>
                           <gmd:dateType>
                              <gmd:CI_DateTypeCode codeListValue="publication"
                                                   codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode"/>
                           </gmd:dateType>
                        </gmd:CI_Date>
                     </gmd:date>
                  </gmd:CI_Citation>
               </gmd:thesaurusName>
            </gmd:MD_Keywords>
         </gmd:descriptiveKeywords>
         <gmd:descriptiveKeywords>
            <gmd:MD_Keywords>
               <gmd:keyword>
                  <gco:CharacterString>Hydrologi</gco:CharacterString>
               </gmd:keyword>
               <gmd:thesaurusName>
                  <gmd:CI_Citation>
                     <gmd:title>
                        <gco:CharacterString>SID Category</gco:CharacterString>
                     </gmd:title>
                     <gmd:date>
                        <gmd:CI_Date>
                           <gmd:date>
                              <gco:Date>2018-10-02</gco:Date>
                           </gmd:date>
                           <gmd:dateType>
                              <gmd:CI_DateTypeCode codeListValue="publication"
                                                   codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode"/>
                           </gmd:dateType>
                        </gmd:CI_Date>
                     </gmd:date>
                  </gmd:CI_Citation>
               </gmd:thesaurusName>
            </gmd:MD_Keywords>
         </gmd:descriptiveKeywords>
         <gmd:descriptiveKeywords>
            <gmd:MD_Keywords>
               <gmd:keyword>
                  <gco:CharacterString>Hydrografi</gco:CharacterString>
               </gmd:keyword>
               <gmd:thesaurusName>
                  <gmd:CI_Citation>
                     <gmd:title>
                        <gco:CharacterString>SID Parameter</gco:CharacterString>
                     </gmd:title>
                     <gmd:date>
                        <gmd:CI_Date>
                           <gmd:date>
                              <gco:Date>2012-09-04</gco:Date>
                           </gmd:date>
                           <gmd:dateType>
                              <gmd:CI_DateTypeCode codeListValue="publication"
                                                   codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode"/>
                           </gmd:dateType>
                        </gmd:CI_Date>
                     </gmd:date>
                  </gmd:CI_Citation>
               </gmd:thesaurusName>
            </gmd:MD_Keywords>
         </gmd:descriptiveKeywords>
         <gmd:descriptiveKeywords>
            <gmd:MD_Keywords>
               <gmd:keyword>
                  <gco:CharacterString>geodata.se</gco:CharacterString>
               </gmd:keyword>
               <gmd:keyword>
                  <gco:CharacterString>dataportal.se</gco:CharacterString>
               </gmd:keyword>
               <gmd:thesaurusName>
                  <gmd:CI_Citation>
                     <gmd:title>
                        <gco:CharacterString>SID harvest target</gco:CharacterString>
                     </gmd:title>
                     <gmd:date>
                        <gmd:CI_Date>
                           <gmd:date>
                              <gco:Date>2022-01-17</gco:Date>
                           </gmd:date>
                           <gmd:dateType>
                              <gmd:CI_DateTypeCode codeListValue="publication"
                                                   codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode"/>
                           </gmd:dateType>
                        </gmd:CI_Date>
                     </gmd:date>
                  </gmd:CI_Citation>
               </gmd:thesaurusName>
            </gmd:MD_Keywords>
         </gmd:descriptiveKeywords>
         <gmd:resourceConstraints>
            <gmd:MD_Constraints>
               <gmd:useLimitation>
                  <gco:CharacterString>Inga</gco:CharacterString>
               </gmd:useLimitation>
            </gmd:MD_Constraints>
         </gmd:resourceConstraints>
         <gmd:resourceConstraints>
            <gmd:MD_LegalConstraints>
               <gmd:accessConstraints>
                  <gmd:MD_RestrictionCode codeListValue="otherRestrictions"
                                          codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode"/>
               </gmd:accessConstraints>
               <gmd:otherConstraints>
                  <gmx:Anchor xlink:href="http://resources.geodata.se/codelists/metadata/atkomstrestriktioner.xml#IngenBegransning">Ingen begränsning</gmx:Anchor>
               </gmd:otherConstraints>
            </gmd:MD_LegalConstraints>
         </gmd:resourceConstraints>
         <gmd:resourceConstraints>
            <gmd:MD_LegalConstraints>
               <gmd:useConstraints>
                  <gmd:MD_RestrictionCode codeListValue="otherRestrictions"
                                          codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode"/>
               </gmd:useConstraints>
               <gmd:otherConstraints>
                  <gco:CharacterString>I och med att du laddar ned data så accepterar du följande licensvillkor, https://www.smhi.se/data/om-smhis-data/villkor-for-anvandning. Ange om möjligt SMHI som källa.</gco:CharacterString>
               </gmd:otherConstraints>
            </gmd:MD_LegalConstraints>
         </gmd:resourceConstraints>
         <gmd:language>
            <gmd:LanguageCode codeListValue="swe" codeList="http://www.loc.gov/standards/iso639-2/">Svenska</gmd:LanguageCode>
         </gmd:language>
         <gmd:characterSet>
            <gmd:MD_CharacterSetCode codeListValue="utf8"
                                     codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_CharacterSetCode"/>
         </gmd:characterSet>
         <gmd:topicCategory>
            <gmd:MD_TopicCategoryCode>inlandWaters</gmd:MD_TopicCategoryCode>
         </gmd:topicCategory>
         <gmd:extent>
            <gmd:EX_Extent>
               <gmd:description>
                  <gco:CharacterString>Sverige</gco:CharacterString>
               </gmd:description>
               <gmd:geographicElement>
                  <gmd:EX_GeographicBoundingBox>
                     <gmd:westBoundLongitude>
                        <gco:Decimal>4.7509</gco:Decimal>
                     </gmd:westBoundLongitude>
                     <gmd:eastBoundLongitude>
                        <gco:Decimal>22.1404</gco:Decimal>
                     </gmd:eastBoundLongitude>
                     <gmd:southBoundLatitude>
                        <gco:Decimal>55.2274</gco:Decimal>
                     </gmd:southBoundLatitude>
                     <gmd:northBoundLatitude>
                        <gco:Decimal>69.1522</gco:Decimal>
                     </gmd:northBoundLatitude>
                  </gmd:EX_GeographicBoundingBox>
               </gmd:geographicElement>
               <gmd:temporalElement>
                  <gmd:EX_TemporalExtent>
                     <gmd:extent>
                        <gml:TimePeriod gml:id="GSE003">
                           <gml:beginPosition>2016-08-01</gml:beginPosition>
                           <gml:endPosition>2016-08-01</gml:endPosition>
                        </gml:TimePeriod>
                     </gmd:extent>
                  </gmd:EX_TemporalExtent>
               </gmd:temporalElement>
            </gmd:EX_Extent>
         </gmd:extent>
      </gmd:MD_DataIdentification>
  </gmd:identificationInfo>
  <gmd:distributionInfo>
      <gmd:MD_Distribution>
         <gmd:distributionFormat>
            <gmd:MD_Format>
               <gmd:name>
                  <gco:CharacterString>x-shapefile</gco:CharacterString>
               </gmd:name>
               <gmd:version>
                  <gco:CharacterString>N/A</gco:CharacterString>
               </gmd:version>
            </gmd:MD_Format>
         </gmd:distributionFormat>
         <gmd:distributor>
            <gmd:MD_Distributor>
               <gmd:distributorContact>
                  <gmd:CI_ResponsibleParty>
                     <gmd:organisationName>
                        <gco:CharacterString>SMHI</gco:CharacterString>
                     </gmd:organisationName>
                     <gmd:contactInfo>
                        <gmd:CI_Contact>
                           <gmd:phone>
                              <gmd:CI_Telephone>
                                 <gmd:voice>
                                    <gco:CharacterString>011-4958000</gco:CharacterString>
                                 </gmd:voice>
                              </gmd:CI_Telephone>
                           </gmd:phone>
                           <gmd:address>
                              <gmd:CI_Address>
                                 <gmd:deliveryPoint>
                                    <gco:CharacterString>Folkborgsvägen 17</gco:CharacterString>
                                 </gmd:deliveryPoint>
                                 <gmd:city>
                                    <gco:CharacterString>Norrköping</gco:CharacterString>
                                 </gmd:city>
                                 <gmd:postalCode>
                                    <gco:CharacterString>60176</gco:CharacterString>
                                 </gmd:postalCode>
                                 <gmd:electronicMailAddress>
                                    <gco:CharacterString>dataleveranser@smhi.se</gco:CharacterString>
                                 </gmd:electronicMailAddress>
                              </gmd:CI_Address>
                           </gmd:address>
                        </gmd:CI_Contact>
                     </gmd:contactInfo>
                     <gmd:role>
                        <gmd:CI_RoleCode codeListValue="distributor"
                                         codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode"/>
                     </gmd:role>
                  </gmd:CI_ResponsibleParty>
               </gmd:distributorContact>
               <gmd:distributorFormat>
                  <gmd:MD_Format>
                     <gmd:name>
                        <gco:CharacterString>x-shapefile</gco:CharacterString>
                     </gmd:name>
                     <gmd:version>
                        <gco:CharacterString>N/A</gco:CharacterString>
                     </gmd:version>
                  </gmd:MD_Format>
               </gmd:distributorFormat>
               <gmd:distributorTransferOptions>
                  <gmd:MD_DigitalTransferOptions>
                     <gmd:onLine>
                        <gmd:CI_OnlineResource>
                           <gmd:linkage>
                              <gmd:URL>https://opendata-view.smhi.se/SMHI_vatten/Huvudavrinningsomraden_2016/wms?service=wms&amp;request=getcapabilities</gmd:URL>
                           </gmd:linkage>
                           <gmd:protocol>
                              <gmx:Anchor xlink:href="https://resources.geodata.se/codelist/metadata/protokoll.xml#HTTP:OGC:WMS">HTTP:OGC:WMS</gmx:Anchor>
                           </gmd:protocol>
                           <gmd:name>
                              <gco:CharacterString>Visningstjänst, huvudavrinningsområden</gco:CharacterString>
                           </gmd:name>
                           <gmd:description>
                              <gco:CharacterString>Visningstjänst, huvudavrinningsområden (WMS)</gco:CharacterString>
                           </gmd:description>
                           <gmd:function>
                              <gmd:CI_OnLineFunctionCode codeListValue="information"
                                                         codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_OnLineFunctionCode"/>
                           </gmd:function>
                        </gmd:CI_OnlineResource>
                     </gmd:onLine>
                     <gmd:onLine>
                        <gmd:CI_OnlineResource>
                           <gmd:linkage>
                              <gmd:URL>https://opendata-view.smhi.se/SMHI_vatten/Delavrinningsomraden_2016/wms?service=wms&amp;request=getcapabilities</gmd:URL>
                           </gmd:linkage>
                           <gmd:protocol>
                              <gmx:Anchor xlink:href="https://resources.geodata.se/codelist/metadata/protokoll.xml#HTTP:OGC:WMS">HTTP:OGC:WMS</gmx:Anchor>
                           </gmd:protocol>
                           <gmd:name>
                              <gco:CharacterString>Visningstjänst, delavrinningsområden</gco:CharacterString>
                           </gmd:name>
                           <gmd:description>
                              <gco:CharacterString>Visningstjänst, delavrinningsområden (WMS)</gco:CharacterString>
                           </gmd:description>
                           <gmd:function>
                              <gmd:CI_OnLineFunctionCode codeListValue="information"
                                                         codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_OnLineFunctionCode"/>
                           </gmd:function>
                        </gmd:CI_OnlineResource>
                     </gmd:onLine>
                     <gmd:onLine>
                        <gmd:CI_OnlineResource>
                           <gmd:linkage>
                              <gmd:URL>https://opendata-view.smhi.se/SMHI_vatten/Huvudavrinningsomraden_2016/wfs?service=wfs&amp;request=getcapabilities</gmd:URL>
                           </gmd:linkage>
                           <gmd:protocol>
                              <gmx:Anchor xlink:href="https://resources.geodata.se/codelist/metadata/protokoll.xml#HTTP:OGC:WFS">HTTP:OGC:WFS</gmx:Anchor>
                           </gmd:protocol>
                           <gmd:name>
                              <gco:CharacterString>Nedladdningstjänst, huvudavrinningsområden</gco:CharacterString>
                           </gmd:name>
                           <gmd:description>
                              <gco:CharacterString>Nedladdningstjänst, huvudavrinningsområden (WFS)</gco:CharacterString>
                           </gmd:description>
                           <gmd:function>
                              <gmd:CI_OnLineFunctionCode codeListValue="download"
                                                         codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_OnLineFunctionCode"/>
                           </gmd:function>
                        </gmd:CI_OnlineResource>
                     </gmd:onLine>
                     <gmd:onLine>
                        <gmd:CI_OnlineResource>
                           <gmd:linkage>
                              <gmd:URL>https://opendata-view.smhi.se/SMHI_vatten/Delavrinningsomraden_2016/wfs?service=wfs&amp;request=getcapabilities</gmd:URL>
                           </gmd:linkage>
                           <gmd:protocol>
                              <gmx:Anchor xlink:href="https://resources.geodata.se/codelist/metadata/protokoll.xml#HTTP:OGC:WFS">HTTP:OGC:WFS</gmx:Anchor>
                           </gmd:protocol>
                           <gmd:name>
                              <gco:CharacterString>Nedladdningstjänst, delavrinningsområden</gco:CharacterString>
                           </gmd:name>
                           <gmd:description>
                              <gco:CharacterString>Nedladdningstjänst, delavrinningsområden (WFS)</gco:CharacterString>
                           </gmd:description>
                           <gmd:function>
                              <gmd:CI_OnLineFunctionCode codeListValue="download"
                                                         codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_OnLineFunctionCode"/>
                           </gmd:function>
                        </gmd:CI_OnlineResource>
                     </gmd:onLine>
                     <gmd:onLine>
                        <gmd:CI_OnlineResource>
                           <gmd:linkage>
                              <gmd:URL>https://opendata-download.smhi.se/svar/Avrinningsomraden_2016.zip</gmd:URL>
                           </gmd:linkage>
                           <gmd:protocol>
                              <gmx:Anchor xlink:href="https://resources.geodata.se/codelist/metadata/protokoll.xml#HTTP:Nedladdning">HTTP:Nedladdning</gmx:Anchor>
                           </gmd:protocol>
                           <gmd:name>
                              <gco:CharacterString>Nedladdning, huvud- och delavrinningsområden, SHAPE-fil</gco:CharacterString>
                           </gmd:name>
                           <gmd:description>
                              <gco:CharacterString>Nedladdning av SHAPE-fil</gco:CharacterString>
                           </gmd:description>
                           <gmd:function>
                              <gmd:CI_OnLineFunctionCode codeListValue="download"
                                                         codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_OnLineFunctionCode"/>
                           </gmd:function>
                        </gmd:CI_OnlineResource>
                     </gmd:onLine>
                  </gmd:MD_DigitalTransferOptions>
               </gmd:distributorTransferOptions>
            </gmd:MD_Distributor>
         </gmd:distributor>
      </gmd:MD_Distribution>
  </gmd:distributionInfo>
  <gmd:dataQualityInfo>
      <gmd:DQ_DataQuality>
         <gmd:scope>
            <gmd:DQ_Scope>
               <gmd:level>
                  <gmd:MD_ScopeCode codeListValue="dataset"
                                    codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ScopeCode"/>
               </gmd:level>
            </gmd:DQ_Scope>
         </gmd:scope>
         <gmd:lineage>
            <gmd:LI_Lineage>
               <gmd:statement>
                  <gco:CharacterString>Produkten baseras på delavrinningsområden som började skapas 1980. 
Vattendelare och områden som täckte hela Sverige fanns digitalt lagrat 1991. Det lagret har byggts på och delats upp i flera områden. 

Vattendelare har uppdaterats vid behov och med hjälp av bättre information om höjd och flödesriktning.

Data lagras sedan 2007 i en geodatabas - SVAR (=Svenskt Vattenarkiv) vid SMHI. 
Under perioden 2007 till 2016 har antalet delavrinningsområden i databasen ökat från drygt 17 000 till mer än 55 000. 

I SVAR version 2010 fanns det drygt 37 000 polygoner i kartskiktet med delavrinningsområden men då ingick inga andra öar i havet än Gotland, Öland, Orust och Tjörn. 

Till version 2012_2 inkluderades även mindre öar i havet, vilket innebar att antalet polygoner i kartskiktet ökade till drygt 50000.</gco:CharacterString>
               </gmd:statement>
            </gmd:LI_Lineage>
         </gmd:lineage>
      </gmd:DQ_DataQuality>
  </gmd:dataQualityInfo>
</gmd:MD_Metadata>