Project

General

Profile

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