Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload RDF thesaurus via web #7150

Closed
etj opened this issue Mar 23, 2021 · 2 comments
Closed

Upload RDF thesaurus via web #7150

etj opened this issue Mar 23, 2021 · 2 comments
Assignees
Labels
feature A new feature to be added to the codebase
Milestone

Comments

@etj
Copy link
Contributor

etj commented Mar 23, 2021

Is your feature request related to a problem? Please describe.

As a further improvement of GNIP 82 - Thesauri improvements, we want to create a Thesaurus by uploading an RDF file from the web interface, without the need to access the CLI (which, in some cases, may not be available).

Describe the solution you'd like
We'll add a new button "Upload thesaurus" near the existing "+ Add Thesaurus":

image

The RDF file will populate the table Thesaurus, ThesaurusLabel, ThesaurusKeyword, ThesaurusKeywordLabel in exactly the same way as the CLI command (the very same logic will be used indeed -- some refactoring may be needed).

The existing loading procedure (https://docs.geonode.org/en/master/admin/thesaurus/index.html?highlight=thesaurus#loading-a-thesaurus) requires an identifier name; the loader will create a default identifier that can be then modified in the admin page.

Since the upload is used mainly at system setup, and does not take too long usually, the loading will be synchronous.

Describe alternatives you've considered
N/A

Additional context
N/A

@t-book
Copy link
Contributor

t-book commented Mar 23, 2021

my +1

@t-book
Copy link
Contributor

t-book commented Mar 23, 2021

@etj do you see this for the 3.2 release?

@afabiani afabiani added this to the 3.2 milestone Mar 24, 2021
mattiagiupponi added a commit to mattiagiupponi/geonode that referenced this issue Mar 24, 2021
mattiagiupponi added a commit to mattiagiupponi/geonode that referenced this issue Mar 24, 2021
mattiagiupponi added a commit to mattiagiupponi/geonode that referenced this issue Mar 24, 2021
mattiagiupponi added a commit to mattiagiupponi/geonode that referenced this issue Mar 24, 2021
afabiani pushed a commit that referenced this issue Mar 25, 2021
* [Backport Fixes #7150] Thesaurus from web

* Update upload_form.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature to be added to the codebase
Projects
None yet
Development

No branches or pull requests

4 participants