Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>
8
                    <_alt>
9
                        <1>$GlobalUniqueIdentifier</1>
10
                        <2>
11
                            <_join>
12
                                <1>$InstitutionCode</1>
13
                                <2>$CollectionCode</2>
14
                                <3>
15
                                    <_alt>
16
                                        <1>$CatalogNumberNumeric</1>
17
                                        <2>$CatalogNumber</2>
18
                                    </_alt>
19
                                </3>
20
                            </_join>
21
                        </2>
22
                    </_alt>
23
                </authorlocationcode>
24
                <elevation_m>
25
                    <_avg>
26
                        <max>$MaximumElevationInMeters</max>
27
                        <min><_rangeStart><value>$MinimumElevationInMeters</value></_rangeStart></min>
28
                    </_avg>
29
                </elevation_m>
30
                <elevationrange_m>
31
                    <_range>
32
                        <from><_rangeStart><value>$MinimumElevationInMeters</value></_rangeStart></from>
33
                        <to>
34
                            <_alt>
35
                                <1>$MaximumElevationInMeters</1>
36
                                <2><_rangeEnd><value>$MinimumElevationInMeters</value></_rangeEnd></2>
37
                            </_alt>
38
                        </to>
39
                    </_range>
40
                </elevationrange_m>
41
                <locationcoords>
42
                    <coordsaccuracy_deg><_noCV><value>$CoordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_deg>
43
                    <footprintgeometry_dwc>$BoundingBox</footprintgeometry_dwc>
44
                    <latitude_deg>
45
                        <_alt>
46
                            <1>
47
                                <_nullIf>
48
                                    <null>0</null>
49
                                    <type>float</type>
50
                                    <value>$DecimalLatitude</value>
51
                                </_nullIf>
52
                            </1>
53
                            <2>
54
                                <_nullIf>
55
                                    <null>0</null>
56
                                    <type>float</type>
57
                                    <value>$VerbatimLatitude</value>
58
                                </_nullIf>
59
                            </2>
60
                        </_alt>
61
                    </latitude_deg>
62
                    <longitude_deg>
63
                        <_alt>
64
                            <1>
65
                                <_nullIf>
66
                                    <null>0</null>
67
                                    <type>float</type>
68
                                    <value>$DecimalLongitude</value>
69
                                </_nullIf>
70
                            </1>
71
                            <2>
72
                                <_nullIf>
73
                                    <null>0</null>
74
                                    <type>float</type>
75
                                    <value>$VerbatimLongitude</value>
76
                                </_nullIf>
77
                            </2>
78
                        </_alt>
79
                    </longitude_deg>
80
                </locationcoords>
81
                <locationevent>
82
                    <taxonoccurrence>
83
                        <aggregateoccurrence>
84
                            <collectiondate>
85
                                <_alt>
86
                                    <1><_date><date>$VerbatimCollectingDate</date></_date></1>
87
                                    <2>
88
                                        <_date>
89
                                            <day>
90
                                                <_nullIf>
91
                                                    <null>0</null>
92
                                                    <type>float</type>
93
                                                    <value>$DayCollected</value>
94
                                                </_nullIf>
95
                                            </day>
96
                                            <month>
97
                                                <_nullIf>
98
                                                    <null>0</null>
99
                                                    <type>float</type>
100
                                                    <value>$MonthCollected</value>
101
                                                </_nullIf>
102
                                            </month>
103
                                            <year>
104
                                                <_nullIf>
105
                                                    <null>0</null>
106
                                                    <type>float</type>
107
                                                    <value>$YearCollected</value>
108
                                                </_nullIf>
109
                                            </year>
110
                                        </_date>
111
                                    </2>
112
                                </_alt>
113
                            </collectiondate>
114
                            <count>$IndividualCount</count>
115
                            <notes>$FieldNotes</notes>
116
                            <plantobservation>
117
                                <collectionnumber>$CollectorNumber</collectionnumber>
118
                                <definedvalue fkey="tablerecord_id">
119
                                    <userdefined_id>
