Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>
8
                    <_alt>
9
                        <1>$id</1>
10
                        <2>
11
                            <_join>
12
                                <1>$institutionCode</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$collectionCode</1>
16
                                        <2>$collectionID</2>
17
                                    </_join>
18
                                </2>
19
                                <3>$catalogNumber</3>
20
                            </_join>
21
                        </2>
22
                    </_alt>
23
                </authorlocationcode>
24
                <elevation_m>
25
                    <_alt>
26
                        <1>
27
                            <_units>
28
                                <to>m</to>
29
                                <to></to>
30
                                <value>$verbatimElevation</value>
31
                            </_units>
32
                        </1>
33
                        <2>
34
                            <_avg>
35
                                <max>$maximumElevationInMeters</max>
36
                                <min>$minimumElevationInMeters</min>
37
                            </_avg>
38
                        </2>
39
                    </_alt>
40
                </elevation_m>
41
                <locationcoords>
42
                    <coordsaccuracy_deg><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_deg>
43
                    <footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
44
                    <latitude_deg>
45
                        <_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
                    </latitude_deg>
62
                    <longitude_deg>
63
                        <_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
                    </longitude_deg>
80
                </locationcoords>
81
                <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
                        <sourceaccessioncode>$id</sourceaccessioncode>
113
                        <taxondetermination>
114
                            <party_id>
115
                                <party>
116
                                    <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
117
                                    <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
118
                                    <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
119
                                </party>
120
                            </party_id>
121
                            <taxonpath_id>
122
                                <taxonpath>
123
                                    <class>$class</class>
124
                                    <family>$family</family>
125
                                    <genus>$genus</genus>
126
                                    <kingdom>$kingdom</kingdom>
127
                                    <order>$order</order>
128
                                    <phylum>$phylum</phylum>
129
                                    <scientificname>$scientificName</scientificname>
130
                                    <scientificnameauthor>$scientificNameAuthorship</scientificnameauthor>
131
                                    <species>$specificEpithet</species>
132
                                    <subspecies>
133
                                        <_name>
134
                                            <first>$taxonRank</first>
135
                                            <last>$infraspecificEpithet</last>
136
                                        </_name>
137
                                    </subspecies>
138
                                </taxonpath>
139
                            </taxonpath_id>
140
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
141
                            <taxonfit>$identificationQualifier</taxonfit>
142
                        </taxondetermination>
143
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
144
                    </taxonoccurrence>
145
                </locationevent>
146
                <locationnarrative>
147
                    <_merge>
148
                        <1>$locality</1>
149
                        <3>
150
                            <_label>
151
                                <label>habitat</label>
152
                                <value>$habitat</value>
153
                            </_label>
154
                        </3>
155
                    </_merge>
156
                </locationnarrative>
157
                <locationplace>
158
                    <placepath_id>
159
                        <placepath>
160
                            <continent>$continent</continent>
161
                            <country>$country</country>
162
                            <county>$county</county>
163
                            <stateprovince>$stateProvince</stateprovince>
164
                        </placepath>
165
                    </placepath_id>
166
                </locationplace>
167
                <verbatimelevation>$verbatimElevation</verbatimelevation>
168
            </location>
169
        </path>
170
    </_simplifyPath>
171
</VegBIEN>
172
Inserted 26 new rows into database
(4-4/4)