Project

General

Profile

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