120
                                        <userdefined>
121
                                            <tablename>plantobservation</tablename>
122
                                            <userdefinedname>sex</userdefinedname>
123
                                        </userdefined>
124
                                    </userdefined_id>
125
                                    <definedvalue>$Sex</definedvalue>
126
                                </definedvalue>
127
                                <specimenreplicate>
128
                                    <catalognumber_dwc>
129
                                        <_alt>
130
                                            <1>$CatalogNumberNumeric</1>
131
                                            <2>$CatalogNumber</2>
132
                                        </_alt>
133
                                    </catalognumber_dwc>
134
                                    <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
135
                                    <institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
136
                                    <sourceaccessioncode>$GlobalUniqueIdentifier</sourceaccessioncode>
137
                                </specimenreplicate>
138
                            </plantobservation>
139
                        </aggregateoccurrence>
140
                        <authortaxoncode>
141
                            <_alt>
142
                                <1>$CollectorNumber</1>
143
                                <2>
144
                                    <_alt>
145
                                        <1>$ScientificNameAuthor</1>
146
                                        <2>$ScientificName</2>
147
                                    </_alt>
148
                                </2>
149
                            </_alt>
150
                        </authortaxoncode>
151
                        <taxondetermination>
152
                            <party_id>
153
                                <party>
154
                                    <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
155
                                    <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
156
                                    <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
157
                                </party>
158
                            </party_id>
159
                            <taxonpath_id>
160
                                <taxonpath>
161
                                    <class>$Class</class>
162
                                    <family>$Family</family>
163
                                    <genus>$Genus</genus>
164
                                    <kingdom>$Kingdom</kingdom>
165
                                    <order>$Order</order>
166
                                    <phylum>$Phylum</phylum>
167
                                    <scientificname>
168
                                        <_alt>
169
                                            <1>$ScientificNameAuthor</1>
170
                                            <2>$ScientificName</2>
171
                                        </_alt>
172
                                    </scientificname>
173
                                    <species>$Species</species>
174
                                    <subspecies>$Subspecies</subspecies>
175
                                </taxonpath>
176
                            </taxonpath_id>
177
                            <determinationdate>
178
                                <_date>
179
                                    <day>
180
                                        <_nullIf>
181
                                            <null>0</null>
182
                                            <type>float</type>
183
                                            <value>$DayIdentified</value>
184
                                        </_nullIf>
185
                                    </day>
186
                                    <month>
187
                                        <_nullIf>
188
                                            <null>0</null>
189
                                            <type>float</type>
190
                                            <value>$MonthIdentified</value>
191
                                        </_nullIf>
192
                                    </month>
193
                                    <year>
194
                                        <_nullIf>
195
                                            <null>0</null>
196
                                            <type>float</type>
197
                                            <value>$YearIdentified</value>
198
                                        </_nullIf>
199
                                    </year>
200
                                </_date>
201
                            </determinationdate>
202
                            <notes>$Remarks</notes>
203
                            <taxonfit>$IdentificationModifier</taxonfit>
204
                        </taxondetermination>
205
                        <verbatimcollectorname>$Collector</verbatimcollectorname>
206
                    </taxonoccurrence>
207
                    <waterdepth_m>
208
                        <_avg>
209
                            <max>$MaximumDepthInMeters</max>
210
                            <min>$MinimumDepthInMeters</min>
211
                        </_avg>
212
                    </waterdepth_m>
213
                </locationevent>
214
                <locationnarrative>$Locality</locationnarrative>
215
                <locationplace>
216
                    <placepath_id>
217
                        <placepath>
218
                            <continent>$ContinentOcean</continent>
219
                            <country>$Country</country>
220
                            <county>$County</county>
221
                            <stateprovince>$StateProvince</stateprovince>
222
                        </placepath>
223
                    </placepath_id>
224
                </locationplace>
225
            </location>
226
        </path>
227
    </_simplifyPath>
228
</VegBIEN>
229
Inserted 28 new rows into database
(5-5/6)