Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 4621 aaronmk
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>
8
                    <_alt>
9
                        <1>$id</1>
10 4066 aaronmk
                        <2>
11 4327 aaronmk
                            <_join>
12 4621 aaronmk
                                <1>$institutionCode</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$collectionCode</1>
16
                                        <2>$collectionID</2>
17
                                    </_join>
18
                                </2>
19
                                <3>$catalogNumber</3>
20 4327 aaronmk
                            </_join>
21 4066 aaronmk
                        </2>
22 4621 aaronmk
                    </_alt>
23
                </authorlocationcode>
24
                <elevation>
25
                    <_alt>
26
                        <1>
27
                            <_replace>
28
                                <\bca\.?></\bca\.?>
29
                                <value>$verbatimElevation</value>
30
                            </_replace>
31
                        </1>
32
                        <2>
33
                            <_avg>
34
                                <max>
35
                                    <_units>
36
                                        <default>m</default>
37
                                        <to>m</to>
38
                                        <to></to>
39
                                        <value>
40
                                            <_replace>
41
                                                <\bca\.?></\bca\.?>
42
                                                <value>$maximumElevationInMeters</value>
43
                                            </_replace>
44
                                        </value>
45
                                    </_units>
46
                                </max>
47
                                <min>
48
                                    <_units>
49
                                        <default>m</default>
50
                                        <to>m</to>
51
                                        <to></to>
52
                                        <value>
53
                                            <_rangeStart>
54
                                                <value>
55
                                                    <_replace>
56
                                                        <\bca\.?></\bca\.?>
57
                                                        <value>$minimumElevationInMeters</value>
58
                                                    </_replace>
59
                                                </value>
60
                                            </_rangeStart>
61
                                        </value>
62
                                    </_units>
63
                                </min>
64
                            </_avg>
65
                        </2>
66
                    </_alt>
67
                </elevation>
68
                <elevationrange>
69
                    <_range>
70
                        <from>
71 3786 aaronmk
                            <_units>
72
                                <default>m</default>
73
                                <to>m</to>
74
                                <to></to>
75 3984 aaronmk
                                <value>
76 3786 aaronmk
                                    <_rangeStart>
77
                                        <value>
78
                                            <_replace>
79
                                                <\bca\.?></\bca\.?>
80
                                                <value>$minimumElevationInMeters</value>
81
                                            </_replace>
82
                                        </value>
83
                                    </_rangeStart>
84
                                </value>
85
                            </_units>
86 4621 aaronmk
                        </from>
87
                        <to>
88
                            <_units>
89
                                <default>m</default>
90
                                <to>m</to>
91
                                <to></to>
92 3786 aaronmk
                                <value>
93 4621 aaronmk
                                    <_alt>
94
                                        <1>
95 3786 aaronmk
                                            <_replace>
96
                                                <\bca\.?></\bca\.?>
97 4621 aaronmk
                                                <value>$maximumElevationInMeters</value>
98 3786 aaronmk
                                            </_replace>
99 4621 aaronmk
                                        </1>
100
                                        <2>
101
                                            <_rangeEnd>
102
                                                <value>
103
                                                    <_replace>
104
                                                        <\bca\.?></\bca\.?>
105
                                                        <value>$minimumElevationInMeters</value>
106
                                                    </_replace>
107
                                                </value>
108
                                            </_rangeEnd>
109
                                        </2>
110
                                    </_alt>
111
                                </value>
112
                            </_units>
113
                        </to>
114
                    </_range>
115
                </elevationrange>
116 4726 aaronmk
                <locationcoords>
117 4621 aaronmk
                    <coordsaccuracy><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy>
118
                    <footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
119
                    <latitude>
120
                        <_alt>
121
                            <1>
122
                                <_nullIf>
123
                                    <null>0</null>
124
                                    <type>float</type>
125
                                    <value>$decimalLatitude</value>
126
                                </_nullIf>
127
                            </1>
128
                            <2>
129
                                <_nullIf>
130
                                    <null>0</null>
131
                                    <type>float</type>
132
                                    <value>$verbatimLatitude</value>
133
                                </_nullIf>
134
                            </2>
135
                        </_alt>
136
                    </latitude>
