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
|
<authortaxoncode>$FieldNumber</authortaxoncode>
|
108
|
<sourceaccessioncode>$UniqueNYInternalRecordNumber</sourceaccessioncode>
|
109
|
<taxondetermination>
|
110
|
<party_id>
|
111
|
<party>
|
112
|
<givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
|
113
|
<middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
|
114
|
<surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
|
115
|
</party>
|
116
|
</party_id>
|
117
|
<taxonpath_id>
|
118
|
<taxonpath>
|
119
|
<canon_taxonpath_id>
|
120
|
<taxonpath>
|
121
|
<datasource_id><party><organizationname>TNRS</organizationname></party></datasource_id>
|
122
|
<identifyingtaxonomicname>
|
123
|
<_join_words>
|
124
|
<1>
|
125
|
<_alt>
|
126
|
<1>$ScientificName</1>
|
127
|
<2>
|
128
|
<_join_words>
|
129
|
<1>$Family</1>
|
130
|
<2>$Genus</2>
|
131
|
<3>$Species</3>
|
132
|
<4>$Subspecies</4>
|
133
|
</_join_words>
|
134
|
</2>
|
135
|
</_alt>
|
136
|
</1>
|
137
|
<2>$ScientificNameAuthor</2>
|
138
|
</_join_words>
|
139
|
</identifyingtaxonomicname>
|
140
|
</taxonpath>
|
141
|
</canon_taxonpath_id>
|
142
|
<author>$ScientificNameAuthor</author>
|
143
|
<class>$Class</class>
|
144
|
<family>$Family</family>
|
145
|
<genus>$Genus</genus>
|
146
|
<kingdom>$Kingdom</kingdom>
|
147
|
<order>$Order</order>
|
148
|
<phylum>$Phylum</phylum>
|
149
|
<species>$Species</species>
|
150
|
<subspecies>$Subspecies</subspecies>
|
151
|
<taxonomicname>$ScientificName</taxonomicname>
|
152
|
</taxonpath>
|
153
|
</taxonpath_id>
|
154
|
<determinationdate>
|
155
|
<_date>
|
156
|
<day>
|
157
|
<_nullIf>
|
158
|
<null>0</null>
|
159
|
<type>float</type>
|
160
|
<value>$DayIdentified</value>
|
161
|
</_nullIf>
|
162
|
</day>
|
163
|
<month>
|
164
|
<_nullIf>
|
165
|
<null>0</null>
|
166
|
<type>float</type>
|
167
|
<value>$MonthIdentified</value>
|
168
|
</_nullIf>
|
169
|
</month>
|
170
|
<year>
|
171
|
<_nullIf>
|
172
|
<null>0</null>
|
173
|
<type>float</type>
|
174
|
<value>$YearIdentified</value>
|
175
|
</_nullIf>
|
176
|
</year>
|
177
|
</_date>
|
178
|
</determinationdate>
|
179
|
</taxondetermination>
|
180
|
<verbatimcollectorname>$Collector</verbatimcollectorname>
|
181
|
</taxonoccurrence>
|
182
|
<waterdepth_m>
|
183
|
<_avg>
|
184
|
<max>$MaximumDepth</max>
|
185
|
<min>$MinimumDepth</min>
|
186
|
</_avg>
|
187
|
</waterdepth_m>
|
188
|
</locationevent>
|
189
|
<locationnarrative>
|
190
|
<_merge>
|
191
|
<1>
|
192
|
<_join>
|
193
|
<1>$Locality</1>
|
194
|
<2>
|
195
|
<_label>
|
196
|
<label>substrate</label>
|
197
|
<value>$Substrate</value>
|
198
|
</_label>
|
199
|
</2>
|
200
|
<3>
|
201
|
<_label>
|
202
|
<label>vegetation</label>
|
203
|
<value>$Vegetation</value>
|
204
|
</_label>
|
205
|
</3>
|
206
|
</_join>
|
207
|
</1>
|
208
|
<3>
|
209
|
<_label>
|
210
|
<label>habitat</label>
|
211
|
<value>$Habitat</value>
|
212
|
</_label>
|
213
|
</3>
|
214
|
</_merge>
|
215
|
</locationnarrative>
|
216
|
<locationplace>
|
217
|
<placepath_id>
|
218
|
<placepath>
|
219
|
<continent>$ContinentOcean</continent>
|
220
|
<country>$Country</country>
|
221
|
<county>$County</county>
|
222
|
<stateprovince>$StateProvince</stateprovince>
|
223
|
</placepath>
|
224
|
</placepath_id>
|
225
|
</locationplace>
|
226
|
</location>
|
227
|
</path>
|
228
|
</_simplifyPath>
|
229
|
</VegBIEN>
|
230
|
Inserted 29 new rows into database
|