-
Notifications
You must be signed in to change notification settings - Fork 5
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
Develop from/to wrappers for format adapters with ISO 19139 #101
Comments
The generic metadata converter implemented consists in set of classes and functions available here. The design includes the definition of the metadata formats subject to the conversion. A format is defined with the class
Formats for geometa, ncdf4 and EML/emld are then registered by default in geometa. Please note that are not Import packages, as such strong dependency with packages like EML/emld/ncdf4 is not expected in geometa since it is only used for this mapping/conversion feature). Registration of default formats can be done with The rules required to convert from one object to another are listed (property by property) into a tabular data file. By default the mapping file used is the one embedded in geometa at: https://github.com/eblondel/geometa/blob/master/inst/extdata/mappings/geometa_mapping.csv An interactive file is available as read-only (and used for developments) at: https://docs.google.com/spreadsheets/d/1N-Xpp8-YjVzQ4CORfdas_9CaRV4hdrRKPbO4xXNs8-Q/edit#gid=0 Each column of this mapping file corresponds to a format. Each row of the mapping file will be modelled as mapping with class The methodology behind writing a pivot format rule is out of scope of this ticket, but will be documented in exhaustive way in the future to foster collaborative work around the mappings made available in geometa (starting with EML/emld and ncdf4). To summarize, the string representation allows to perform the following tasks:
A set of unit functions are in charge of reading source object ( |
The purpose is to develop 2 wrapper functions that will wrap custom functions dedicated to map ISO 19139 from/to other metadata language formats (with candidate adapters #82 #83).
A generic metadata mapper will be drafted to plug adapters between geometa ISOMetadata classes and
other metadata classes (in particular EML and NetCDF-CF). If enough generic this pivot metadata mapper may be externalised in a separate project and used by geometa.
This mapper will be developed first in a separate branch. The mapping tests done with EML package will be handled with the most recent version of EML (from Github) where handling of EML metadata elements has been switched from S4 to list objects. In term of package lifecycle and release to CRAN, this work will be merged to the master branch only when EML package will be up-to-date in CRAN.
The text was updated successfully, but these errors were encountered: