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 4753 aaronmk
                <elevation_m>
25 4621 aaronmk
                    <_alt>
26
                        <1>
27 4818 aaronmk
                            <_units>
28
                                <to>m</to>
29
                                <to></to>
30 4621 aaronmk
                                <value>$verbatimElevation</value>
31 4818 aaronmk
                            </_units>
32 4621 aaronmk
                        </1>
33
                        <2>
34
                            <_avg>
35 4820 aaronmk
                                <max>$maximumElevationInMeters</max>
36 4822 aaronmk
                                <min>$minimumElevationInMeters</min>
37 4621 aaronmk
                            </_avg>
38
                        </2>
39
                    </_alt>
40 4753 aaronmk
                </elevation_m>
41 4726 aaronmk
                <locationcoords>
42 4753 aaronmk
                    <coordsaccuracy_deg><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_deg>
43 4621 aaronmk
                    <footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
44 4753 aaronmk
                    <latitude_deg>
45 4903 aaronmk
                        <_nullIf>
46
                            <null>0</null>
47
                            <type>float</type>
48
                            <value>$decimalLatitude</value>
49
                        </_nullIf>
50 4753 aaronmk
                    </latitude_deg>
51
                    <longitude_deg>
52 4903 aaronmk
                        <_nullIf>
53
                            <null>0</null>
54
                            <type>float</type>
55
                            <value>$decimalLongitude</value>
56
                        </_nullIf>
57 4753 aaronmk
                    </longitude_deg>
58 4903 aaronmk
                    <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
59
                    <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
60 4726 aaronmk
                </locationcoords>
61 4621 aaronmk
                <locationevent>
62
                    <method_id><method><name>$samplingProtocol</name></method></method_id>
63
                    <obsenddate><_date><date><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></date></_date></obsenddate>
64
                    <obsstartdate><_date><date><_dateRangeStart><value>$eventDate</value></_dateRangeStart></date></_date></obsstartdate>
65
                    <taxonoccurrence>
66
                        <aggregateoccurrence>
67
                            <count>$individualCount</count>
68
                            <plantobservation>
69
                                <definedvalue fkey="tablerecord_id">
70
                                    <userdefined_id>
71
                                        <userdefined>
72
                                            <tablename>plantobservation</tablename>
73
                                            <userdefinedname>sex</userdefinedname>
74
                                        </userdefined>
75
                                    </userdefined_id>
76
                                    <definedvalue>$sex</definedvalue>
77
                                </definedvalue>
78
                                <specimenreplicate>
79
                                    <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
80
                                    <collectioncode_dwc>
81
                                        <_join>
82
                                            <1>$collectionCode</1>
83
                                            <2>$collectionID</2>
84
                                        </_join>
85
                                    </collectioncode_dwc>
86
                                    <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
87
                                    <sourceaccessioncode>$id</sourceaccessioncode>
88
                                </specimenreplicate>
89
                            </plantobservation>
90
                        </aggregateoccurrence>
91 4834 aaronmk
                        <sourceaccessioncode>$id</sourceaccessioncode>
92 4621 aaronmk
                        <taxondetermination>
93 5600 aaronmk
                            <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
94 5225 aaronmk
                            <taxonconcept_id>
95
                                <taxonconcept>
96 5465 aaronmk
                                    <matched_concept_id>
97 5225 aaronmk
                                        <taxonconcept>
98 5242 aaronmk
                                            <creator_id>
99 5237 aaronmk
                                                <party>
100 5242 aaronmk
                                                    <creator_id>0</creator_id>
101 5237 aaronmk
                                                    <organizationname>TNRS</organizationname>
102
                                                </party>
103 5242 aaronmk
                                            </creator_id>
104 5138 aaronmk
                                            <identifyingtaxonomicname>
105
                                                <_join_words>
106
                                                    <1>
107
                                                        <_alt>
108
                                                            <1>$scientificName</1>
109
                                                            <2>
110
                                                                <_join_words>
111
                                                                    <1>$family</1>
112
                                                                    <2>$genus</2>
113
                                                                    <3>$specificEpithet</3>
114
                                                                    <5>
115
                                                                        <_join_words>
116
                                                                            <1>
117
                                                                                <_if name="if has infraspecificEpithet">
118
                                                                                    <cond>$infraspecificEpithet</cond>
119
                                                                                    <then>$taxonRank</then>
120
                                                                                </_if>
121
                                                                            </1>
122
                                                                            <2>$infraspecificEpithet</2>
123
                                                                        </_join_words>
124
                                                                    </5>
125
                                                                </_join_words>
126
                                                            </2>
127
                                                        </_alt>
128
                                                    </1>
129
                                                    <2>$scientificNameAuthorship</2>
130
                                                </_join_words>
131
                                            </identifyingtaxonomicname>
132 5225 aaronmk
                                        </taxonconcept>
133 5465 aaronmk
                                    </matched_concept_id>
134 4944 aaronmk
                                    <author>$scientificNameAuthorship</author>
135 5241 aaronmk
                                    <creator_id>
136 5240 aaronmk
                                        <_simplifyPath>
137 5242 aaronmk
                                            <next>creator_id</next>
138 5600 aaronmk
                                            <path><party><fullname>$identifiedBy</fullname></party></path>
139 5240 aaronmk
                                        </_simplifyPath>
140 5241 aaronmk
                                    </creator_id>
141 4703 aaronmk
                                    <family>$family</family>
