<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<font face="Helvetica, Arial, sans-serif">Hi!! to all <br>
<br>
I'm trying to implement multiple Topic Categories in Geonode, so
that the metadata is more according to ISO 19115, <span lang="en">as
was discussed in </span></font><font face="Helvetica, Arial,
sans-serif"><span lang="en"><font face="Helvetica, Arial,
sans-serif"><span lang="en">this year </span></font>code
sprint. </span><small><br>
</small><br>
But I have a doubt about the correct behavior in the upload of
metadata that contains Topic Categories that doesn't belong to
ISO CodeList.<br>
<br>
Currently, Geonode creates a new category :<br>
<br>
</font>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<blockquote>
<blockquote>
<blockquote>
<blockquote><font face="Courier New, Courier, monospace">
elif key == 'topic_category':<br>
value, created = TopicCategory.objects<b>.get_or_create</b>(<br>
identifier=value.lower(),<br>
defaults={'description': '',
'gn_description': value})<br>
key = 'category'<br>
defaults[key] = value</font></blockquote>
</blockquote>
</blockquote>
</blockquote>
<big><big><big><tt><small><br>
@ geonode/geonode/layers/utils.py (line 442)</small></tt></big></big></big><i><b><tt><small><strong
class="final-path" style="box-sizing: border-box;
font-size: 18px; font-style: normal; font-variant: normal;
letter-spacing: normal; line-height: 25.2px; text-align:
start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 1; word-spacing: 0px;
background-color: rgb(255, 255, 255);"></strong></small></tt></b></i>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<br>
<font face="Helvetica, Arial, sans-serif">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<br>
Is this the expected behavior?<br>
If we have multiple categories imported from metatada files, the
number of new categories will raise a lot (including </font><font
face="Helvetica, Arial, sans-serif"><span id="result_box"
class="short_text" lang="en"><span class="hps">spelling errors</span></span>),
can this be bad ?<br>
<br>
with best regards, <br>
Eduardo Castanho <br>
<br>
IPMA<br>
Instituto Português do Mar e da Atmosfera <br>
Lisboa Portugal </font>
</body>
</html>