Project

General

Profile

1 5756 aaronmk
Put template:
2
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 6406 aaronmk
        <source_id><source><shortname>bien_web</shortname></source></source_id>
5 5756 aaronmk
        <path>
6 6403 aaronmk
            <_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 7190 aaronmk
                                        <authorplantcode>$collectionNumber</authorplantcode>
22 6403 aaronmk
                                        <specimenreplicate>
23 7198 aaronmk
                                            <collectionnumber>$collectionNumber</collectionnumber>
24 6403 aaronmk
                                            <institution_id>
25 6791 aaronmk
                                                <sourcelist>
26 6403 aaronmk
                                                    <name>$dataSourceName</name>
27 6791 aaronmk
                                                    <sourcename>
28 6795 aaronmk
                                                        <name>
29
                                                            <_split>
30
                                                                <separator>, </separator>
31
                                                                <value>$dataSourceName</value>
32
                                                            </_split>
33
                                                        </name>
34 6791 aaronmk
                                                    </sourcename>
35
                                                </sourcelist>
36 6403 aaronmk
                                            </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 5756 aaronmk
                                                <taxonlabel>
51
                                                    <parent_id>
52
                                                        <taxonlabel>
53
                                                            <parent_id>
54
                                                                <taxonlabel>
55 6403 aaronmk
                                                                    <rank>cultivar</rank>
56 5756 aaronmk
                                                                    <parent_id>
57
                                                                        <taxonlabel>
58 6403 aaronmk
                                                                            <rank>forma</rank>
59 5756 aaronmk
                                                                            <parent_id>
60
                                                                                <taxonlabel>
61 6403 aaronmk
                                                                                    <rank>variety</rank>
62 5756 aaronmk
                                                                                    <parent_id>
63
                                                                                        <taxonlabel>
64 6403 aaronmk
                                                                                            <rank>subspecies</rank>
65 5756 aaronmk
                                                                                            <parent_id>
66
                                                                                                <taxonlabel>
67 6403 aaronmk
                                                                                                    <rank>species</rank>
68
                                                                                                    <taxonepithet>$species</taxonepithet>
69 5756 aaronmk
                                                                                                    <parent_id>
70
                                                                                                        <taxonlabel>
71 6403 aaronmk
                                                                                                            <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 5756 aaronmk
                                                                                                        </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 6403 aaronmk
                                                    <taxonomicname>
94 7142 aaronmk
                                                        <_merge_prefix>
95
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
96
                                                            <value>
97 6403 aaronmk
                                                                <_alt>
98
                                                                    <1>$taxon</1>
99
                                                                    <2>
100 5788 aaronmk
                                                                        <_join_words>
101 6403 aaronmk
                                                                            <1>
102
                                                                                <_join_words>
103
                                                                                    <2>$genus</2>
104
                                                                                    <3>$species</3>
105
                                                                                </_join_words>
106
                                                                            </1>
107
                                                                            <2>$taxonAuthor</2>
108 5788 aaronmk
                                                                        </_join_words>
109 6403 aaronmk
                                                                    </2>
110
                                                                </_alt>
111 7142 aaronmk
                                                            </value>
112
                                                        </_merge_prefix>
113 6403 aaronmk
                                                    </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
                            </taxonoccurrence>
125
                        </locationevent>
126
                        <locationplace>
127
                            <place_id>
128 5958 aaronmk
                                <place>
129
                                    <coordinates_id>
130
                                        <coordinates>
131 5969 aaronmk
                                            <latitude_deg>
132
                                                <_nullIf>
133
                                                    <null>0</null>
134
                                                    <type>float</type>
135
                                                    <value>$latitude</value>
136
                                                </_nullIf>
137
                                            </latitude_deg>
138
                                            <longitude_deg>
139
                                                <_nullIf>
140
                                                    <null>0</null>
141
                                                    <type>float</type>
142
                                                    <value>$longitude</value>
143
                                                </_nullIf>
144
                                            </longitude_deg>
145 5958 aaronmk
                                        </coordinates>
146
                                    </coordinates_id>
147
                                    <country>$country</country>
148 6303 aaronmk
                                    <county>$countyParish</county>
149 6403 aaronmk
                                    <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
                                            <country>$country</country>
172
                                            <county>$countyParish</county>
173
                                            <stateprovince>$stateProvince</stateprovince>
174
                                        </place>
175
                                    </matched_place_id>
176 5958 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
177
                                </place>
178 6403 aaronmk
                            </place_id>
179
                        </locationplace>
180
                    </location>
181
                </path>
182
            </_simplifyPath>
183 5756 aaronmk
        </path>
184 6403 aaronmk
    </_setDefault>
185 5756 aaronmk
</VegBIEN>
186 6403 aaronmk
Inserted 0 new rows into database