adiwg / mdTranslator

Metadata translation tool built using Ruby

Home Page:https://www.adiwg.org/mdTranslator/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix country element in 19115-2 and 19115-1 writers

chris-macdermaid opened this issue · comments

  • Fix country element in 19115-2 and 19115-1 writers
  • Check/fix 19110 writer
  • Update tests using the country element

mdTranslator 19115-2

<gmd:country>
            <gmd:CountryCode codeList="http://mdtranslator.adiwg.org/api/codelists?format=xml#CountryCode" codeListValue="US" codeSpace="userCode"/>
</gmd:country> 

mdTranslator 19115-1

<lan:country>
          <lan:CountryCode codeList="http://mdtranslator.adiwg.org/api/codelists?format=xml#CountryCode" codeListValue="US" codeSpace="userCode"/>
</lan:country> 

BLM example (created with ArcGIS) 19115-2

<gmd:country>
     <gmd:Country codeList="http://www.iso.org/iso/country_codes/iso_3166_code_lists.htm" codeListValue="US" codeSpace="ISO3166-1">US</Country>
</gmd:country>

NOAA Workbook examples 19115-2

<gmd:country>
     <gmd:Country codeList="../Codelist/ML_gmxCodelists.xml#Country" codeListValue="US">US</gmd:Country>
</gmd:country>

ESIP ISO Explorer Guidance
https://wiki.esipfed.org/PT_Locale