Project

General

Profile

1 5756 aaronmk
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>$plotCode</authorlocationcode>
8
                <area_m2><_ha_to_m2><value>$plotAreaHa</value></_ha_to_m2></area_m2>
9
                <elevation_m>$elevation_m</elevation_m>
10
                <locationcoords>
11
                    <latitude_deg>
12
                        <_nullIf>
13
                            <null>0</null>
14
                            <type>float</type>
15
                            <value>$latitude</value>
16
                        </_nullIf>
17
                    </latitude_deg>
18
                    <longitude_deg>
19
                        <_nullIf>
20
                            <null>0</null>
21
                            <type>float</type>
22
                            <value>$longitude</value>
23
                        </_nullIf>
24
                    </longitude_deg>
25
                </locationcoords>
26
                <locationevent>
27
                    <method_id><method><name>$plotMethod</name></method></method_id>
28
                    <taxonoccurrence>
29
                        <aggregateoccurrence>
30
                            <collectiondate><_date><date>$observationDate</date></_date></collectiondate>
31
                            <cover_fraction><_percent_to_fraction><value>$pctCover</value></_percent_to_fraction></cover_fraction>
32
                            <plantobservation>
33
                                <collectionnumber>$collectionNumber</collectionnumber>
34
                                <specimenreplicate><institution_id><party><organizationname>$dataSourceName</organizationname></party></institution_id></specimenreplicate>
35
                            </plantobservation>
36
                        </aggregateoccurrence>
37
                        <authortaxoncode>$collectionNumber</authortaxoncode>
38
                        <iscultivated>$isCultivated</iscultivated>
39
                        <taxondetermination>
40
                            <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
41
                            <taxonverbatim_id>
42
                                <taxonverbatim>
43
                                    <taxonlabel_id>
44
                                        <taxonlabel>
45
                                            <matched_label_id>
46
                                                <taxonlabel>
47
                                                    <creator_id>
48
                                                        <party>
49
                                                            <creator_id>0</creator_id>
50
                                                            <organizationname>TNRS</organizationname>
51
                                                        </party>
52
                                                    </creator_id>
53
                                                    <taxonomicname>
54
                                                        <_alt>
55
                                                            <1>$taxon</1>
56
                                                            <2>
57
                                                                <_join_words>
58
                                                                    <1>
59
                                                                        <_join_words>
60
                                                                            <1>$family</1>
61
                                                                            <2>$genus</2>
62
                                                                            <3>$species</3>
63
                                                                        </_join_words>
64
                                                                    </1>
65
                                                                    <2>$taxonAuthor</2>
66
                                                                </_join_words>
67
                                                            </2>
68
                                                        </_alt>
69
                                                    </taxonomicname>
70
                                                </taxonlabel>
71
                                            </matched_label_id>
72
                                            <creator_id>
73
                                                <_simplifyPath>
74
                                                    <next>creator_id</next>
75
                                                    <path><party><fullname>$identifiedBy</fullname></party></path>
76
                                                </_simplifyPath>
77
                                            </creator_id>
78
                                            <parent_id>
79
                                                <taxonlabel>
80
                                                    <parent_id>
81
                                                        <taxonlabel>
82
                                                            <rank>cultivar</rank>
83
                                                            <parent_id>
84
                                                                <taxonlabel>
85
                                                                    <rank>forma</rank>
86
                                                                    <parent_id>
87
                                                                        <taxonlabel>
88
                                                                            <rank>variety</rank>
89
                                                                            <parent_id>
90
                                                                                <taxonlabel>
91
                                                                                    <rank>subspecies</rank>
92
                                                                                    <parent_id>
93
                                                                                        <taxonlabel>
94
                                                                                            <rank>species</rank>
95
                                                                                            <taxonepithet>$species</taxonepithet>
96
                                                                                            <parent_id>
97
                                                                                                <taxonlabel>
98
                                                                                                    <rank>genus</rank>
99
                                                                                                    <taxonepithet>$genus</taxonepithet>
100
                                                                                                    <parent_id>
101
                                                                                                        <taxonlabel>
102
                                                                                                            <rank>family</rank>
103
                                                                                                            <taxonepithet>$family</taxonepithet>
104
                                                                                                        </taxonlabel>
105
                                                                                                    </parent_id>
106
                                                                                                </taxonlabel>
107
                                                                                            </parent_id>
108
                                                                                        </taxonlabel>
109
                                                                                    </parent_id>
110
                                                                                </taxonlabel>
111
                                                                            </parent_id>
112
                                                                        </taxonlabel>
113
                                                                    </parent_id>
114
                                                                </taxonlabel>
115
                                                            </parent_id>
116
                                                        </taxonlabel>
117
                                                    </parent_id>
118
                                                </taxonlabel>
119
                                            </parent_id>
120
                                            <taxonomicname>
121
                                                <_alt>
122
                                                    <1>$taxon</1>
123
                                                    <2>
124
                                                        <_join_words>
125
                                                            <1>
126
                                                                <_join_words>
127
                                                                    <1>$family</1>
128
                                                                    <2>$genus</2>
129
                                                                    <3>$species</3>
130
                                                                </_join_words>
131
                                                            </1>
132
                                                            <2>$taxonAuthor</2>
133
                                                        </_join_words>
134
                                                    </2>
135
                                                </_alt>
136
                                            </taxonomicname>
137
                                        </taxonlabel>
138
                                    </taxonlabel_id>
139
                                    <author>$taxonAuthor</author>
140
                                    <family>$family</family>
141
                                    <genus>$genus</genus>
142 5783 aaronmk
                                    <specific_epithet>$species</specific_epithet>
143 5756 aaronmk
                                    <taxonomicname>$taxon</taxonomicname>
144
                                </taxonverbatim>
145
                            </taxonverbatim_id>
146
                        </taxondetermination>
147
                        <verbatimcollectorname>$collector</verbatimcollectorname>
148
                    </taxonoccurrence>
149
                </locationevent>
150
                <locationplace>
151
                    <placepath_id>
152
                        <placepath>
153
                            <country>$country</country>
154
                            <county>$countyParish</county>
155
                            <stateprovince>$stateProvince</stateprovince>
156
                        </placepath>
157
                    </placepath_id>
158
                </locationplace>
159
            </location>
160
        </path>
161
    </_simplifyPath>
162
</VegBIEN>
163
Inserted 1 new rows into database