142
                                    <genus>$genus</genus>
143 5294 aaronmk
                                    <parent_id>
144
                                        <taxonconcept>
145 5487 aaronmk
                                            <rank>$taxonRank</rank>
146
                                            <verbatimrank>$taxonRank</verbatimrank>
147 5294 aaronmk
                                            <parent_id>
148
                                                <taxonconcept>
149 5306 aaronmk
                                                    <rank>cultivar</rank>
150 5294 aaronmk
                                                    <parent_id>
151
                                                        <taxonconcept>
152 5306 aaronmk
                                                            <rank>forma</rank>
153 5294 aaronmk
                                                            <parent_id>
154
                                                                <taxonconcept>
155 5306 aaronmk
                                                                    <rank>variety</rank>
156 5294 aaronmk
                                                                    <parent_id>
157
                                                                        <taxonconcept>
158 5306 aaronmk
                                                                            <rank>subspecies</rank>
159 5294 aaronmk
                                                                            <parent_id>
160
                                                                                <taxonconcept>
161 5306 aaronmk
                                                                                    <rank>species</rank>
162 5596 aaronmk
                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
163 5294 aaronmk
                                                                                    <parent_id>
164
                                                                                        <taxonconcept>
165 5306 aaronmk
                                                                                            <rank>genus</rank>
166 5596 aaronmk
                                                                                            <taxonepithet>$genus</taxonepithet>
167 5294 aaronmk
                                                                                            <parent_id>
168
                                                                                                <taxonconcept>
169 5306 aaronmk
                                                                                                    <rank>family</rank>
170 5596 aaronmk
                                                                                                    <taxonepithet>$family</taxonepithet>
171 5294 aaronmk
                                                                                                    <parent_id>
172
                                                                                                        <taxonconcept>
173 5306 aaronmk
                                                                                                            <rank>order</rank>
174 5596 aaronmk
                                                                                                            <taxonepithet>$order</taxonepithet>
175 5294 aaronmk
                                                                                                            <parent_id>
176
                                                                                                                <taxonconcept>
177 5306 aaronmk
                                                                                                                    <rank>class</rank>
178 5596 aaronmk
                                                                                                                    <taxonepithet>$class</taxonepithet>
179 5294 aaronmk
                                                                                                                    <parent_id>
180
                                                                                                                        <taxonconcept>
181 5306 aaronmk
                                                                                                                            <rank>phylum</rank>
182 5596 aaronmk
                                                                                                                            <taxonepithet>$phylum</taxonepithet>
183 5306 aaronmk
                                                                                                                            <parent_id>
184
                                                                                                                                <taxonconcept>
185
                                                                                                                                    <rank>kingdom</rank>
186 5596 aaronmk
                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
187 5306 aaronmk
                                                                                                                                </taxonconcept>
188
                                                                                                                            </parent_id>
189 5294 aaronmk
                                                                                                                        </taxonconcept>
190
                                                                                                                    </parent_id>
191
                                                                                                                </taxonconcept>
192
                                                                                                            </parent_id>
193
                                                                                                        </taxonconcept>
194
                                                                                                    </parent_id>
195
                                                                                                </taxonconcept>
196
                                                                                            </parent_id>
197
                                                                                        </taxonconcept>
198
                                                                                    </parent_id>
199
                                                                                </taxonconcept>
200
                                                                            </parent_id>
201
                                                                        </taxonconcept>
202
                                                                    </parent_id>
203
                                                                </taxonconcept>
204
                                                            </parent_id>
205
                                                        </taxonconcept>
206
                                                    </parent_id>
207
                                                </taxonconcept>
208
                                            </parent_id>
209 5596 aaronmk
                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
210 5294 aaronmk
                                        </taxonconcept>
211
                                    </parent_id>
212 5264 aaronmk
                                    <rank>$taxonRank</rank>
213 5137 aaronmk
                                    <species>$specificEpithet</species>
214
                                    <taxonomicname>$scientificName</taxonomicname>
215 5252 aaronmk
                                    <verbatimrank>$taxonRank</verbatimrank>
216 5314 aaronmk
                                    <creationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></creationdate>
217 5225 aaronmk
                                </taxonconcept>
218
                            </taxonconcept_id>
219 5314 aaronmk
                            <taxonfit>$identificationQualifier</taxonfit>
220 4621 aaronmk
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
221
                        </taxondetermination>
222
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
223
                    </taxonoccurrence>
224
                </locationevent>
225
                <locationnarrative>
226
                    <_merge>
227
                        <1>$locality</1>
228
                        <3>
229
                            <_label>
230
                                <label>habitat</label>
231
                                <value>$habitat</value>
232
                            </_label>
233
                        </3>
234
                    </_merge>
235
                </locationnarrative>
236 4726 aaronmk
                <locationplace>
237 4727 aaronmk
                    <placepath_id>
238
                        <placepath>
239
                            <continent>$continent</continent>
240
                            <country>$country</country>
241
                            <county>$county</county>
242
                            <stateprovince>$stateProvince</stateprovince>
243
                        </placepath>
244
                    </placepath_id>
245 4726 aaronmk
                </locationplace>
246 4818 aaronmk
                <verbatimelevation>$verbatimElevation</verbatimelevation>
247 4621 aaronmk
            </location>
248
        </path>
249
    </_simplifyPath>
250 3641 aaronmk
</VegBIEN>
251 5294 aaronmk
Inserted 34 new rows into database