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