kartoza / SAEOSS-Portal

The SAEOSS Portal has been proposed as a system of software components functioning together as the national central earth observation geospatial repository, with a view to metadata and open geospatial API standards compliance as well as user impact maximization
https://kartoza.github.io/SAEOSS-Portal/
GNU Affero General Public License v3.0
4 stars 9 forks source link

Metadata Capture User Interface #50

Closed EliVolsch closed 8 months ago

EliVolsch commented 1 year ago

Users requires a universally understandable and human readable interface to input metadata irrespective of the underlying metadata format and file type. This user facing interface should allow the user to ingest, view and modify partial or complete geospatial metadata documents in human-readable formats or in the following well-known file formats:

a. XML b. JSON c. YAML

Expectation:

Indiphile commented 1 year ago

Hi @EliVolsch, I'm facing some issues here when I'm uploading STAC metadata (yaml). I have tested the files using a stac-validator. We can discuss it on our meeting.

EliVolsch commented 1 year ago

Sure we can. If you can please also provide a description of your problem here for reference. Then we can debug in the meantime as well

EliVolsch commented 1 year ago

JSON file and YAML fies is workin need to test XML file

Indiphile commented 9 months ago

on the metadata capture ui some fields are mandatory to a specific metadata standard(SANS 1878). However the system will not allow a user to add a different metadata format(STAC) if those fields are empty. A warning message in needed in this case. Input N/A

Indiphile commented 9 months ago

Image

Here if didn't specify a correct STAC specification, the system will our an error. Some STAC validators are able to automatically detect the STAC specification from a file or URL. Which STAC validator is being implemented on SAEOSS?

@voogt @EliVolsch

voogt commented 9 months ago

Hi @Indiphile the stac does not automatically detect which type of stac it is from a file, thats why I've added the dropdown to select the correct option. From there it validates the stac against a json file that can be found at https://github.com/radiantearth/stac-api-spec/blob/release/v1.0.0/stac-spec/item-spec/json-schema/item.json

Indiphile commented 9 months ago

Hi @voogt, yes you are right the stac from Radiant Earth doesn't detect stac type(there online tool . Take a look here. Feel free to send me an email for a testing session.

voogt commented 9 months ago

Hi @Indiphile thanks for the link! I will take a look at their tool

voogt commented 9 months ago

Hi @Indiphile I've updated the validation tool. Can you take a look at this PR https://github.com/kartoza/SAEOSS-Portal/pull/251 please?