1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_simplifyPath id="-1">
|
4
|
<next>parent_id</next>
|
5
|
<path>
|
6
|
<location>
|
7
|
<parent_id><location><authorlocationcode>$1ha Plot Number</authorlocationcode></location></parent_id>
|
8
|
<authorlocationcode>$Subplot Number</authorlocationcode>
|
9
|
<locationcoords>
|
10
|
<latitude_deg>
|
11
|
<_nullIf>
|
12
|
<null>0</null>
|
13
|
<type>float</type>
|
14
|
<value>$Latitude</value>
|
15
|
</_nullIf>
|
16
|
</latitude_deg>
|
17
|
<longitude_deg>
|
18
|
<_nullIf>
|
19
|
<null>0</null>
|
20
|
<type>float</type>
|
21
|
<value>$Longitude</value>
|
22
|
</_nullIf>
|
23
|
</longitude_deg>
|
24
|
</locationcoords>
|
25
|
<locationevent>
|
26
|
<method_id><method><name>$Spatial Method</name></method></method_id>
|
27
|
<project_id><project><projectname>$Site Name</projectname></project></project_id>
|
28
|
<obsenddate><_date><date><_dateRangeEnd><value>$Observation Date</value></_dateRangeEnd></date></_date></obsenddate>
|
29
|
<obsstartdate><_date><date><_dateRangeStart><value>$Observation Date</value></_dateRangeStart></date></_date></obsstartdate>
|
30
|
<taxonoccurrence>
|
31
|
<aggregateoccurrence>
|
32
|
<plantobservation>
|
33
|
<specimenreplicate><sourceaccessioncode>$Id</sourceaccessioncode></specimenreplicate>
|
34
|
<stemobservation>
|
35
|
<diameterbreastheight_m><_cm_to_m><value>$Diameter</value></_cm_to_m></diameterbreastheight_m>
|
36
|
<tag>$Tree Number</tag>
|
37
|
<xposition_m>$1ha Plot X Coordinate</xposition_m>
|
38
|
<yposition_m>$1ha Plot Y Coordinate</yposition_m>
|
39
|
</stemobservation>
|
40
|
</plantobservation>
|
41
|
</aggregateoccurrence>
|
42
|
<authortaxoncode>$Tree Number</authortaxoncode>
|
43
|
<sourceaccessioncode>$Id</sourceaccessioncode>
|
44
|
<taxondetermination>
|
45
|
<taxonlabel_id>
|
46
|
<taxonlabel>
|
47
|
<matched_label_id>
|
48
|
<taxonlabel>
|
49
|
<creator_id>
|
50
|
<party>
|
51
|
<creator_id>0</creator_id>
|
52
|
<organizationname>TNRS</organizationname>
|
53
|
</party>
|
54
|
</creator_id>
|
55
|
<identifyingtaxonomicname>
|
56
|
<_join_words>
|
57
|
<1>$Family</1>
|
58
|
<2>$Genus</2>
|
59
|
<3>$Species</3>
|
60
|
</_join_words>
|
61
|
</identifyingtaxonomicname>
|
62
|
</taxonlabel>
|
63
|
</matched_label_id>
|
64
|
<family>$Family</family>
|
65
|
<genus>$Genus</genus>
|
66
|
<parent_id>
|
67
|
<taxonlabel>
|
68
|
<parent_id>
|
69
|
<taxonlabel>
|
70
|
<rank>cultivar</rank>
|
71
|
<parent_id>
|
72
|
<taxonlabel>
|
73
|
<rank>forma</rank>
|
74
|
<parent_id>
|
75
|
<taxonlabel>
|
76
|
<rank>variety</rank>
|
77
|
<parent_id>
|
78
|
<taxonlabel>
|
79
|
<rank>subspecies</rank>
|
80
|
<parent_id>
|
81
|
<taxonlabel>
|
82
|
<rank>species</rank>
|
83
|
<taxonepithet>$Species</taxonepithet>
|
84
|
<parent_id>
|
85
|
<taxonlabel>
|
86
|
<rank>genus</rank>
|
87
|
<taxonepithet>$Genus</taxonepithet>
|
88
|
<parent_id>
|
89
|
<taxonlabel>
|
90
|
<rank>family</rank>
|
91
|
<taxonepithet>$Family</taxonepithet>
|
92
|
</taxonlabel>
|
93
|
</parent_id>
|
94
|
</taxonlabel>
|
95
|
</parent_id>
|
96
|
</taxonlabel>
|
97
|
</parent_id>
|
98
|
</taxonlabel>
|
99
|
</parent_id>
|
100
|
</taxonlabel>
|
101
|
</parent_id>
|
102
|
</taxonlabel>
|
103
|
</parent_id>
|
104
|
</taxonlabel>
|
105
|
</parent_id>
|
106
|
</taxonlabel>
|
107
|
</parent_id>
|
108
|
<species>$Species</species>
|
109
|
</taxonlabel>
|
110
|
</taxonlabel_id>
|
111
|
</taxondetermination>
|
112
|
<verbatimcollectorname>$Names of Collectors</verbatimcollectorname>
|
113
|
</taxonoccurrence>
|
114
|
</locationevent>
|
115
|
</location>
|
116
|
</path>
|
117
|
</_simplifyPath>
|
118
|
</VegBIEN>
|
119
|
Inserted 27 new rows into database
|