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 4833 aaronmk
                        <authortaxoncode>$CollectorNumber</authortaxoncode>
108 4834 aaronmk
                        <sourceaccessioncode>$GlobalUniqueIdentifier</sourceaccessioncode>
109 4621 aaronmk
                        <taxondetermination>
110
                            <party_id>
111
                                <party>
112
                                    <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
113
                                    <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
114
                                    <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
115
                                </party>
116
                            </party_id>
117 4718 aaronmk
                            <taxonpath_id>
118
                                <taxonpath>
119 4703 aaronmk
                                    <class>$Class</class>
120
                                    <family>$Family</family>
121
                                    <genus>$Genus</genus>
122
                                    <kingdom>$Kingdom</kingdom>
123
                                    <order>$Order</order>
124
                                    <phylum>$Phylum</phylum>
125 4965 aaronmk
                                    <species>$Species</species>
126
                                    <subspecies>$Subspecies</subspecies>
127
                                    <taxonomicname>
128 4703 aaronmk
                                        <_alt>
129
                                            <1>$ScientificNameAuthor</1>
130
                                            <2>$ScientificName</2>
131
                                        </_alt>
132 4965 aaronmk
                                    </taxonomicname>
133 4718 aaronmk
                                </taxonpath>
134
                            </taxonpath_id>
135 4621 aaronmk
                            <determinationdate>
136
                                <_date>
137
                                    <day>
138
                                        <_nullIf>
139
                                            <null>0</null>
140
                                            <type>float</type>
141
                                            <value>$DayIdentified</value>
142
                                        </_nullIf>
143
                                    </day>
144
                                    <month>
145
                                        <_nullIf>
146
                                            <null>0</null>
147
                                            <type>float</type>
148
                                            <value>$MonthIdentified</value>
149
                                        </_nullIf>
150
                                    </month>
151
                                    <year>
152
                                        <_nullIf>
153
                                            <null>0</null>
154
                                            <type>float</type>
155
                                            <value>$YearIdentified</value>
156
                                        </_nullIf>
157
                                    </year>
158
                                </_date>
159
                            </determinationdate>
160
                            <notes>$Remarks</notes>
161
                            <taxonfit>$IdentificationModifier</taxonfit>
162
                        </taxondetermination>
163
                        <verbatimcollectorname>$Collector</verbatimcollectorname>
164
                    </taxonoccurrence>
165 4753 aaronmk
                    <waterdepth_m>
166 4621 aaronmk
                        <_avg>
167 4820 aaronmk
                            <max>$MaximumDepthInMeters</max>
168
                            <min>$MinimumDepthInMeters</min>
169 4621 aaronmk
                        </_avg>
170 4753 aaronmk
                    </waterdepth_m>
171 4621 aaronmk
                </locationevent>
172
                <locationnarrative>$Locality</locationnarrative>
173 4726 aaronmk
                <locationplace>
174 4727 aaronmk
                    <placepath_id>
175
                        <placepath>
176
                            <continent>$ContinentOcean</continent>
177
                            <country>$Country</country>
178
                            <county>$County</county>
179
                            <stateprovince>$StateProvince</stateprovince>
180
                        </placepath>
181
                    </placepath_id>
182 4726 aaronmk
                </locationplace>
183 4621 aaronmk
            </location>
184
        </path>
185
    </_simplifyPath>
186 3641 aaronmk
</VegBIEN>
187 4947 aaronmk
Inserted 26 new rows into database