Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>bien2_traits.new</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>$occurrenceID</authorlocationcode>
11
                        <elevation_m>
12
                            <_units>
13
                                <to>m</to>
14
                                <to></to>
15
                                <value>$verbatimElevation</value>
16
                            </_units>
17
                        </elevation_m>
18
                        <iscultivated><_locationnarrative_is_cultivated><locationnarrative>$verbatimLocality</locationnarrative></_locationnarrative_is_cultivated></iscultivated>
19
                        <locationevent>
20
                            <method_id><method><name>$samplingProtocol</name></method></method_id>
21
                            <locationevent fkey="parent_id">
22
                                <taxonoccurrence>
23
                                    <aggregateoccurrence><plantobservation><specimenreplicate><sourceaccessioncode>$occurrenceID</sourceaccessioncode></specimenreplicate></plantobservation></aggregateoccurrence>
24
                                    <growthform>$growthForm</growthform>
25
                                    <sourceaccessioncode>$occurrenceID</sourceaccessioncode>
26
                                    <taxondetermination>
27
                                        <taxonverbatim_id>
28
                                            <taxonverbatim>
29
                                                <taxonlabel_id>
30
                                                    <taxonlabel>
31
                                                        <parent_id>
32
                                                            <taxonlabel>
33
                                                                <rank>$taxonRank</rank>
34
                                                                <parent_id>
35
                                                                    <taxonlabel>
36
                                                                        <rank>cultivar</rank>
37
                                                                        <parent_id>
38
                                                                            <taxonlabel>
39
                                                                                <rank>forma</rank>
40
                                                                                <parent_id>
41
                                                                                    <taxonlabel>
42
                                                                                        <rank>variety</rank>
43
                                                                                        <parent_id>
44
                                                                                            <taxonlabel>
45
                                                                                                <rank>subspecies</rank>
46
                                                                                                <parent_id>
47
                                                                                                    <taxonlabel>
48
                                                                                                        <rank>species</rank>
49
                                                                                                        <taxonepithet>$specificEpithet</taxonepithet>
50
                                                                                                        <parent_id>
51
                                                                                                            <taxonlabel>
52
                                                                                                                <rank>genus</rank>
53
                                                                                                                <taxonepithet>$genus</taxonepithet>
54
                                                                                                                <parent_id>
55
                                                                                                                    <taxonlabel>
56
                                                                                                                        <rank>family</rank>
57
                                                                                                                        <taxonepithet>$family</taxonepithet>
58
                                                                                                                    </taxonlabel>
59
                                                                                                                </parent_id>
60
                                                                                                            </taxonlabel>
61
                                                                                                        </parent_id>
62
                                                                                                    </taxonlabel>
63
                                                                                                </parent_id>
64
                                                                                            </taxonlabel>
65
                                                                                        </parent_id>
66
                                                                                    </taxonlabel>
67
                                                                                </parent_id>
68
                                                                            </taxonlabel>
69
                                                                        </parent_id>
70
                                                                    </taxonlabel>
71
                                                                </parent_id>
72
                                                                <taxonepithet>$infraspecificEpithet</taxonepithet>
73
                                                            </taxonlabel>
74
                                                        </parent_id>
75
                                                        <rank>$taxonRank</rank>
76
                                                        <taxonomicname>
77
                                                            <_merge_prefix>
78
                                                                <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
79
                                                                <value>
80
                                                                    <_join_words>
81
                                                                        <1>
82
                                                                            <_alt>
83
                                                                                <1>$taxonName</1>
84
                                                                                <2>
85
                                                                                    <_join_words>
86
                                                                                        <2><_filter_genus><value>$genus</value></_filter_genus></2>
87
                                                                                        <3>$specificEpithet</3>
88
                                                                                        <5>
89
                                                                                            <_join_words>
90
                                                                                                <1>
91
                                                                                                    <_if name="if has infraspecificEpithet">
92
                                                                                                        <cond>$infraspecificEpithet</cond>
93
                                                                                                        <then>$taxonRank</then>
94
                                                                                                    </_if>
95
                                                                                                </1>
96
                                                                                                <2>$infraspecificEpithet</2>
97
                                                                                            </_join_words>
98
                                                                                        </5>
99
                                                                                    </_join_words>
100
                                                                                </2>
101
                                                                            </_alt>
102
                                                                        </1>
103
                                                                        <2>$scientificNameAuthorship</2>
104
                                                                    </_join_words>
105
                                                                </value>
106
                                                            </_merge_prefix>
107
                                                        </taxonomicname>
108
                                                    </taxonlabel>
109
                                                </taxonlabel_id>
110
                                                <author>$scientificNameAuthorship</author>
111
                                                <family>$family</family>
112
                                                <genus>$genus</genus>
113
                                                <specific_epithet>$specificEpithet</specific_epithet>
114
                                                <taxonname>$taxonName</taxonname>
115
                                                <verbatimrank>$taxonRank</verbatimrank>
116
                                            </taxonverbatim>
117
                                        </taxonverbatim_id>
118
                                    </taxondetermination>
119
                                    <trait>
120
                                        <name>$measurementName</name>
121
                                        <units>$measurementUnit</units>
122
                                        <value>$measurementValue</value>
123
                                    </trait>
124
                                </taxonoccurrence>
125
                            </locationevent>
126
                        </locationevent>
127
                        <locationnarrative>$verbatimLocality</locationnarrative>
128
                        <locationplace>
129
                            <place_id>
130
                                <place>
131
                                    <coordinates_id>
132
                                        <coordinates>
133
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
134
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
135
                                        </coordinates>
136
                                    </coordinates_id>
137
                                    <country>$country</country>
138
                                    <matched_place_id>
139
                                        <place>
140
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
141
                                            <country>$country</country>
142
                                            <stateprovince>$stateProvince</stateprovince>
143
                                        </place>
144
                                    </matched_place_id>
145
                                    <stateprovince>$stateProvince</stateprovince>
146
                                </place>
147
                            </place_id>
148
                        </locationplace>
149
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
150
                    </location>
151
                </path>
152
            </_simplifyPath>
153
        </path>
154
    </_setDefault>
155
</VegBIEN>
156
Inserted 31 new rows into database
(7-7/8)