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
159 159
                    </notes>
160 160
                    <plantobservation>
161 161
                        <authorplantcode>$collectno</authorplantcode>
162
                        <sourceaccessioncode>$accession</sourceaccessioncode>
163 162
                        <specimenreplicate>
164 163
                            <collectionnumber>$collectno</collectionnumber>
165 164
                            <institution_id><party><organizationname>$herbarium</organizationname></party></institution_id>
......
198 197
                        </value>
199 198
                    </_map>
200 199
                </isnative>
201
                <sourceaccessioncode>$accession</sourceaccessioncode>
202 200
                <taxondetermination>
203 201
                    <isoriginal>true</isoriginal>
204 202
                    <role>identifier</role>

Also available in: Unified diff