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
                    <plantconcept_id>
157
                        <plantconcept>
158
                            <plantname_id>
159 3641 aaronmk
                                <_simplifyPath>
160 4226 aaronmk
                                    <next>parent_id</next>
161 3641 aaronmk
                                    <path>
162
                                        <plantname>
163 3786 aaronmk
                                            <rank>binomial</rank>
164 3641 aaronmk
                                            <parent_id>
165
                                                <plantname>
166 3786 aaronmk
                                                    <rank>authority</rank>
167 3641 aaronmk
                                                    <parent_id>
168
                                                        <plantname>
169 3786 aaronmk
                                                            <rank>subspecies</rank>
170 3641 aaronmk
                                                            <parent_id>
171
                                                                <plantname>
172 3786 aaronmk
                                                                    <rank>species</rank>
173
                                                                    <plantname>$specificEpithet</plantname>
174 3641 aaronmk
                                                                    <parent_id>
175
                                                                        <plantname>
176 3786 aaronmk
                                                                            <rank>genus</rank>
177
                                                                            <plantname>$genus</plantname>
178
                                                                            <parent_id>
179
                                                                                <plantname>
180
                                                                                    <rank>family</rank>
181
                                                                                    <plantname>$family</plantname>
182
                                                                                </plantname>
183
                                                                            </parent_id>
184 3641 aaronmk
                                                                        </plantname>
185
                                                                    </parent_id>
186
                                                                </plantname>
187
                                                            </parent_id>
188
                                                        </plantname>
189
                                                    </parent_id>
190
                                                </plantname>
191
                                            </parent_id>
192
                                        </plantname>
193 3786 aaronmk
                                    </path>
194
                                </_simplifyPath>
195
                            </plantname_id>
196
                        </plantconcept>
197
                    </plantconcept_id>
198
                </taxondetermination>
199 3934 aaronmk
                <verbatimcollectorname>$collector</verbatimcollectorname>
200 3907 aaronmk
            </taxonoccurrence>
201 3786 aaronmk
        </locationevent>
202
        <locationnarrative>
203
            <_merge>
204
                <1>$locality</1>
205
                <3>
206
                    <_label>
207
                        <label>habitat</label>
208
                        <value>$habitat</value>
209
                    </_label>
210
                </3>
211
            </_merge>
212
        </locationnarrative>
213
    </location>
214 3641 aaronmk
</VegBIEN>
215 3907 aaronmk
Inserted 26 new rows into database