137
                    <longitude>
138
                        <_alt>
139
                            <1>
140
                                <_nullIf>
141
                                    <null>0</null>
142
                                    <type>float</type>
143
                                    <value>$decimalLongitude</value>
144
                                </_nullIf>
145
                            </1>
146
                            <2>
147
                                <_nullIf>
148
                                    <null>0</null>
149
                                    <type>float</type>
150
                                    <value>$verbatimLongitude</value>
151
                                </_nullIf>
152
                            </2>
153
                        </_alt>
154
                    </longitude>
155 4726 aaronmk
                </locationcoords>
156 4621 aaronmk
                <locationevent>
157
                    <method_id><method><name>$samplingProtocol</name></method></method_id>
158
                    <obsenddate><_date><date><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></date></_date></obsenddate>
159
                    <obsstartdate><_date><date><_dateRangeStart><value>$eventDate</value></_dateRangeStart></date></_date></obsstartdate>
160
                    <taxonoccurrence>
161
                        <aggregateoccurrence>
162
                            <count>$individualCount</count>
163
                            <plantobservation>
164
                                <definedvalue fkey="tablerecord_id">
165
                                    <userdefined_id>
166
                                        <userdefined>
167
                                            <tablename>plantobservation</tablename>
168
                                            <userdefinedname>sex</userdefinedname>
169
                                        </userdefined>
170
                                    </userdefined_id>
171
                                    <definedvalue>$sex</definedvalue>
172
                                </definedvalue>
173
                                <specimenreplicate>
174
                                    <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
175
                                    <collectioncode_dwc>
176
                                        <_join>
177
                                            <1>$collectionCode</1>
178
                                            <2>$collectionID</2>
179
                                        </_join>
180
                                    </collectioncode_dwc>
181
                                    <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
182
                                    <sourceaccessioncode>$id</sourceaccessioncode>
183
                                </specimenreplicate>
184
                            </plantobservation>
185
                        </aggregateoccurrence>
186
                        <authortaxoncode>$scientificName</authortaxoncode>
187
                        <taxondetermination>
188
                            <party_id>
189
                                <party>
190
                                    <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
191
                                    <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
192
                                    <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
193
                                </party>
194
                            </party_id>
195 4718 aaronmk
                            <taxonpath_id>
196
                                <taxonpath>
197 4703 aaronmk
                                    <class>$class</class>
198
                                    <family>$family</family>
199
                                    <genus>$genus</genus>
200
                                    <kingdom>$kingdom</kingdom>
201
                                    <order>$order</order>
202
                                    <phylum>$phylum</phylum>
203
                                    <scientificname>$scientificName</scientificname>
204
                                    <scientificnameauthor>$scientificNameAuthorship</scientificnameauthor>
205
                                    <species>$specificEpithet</species>
206
                                    <subspecies>
207
                                        <_name>
208
                                            <first>$taxonRank</first>
209
                                            <last>$infraspecificEpithet</last>
210
                                        </_name>
211
                                    </subspecies>
212 4718 aaronmk
                                </taxonpath>
213
                            </taxonpath_id>
214 4621 aaronmk
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
215
                            <taxonfit>$identificationQualifier</taxonfit>
216
                        </taxondetermination>
217
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
218
                    </taxonoccurrence>
219
                </locationevent>
220
                <locationnarrative>
221
                    <_merge>
222
                        <1>$locality</1>
223
                        <3>
224
                            <_label>
225
                                <label>habitat</label>
226
                                <value>$habitat</value>
227
                            </_label>
228
                        </3>
229
                    </_merge>
230
                </locationnarrative>
231 4726 aaronmk
                <locationplace>
232 4727 aaronmk
                    <placepath_id>
233
                        <placepath>
234
                            <continent>$continent</continent>
235
                            <country>$country</country>
236
                            <county>$county</county>
237
                            <stateprovince>$stateProvince</stateprovince>
238
                        </placepath>
239
                    </placepath_id>
240 4726 aaronmk
                </locationplace>
241 4621 aaronmk
            </location>
242
        </path>
243
    </_simplifyPath>
244 3641 aaronmk
</VegBIEN>
245 4727 aaronmk
Inserted 26 new rows into database