-
Notifications
You must be signed in to change notification settings - Fork 9
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
Question about generated meta.xml #5
Comments
We were debating about that (also occurrenceID) quite a bit, but decided that the taxon/occurrenceID might in some cases be different from the (local) identifier used to link the data in the archive. If it is automatically mapped you cannot deal with these cases. On the other hand you can always manually map the taxonID to the same column |
IIRC correctly the key argument against it was because a row in a CSV file might not represent a single taxon "concept". The example being row 1 might detail the accepted name and the following rows the synonyms and where they were published, but together they define the definition of the taxon. |
@mdoering I agree it should not be set by default to taxonID. How can I map the taxonID to the same column? In other words how to say to the writer 'this is my id column' ? |
or
|
is certainly the correct way to say the first column is the internal Does that answer the question though? On Wed, Dec 3, 2014 at 5:32 PM, Christian Gendreau <notifications@github.com
|
yes it does and this is how I implemented it so, the next logical question would be when it makes sense to use:
or why can we set a 'term' to the id? |
The xsd schema does not allow the id field to have any other attribute than index: |
true, that makes sense. |
I am not sure I understand what you are trying to do here, sorry. Can you The following is the correct way to write a meta.xml where a column is a On Wed, Dec 3, 2014 at 5:49 PM, Christian Gendreau <notifications@github.com
|
The problem was that it was not possible to generate such meta.xml using the DwcaWriter.
|
Thanks. I had assumed the IPT would use that but I guess not. It can produce that On Wed, Dec 3, 2014 at 6:59 PM, Christian Gendreau <notifications@github.com
|
No the IPT doesn't use the DwcaWriter, it handles that case by himself. |
When writing a Dwc-A, the dwca-reader automatically generates the meta.xml file.
For a Taxon rowType, this meta.xml is generated:
Why no field entry is created for taxonID?
e.g.
Thanks
The text was updated successfully, but these errors were encountered: