lib/adiwg/mdtranslator/writers/fgdc/classes/class_keyword.rb in adiwg-mdtranslator-2.7.0 vs lib/adiwg/mdtranslator/writers/fgdc/classes/class_keyword.rb in adiwg-mdtranslator-2.8.0
- old
+ new
@@ -35,9 +35,10 @@
end
# keyword 1.6.1 (theme) - theme keywords
if type == 'theme' || type == 'isoTopicCategory'
@xml.tag!('theme') do
+ thesaurusName = 'ISO 19115 Topic Category' if type == 'isoTopicCategory'
@xml.tag!('themekt', thesaurusName)
aKeywords.each do |hKeyword|
keyword = hKeyword[:keyword]
unless keyword.nil?
@xml.tag!('themekey', keyword)