We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bafedfb commit cd3f360Copy full SHA for cd3f360
pygeometa/schemas/iso19139/__init__.py
@@ -123,9 +123,15 @@ def import_(self, metadata: str) -> dict:
123
for count, value in enumerate(identification.keywords):
124
key = f'keywords-{count}'
125
mcf['identification']['keywords'][key] = {
126
- 'type': value.type,
+ 'keywords_type': value.type,
127
'keywords': [k.name for k in value.keywords]
128
}
129
+ if value.thesaurus is not None:
130
+ mcf['identification']['keywords'][key]['vocabulary'] = {
131
+ 'name': value.thesaurus['title'],
132
+ 'url': value.thesaurus['url']
133
+ }
134
+
135
mcf['identification']['topiccategory'] = identification.topiccategory # noqa
136
137
mcf['identification']['extents'] = {
0 commit comments