Project

General

Profile

« Previous | Next » 

Revision 4074

mappings/DwC2-VegBIEN.specimens.csv, VegCSV-VegBIEN.specimens.csv: Split occurrenceID into occurrenceID and individualID, where individualID refers to the plant in plots data and occurrenceID refers to the specimen in specimens data. This prevents plant sourceaccessioncodes from being mapped to the specimenreplicate, which was messing up stems mappings for the parent plantobservation. It also avoids mapping the specimenreplicate sourceaccessioncode to additional tables where it isn't needed. (Note that occurrenceID is needed for location to ensure that each specimen gets its own location to make locationdeterminations on. Everything else is directly or indirectly scoped by location when its own sourceaccessioncode isn't specified.)

View differences:

import.specimens.xml.ref
306 306
                            </userdefined_id>
307 307
                            <definedvalue>$Sex</definedvalue>
308 308
                        </definedvalue>
309
                        <sourceaccessioncode>$GlobalUniqueIdentifier</sourceaccessioncode>
310 309
                        <specimenreplicate>
311 310
                            <catalognumber_dwc><_if name="if indirect voucher"><else>$CatalogNumberNumeric</else></_if></catalognumber_dwc>
312 311
                            <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
......
327 326
                        <2>$FieldNumber</2>
328 327
                    </_alt>
329 328
                </authortaxoncode>
330
                <sourceaccessioncode>$GlobalUniqueIdentifier</sourceaccessioncode>
331 329
                <taxondetermination>
332 330
                    <isoriginal>true</isoriginal>
333 331
                    <role>identifier</role>

Also available in: Unified diff