soilwise-he / Soilwise-Project-Backlog

This README file contains a guideline for using this github soilwise-he repository as a backlog for the Soilwise project
MIT License
1 stars 0 forks source link

4. map preview #3

Open BerkvensNick opened 4 months ago

BerkvensNick commented 4 months ago

The SWR Catalogue will display a map preview of a resource (dataset/knowledge/service/…) from the source graphic/WMS/…, if applicable.  https://github.com/soilwise-he/Soilwise-userstories/issues/20

Origin: D1.3 Repository architecture


With acceptance criteria:

pvgenuchten commented 4 months ago

Available from the Source Graphic needs further clarification. Is it correct to assume that a png-preview is generated from for example a GeoTIFF. A workflow could be assumed, when the metadata is ingested, the GeoTiff is identified, a WMS service is set up for the GeoTiff and the metadata is enriched with a link to the WMS?

Alternative options:

BerkvensNick commented 4 months ago

@tomreznik do you have an answer for the higher question by Paul? It is related to the "available from the source graphic" in the requirement "A map preview of a resource (dataset/knowledge/service/…) will be available from the source graphic/WMS/…, if applicable." by JRC

tomreznik commented 4 months ago

Based on my experience, the majority of (meta)data providers follow one of these pathways:

  1. Define a representative static PNG for data sets (resources in general) that are quite stable in terms of their content and visualisation.
  2. A workflow, as described, e.g. through WMS. Then it could be as easy as WMS --> PNG or more complicated WMS --> GeoTIFF --> PNG.

For the first iteration, I propose to start with option 1. and work on option 2. as described by Paul.

BerkvensNick commented 3 months ago

@pvgenuchten a question raised during the cluster meeting Data & Knowledge:

LIAKOS Leonidas (JRC-ISPRA-EXT) (Neověřeno): If there are data in a repository (ie ESDAC), can SWR WMS be utilized to expose this data or does that mean an extra preprocessing step? I can imagine quite straigtforward way of WMS publication of ESDAC data preview once the SoilWise repository is integrated to the EUSO. We may elaborate on this during the upcoming scheduled JRC - SoilWise technical meeting.

dluts commented 3 months ago

@BerkvensNick it is not completely clear to me but it seems that person who asked the question assumes that the Soilwise respository will provide its own WMS service?

I think that all the above requirements do not necesitate the Soilwise respository to setup a WMS, rather the furnctionality counts on for example ESDAC providing its data through a publicly available WMS (or in the future maybe other view services)?

pvgenuchten commented 3 months ago

It is an interesting idea to use a dataset stored on esdac/zenodo/bonares as a source for a WMS service running on SoilWise infrastructure.

• Prior to that discussion we may need to understand if it is needed to use WMS, maybe similar functionality can be achieved by other mechanisms, such as direct access to the file (from the SoilWise website using javascript). • If indeed WMS (or an alternative api façade) does offer an enriched user experience, we have an option to interact with the remote source directly, or keep a (temporary) copy in the Soilwise infrastructure. • For WMS we then need some visualization rules, for it to display nicely (high=red, medium=yellow, low=green). User contribution (or AI generation) of style rules could be interesting here. • Also consider that the (novel) cloud optimised formats such as COG and GeoParquet are favourable for this use case, because only the requested section of the file is exchanged over the network. • Notice that platforms such as zenodo, dataverse, cordis may have protected their platforms for external applications to fetch data directly, this we will have to find out.

I expect Soilwise to come up with a series of recommendation on how to publish (spatial) data, and, if followed, users may expect a nice visualization of their data (not just within Soilwise, but in many places).