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

Adapter for EML metadata #83

Closed
eblondel opened this issue Aug 3, 2017 · 1 comment

Comments

1 participant
@eblondel
Copy link
Owner

commented Aug 3, 2017

No description provided.

@eblondel eblondel added the RnD label Aug 3, 2017

@eblondel eblondel self-assigned this Aug 3, 2017

@eblondel eblondel added this to Need sponsors in R Consortium 2019 Sep 14, 2018

@eblondel eblondel moved this from Need sponsors to Unsupported in R Consortium 2019 Sep 14, 2018

@eblondel eblondel moved this from Unsupported to To do in R Consortium 2019 Jan 14, 2019

eblondel added a commit that referenced this issue Apr 29, 2019

eblondel added a commit that referenced this issue Apr 29, 2019

eblondel added a commit that referenced this issue Apr 29, 2019

eblondel added a commit that referenced this issue Apr 29, 2019

eblondel added a commit that referenced this issue Apr 29, 2019

eblondel added a commit that referenced this issue Apr 29, 2019

eblondel added a commit that referenced this issue Apr 29, 2019

Merge pull request #132 from eblondel/geometa-mapping
#101 #82 #83 geometa metadata generic mapper + 1st impl for ncdf4 (from), eml (from/to)
@eblondel

This comment has been minimized.

Copy link
Owner Author

commented Apr 30, 2019

This feature is now available in geometa master branch.

It is documented here: https://github.com/eblondel/geometa/wiki#43-convert-metadata-objects-fromto-other-metadata-languages-mapping

The conversion from/to EML is now possible as implementation of the generic metadata converter implemented in #101. The main format retained for this adapter is the class emld from emld package. EML metadata is internally built using the model designed in EML package.

The final user function to convert from/to EML/emld is a method of the generic as function:

#from ISOMetadata to emld
my_emld <- as(my_ogc, "emld")
#from emld to ISOMetadata
my_ogc <- as(my_emld, "ISOMetadata")

As per design of the generic metadata converter, mapping rules for EML are described in the mapping file embedded in geometa package. An interactive file is made available as read-only (and used for development purpose) at https://docs.google.com/spreadsheets/d/1N-Xpp8-YjVzQ4CORfdas_9CaRV4hdrRKPbO4xXNs8-Q/edit?usp=sharing

A unit test is available at: https://github.com/eblondel/geometa/blob/master/tests/testthat/test_geometa_mapping.R

eblondel added a commit that referenced this issue Apr 30, 2019

@eblondel eblondel added this to the 0.5 milestone Apr 30, 2019

@eblondel eblondel removed this from To do in R Consortium 2019 Apr 30, 2019

@eblondel eblondel added this to In progress in R Consortium 2019 May 3, 2019

@eblondel eblondel moved this from In progress to Done in R Consortium 2019 May 3, 2019

@eblondel eblondel closed this May 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.