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
                        <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
                            <taxonpath_id>
121
                                <taxonpath>
122
                                    <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
                                </taxonpath>
138
                            </taxonpath_id>
139
                            <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
                <locationplace>
157
                    <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
                </locationplace>
166
                <verbatimelevation>$verbatimElevation</verbatimelevation>
167
            </location>
168
        </path>
169
    </_simplifyPath>
170
</VegBIEN>
171
Inserted 26 new rows into database
(4-4/4)