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>$CollectorNumber</authortaxoncode>
130
                        <sourceaccessioncode>$GlobalUniqueIdentifier</sourceaccessioncode>
131
                        <taxondetermination>
132
                            <party_id>
133
                                <party>
134
                                    <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
135
                                    <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
136
                                    <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
137
                                </party>
138
                            </party_id>
139
                            <taxonpath_id>
140
                                <taxonpath>
141
                                    <class>$Class</class>
142
                                    <family>$Family</family>
143
                                    <genus>$Genus</genus>
144
                                    <kingdom>$Kingdom</kingdom>
145
                                    <order>$Order</order>
146
                                    <phylum>$Phylum</phylum>
147
                                    <scientificname>
148
                                        <_alt>
149
                                            <1>$ScientificNameAuthor</1>
150
                                            <2>$ScientificName</2>
151
                                        </_alt>
152
                                    </scientificname>
153
                                    <species>$Species</species>
154
                                    <subspecies>$Subspecies</subspecies>
155
                                </taxonpath>
156
                            </taxonpath_id>
157
                            <determinationdate>
158
                                <_date>
159
                                    <day>
160
                                        <_nullIf>
161
                                            <null>0</null>
162
                                            <type>float</type>
163
                                            <value>$DayIdentified</value>
164
                                        </_nullIf>
165
                                    </day>
166
                                    <month>
167
                                        <_nullIf>
168
                                            <null>0</null>
169
                                            <type>float</type>
170
                                            <value>$MonthIdentified</value>
171
                                        </_nullIf>
172
                                    </month>
173
                                    <year>
174
                                        <_nullIf>
175
                                            <null>0</null>
176
                                            <type>float</type>
177
                                            <value>$YearIdentified</value>
178
                                        </_nullIf>
179
                                    </year>
180
                                </_date>
181
                            </determinationdate>
182
                            <notes>$Remarks</notes>
183
                            <taxonfit>$IdentificationModifier</taxonfit>
184
                        </taxondetermination>
185
                        <verbatimcollectorname>$Collector</verbatimcollectorname>
186
                    </taxonoccurrence>
187
                    <waterdepth_m>
188
                        <_avg>
189
                            <max>$MaximumDepthInMeters</max>
190
                            <min>$MinimumDepthInMeters</min>
191
                        </_avg>
192
                    </waterdepth_m>
193
                </locationevent>
194
                <locationnarrative>$Locality</locationnarrative>
195
                <locationplace>
196
                    <placepath_id>
197
                        <placepath>
198
                            <continent>$ContinentOcean</continent>
199
                            <country>$Country</country>
200
                            <county>$County</county>
201
                            <stateprovince>$StateProvince</stateprovince>
202
                        </placepath>
203
                    </placepath_id>
204
                </locationplace>
205
            </location>
206
        </path>
207
    </_simplifyPath>
208
</VegBIEN>
209
Inserted 28 new rows into database
(5-5/6)