Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <authorlocationcode>
5
            <_merge>
6
                <1>$InstitutionCD</1>
7
                <2>$CollectionCD</2>
8
                <3>$CatalogNO</3>
9
            </_merge>
10
        </authorlocationcode>
11
        <elevation>
12
            <_avg>
13
                <max>
14
                    <_units>
15
                        <default>m</default>
16
                        <to>m</to>
17
                        <to></to>
18
                        <value>
19
                            <_replace>
20
                                <\bca\.?></\bca\.?>
21
                                <value>$MaximumElevationInMeter</value>
22
                            </_replace>
23
                        </value>
24
                    </_units>
25
                </max>
26
                <min>
27
                    <_units>
28
                        <default>m</default>
29
                        <to>m</to>
30
                        <to></to>
31
                        <value>
32
                            <_rangeStart>
33
                                <value>
34
                                    <_replace>
35
                                        <\bca\.?></\bca\.?>
36
                                        <value>$MinimumElevationInMeter</value>
37
                                    </_replace>
38
                                </value>
39
                            </_rangeStart>
40
                        </value>
41
                    </_units>
42
                </min>
43
            </_avg>
44
        </elevation>
45
        <elevationrange>
46
            <_range>
47
                <from>
48
                    <_units>
49
                        <default>m</default>
50
                        <to>m</to>
51
                        <to></to>
52
                        <value>
53
                            <_rangeStart>
54
                                <value>
55
                                    <_replace>
56
                                        <\bca\.?></\bca\.?>
57
                                        <value>$MinimumElevationInMeter</value>
58
                                    </_replace>
59
                                </value>
60
                            </_rangeStart>
61
                        </value>
62
                    </_units>
63
                </from>
64
                <to>
65
                    <_units>
66
                        <default>m</default>
67
                        <to>m</to>
68
                        <to></to>
69
                        <value>
70
                            <_alt>
71
                                <1>
72
                                    <_replace>
73
                                        <\bca\.?></\bca\.?>
74
                                        <value>$MaximumElevationInMeter</value>
75
                                    </_replace>
76
                                </1>
77
                                <2>
78
                                    <_rangeEnd>
79
                                        <value>
80
                                            <_replace>
81
                                                <\bca\.?></\bca\.?>
82
                                                <value>$MinimumElevationInMeter</value>
83
                                            </_replace>
84
                                        </value>
85
                                    </_rangeEnd>
86
                                </2>
87
                            </_alt>
88
                        </value>
89
                    </_units>
90
                </to>
91
            </_range>
92
        </elevationrange>
93
        <locationdetermination>
94
            <latitude>
95
                <_alt>
96
                    <1>
97
                        <_nullIf>
98
                            <null>0</null>
99
                            <type>float</type>
100
                            <value>$DecimalLatitude</value>
101
                        </_nullIf>
102
                    </1>
103
                    <2>
104
                        <_nullIf>
105
                            <null>0</null>
106
                            <type>float</type>
107
                            <value>$VerbatimLatitude</value>
108
                        </_nullIf>
109
                    </2>
110
                </_alt>
111
            </latitude>
112
            <longitude>
113
                <_alt>
114
                    <1>
115
                        <_nullIf>
116
                            <null>0</null>
117
                            <type>float</type>
118
                            <value>$DecimalLongitude</value>
119
                        </_nullIf>
120
                    </1>
121
                    <2>
122
                        <_nullIf>
123
                            <null>0</null>
124
                            <type>float</type>
125
                            <value>$VerbatimLongitude</value>
126
                        </_nullIf>
127
                    </2>
128
                </_alt>
129
            </longitude>
130
            <namedplace_id>
131
                <_simplifyPath>
132
                    <next>parent_id/namedplace</next>
133
                    <require>placename</require>
134
                    <path>
135
                        <namedplace>
136
                            <rank>county</rank>
137
                            <placename>$County</placename>
