Project

General

Profile

« Previous | Next » 

Revision 9876

inputs/GBIF/raw_occurrence_record_plants/test.xml.ref: regenerated. updated for new staging table input columns, which are now the same as the output columns.

View differences:

inputs/GBIF/raw_occurrence_record_plants/test.xml.ref
9 9
                    <location>
10 10
                        <authorlocationcode>
11 11
                            <_alt>
12
                                <1>$id</1>
12
                                <1>$dataProviderRecordID</1>
13 13
                                <2>
14 14
                                    <_join>
15
                                        <1>$institution_code</1>
16
                                        <2>$collection_code</2>
17
                                        <3>$catalogue_number</3>
15
                                        <1>$specimenHolderInstitutions</1>
16
                                        <2>$collection</2>
17
                                        <3>$accessionNumber</3>
18 18
                                    </_join>
19 19
                                </2>
20 20
                            </_alt>
21 21
                        </authorlocationcode>
22 22
                        <elevation_m>
23 23
                            <_avg>
24
                                <1>$min_altitude</1>
25
                                <2>$max_altitude</2>
24
                                <1>$minimumElevationInMeters</1>
25
                                <2>$maximumElevationInMeters</2>
26 26
                            </_avg>
27 27
                        </elevation_m>
28 28
                        <iscultivated><_locationnarrative_is_cultivated><locationnarrative>$locality</locationnarrative></_locationnarrative_is_cultivated></iscultivated>
......
31 31
                                <aggregateoccurrence>
32 32
                                    <plantobservation>
33 33
                                        <specimenreplicate>
34
                                            <catalognumber_dwc>$catalogue_number</catalognumber_dwc>
35
                                            <collectioncode_dwc>$collection_code</collectioncode_dwc>
34
                                            <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
35
                                            <collectioncode_dwc>$collection</collectioncode_dwc>
36 36
                                            <institution_id>
37 37
                                                <sourcelist>
38
                                                    <name>$institution_code</name>
38
                                                    <name>$specimenHolderInstitutions</name>
39 39
                                                    <sourcename>
40 40
                                                        <name>
41 41
                                                            <_split>
42 42
                                                                <separator>[,;] *</separator>
43
                                                                <value>$institution_code</value>
43
                                                                <value>$specimenHolderInstitutions</value>
44 44
                                                            </_split>
45 45
                                                        </name>
46 46
                                                    </sourcename>
47 47
                                                </sourcelist>
48 48
                                            </institution_id>
49
                                            <sourceaccessioncode>$id</sourceaccessioncode>
49
                                            <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
50 50
                                        </specimenreplicate>
51 51
                                    </plantobservation>
52 52
                                </aggregateoccurrence>
53
                                <collector_id><party><fullname>$collector_name</fullname></party></collector_id>
54
                                <sourceaccessioncode>$id</sourceaccessioncode>
53
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
54
                                <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
55 55
                                <taxondetermination>
56
                                    <party_id><party><fullname>$identifier_name</fullname></party></party_id>
56
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
57 57
                                    <taxonverbatim_id>
58 58
                                        <taxonverbatim>
59 59
                                            <taxonlabel_id>
60 60
                                                <taxonlabel>
61 61
                                                    <parent_id>
62 62
                                                        <taxonlabel>
63
                                                            <rank>$rank</rank>
63
                                                            <rank>$taxonRank</rank>
64 64
                                                            <parent_id>
65 65
                                                                <taxonlabel>
66 66
                                                                    <rank>cultivar</rank>
......
77 77
                                                                                            <parent_id>
78 78
                                                                                                <taxonlabel>
79 79
                                                                                                    <rank>species</rank>
80
                                                                                                    <taxonepithet>$species</taxonepithet>
80
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
81 81
                                                                                                    <parent_id>
82 82
                                                                                                        <taxonlabel>
83 83
                                                                                                            <rank>genus</rank>
......
89 89
                                                                                                                    <parent_id>
90 90
                                                                                                                        <taxonlabel>
91 91
                                                                                                                            <rank>order</rank>
92
                                                                                                                            <taxonepithet>$order_rank</taxonepithet>
92
                                                                                                                            <taxonepithet>$order</taxonepithet>
93 93
                                                                                                                            <parent_id>
94 94
                                                                                                                                <taxonlabel>
95 95
                                                                                                                                    <rank>class</rank>
