adiwg / mdTranslator

Metadata translation tool built using Ruby
https://www.adiwg.org/mdTranslator/
The Unlicense
14 stars 12 forks source link

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

Open chris-macdermaid opened 1 year ago

chris-macdermaid commented 1 year ago

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