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
                    <_alt>
9
                        <1>$GlobalUniqueIdentifier</1>
10
                        <2>
11
                            <_join>
12
                                <1>$InstitutionCode</1>
13
                                <2>$CollectionCode</2>
14
                                <3>
15
                                    <_alt>
16
                                        <1>$CatalogNumberNumeric</1>
17
                                        <2>$CatalogNumber</2>
18
                                    </_alt>
19
                                </3>
20
                            </_join>
21
                        </2>
22
                    </_alt>
23
                </authorlocationcode>
24 4753 aaronmk
                <elevation_m>
25 4815 aaronmk
                    <_avg>
26 4820 aaronmk
                        <max>$MaximumElevationInMeters</max>
27 4822 aaronmk
                        <min>$MinimumElevationInMeters</min>
28 4815 aaronmk
                    </_avg>
29 4753 aaronmk
                </elevation_m>
30 4726 aaronmk
                <locationcoords>
31 4753 aaronmk
                    <coordsaccuracy_deg><_noCV><value>$CoordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_deg>
32 4621 aaronmk
                    <footprintgeometry_dwc>$BoundingBox</footprintgeometry_dwc>
33 4753 aaronmk
                    <latitude_deg>
34 4621 aaronmk
                        <_alt>
35
                            <1>
36
                                <_nullIf>
37
                                    <null>0</null>
38
                                    <type>float</type>
39
                                    <value>$DecimalLatitude</value>
40
                                </_nullIf>
41
                            </1>
42
                            <2>
43
                                <_nullIf>
44
                                    <null>0</null>
45
                                    <type>float</type>
46
                                    <value>$VerbatimLatitude</value>
47
                                </_nullIf>
48
                            </2>
49
                        </_alt>
50 4753 aaronmk
                    </latitude_deg>
51
                    <longitude_deg>
52 4621 aaronmk
                        <_alt>
53
                            <1>
54
                                <_nullIf>
55
                                    <null>0</null>
56
                                    <type>float</type>
57
                                    <value>$DecimalLongitude</value>
58
                                </_nullIf>
59
                            </1>
60
                            <2>
61
                                <_nullIf>
62
                                    <null>0</null>
63
                                    <type>float</type>
64
                                    <value>$VerbatimLongitude</value>
65
                                </_nullIf>
66
                            </2>
67
                        </_alt>
68 4753 aaronmk
                    </longitude_deg>
69 4726 aaronmk
                </locationcoords>
70 4621 aaronmk
                <locationevent>
71
                    <taxonoccurrence>
72
                        <aggregateoccurrence>
73
                            <collectiondate>
74 4183 aaronmk
                                <_alt>
75 4621 aaronmk
                                    <1><_date><date>$VerbatimCollectingDate</date></_date></1>
76
                                    <2>
77
                                        <_date>
78
                                            <day>
79
                                                <_nullIf>
80
                                                    <null>0</null>
81
                                                    <type>float</type>
82
                                                    <value>$DayCollected</value>
83
                                                </_nullIf>
84
                                            </day>
85
                                            <month>
86
                                                <_nullIf>
87
                                                    <null>0</null>
88
                                                    <type>float</type>
89
                                                    <value>$MonthCollected</value>
90
                                                </_nullIf>
91
                                            </month>
92
                                            <year>
93
                                                <_nullIf>
94
                                                    <null>0</null>
95
                                                    <type>float</type>
96
                                                    <value>$YearCollected</value>
97
                                                </_nullIf>
98
                                            </year>
99
                                        </_date>
100
                                    </2>
101 4183 aaronmk
                                </_alt>
102 4621 aaronmk
                            </collectiondate>
103
                            <count>$IndividualCount</count>
104
                            <notes>$FieldNotes</notes>
105
                            <plantobservation>
106
                                <collectionnumber>$CollectorNumber</collectionnumber>
107
                                <definedvalue fkey="tablerecord_id">
108
                                    <userdefined_id>
109
                                        <userdefined>
110
                                            <tablename>plantobservation</tablename>
111
                                            <userdefinedname>sex</userdefinedname>