......
126 126
                                                            </parent_id>
127 127
                                                        </taxonlabel>
128 128
                                                    </parent_id>
129
                                                    <rank>$rank</rank>
129
                                                    <rank>$taxonRank</rank>
130 130
                                                    <taxonomicname>
131 131
                                                        <_merge_prefix>
132 132
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
133 133
                                                            <value>
134 134
                                                                <_alt>
135
                                                                    <1>$scientific_name</1>
135
                                                                    <1>$scientificName</1>
136 136
                                                                    <2>
137 137
                                                                        <_join_words>
138 138
                                                                            <2>$genus</2>
139
                                                                            <3>$species</3>
139
                                                                            <3>$specificEpithet</3>
140 140
                                                                            <4>$subspecies</4>
141 141
                                                                        </_join_words>
142 142
                                                                    </2>
......
148 148
                                            </taxonlabel_id>
149 149
                                            <family>$family</family>
150 150
                                            <genus>$genus</genus>
151
                                            <specific_epithet>$species</specific_epithet>
152
                                            <taxonomicname>$scientific_name</taxonomicname>
153
                                            <verbatimrank>$rank</verbatimrank>
151
                                            <specific_epithet>$specificEpithet</specific_epithet>
152
                                            <taxonomicname>$scientificName</taxonomicname>
153
                                            <verbatimrank>$taxonRank</verbatimrank>
154 154
                                        </taxonverbatim>
155 155
                                    </taxonverbatim_id>
156
                                    <determinationdate><_dateRangeStart><value>$identification_date</value></_dateRangeStart></determinationdate>
156
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
157 157
                                </taxondetermination>
158 158
                            </taxonoccurrence>
159 159
                            <waterdepth_m>
160 160
                                <_avg>
161
                                    <1>$min_depth</1>
162
                                    <2>$max_depth</2>
161
                                    <1>$minimumDepthInMeters</1>
162
                                    <2>$maximumDepthInMeters</2>
163 163
                                </_avg>
164 164
                            </waterdepth_m>
165 165
                        </locationevent>
......
173 173
                                                <_nullIf>
174 174
                                                    <null>0</null>
175 175
                                                    <type>float</type>
176
                                                    <value>$latitude</value>
176
                                                    <value>$decimalLatitude</value>
177 177
                                                </_nullIf>
178 178
                                            </latitude_deg>
179 179
                                            <longitude_deg>
180 180
                                                <_nullIf>
181 181
                                                    <null>0</null>
182 182
                                                    <type>float</type>
183
                                                    <value>$longitude</value>
183
                                                    <value>$decimalLongitude</value>
184 184
                                                </_nullIf>
185 185
                                            </longitude_deg>
186 186
                                        </coordinates>
187 187
                                    </coordinates_id>
188
                                    <continent>$continent_ocean</continent>
188
                                    <continent>$continent</continent>
189 189
                                    <country>$country</country>
190 190
                                    <county>$county</county>
191 191
                                    <matched_place_id>
......
198 198
                                                        <_nullIf>
199 199
                                                            <null>0</null>
200 200
                                                            <type>float</type>
201
                                                            <value>$latitude</value>
201
                                                            <value>$decimalLatitude</value>
202 202
                                                        </_nullIf>
203 203
                                                    </latitude_deg>
204 204
                                                    <longitude_deg>
205 205
                                                        <_nullIf>
206 206
                                                            <null>0</null>
207 207
                                                            <type>float</type>
208
                                                            <value>$longitude</value>
208
                                                            <value>$decimalLongitude</value>
209 209
                                                        </_nullIf>
210 210
                                                    </longitude_deg>
211 211
                                                </coordinates>
212 212
                                            </coordinates_id>
213 213
                                            <country>$country</country>
214 214
                                            <county>$county</county>
215
                                            <stateprovince>$state_province</stateprovince>
215
                                            <stateprovince>$stateProvince</stateprovince>
216 216
                                        </place>
217 217
                                    </matched_place_id>
218
                                    <stateprovince>$state_province</stateprovince>
218
                                    <stateprovince>$stateProvince</stateprovince>
219 219
                                </place>
220 220
                            </place_id>
221 221
                        </locationplace>
......
225 225
        </path>
226 226
    </_setDefault>
227 227
</VegBIEN>
228
Inserted 0 new rows into database
228
Inserted 36 new rows into database

Also available in: Unified diff