1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_simplifyPath id="-1">
|
4
|
<next>parent_id</next>
|
5
|
<path>
|
6
|
<location>
|
7
|
<authorlocationcode>
|
8
|
<_alt>
|
9
|
<1>$UniqueNYInternalRecordNumber</1>
|
10
|
<2>
|
11
|
<_join>
|
12
|
<1>$InstitutionCode</1>
|
13
|
<2>$CollectionCode</2>
|
14
|
<3>$CatalogNumber</3>
|
15
|
</_join>
|
16
|
</2>
|
17
|
</_alt>
|
18
|
</authorlocationcode>
|
19
|
<elevation_m>
|
20
|
<_avg>
|
21
|
<max>$MaximumElevation</max>
|
22
|
<min>
|
23
|
<_nullIf>
|
24
|
<null>.</null>
|
25
|
<value>$MinimumElevation</value>
|
26
|
</_nullIf>
|
27
|
</min>
|
28
|
</_avg>
|
29
|
</elevation_m>
|
30
|
<locationcoords>
|
31
|
<coordsaccuracy_deg><_noCV><value>$CoordinatePrecision</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>$Latitude</value>
|
38
|
</_nullIf>
|
39
|
</latitude_deg>
|
40
|
<longitude_deg>
|
41
|
<_nullIf>
|
42
|
<null>0</null>
|
43
|
<type>float</type>
|
44
|
<value>$Longitude</value>
|
45
|
</_nullIf>
|
46
|
</longitude_deg>
|
47
|
</locationcoords>
|
48
|
<locationevent>
|
49
|
<taxonoccurrence>
|
50
|
<aggregateoccurrence>
|
51
|
<collectiondate>
|
52
|
<_date>
|
53
|
<day>
|
54
|
<_nullIf>
|
55
|
<null>0</null>
|
56
|
<type>float</type>
|
57
|
<value>$DayCollected</value>
|
58
|
</_nullIf>
|
59
|
</day>
|
60
|
<month>
|
61
|
<_nullIf>
|
62
|
<null>0</null>
|
63
|
<type>float</type>
|
64
|
<value>$MonthCollected</value>
|
65
|
</_nullIf>
|
66
|
</month>
|
67
|
<year>
|
68
|
<_nullIf>
|
69
|
<null>0</null>
|
70
|
<type>float</type>
|
71
|
<value>$YearCollected</value>
|
72
|
</_nullIf>
|
73
|
</year>
|
74
|
</_date>
|
75
|
</collectiondate>
|
76
|
<count>$IndividualCount</count>
|
77
|
<notes>
|
78
|
<_join>
|
79
|
<1>$Notes</1>
|
80
|
<2>
|
81
|
<_label>
|
82
|
<label>plant fungus</label>
|
83
|
<value>$PlantFungusDescription</value>
|
84
|
</_label>
|
85
|
</2>
|
86
|
</_join>
|
87
|
</notes>
|
88
|
<plantobservation>
|
89
|
<collectionnumber>$FieldNumber</collectionnumber>
|
90
|
<definedvalue fkey="tablerecord_id">
|
91
|
<userdefined_id>
|
92
|
<userdefined>
|
93
|
<tablename>plantobservation</tablename>
|
94
|
<userdefinedname>sex</userdefinedname>
|
95
|
</userdefined>
|
96
|
</userdefined_id>
|
97
|
<definedvalue>$Sex</definedvalue>
|
98
|
</definedvalue>
|
99
|
<specimenreplicate>
|
100
|
<catalognumber_dwc>$CatalogNumber</catalognumber_dwc>
|
101
|
<collectioncode_dwc>$CollectionCode</collectioncode_dwc>
|
102
|
<institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
|
103
|
<sourceaccessioncode>$UniqueNYInternalRecordNumber</sourceaccessioncode>
|
104
|
</specimenreplicate>
|
105
|
</plantobservation>
|
106
|
</aggregateoccurrence>
|
107
|
<sourceaccessioncode>$UniqueNYInternalRecordNumber</sourceaccessioncode>
|
108
|
<taxondetermination>
|
109
|
<party_id>
|
110
|
<party>
|
111
|
<givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
|
112
|
<middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
|
113
|
<surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
|
114
|
</party>
|
115
|
</party_id>
|
116
|
<taxonconcept_id>
|
117
|
<taxonconcept>
|
118
|
<canon_taxonconcept_id>
|
119
|
<taxonconcept>
|
120
|
<datasource_id>
|
121
|
<party>
|
122
|
<datasource_id>0</datasource_id>
|
123
|
<organizationname>TNRS</organizationname>
|
124
|
</party>
|
125
|
</datasource_id>
|
126
|
<identifyingtaxonomicname>
|
127
|
<_join_words>
|
128
|
<1>
|
129
|
<_alt>
|
130
|
<1>$ScientificName</1>
|
131
|
<2>
|
132
|
<_join_words>
|
133
|
<1>$Family</1>
|
134
|
<2>$Genus</2>
|
135
|
<3>$Species</3>
|
136
|
<4>$Subspecies</4>
|
137
|
</_join_words>
|
138
|
</2>
|
139
|
</_alt>
|
140
|
</1>
|
141
|
<2>$ScientificNameAuthor</2>
|
142
|
</_join_words>
|
143
|
</identifyingtaxonomicname>
|
144
|
</taxonconcept>
|
145
|
</canon_taxonconcept_id>
|
146
|
<author>$ScientificNameAuthor</author>
|
147
|
<class>$Class</class>
|
148
|
<definer_id>
|
149
|
<_simplifyPath>
|
150
|
<next>datasource_id</next>
|
151
|
<path>
|
152
|
<party>
|
153
|
<givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
|
154
|
<middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
|
155
|
<surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
|
156
|
</party>
|
157
|
</path>
|
158
|
</_simplifyPath>
|
159
|
</definer_id>
|
160
|
<family>$Family</family>
|
161
|
<genus>$Genus</genus>
|
162
|
<kingdom>$Kingdom</kingdom>
|
163
|
<order>$Order</order>
|
164
|
<phylum>$Phylum</phylum>
|
165
|
<species>$Species</species>
|
166
|
<subspecies>$Subspecies</subspecies>
|
167
|
<taxonomicname>$ScientificName</taxonomicname>
|
168
|
</taxonconcept>
|
169
|
</taxonconcept_id>
|
170
|
<determinationdate>
|
171
|
<_date>
|
172
|
<day>
|
173
|
<_nullIf>
|
174
|
<null>0</null>
|
175
|
<type>float</type>
|
176
|
<value>$DayIdentified</value>
|
177
|
</_nullIf>
|
178
|
</day>
|
179
|
<month>
|
180
|
<_nullIf>
|
181
|
<null>0</null>
|
182
|
<type>float</type>
|
183
|
<value>$MonthIdentified</value>
|
184
|
</_nullIf>
|
185
|
</month>
|
186
|
<year>
|
187
|
<_nullIf>
|
188
|
<null>0</null>
|
189
|
<type>float</type>
|
190
|
<value>$YearIdentified</value>
|
191
|
</_nullIf>
|
192
|
</year>
|
193
|
</_date>
|
194
|
</determinationdate>
|
195
|
</taxondetermination>
|
196
|
<verbatimcollectorname>$Collector</verbatimcollectorname>
|
197
|
</taxonoccurrence>
|
198
|
<waterdepth_m>
|
199
|
<_avg>
|
200
|
<max>$MaximumDepth</max>
|
201
|
<min>$MinimumDepth</min>
|
202
|
</_avg>
|
203
|
</waterdepth_m>
|
204
|
</locationevent>
|
205
|
<locationnarrative>
|
206
|
<_merge>
|
207
|
<1>
|
208
|
<_join>
|
209
|
<1>$Locality</1>
|
210
|
<2>
|
211
|
<_label>
|
212
|
<label>substrate</label>
|
213
|
<value>$Substrate</value>
|
214
|
</_label>
|
215
|
</2>
|
216
|
<3>
|
217
|
<_label>
|
218
|
<label>vegetation</label>
|
219
|
<value>$Vegetation</value>
|
220
|
</_label>
|
221
|
</3>
|
222
|
</_join>
|
223
|
</1>
|
224
|
<3>
|
225
|
<_label>
|
226
|
<label>habitat</label>
|
227
|
<value>$Habitat</value>
|
228
|
</_label>
|
229
|
</3>
|
230
|
</_merge>
|
231
|
</locationnarrative>
|
232
|
<locationplace>
|
233
|
<placepath_id>
|
234
|
<placepath>
|
235
|
<continent>$ContinentOcean</continent>
|
236
|
<country>$Country</country>
|
237
|
<county>$County</county>
|
238
|
<stateprovince>$StateProvince</stateprovince>
|
239
|
</placepath>
|
240
|
</placepath_id>
|
241
|
</locationplace>
|
242
|
</location>
|
243
|
</path>
|
244
|
</_simplifyPath>
|
245
|
</VegBIEN>
|
246
|
Inserted 29 new rows into database
|