Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 3786 aaronmk
    <location id="-1">
4 4066 aaronmk
        <authorlocationcode>
5
            <_alt>
6
                <3>$accession_number</3>
7
                <4>$acronym</4>
8
            </_alt>
9
        </authorlocationcode>
10 3786 aaronmk
        <locationdetermination>
11
            <latitude>
12 4043 aaronmk
                <_nullIf>
13
                    <null>0</null>
14
                    <type>float</type>
15
                    <value>$lat_deg</value>
16
                </_nullIf>
17 3786 aaronmk
            </latitude>
18
            <longitude>
19 4043 aaronmk
                <_nullIf>
20
                    <null>0</null>
21
                    <type>float</type>
22
                    <value>$long_deg</value>
23
                </_nullIf>
24 3786 aaronmk
            </longitude>
25
            <namedplace_id>
26
                <_simplifyPath>
27
                    <next>parent_id/namedplace</next>
28
                    <require>placename</require>
29
                    <path>
30
                        <namedplace>
31
                            <rank>county</rank>
32
                            <placename>$county</placename>
33
                            <parent_id>
34
                                <namedplace>
35
                                    <rank>stateProvince</rank>
36
                                    <placename>$state</placename>
37
                                    <parent_id>
38
                                        <namedplace>
39
                                            <rank>country</rank>
40
                                            <placename>$country</placename>
41
                                        </namedplace>
42
                                    </parent_id>
43
                                </namedplace>
44
                            </parent_id>
45
                        </namedplace>
46
                    </path>
47
                </_simplifyPath>
48
            </namedplace_id>
49
        </locationdetermination>
50
        <locationevent>
51 4021 aaronmk
            <obsenddate>
52
                <_date>
53
                    <date>
54
                        <_dateRangeEnd>
55
                            <value>
56 4043 aaronmk
                                <_date>
57
                                    <day>
58
                                        <_nullIf>
59
                                            <null>0</null>
60
                                            <type>float</type>
61
                                            <value>$coll_day</value>
62
                                        </_nullIf>
63
                                    </day>
64
                                    <month>
65
                                        <_nullIf>
66
                                            <null>0</null>
67
                                            <type>float</type>
68
                                            <value>$coll_month</value>
69
                                        </_nullIf>
70
                                    </month>
71
                                    <year>
72
                                        <_nullIf>
73
                                            <null>0</null>
74
                                            <type>float</type>
75
                                            <value>$coll_year</value>
76
                                        </_nullIf>
77
                                    </year>
78
                                </_date>
79 4021 aaronmk
                            </value>
80
                        </_dateRangeEnd>
81
                    </date>
82
                </_date>
83
            </obsenddate>
84
            <obsstartdate>
85
                <_date>
86
                    <date>
87
                        <_dateRangeStart>
88
                            <value>
89 4043 aaronmk
                                <_date>
90
                                    <day>
91
                                        <_nullIf>
92
                                            <null>0</null>
93
                                            <type>float</type>
94
                                            <value>$coll_day</value>
95
                                        </_nullIf>
96
                                    </day>
97
                                    <month>
98
                                        <_nullIf>
99
                                            <null>0</null>
100
                                            <type>float</type>
101
                                            <value>$coll_month</value>
102
                                        </_nullIf>
103
                                    </month>
104
                                    <year>
105
                                        <_nullIf>
106
                                            <null>0</null>
107
                                            <type>float</type>
108
                                            <value>$coll_year</value>
109
                                        </_nullIf>
110
                                    </year>
111
                                </_date>
112 4021 aaronmk
                            </value>
113
                        </_dateRangeStart>
114
                    </date>
115
                </_date>
116
            </obsstartdate>
117 3915 aaronmk
            <taxonoccurrence>
118
                <aggregateoccurrence>
119
                    <collectiondate>
120
                        <_date>
121
                            <date>
122 4043 aaronmk
                                <_date>
123
                                    <day>
124
                                        <_nullIf>
125
                                            <null>0</null>
126
                                            <type>float</type>
127
                                            <value>$coll_day</value>
128
                                        </_nullIf>
129
                                    </day>
130
                                    <month>
131
                                        <_nullIf>
132
                                            <null>0</null>
133
                                            <type>float</type>
134
                                            <value>$coll_month</value>
135
                                        </_nullIf>
136
                                    </month>
137
                                    <year>
138
                                        <_nullIf>
139
                                            <null>0</null>
140
                                            <type>float</type>
141
                                            <value>$coll_year</value>
142
                                        </_nullIf>
143
                                    </year>
144
                                </_date>
145 3915 aaronmk
                            </date>
146
                        </_date>
147
                    </collectiondate>
148 3907 aaronmk
                    <plantobservation>
149
                        <specimenreplicate>
150 4043 aaronmk
                            <collectioncode_dwc>$acronym</collectioncode_dwc>
151 3907 aaronmk
                            <sourceaccessioncode>$accession_number</sourceaccessioncode>
152
                        </specimenreplicate>
153
                    </plantobservation>
154
                </aggregateoccurrence>
155 3786 aaronmk
                <taxondetermination>
156
                    <isoriginal>true</isoriginal>
157
                    <role>identifier</role>
158
                    <plantconcept_id>
159
                        <plantconcept>
160
                            <plantname_id>
161 3641 aaronmk
                                <_simplifyPath>
162 3786 aaronmk
                                    <next>parent_id/plantname</next>
163
                                    <require>plantname</require>
164 3641 aaronmk
                                    <path>
165
                                        <plantname>
166 3786 aaronmk
                                            <rank>binomial</rank>
167 3641 aaronmk
                                            <parent_id>
168
                                                <plantname>
169 3786 aaronmk
                                                    <rank>authority</rank>
170 3641 aaronmk
                                                    <parent_id>
171
                                                        <plantname>
172 3786 aaronmk
                                                            <rank>subspecies</rank>
173 3641 aaronmk
                                                            <parent_id>
174
                                                                <plantname>
175 3786 aaronmk
                                                                    <rank>species</rank>
176
                                                                    <plantname>$specificEpithet</plantname>
177 3641 aaronmk
                                                                    <parent_id>
178
                                                                        <plantname>
179 3786 aaronmk
                                                                            <rank>genus</rank>
180
                                                                            <plantname>$genus</plantname>
181
                                                                            <parent_id>
182
                                                                                <plantname>
183
                                                                                    <rank>family</rank>
184
                                                                                    <plantname>$family</plantname>
185
                                                                                </plantname>
186
                                                                            </parent_id>
187 3641 aaronmk
                                                                        </plantname>
188
                                                                    </parent_id>
189
                                                                </plantname>
190
                                                            </parent_id>
191
                                                        </plantname>
192
                                                    </parent_id>
193
                                                </plantname>
194
                                            </parent_id>
195
                                        </plantname>
196 3786 aaronmk
                                    </path>
197
                                </_simplifyPath>
198
                            </plantname_id>
199
                        </plantconcept>
200
                    </plantconcept_id>
201
                </taxondetermination>
202 3934 aaronmk
                <verbatimcollectorname>$collector</verbatimcollectorname>
203 3907 aaronmk
            </taxonoccurrence>
204 3786 aaronmk
        </locationevent>
205
        <locationnarrative>
206
            <_merge>
207
                <1>$locality</1>
208
                <3>
209
                    <_label>
210
                        <label>habitat</label>
211
                        <value>$habitat</value>
212
                    </_label>
213
                </3>
214
            </_merge>
215
        </locationnarrative>
216
    </location>
217 3641 aaronmk
</VegBIEN>
218 3907 aaronmk
Inserted 26 new rows into database