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>$id</1>
10 4066 aaronmk
                        <2>
11 4327 aaronmk
                            <_join>
12 4621 aaronmk
                                <1>$institutionCode</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$collectionCode</1>
16
                                        <2>$collectionID</2>
17
                                    </_join>
18
                                </2>
19
                                <3>$catalogNumber</3>
20 4327 aaronmk
                            </_join>
21 4066 aaronmk
                        </2>
22 4621 aaronmk
                    </_alt>
23
                </authorlocationcode>
24 4753 aaronmk
                <elevation_m>
25 4621 aaronmk
                    <_alt>
26
                        <1>
27 4818 aaronmk
                            <_units>
28
                                <to>m</to>
29
                                <to></to>
30 4621 aaronmk
                                <value>$verbatimElevation</value>
31 4818 aaronmk
                            </_units>
32 4621 aaronmk
                        </1>
33
                        <2>
34
                            <_avg>
35 4820 aaronmk
                                <max>$maximumElevationInMeters</max>
36 4822 aaronmk
                                <min>$minimumElevationInMeters</min>
37 4621 aaronmk
                            </_avg>
38
                        </2>
39
                    </_alt>
40 4753 aaronmk
                </elevation_m>
41 4726 aaronmk
                <locationcoords>
42 4753 aaronmk
                    <coordsaccuracy_deg><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_deg>
43 4621 aaronmk
                    <footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
44 4753 aaronmk
                    <latitude_deg>
45 4621 aaronmk
                        <_alt>
46
                            <1>
47
                                <_nullIf>
48
                                    <null>0</null>
49
                                    <type>float</type>
50
                                    <value>$decimalLatitude</value>
51
                                </_nullIf>
52
                            </1>
53
                            <2>
54
                                <_nullIf>
55
                                    <null>0</null>
56
                                    <type>float</type>
57
                                    <value>$verbatimLatitude</value>
58
                                </_nullIf>
59
                            </2>
60
                        </_alt>
61 4753 aaronmk
                    </latitude_deg>
62
                    <longitude_deg>
63 4621 aaronmk
                        <_alt>
64
                            <1>
65
                                <_nullIf>
66
                                    <null>0</null>
67
                                    <type>float</type>
68
                                    <value>$decimalLongitude</value>
69
                                </_nullIf>
70
                            </1>
71
                            <2>
72
                                <_nullIf>
73
                                    <null>0</null>
74
                                    <type>float</type>
75
                                    <value>$verbatimLongitude</value>
76
                                </_nullIf>
77
                            </2>
78
                        </_alt>
79 4753 aaronmk
                    </longitude_deg>
80 4726 aaronmk
                </locationcoords>
81 4621 aaronmk
                <locationevent>
82
                    <method_id><method><name>$samplingProtocol</name></method></method_id>
83
                    <obsenddate><_date><date><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></date></_date></obsenddate>
84
                    <obsstartdate><_date><date><_dateRangeStart><value>$eventDate</value></_dateRangeStart></date></_date></obsstartdate>
85
                    <taxonoccurrence>
86
                        <aggregateoccurrence>
87
                            <count>$individualCount</count>
88
                            <plantobservation>
89
                                <definedvalue fkey="tablerecord_id">
90
                                    <userdefined_id>
91
                                        <userdefined>
92
                                            <tablename>plantobservation</tablename>
93
                                            <userdefinedname>sex</userdefinedname>
94
                                        </userdefined>
95
                                    </userdefined_id>
96
                                    <definedvalue>$sex</definedvalue>
97
                                </definedvalue>
98
                                <specimenreplicate>
99
                                    <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
100
                                    <collectioncode_dwc>
101
                                        <_join>
102
                                            <1>$collectionCode</1>
103
                                            <2>$collectionID</2>
104
                                        </_join>
105
                                    </collectioncode_dwc>
106
                                    <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
107
                                    <sourceaccessioncode>$id</sourceaccessioncode>
108
                                </specimenreplicate>
109
                            </plantobservation>
110
                        </aggregateoccurrence>
111
                        <authortaxoncode>$scientificName</authortaxoncode>
112
                        <taxondetermination>
113
                            <party_id>
114
                                <party>
115
                                    <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
116
                                    <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
117
                                    <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
118
                                </party>
119
                            </party_id>
120 4718 aaronmk
                            <taxonpath_id>
121
                                <taxonpath>
122 4703 aaronmk
                                    <class>$class</class>
123
                                    <family>$family</family>
124
                                    <genus>$genus</genus>
125
                                    <kingdom>$kingdom</kingdom>
126
                                    <order>$order</order>
127
                                    <phylum>$phylum</phylum>
128
                                    <scientificname>$scientificName</scientificname>
129
                                    <scientificnameauthor>$scientificNameAuthorship</scientificnameauthor>
130
                                    <species>$specificEpithet</species>
131
                                    <subspecies>
132
                                        <_name>
133
                                            <first>$taxonRank</first>
134
                                            <last>$infraspecificEpithet</last>
135
                                        </_name>
136
                                    </subspecies>
137 4718 aaronmk
                                </taxonpath>
138
                            </taxonpath_id>
139 4621 aaronmk
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
140
                            <taxonfit>$identificationQualifier</taxonfit>
141
                        </taxondetermination>
142
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
143
                    </taxonoccurrence>
144
                </locationevent>
145
                <locationnarrative>
146
                    <_merge>
147
                        <1>$locality</1>
148
                        <3>
149
                            <_label>
150
                                <label>habitat</label>
151
                                <value>$habitat</value>
152
                            </_label>
153
                        </3>
154
                    </_merge>
155
                </locationnarrative>
156 4726 aaronmk
                <locationplace>
157 4727 aaronmk
                    <placepath_id>
158
                        <placepath>
159
                            <continent>$continent</continent>
160
                            <country>$country</country>
161
                            <county>$county</county>
162
                            <stateprovince>$stateProvince</stateprovince>
163
                        </placepath>
164
                    </placepath_id>
165 4726 aaronmk
                </locationplace>
166 4818 aaronmk
                <verbatimelevation>$verbatimElevation</verbatimelevation>
167 4621 aaronmk
            </location>
168
        </path>
169
    </_simplifyPath>
170 3641 aaronmk
</VegBIEN>
171 4727 aaronmk
Inserted 26 new rows into database