138
                            <parent_id>
139
                                <namedplace>
140
                                    <rank>stateProvince</rank>
141
                                    <placename>$StateProvince</placename>
142
                                    <parent_id>
143
                                        <namedplace>
144
                                            <rank>country</rank>
145
                                            <placename>$Country</placename>
146
                                        </namedplace>
147
                                    </parent_id>
148
                                </namedplace>
149
                            </parent_id>
150
                        </namedplace>
151
                    </path>
152
                </_simplifyPath>
153
            </namedplace_id>
154
        </locationdetermination>
155
        <locationevent>
156
            <obsenddate><_date><date><_dateRangeEnd><value>$LatestDateCollected</value></_dateRangeEnd></date></_date></obsenddate>
157
            <obsstartdate><_date><date><_dateRangeStart><value>$LatestDateCollected</value></_dateRangeStart></date></_date></obsstartdate>
158
            <taxonoccurrence>
159
                <aggregateoccurrence>
160
                    <collectiondate><_date><date>$LatestDateCollected</date></_date></collectiondate>
161
                    <plantobservation>
162
                        <specimenreplicate>
163
                            <catalognumber_dwc>$CatalogNO</catalognumber_dwc>
164
                            <collectioncode_dwc>$CollectionCD</collectioncode_dwc>
165
                            <institution_id><party><organizationname>$InstitutionCD</organizationname></party></institution_id>
166
                        </specimenreplicate>
167
                    </plantobservation>
168
                </aggregateoccurrence>
169
                <authortaxoncode>$ScientificName</authortaxoncode>
170
                <taxondetermination>
171
                    <party_id>
172
                        <party>
173
                            <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
174
                            <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
175
                            <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
176
                        </party>
177
                    </party_id>
178
                    <plantconcept_id>
179
                        <plantconcept>
180
                            <plantname_id>
181
                                <_simplifyPath>
182
                                    <next>parent_id</next>
183
                                    <path>
184
                                        <plantname>
185
                                            <rank>binomial</rank>
186
                                            <plantname>$ScientificName</plantname>
187
                                            <parent_id>
188
                                                <plantname>
189
                                                    <rank>authority</rank>
190
                                                    <plantname>$AuthorOfScientificName</plantname>
191
                                                    <parent_id>
192
                                                        <plantname>
193
                                                            <rank>subspecies</rank>
194
                                                            <plantname>$InfraspecificEpithet</plantname>
195
                                                            <parent_id>
196
                                                                <plantname>
197
                                                                    <rank>species</rank>
198
                                                                    <plantname>$SpecificEpithet</plantname>
199
                                                                    <parent_id>
200
                                                                        <plantname>
201
                                                                            <rank>genus</rank>
202
                                                                            <plantname>$Genus</plantname>
203
                                                                            <parent_id>
204
                                                                                <plantname>
205
                                                                                    <rank>family</rank>
206
                                                                                    <plantname>$Family</plantname>
207
                                                                                </plantname>
208
                                                                            </parent_id>
209
                                                                        </plantname>
210
                                                                    </parent_id>
211
                                                                </plantname>
212
                                                            </parent_id>
213
                                                        </plantname>
214
                                                    </parent_id>
215
                                                </plantname>
216
                                            </parent_id>
217
                                        </plantname>
218
                                    </path>
219
                                </_simplifyPath>
220
                            </plantname_id>
221
                        </plantconcept>
222
                    </plantconcept_id>
223
                </taxondetermination>
224
                <verbatimcollectorname>$Collector</verbatimcollectorname>
225
                <voucher><specimenreplicate_id><specimenreplicate><catalognumber_dwc/></specimenreplicate></specimenreplicate_id></voucher>
226
            </taxonoccurrence>
227
        </locationevent>
228
        <locationnarrative>$Locality</locationnarrative>
229
    </location>
230
</VegBIEN>
231
Inserted 31 new rows into database
(8-8/8)