Giter VIP home page Giter VIP logo

geonapi's Introduction

Hi there πŸ‘‹

  • I'm a Senior Geospatial Information Systems engineer and R Lead Expert for the Food and Agriculture Organization for the United Nations (UN-FAO) - Fisheries & Aquaculture Division, and as freelance consultant/developer
  • πŸ—ΊοΈ I'm interested in geospatial data sharing, software and standards in particular ISO/OGC standards
  • I participate in various community development & standardization activities in support of Fisheries data interoperability at fdiwg
  • I'm actively participating to the R spatial community, especially dealing with handling data and metadata with international standards, geospatial data workflows automation in relation with OGC web-services in support to FAIR data principles implementation
  • I'm lead developer of the OpenFairViewer ISO/OGC metadata driven web viewer in support of open geospatial science and FAIR data principles

Personal Site LinkedIn

stats Top Langs

geonapi's People

Contributors

eblondel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

geonapi's Issues

Error with the generic getter with GN 3.10.6

Hi @eblondel,

With GeoNetwork 3.10.6 and geonapi 1.5.0 and 1.5.1 I get an error when trying to fetch the metadata id for a given uuid :

metaId <- GN$get(md_identifier, by = "uuid", output = "id")
Erreur dans GN$get(md_identifier, by = "uuid", output = "id") : 
  tentative d'appliquer un objet qui n'est pas une fonction

I use it to know if a given metadata already exists in GN or not, then I update or I insert metadata. It used to work well.

I tried to insert metadata instead of updating it, as I found that the insertMetadata method now takes a uuidProcessing parameter.
But I didn't find any mention of this parameter in the documentation, and I can't get its different values. How I can I overwrite/update metadata for a given uuid?

Thanks!
Juliette

Error while getting metadata with GN 3.10.6

Hi,
We upgraded our GeoNetwork from 3.0.3 to 3.10.6. Now I get errors when I fetch metadata with the get method:

> GN <- GNManager$new(url = gn_url, version = "3.10.6.0", user = "xxx", pwd = "xxx", logger = "INFO")
> md_identifier <- "8dbdb4d7-161a-45e3-b3c3-51e6058f6e8a"
> metaId <- GN$get(md_identifier, by = "uuid", output = "id")
[geonapi][INFO] Fetching metadata for uuid = 8dbdb4d7-161a-45e3-b3c3-51e6058f6e8a 
[geonapi][INFO] Successfully fetched metadata! 
Error in GN$get(md_identifier, by = "uuid", output = "id") : 
  No geonet:info XML element found

Any idea?

Moreover fetching metadata with the getMetadataByUUID method is successful but takes a looong time (4 min).

Thanks!
Juliette

Set privileges with GN 3.10.6 and geonapi >= 1.5

Hi,
It seems that the setPrivConfiguration method does not exist anymore with geonapi 1.5.1:

privileges <- c("view", "download", "dynamic", "featured")
config <- GNPrivConfiguration$new()
config$setPrivileges("all", privileges)
GN$setPrivConfiguration(id = created, config = config)
Erreur : tentative d'appliquer un objet qui n'est pas une fonction

Thanks!
Juliette

Error with GN login with GN 3.10.3

Hi,

I'm trying to connect to a GeoNetwork (version 3.10.3) with the folowing parameters:

> GN <- GNManager$new(url = "gn_url", version = "3.10.3", user = "xxx", pwd = "xxx", logger = "DEBUG")

But I have this error, and I don't really understand where it come from:

Error in curl::curl_fetch_memory(url, handle = handle) : Maximum (10) redirects followed

I tried to connect to another GeoNetwork (version 3.12.2) and it works perfectly.

Do you have any idea where the error might come from?

Thanks,
Davien

Create a metadata record

I can't get the 'create a metadata record' piece of code running

`mdfile <- system.file("extdata/examples", "metadata.xml", package = "geonapi")

created = GN$insertMetadata(file = mdfile, group = "1", category = "datasets")

config <- GNPrivConfiguration$new()

config$setPrivileges("all", c("view","dynamic","featured"))

GN$setPrivConfiguration(id = created, config = config)

`

The object 'created' is NULL(empty)

Any idea why is this happening?

Thanks!!

Issue with Keyring >= 1.2.0 - system password requested - Set keyring 'env' backend by default

With keyring package version 1.2.0, we get message The 'system' keyring does not exist, enter a keyring password to create it when instantiating the GNManager. This relates to this change r-lib/keyring#95 where file backend is now set by default on Linux OS (env is kept by default on other OS).
For the time being, geonapi will keep using the env backend for storing GN user/passwords. This could be refined later depending on needs.

Integration tests on major GN versions

The purpose of this task is set-up integration tests on all major GN versions, through a travis build matrix. Several docker images may be used depending on the GN versions availability.

Add DOI management methods

This work is funded by INRAE

  • Method to check DOI pre-conditions
  • Method to register a DOI on DataCite
  • Method to unregister a DOI on DataCite

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.