Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 3786 aaronmk
    <location id="-1">
4
        <elevation>
5
            <_alt>
6
                <2>
7
                    <_avg>
8
                        <max>
9
                            <_units>
10
                                <default>m</default>
11
                                <to>m</to>
12
                                <to></to>
13
                                <value>$maximumElevationInMeters</value>
14
                            </_units>
15
                        </max>
16
                        <min>
17
                            <_units>
18
                                <default>m</default>
19
                                <to>m</to>
20
                                <to></to>
21
                                <value>
22
                                    <_rangeStart>
23
                                        <value>
24
                                            <_replace>
25
                                                <\bca\.?></\bca\.?>
26
                                                <value>$minimumElevationInMeters</value>
27
                                            </_replace>
28
                                        </value>
29
                                    </_rangeStart>
30
                                </value>
31
                            </_units>
32
                        </min>
33
                    </_avg>
34
                </2>
35
            </_alt>
36
        </elevation>
37
        <elevationrange>
38
            <_range>
39
                <from>
40
                    <_units>
41
                        <default>m</default>
42
                        <to>m</to>
43
                        <to></to>
44
                        <value>
45
                            <_rangeStart>
46
                                <value>
47
                                    <_replace>
48
                                        <\bca\.?></\bca\.?>
49
                                        <value>$minimumElevationInMeters</value>
50
                                    </_replace>
51
                                </value>
52
                            </_rangeStart>
53
                        </value>
54
                    </_units>
55
                </from>
56
                <to>
57
                    <_units>
58
                        <default>m</default>
59
                        <to>m</to>
60
                        <to></to>
61
                        <value>
62 3780 aaronmk
                            <_alt>
63 3786 aaronmk
                                <1>$maximumElevationInMeters</1>
64 3780 aaronmk
                                <2>
65 3786 aaronmk
                                    <_rangeEnd>
66
                                        <value>
67
                                            <_replace>
68
                                                <\bca\.?></\bca\.?>
69
                                                <value>$minimumElevationInMeters</value>
70
                                            </_replace>
71
                                        </value>
72
                                    </_rangeEnd>
73 3780 aaronmk
                                </2>
74
                            </_alt>
75 3786 aaronmk
                        </value>
76
                    </_units>
77
                </to>
78
            </_range>
79
        </elevationrange>
80
        <locationdetermination>
81
            <coordsaccuracy><_noCV><value><_alt><1>$coordinateUncertaintyInMeters</1></_alt></value></_noCV></coordsaccuracy>
82
            <footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
83
            <latitude>
84
                <_alt>
85
                    <1>
86
                        <_nullIf>
87
                            <null>0</null>
88
                            <type>float</type>
89
                            <value>
90 3641 aaronmk
                                <_alt>
91 3786 aaronmk
                                    <0>$decimalLatitude</0>
92
                                    <1>$verbatimLatitude</1>
93 3641 aaronmk
                                </_alt>
94 3786 aaronmk
                            </value>
95
                        </_nullIf>
96
                    </1>
97
                </_alt>
98
            </latitude>
99
            <longitude>
100
                <_alt>
101
                    <1>
102
                        <_nullIf>
103
                            <null>0</null>
104
                            <type>float</type>
105
                            <value>
106 3641 aaronmk
                                <_alt>
107 3786 aaronmk
                                    <0>$decimalLongitude</0>
108
                                    <1>$verbatimLongitude</1>
109 3641 aaronmk
                                </_alt>
110 3786 aaronmk
                            </value>
111
                        </_nullIf>
112
                    </1>
113
                </_alt>
114
            </longitude>
115
            <namedplace_id>
116
                <_simplifyPath>
117
                    <next>parent_id/namedplace</next>
118
                    <require>placename</require>
119
                    <path>
120
                        <namedplace>
121
                            <rank>county</rank>
122
                            <placename>$county</placename>
123
                            <parent_id>
124
                                <namedplace>
125
                                    <rank>stateProvince</rank>
126
                                    <placename>$stateProvince</placename>
127
                                    <parent_id>
128 3770 aaronmk
                                        <namedplace>
129 3786 aaronmk
                                            <rank>country</rank>
130
                                            <placename>$country</placename>
131 3770 aaronmk
                                            <parent_id>
132
                                                <namedplace>
133 3786 aaronmk
                                                    <rank>continent</rank>
134
                                                    <placename>$continent</placename>
135 3770 aaronmk
                                                </namedplace>
136
                                            </parent_id>
137
                                        </namedplace>
138 3786 aaronmk
                                    </parent_id>
139
                                </namedplace>
140
                            </parent_id>
141
                        </namedplace>
142
                    </path>
143
                </_simplifyPath>
144
            </namedplace_id>
145
        </locationdetermination>
146
        <locationevent>
147 3907 aaronmk
            <taxonoccurrence>
148
                <aggregateoccurrence>
149 3919 aaronmk
                    <collectiondate><_date><date><_dateRangeStart><value><_alt><2>$eventDate</2></_alt></value></_dateRangeStart></date></_date></collectiondate>
150 3907 aaronmk
                    <plantobservation>
151 3914 aaronmk
                        <definedvalue fkey="tablerecord_id">
152
                            <userdefined_id>
153
                                <userdefined>
154
                                    <tablename>plantobservation</tablename>
155
                                    <userdefinedname>sex</userdefinedname>
