Project

General

Profile

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