Git Product home page Git Product logo

geoflow's People

Contributors

abennici avatar bastienird avatar eblondel avatar emilielerigoleur avatar jeroen avatar kikislater avatar wheintz avatar yvanlebras avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

geoflow's Issues

Support registers handling

The principe is to let users configure registers. Later geoflow may embedd default common registers, eg country codelists, etc. For now no register included in geoflow, but the possibility to configure registers in the configuration with registers.

Support multiple entity types

By default, a single type will be specified as generic.
For Zenodo action, several types will be managed for:

  • upload: zenodoUploadType. If missing, by default, the generic type will be used
  • publication: zenodoPublicationType, specified if available and if zenodo upload type is set to publication
  • image: zenodoImageType, specified if available and if zenodo upload type is set to image

Support multiple data sources

To manage multiple sources, the geoflow data component requires a refactoring. From the table viewpoint, the column "Data" will be refactored:

  • source: now the same logic as other columns can be applied. For a given file, we will specify the syntax filename@fileurl or filename@filepath. Example: sample.pdf@http://someurl.org/sample.pdf
  • sourceName: this property is removed. The source name is now the filename specified in source
  • upload: this remains. Until now it was mandatory to specify it, now if not specified, upload will be set to TRUE by default. upload = TRUE means data will be uploaded to the web-tool considered. If set to false, the data files in source will not be uploaded. This is valid for Zenodo or Geoserver
  • type: Given the fact it deals with upload task, it is now renamed to uploadType for more consistency. Until now it was mandatory to specify it, now if not specified, the uploadType will be set to 'other'.
  • identifier: this is specific to the production of OGC web layers, this will be renamed layername

Example of a Data element for a Zenodo file upload:

source:sample1.pdf@http://www.africau.edu/images/default/sample.pdf,sample2.pdf@https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf;
uploadType:other
upload:true

Example of a Data element for a Geoserver shapefile upload:

source:shapefile1.zip@D://sandbox-geoflow/shapefile1.zip;
uploadType:shp;
upload:true;
layername:layer1

Zenodo action: support update based on concept DOI / DOI

When a DOI is available as identifier of an entity, the Zen4R action should try to get existing Zenodo record based on this DOI, first with a attempt by Concept DOI (assuming the DOI is a concept DOI), next to get record by simple DOI. This will allow to get/update published records (update metadata only) including existing versions of a record that are uniquely identified with a DOI.

Spatial Extent troubles

Hi again Emmanuel,

Spatial extent of datasets with native EPSG is not visible in geonetwork (although it's in the xml document).

Cheers,

wilfried

Support upload of Geotiff coverage

Manage upload of raster (coverage) resources including Geotiff format supported by GeoServer base distribution. other formats will be tackled in different tickets as not directly targeted by use cases now.

  • ArcGrid,
  • WorldImage,
  • ImageMosaic.

See eblondel/geosapi#31.

Additional support required for extensions such as NetCDF.

Add global option to skip file download

When files do not changes, either to update record metadata or to trigger the final record publication, in particular in Zenodo, we may want to skip the file download. This can be done by adding a global option skipFileDownload.

Zenodo: allow to upload multiple files separately or as Zip

new data options (to use in Data entity column):

  • uploadZip: TRUE/FALSE; Default is FALSE. If TRUE, data source files will be zipped, and the zip will be uploaded in Zenodo action.
  • uploadZipOnly: TRUE/FALSE; Default is FALSE. Ignored if uploadZip is FALSE. If TRUE, only the zip file will be kept and upload in Zenodo action.

Add action for generating feature catalogue (ISO 19110)

The action should:

  • interpret entity data component to see if they are attributes and variables declared. When attributes are declared, the list of unique values will be added to the feature attribute description. If no attributes are listed, all attributes of the source features will be set by default (raw feature catalogue description).
  • produce an ISO 19110 feature catalogue ISO 19139 xml object
  • add FC scopes for geoflow (uploadType) and OpenFairViewer (query strategy among ogc_filters, ogc_dimensions - not yet supported in geoflow -, or ogc_viewparams) required for OFV feature catalogue handling

In addition:

  • action geonapi-publish-iso-19139 should detect the produced FC and publish it
  • action ows4R-publish-iso-19139 should detect the produced FC and publish it

Excluded from this task:

  • handling of vocabularies/codelists to enrich feature attribute listed values with labels/definitions

Keep spatial coverage if not a bbox to enrich geometa with bounding polygons

The spatial coverage may be a simple bbox wkt but it could be also a more complex spatial coverage (eg. simplified polygons, simplified lines) less reductor than a bounding box. At now geoflow reduces the WKT into a bounding box, which results in a loss of meta information. Some logic should be added to keep such more detailed spatial coverage. In geometa action it will result in setting bounding polygons, in addition to the geographic bounding box.

Capacity to configure SQL layers, either directly (data sql) or through sql file

The configuration of SQL layers could be done in two ways:

  • as SQL file path / URL put to a datasource. In that way geoflow will try to read the SQL file to pick up the SQL query (then set using geoflow_data$setSql()), or
  • directly as sql data property in the Data column

Some code will be experimented to read the SQL query, if a Db driver is set-up in the configuration. Reading the SQL query will enable dynamic metadata retrieval, as it is already done for shapefile (uploadType = 'shp')

Enrich DOI CSV output table with Zenodo deposit action

The output CSV will contain:

  • Identifier: entity identifier
  • Status: simple status handling the Zenodo status draft or published
  • DOI_for_allversions: generic / top level DOI (named "conceptdoi" by Zenodo).
  • DOI_for_version: record version-specific DOI

Different handling of gsheet entities depending on 'readr' availability

Depending on readr availability in R session, gsheet::gsheet2tbl will not return the same output. Indeed as stated in the documentation: If the package readr is available, then it will be used. This can produce slightly different, but normally better, parsings.

To make sure that geoflow entity/contact loading works properly in the same way for all. readr is going to be added.

Support for software argument handler

In some software, such as for DB connectors (#30), we need to be able to specify a handler function for a given argument.

For example, in the case of DBI, the main handler is DBI::dbConnect, but the first argument drv requires an instance of driver, that can be instantiated using DBI::dbDriver(<drivername>). The software argument definition could be extended with such handler, here in that case DBI::dbDriver.

The software function getHandlerInstance should then be able to evaluate such argument handler.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.