112
                                        </userdefined>
113
                                    </userdefined_id>
114
                                    <definedvalue>$Sex</definedvalue>
115
                                </definedvalue>
116
                                <specimenreplicate>
117
                                    <catalognumber_dwc>
118
                                        <_alt>
119
                                            <1>$CatalogNumberNumeric</1>
120
                                            <2>$CatalogNumber</2>
121
                                        </_alt>
122
                                    </catalognumber_dwc>
123
                                    <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
124
                                    <institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
125
                                    <sourceaccessioncode>$GlobalUniqueIdentifier</sourceaccessioncode>
126
                                </specimenreplicate>
127
                            </plantobservation>
128
                        </aggregateoccurrence>
129 4833 aaronmk
                        <authortaxoncode>$CollectorNumber</authortaxoncode>
130 4834 aaronmk
                        <sourceaccessioncode>$GlobalUniqueIdentifier</sourceaccessioncode>
131 4621 aaronmk
                        <taxondetermination>
132
                            <party_id>
133
                                <party>
134
                                    <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
135
                                    <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
136
                                    <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
137
                                </party>
138
                            </party_id>
139 4718 aaronmk
                            <taxonpath_id>
140
                                <taxonpath>
141 4703 aaronmk
                                    <class>$Class</class>
142
                                    <family>$Family</family>
143
                                    <genus>$Genus</genus>
144
                                    <kingdom>$Kingdom</kingdom>
145
                                    <order>$Order</order>
146
                                    <phylum>$Phylum</phylum>
147
                                    <scientificname>
148
                                        <_alt>
149
                                            <1>$ScientificNameAuthor</1>
150
                                            <2>$ScientificName</2>
151
                                        </_alt>
152
                                    </scientificname>
153
                                    <species>$Species</species>
154
                                    <subspecies>$Subspecies</subspecies>
155 4718 aaronmk
                                </taxonpath>
156
                            </taxonpath_id>
157 4621 aaronmk
                            <determinationdate>
158
                                <_date>
159
                                    <day>
160
                                        <_nullIf>
161
                                            <null>0</null>
162
                                            <type>float</type>
163
                                            <value>$DayIdentified</value>
164
                                        </_nullIf>
165
                                    </day>
166
                                    <month>
167
                                        <_nullIf>
168
                                            <null>0</null>
169
                                            <type>float</type>
170
                                            <value>$MonthIdentified</value>
171
                                        </_nullIf>
172
                                    </month>
173
                                    <year>
174
                                        <_nullIf>
175
                                            <null>0</null>
176
                                            <type>float</type>
177
                                            <value>$YearIdentified</value>
178
                                        </_nullIf>
179
                                    </year>
180
                                </_date>
181
                            </determinationdate>
182
                            <notes>$Remarks</notes>
183
                            <taxonfit>$IdentificationModifier</taxonfit>
184
                        </taxondetermination>
185
                        <verbatimcollectorname>$Collector</verbatimcollectorname>
186
                    </taxonoccurrence>
187 4753 aaronmk
                    <waterdepth_m>
188 4621 aaronmk
                        <_avg>
189 4820 aaronmk
                            <max>$MaximumDepthInMeters</max>
190
                            <min>$MinimumDepthInMeters</min>
191 4621 aaronmk
                        </_avg>
192 4753 aaronmk
                    </waterdepth_m>
193 4621 aaronmk
                </locationevent>
194
                <locationnarrative>$Locality</locationnarrative>
195 4726 aaronmk
                <locationplace>
196 4727 aaronmk
                    <placepath_id>
197
                        <placepath>
198
                            <continent>$ContinentOcean</continent>
199
                            <country>$Country</country>
200
                            <county>$County</county>
201
                            <stateprovince>$StateProvince</stateprovince>
202
                        </placepath>
203
                    </placepath_id>
204 4726 aaronmk
                </locationplace>
205 4621 aaronmk
            </location>
206
        </path>
207
    </_simplifyPath>
208 3641 aaronmk
</VegBIEN>
209 4727 aaronmk
Inserted 28 new rows into database