Project

General

Profile

« Previous | Next » 

Revision 12962

fix: inputs/CTFS/AggregateObservation/map.csv: field mapped to occurrenceID: remapped to aggregateOrganismObservationID because these are not specimen occurrences

View differences:

trunk/inputs/CTFS/AggregateObservation/map.csv
1 1
CTFS,VegCore,Filter,Comments
2 2
row_num,*row_num,,
3
DWstagingID,occurrenceID,,
3
DWstagingID,aggregateOrganismObservationID,,
4 4
Country,country,,
5 5
Province,stateProvince,,
6 6
Plot,locationName,,
trunk/inputs/CTFS/AggregateObservation/test.xml.ref
16 16
                                <taxonoccurrence>
17 17
                                    <aggregateoccurrence>
18 18
                                        <count>$individualCount</count>
19
                                        <plantobservation>
20
                                            <specimenreplicate><sourceaccessioncode>$occurrenceID</sourceaccessioncode></specimenreplicate>
21
                                            <stemobservation><diameterbreastheight_m><_cm_to_m><value>$diameterBreastHeight_cm</value></_cm_to_m></diameterbreastheight_m></stemobservation>
22
                                        </plantobservation>
19
                                        <plantobservation><stemobservation><diameterbreastheight_m><_cm_to_m><value>$diameterBreastHeight_cm</value></_cm_to_m></diameterbreastheight_m></stemobservation></plantobservation>
20
                                        <sourceaccessioncode>$aggregateOrganismObservationID</sourceaccessioncode>
23 21
                                    </aggregateoccurrence>
24 22
                                    <growthform>$growthForm</growthform>
25
                                    <sourceaccessioncode>$occurrenceID</sourceaccessioncode>
23
                                    <sourceaccessioncode>$aggregateOrganismObservationID</sourceaccessioncode>
26 24
                                    <taxondetermination>
27 25
                                        <taxonverbatim_id>
28 26
                                            <taxonverbatim>
......
143 141
        </path>
144 142
    </_setDefault>
145 143
</VegBIEN>
146
Inserted 29 new rows into database
144
Inserted 27 new rows into database
trunk/inputs/CTFS/AggregateObservation/new_terms.csv
1
DWstagingID,occurrenceID,,
1
DWstagingID,aggregateOrganismObservationID,,
2 2
Province,stateProvince,,
3 3
Plot,locationName,,
4 4
CensusName,authorEventCode,,

Also available in: Unified diff