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

Allow IPT to map non darwin core fields easily to the dynamicProperties field #1403

Open
ainsofs opened this issue Apr 16, 2018 · 4 comments

Comments

@ainsofs
Copy link

ainsofs commented Apr 16, 2018

Darwin Core currently provides a catch all field which allows non Darwin Core fields to be captured in the dynamicProperties field http://rs.tdwg.org/dwc/terms/index.htm#dynamicProperties

It would be great if the IPT could allow the user to easily map the "Unmapped columns" to the dynamicProperties field in JSON format. Also allowing the user to provide an alternative title for the columns that are mapped.

Currently, this has to be done outside of the IPT using something like Excel and a complex concatenate formula.

@MattBlissett
Copy link
Member

Hi Ainsof,

I know this was a while ago — what fields did you have in mind for inclusion in dynamicProperties?

It's generally better if fields are mapped to terms (including new Darwin Core terms if required), or extensions (including new extensions if required).

@ainsofs
Copy link
Author

ainsofs commented Aug 16, 2021

Hi Matt, In the current process you map what you can to darwin core properties and this is done easily with the existing UI. When you want to include some non-darwin core values you need to use a tool offline like excel and concat formulas to format them as json style dynamicProperties then reupload your data.

What I am proposing is an enhancement to the current UI. Perhaps all fields that cannot be mapped to darwin core can be easily mapped to the dynamicProperties field. The UI could present a "key/value" pair, where the user would enter the "key", against an existing unmappable property. When published the IPT could format these key/value pairs into a compatible json format as a dynamicField.

@MattBlissett
Copy link
Member

I think you're describing what Sylvain has been implementing in #1613, although he's proposing all unmapped fields are added to dynamicProperties.

@ainsofs
Copy link
Author

ainsofs commented Aug 18, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants