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