156
                                </userdefined>
157
                            </userdefined_id>
158
                            <definedvalue>$sex</definedvalue>
159
                        </definedvalue>
160 3907 aaronmk
                        <specimenreplicate>
161
                            <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
162
                            <collectioncode_dwc>$collectionCode</collectioncode_dwc>
163
                            <collectionnumber><_alt><2>$collectionID</2></_alt></collectionnumber>
164
                            <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
165
                            <sourceaccessioncode>$id</sourceaccessioncode>
166
                        </specimenreplicate>
167
                    </plantobservation>
168
                </aggregateoccurrence>
169 3786 aaronmk
                <taxondetermination>
170
                    <role>identifier</role>
171
                    <determinationdate><_date><date><_dateRangeStart><value><_alt><2>$dateIdentified</2></_alt></value></_dateRangeStart></date></_date></determinationdate>
172
                    <iscurrent>true</iscurrent>
173
                    <party_id>
174
                        <party>
175
                            <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
176
                            <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
177
                            <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
178
                        </party>
179
                    </party_id>
180
                    <isoriginal>true</isoriginal>
181
                    <plantconcept_id>
182
                        <plantconcept>
183
                            <plantname_id>
184
                                <_simplifyPath>
185
                                    <next>parent_id/plantname</next>
186
                                    <require>plantname</require>
187
                                    <path>
188 3641 aaronmk
                                        <plantname>
189 3786 aaronmk
                                            <rank>binomial</rank>
190
                                            <plantname>$scientificName</plantname>
191 3641 aaronmk
                                            <parent_id>
192
                                                <plantname>
193 3786 aaronmk
                                                    <rank>authority</rank>
194
                                                    <plantname>$scientificNameAuthorship</plantname>
195 3641 aaronmk
                                                    <parent_id>
196
                                                        <plantname>
197 3786 aaronmk
                                                            <rank>subspecies</rank>
198
                                                            <plantname>$infraspecificEpithet</plantname>
199 3641 aaronmk
                                                            <parent_id>
200
                                                                <plantname>
201 3786 aaronmk
                                                                    <rank>species</rank>
202
                                                                    <plantname>$specificEpithet</plantname>
203 3641 aaronmk
                                                                    <parent_id>
204
                                                                        <plantname>
205 3786 aaronmk
                                                                            <rank>genus</rank>
206
                                                                            <plantname>$genus</plantname>
207 3641 aaronmk
                                                                            <parent_id>
208
                                                                                <plantname>
209 3786 aaronmk
                                                                                    <rank>family</rank>
210
                                                                                    <plantname>$family</plantname>
211 3641 aaronmk
                                                                                    <parent_id>
212
                                                                                        <plantname>
213 3786 aaronmk
                                                                                            <rank>order</rank>
214
                                                                                            <plantname>$order</plantname>
215 3641 aaronmk
                                                                                            <parent_id>
216
                                                                                                <plantname>
217 3786 aaronmk
                                                                                                    <rank>class</rank>
218
                                                                                                    <plantname>$class</plantname>
219 3641 aaronmk
                                                                                                    <parent_id>
220
                                                                                                        <plantname>
221 3786 aaronmk
                                                                                                            <rank>subkingdom</rank>
222
                                                                                                            <plantname>$phylum</plantname>
223
                                                                                                            <parent_id>
224
                                                                                                                <plantname>
225
                                                                                                                    <rank>kingdom</rank>
226
                                                                                                                    <plantname>$kingdom</plantname>
227
                                                                                                                </plantname>
228
                                                                                                            </parent_id>
229 3641 aaronmk
                                                                                                        </plantname>
230
                                                                                                    </parent_id>
231
                                                                                                </plantname>
232
                                                                                            </parent_id>
233
                                                                                        </plantname>
234
                                                                                    </parent_id>
235
                                                                                </plantname>
236
                                                                            </parent_id>
237
                                                                        </plantname>
238
                                                                    </parent_id>
239
                                                                </plantname>
240
                                                            </parent_id>
241
                                                        </plantname>
242
                                                    </parent_id>
243
                                                </plantname>
244
                                            </parent_id>
245
                                        </plantname>
246 3786 aaronmk
                                    </path>
247
                                </_simplifyPath>
248
                            </plantname_id>
249
                        </plantconcept>
250
                    </plantconcept_id>
251
                </taxondetermination>
252 3934 aaronmk
                <verbatimcollectorname>$recordedBy</verbatimcollectorname>
253 3907 aaronmk
            </taxonoccurrence>
254 3786 aaronmk
        </locationevent>
255
        <locationnarrative>
256
            <_merge>
257
                <1>$locality</1>
258
                <3>
259
                    <_label>
260
                        <label>habitat</label>
261
                        <value>$habitat</value>
262
                    </_label>
263
                </3>
264
            </_merge>
265
        </locationnarrative>
266
        <sourceaccessioncode>
267
            <_alt>
268
                <1>$id</1>
269
                <2>
270
                    <_merge>
271
                        <1>$institutionCode</1>
272
                        <2>$collectionCode</2>
273
                        <3>$catalogNumber</3>
274
                    </_merge>
275
                </2>
276
            </_alt>
277
        </sourceaccessioncode>
278
    </location>
279 3641 aaronmk
</VegBIEN>
280 3907 aaronmk
Inserted 34 new rows into database