1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_setDefault id="-1">
|
4
|
<source_id><source><shortname>TEAM</shortname></source></source_id>
|
5
|
<path>
|
6
|
<_simplifyPath>
|
7
|
<next>parent_id</next>
|
8
|
<path>
|
9
|
<location>
|
10
|
<parent_id><location><authorlocationcode>$1ha Plot Number</authorlocationcode></location></parent_id>
|
11
|
<authorlocationcode>$Subplot Number</authorlocationcode>
|
12
|
<locationevent>
|
13
|
<project_id><project><projectname>$Site Name</projectname></project></project_id>
|
14
|
<parent_id>
|
15
|
<locationevent>
|
16
|
<location_id>
|
17
|
<location>
|
18
|
<authorlocationcode>
|
19
|
<_if name="if subplot">
|
20
|
<cond>$Subplot Number</cond>
|
21
|
<then>$1ha Plot Number</then>
|
22
|
</_if>
|
23
|
</authorlocationcode>
|
24
|
</location>
|
25
|
</location_id>
|
26
|
<obsenddate><_dateRangeEnd><value>$Observation Date</value></_dateRangeEnd></obsenddate>
|
27
|
<obsstartdate><_dateRangeStart><value>$Observation Date</value></_dateRangeStart></obsstartdate>
|
28
|
</locationevent>
|
29
|
</parent_id>
|
30
|
<obsenddate><_dateRangeEnd><value>$Observation Date</value></_dateRangeEnd></obsenddate>
|
31
|
<obsstartdate><_dateRangeStart><value>$Observation Date</value></_dateRangeStart></obsstartdate>
|
32
|
<taxonoccurrence>
|
33
|
<aggregateoccurrence>
|
34
|
<plantobservation>
|
35
|
<sourceaccessioncode>$Id</sourceaccessioncode>
|
36
|
<stemobservation>
|
37
|
<diameterbreastheight_m><_cm_to_m><value>$Diameter</value></_cm_to_m></diameterbreastheight_m>
|
38
|
<tag>$Tree Number</tag>
|
39
|
<xposition_m>$1ha Plot X Coordinate</xposition_m>
|
40
|
<yposition_m>$1ha Plot Y Coordinate</yposition_m>
|
41
|
</stemobservation>
|
42
|
</plantobservation>
|
43
|
</aggregateoccurrence>
|
44
|
<authortaxoncode>$Tree Number</authortaxoncode>
|
45
|
<collector_id><party><fullname>$Names of Collectors</fullname></party></collector_id>
|
46
|
<sourceaccessioncode>$Id</sourceaccessioncode>
|
47
|
<taxondetermination>
|
48
|
<taxonverbatim_id>
|
49
|
<taxonverbatim>
|
50
|
<taxonlabel_id>
|
51
|
<taxonlabel>
|
52
|
<parent_id>
|
53
|
<taxonlabel>
|
54
|
<parent_id>
|
55
|
<taxonlabel>
|
56
|
<rank>cultivar</rank>
|
57
|
<parent_id>
|
58
|
<taxonlabel>
|
59
|
<rank>forma</rank>
|
60
|
<parent_id>
|
61
|
<taxonlabel>
|
62
|
<rank>variety</rank>
|
63
|
<parent_id>
|
64
|
<taxonlabel>
|
65
|
<rank>subspecies</rank>
|
66
|
<parent_id>
|
67
|
<taxonlabel>
|
68
|
<rank>species</rank>
|
69
|
<taxonepithet>$Species</taxonepithet>
|
70
|
<parent_id>
|
71
|
<taxonlabel>
|
72
|
<rank>genus</rank>
|
73
|
<taxonepithet>$Genus</taxonepithet>
|
74
|
<parent_id>
|
75
|
<taxonlabel>
|
76
|
<rank>family</rank>
|
77
|
<taxonepithet>$Family</taxonepithet>
|
78
|
</taxonlabel>
|
79
|
</parent_id>
|
80
|
</taxonlabel>
|
81
|
</parent_id>
|
82
|
</taxonlabel>
|
83
|
</parent_id>
|
84
|
</taxonlabel>
|
85
|
</parent_id>
|
86
|
</taxonlabel>
|
87
|
</parent_id>
|
88
|
</taxonlabel>
|
89
|
</parent_id>
|
90
|
</taxonlabel>
|
91
|
</parent_id>
|
92
|
</taxonlabel>
|
93
|
</parent_id>
|
94
|
<taxonomicname>
|
95
|
<_merge_prefix>
|
96
|
<prefix><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></prefix>
|
97
|
<value>
|
98
|
<_join_words>
|
99
|
<2>$Genus</2>
|
100
|
<3>$Species</3>
|
101
|
</_join_words>
|
102
|
</value>
|
103
|
</_merge_prefix>
|
104
|
</taxonomicname>
|
105
|
</taxonlabel>
|
106
|
</taxonlabel_id>
|
107
|
<family>$Family</family>
|
108
|
<genus>$Genus</genus>
|
109
|
<specific_epithet>$Species</specific_epithet>
|
110
|
</taxonverbatim>
|
111
|
</taxonverbatim_id>
|
112
|
</taxondetermination>
|
113
|
</taxonoccurrence>
|
114
|
</locationevent>
|
115
|
<locationplace>
|
116
|
<place_id>
|
117
|
<place>
|
118
|
<coordinates_id>
|
119
|
<coordinates>
|
120
|
<latitude_deg>
|
121
|
<_nullIf>
|
122
|
<null>0</null>
|
123
|
<type>float</type>
|
124
|
<value>$Latitude</value>
|
125
|
</_nullIf>
|
126
|
</latitude_deg>
|
127
|
<longitude_deg>
|
128
|
<_nullIf>
|
129
|
<null>0</null>
|
130
|
<type>float</type>
|
131
|
<value>$Longitude</value>
|
132
|
</_nullIf>
|
133
|
</longitude_deg>
|
134
|
</coordinates>
|
135
|
</coordinates_id>
|
136
|
<matched_place_id>
|
137
|
<place>
|
138
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
139
|
<coordinates_id>
|
140
|
<coordinates>
|
141
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
142
|
<latitude_deg>
|
143
|
<_nullIf>
|
144
|
<null>0</null>
|
145
|
<type>float</type>
|
146
|
<value>$Latitude</value>
|
147
|
</_nullIf>
|
148
|
</latitude_deg>
|
149
|
<longitude_deg>
|
150
|
<_nullIf>
|
151
|
<null>0</null>
|
152
|
<type>float</type>
|
153
|
<value>$Longitude</value>
|
154
|
</_nullIf>
|
155
|
</longitude_deg>
|
156
|
</coordinates>
|
157
|
</coordinates_id>
|
158
|
</place>
|
159
|
</matched_place_id>
|
160
|
</place>
|
161
|
</place_id>
|
162
|
</locationplace>
|
163
|
</location>
|
164
|
</path>
|
165
|
</_simplifyPath>
|
166
|
</path>
|
167
|
</_setDefault>
|
168
|
</VegBIEN>
|
169
|
Inserted 28 new rows into database
|