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