Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>bien_web</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>$plotCode</authorlocationcode>
11
                        <sourceaccessioncode>$plotID</sourceaccessioncode>
12
                        <area_m2><_ha_to_m2><value>$plotAreaHa</value></_ha_to_m2></area_m2>
13
                        <elevation_m>$elevation_m</elevation_m>
14
                        <locationevent>
15
                            <method_id><method><name>$plotMethod</name></method></method_id>
16
                            <taxonoccurrence>
17
                                <aggregateoccurrence>
18
                                    <collectiondate>$observationDate</collectiondate>
19
                                    <cover_fraction><_percent_to_fraction><value>$pctCover</value></_percent_to_fraction></cover_fraction>
20
                                    <plantobservation>
21
                                        <authorplantcode>$collectionNumber</authorplantcode>
22
                                        <specimenreplicate>
23
                                            <collectionnumber>$collectionNumber</collectionnumber>
24
                                            <institution_id>
25
                                                <sourcelist>
26
                                                    <name>$dataSourceName</name>
27
                                                    <sourcename>
28
                                                        <name>
29
                                                            <_split>
30
                                                                <separator>[,;] *</separator>
31
                                                                <value>$dataSourceName</value>
32
                                                            </_split>
33
                                                        </name>
34
                                                    </sourcename>
35
                                                </sourcelist>
36
                                            </institution_id>
37
                                            <sourceaccessioncode>$observationID</sourceaccessioncode>
38
                                        </specimenreplicate>
39
                                    </plantobservation>
40
                                </aggregateoccurrence>
41
                                <authortaxoncode>$collectionNumber</authortaxoncode>
42
                                <collector_id><party><fullname>$collector</fullname></party></collector_id>
43
                                <iscultivated>$isCultivated</iscultivated>
44
                                <sourceaccessioncode>$observationID</sourceaccessioncode>
45
                                <taxondetermination>
46
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
47
                                    <taxonverbatim_id>
48
                                        <taxonverbatim>
49
                                            <taxonlabel_id>
50
                                                <taxonlabel>
51
                                                    <parent_id>
52
                                                        <taxonlabel>
53
                                                            <parent_id>
54
                                                                <taxonlabel>
55
                                                                    <rank>cultivar</rank>
56
                                                                    <parent_id>
57
                                                                        <taxonlabel>
58
                                                                            <rank>forma</rank>
59
                                                                            <parent_id>
60
                                                                                <taxonlabel>
61
                                                                                    <rank>variety</rank>
62
                                                                                    <parent_id>
63
                                                                                        <taxonlabel>
64
                                                                                            <rank>subspecies</rank>
65
                                                                                            <parent_id>
66
                                                                                                <taxonlabel>
67
                                                                                                    <rank>species</rank>
68
                                                                                                    <taxonepithet>$species</taxonepithet>
69
                                                                                                    <parent_id>
70
                                                                                                        <taxonlabel>
71
                                                                                                            <rank>genus</rank>
72
                                                                                                            <taxonepithet>$genus</taxonepithet>
73
                                                                                                            <parent_id>
74
                                                                                                                <taxonlabel>
75
                                                                                                                    <rank>family</rank>
76
                                                                                                                    <taxonepithet>$family</taxonepithet>
77
                                                                                                                </taxonlabel>
78
                                                                                                            </parent_id>
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
                                                    <taxonomicname>
94
                                                        <_merge_prefix>
95
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
96
                                                            <value>
97
                                                                <_alt>
98
                                                                    <1>$taxon</1>
99
                                                                    <2>
100
                                                                        <_join_words>
101
                                                                            <1>
102
                                                                                <_join_words>
103
                                                                                    <2><_filter_genus><value>$genus</value></_filter_genus></2>
104
                                                                                    <3>$species</3>
105
                                                                                </_join_words>
106
                                                                            </1>
107
                                                                            <2>$taxonAuthor</2>
108
                                                                        </_join_words>
109
                                                                    </2>
110
                                                                </_alt>
111
                                                            </value>
112
                                                        </_merge_prefix>
113
                                                    </taxonomicname>
114
                                                </taxonlabel>
115
                                            </taxonlabel_id>
116
                                            <author>$taxonAuthor</author>
117
                                            <family>$family</family>
118
                                            <genus>$genus</genus>
119
                                            <specific_epithet>$species</specific_epithet>
120
                                            <taxonomicname>$taxon</taxonomicname>
121
                                        </taxonverbatim>
122
                                    </taxonverbatim_id>
123
                                </taxondetermination>
124
                                <trait>
125
                                    <name>$traitName</name>
126
                                    <value>$traitValue</value>
127
                                </trait>
128
                            </taxonoccurrence>
129
                        </locationevent>
130
                        <locationplace>
131
                            <place_id>
132
                                <place>
133
                                    <coordinates_id>
134
                                        <coordinates>
135
                                            <latitude_deg>
136
                                                <_nullIf>
137
                                                    <null>0</null>
138
                                                    <type>float</type>
139
                                                    <value>$latitude</value>
140
                                                </_nullIf>
141
                                            </latitude_deg>
142
                                            <longitude_deg>
143
                                                <_nullIf>
144
                                                    <null>0</null>
145
                                                    <type>float</type>
146
                                                    <value>$longitude</value>
147
                                                </_nullIf>
148
                                            </longitude_deg>
149
                                        </coordinates>
150
                                    </coordinates_id>
151
                                    <country>$country</country>
152
                                    <county>$countyParish</county>
153
                                    <matched_place_id>
154
                                        <place>
155
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
156
                                            <coordinates_id>
157
                                                <coordinates>
158
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
159
                                                    <latitude_deg>
160
                                                        <_nullIf>
161
                                                            <null>0</null>
162
                                                            <type>float</type>
163
                                                            <value>$latitude</value>
164
                                                        </_nullIf>
165
                                                    </latitude_deg>
166
                                                    <longitude_deg>
167
                                                        <_nullIf>
168
                                                            <null>0</null>
169
                                                            <type>float</type>
170
                                                            <value>$longitude</value>
171
                                                        </_nullIf>
172
                                                    </longitude_deg>
173
                                                </coordinates>
174
                                            </coordinates_id>
175
                                            <country>$country</country>
176
                                            <county>$countyParish</county>
177
                                            <geovalid>
178
                                                <_alt>
179
                                                    <2>false</2>
180
                                                    <1>$isGeovalid</1>
181
                                                </_alt>
182
                                            </geovalid>
183
                                            <stateprovince>$stateProvince</stateprovince>
184
                                        </place>
185
                                    </matched_place_id>
186
                                    <stateprovince>$stateProvince</stateprovince>
187
                                </place>
188
                            </place_id>
189
                        </locationplace>
190
                    </location>
191
                </path>
192
            </_simplifyPath>
193
        </path>
194
    </_setDefault>
195
</VegBIEN>
196
Inserted 0 new rows into database
(6-6/7)