Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <authorlocationcode><_merge><2>$acronym</2></_merge></authorlocationcode>
5
        <locationdetermination>
6
            <latitude>
7
                <_alt>
8
                    <1>
9
                        <_nullIf>
10
                            <null>0</null>
11
                            <type>float</type>
12
                            <value>$lat_deg</value>
13
                        </_nullIf>
14
                    </1>
15
                </_alt>
16
            </latitude>
17
            <longitude>
18
                <_alt>
19
                    <1>
20
                        <_nullIf>
21
                            <null>0</null>
22
                            <type>float</type>
23
                            <value>$long_deg</value>
24
                        </_nullIf>
25
                    </1>
26
                </_alt>
27
            </longitude>
28
            <namedplace_id>
29
                <_simplifyPath>
30
                    <next>parent_id/namedplace</next>
31
                    <require>placename</require>
32
                    <path>
33
                        <namedplace>
34
                            <rank>county</rank>
35
                            <placename>$county</placename>
36
                            <parent_id>
37
                                <namedplace>
38
                                    <rank>stateProvince</rank>
39
                                    <placename>$state</placename>
40
                                    <parent_id>
41
                                        <namedplace>
42
                                            <rank>country</rank>
43
                                            <placename>$country</placename>
44
                                        </namedplace>
45
                                    </parent_id>
46
                                </namedplace>
47
                            </parent_id>
48
                        </namedplace>
49
                    </path>
50
                </_simplifyPath>
51
            </namedplace_id>
52
        </locationdetermination>
53
        <locationevent>
54
            <taxonoccurrence>
55
                <aggregateoccurrence>
56
                    <collectiondate>
57
                        <_date>
58
                            <date>
59
                                <_dateRangeStart>
60
                                    <value>
61
                                        <_alt>
62
                                            <1>
63
                                                <_date>
64
                                                    <day>
65
                                                        <_nullIf>
66
                                                            <null>0</null>
67
                                                            <type>float</type>
68
                                                            <value>$coll_day</value>
69
                                                        </_nullIf>
70
                                                    </day>
71
                                                    <month>
72
                                                        <_nullIf>
73
                                                            <null>0</null>
74
                                                            <type>float</type>
75
                                                            <value>$coll_month</value>
76
                                                        </_nullIf>
77
                                                    </month>
78
                                                    <year>
79
                                                        <_nullIf>
80
                                                            <null>0</null>
81
                                                            <type>float</type>
82
                                                            <value>$coll_year</value>
83
                                                        </_nullIf>
84
                                                    </year>
85
                                                </_date>
86
                                            </1>
87
                                        </_alt>
88
                                    </value>
89
                                </_dateRangeStart>
90
                            </date>
91
                        </_date>
92
                    </collectiondate>
93
                    <plantobservation>
94
                        <sourceaccessioncode>$accession_number</sourceaccessioncode>
95
                        <specimenreplicate>
96
                            <collectioncode_dwc><_alt><1>$acronym</1></_alt></collectioncode_dwc>
97
                            <sourceaccessioncode>$accession_number</sourceaccessioncode>
98
                        </specimenreplicate>
99
                    </plantobservation>
100
                </aggregateoccurrence>
101
                <sourceaccessioncode><_alt><1>$accession_number</1></_alt></sourceaccessioncode>
102
                <taxondetermination>
103
                    <isoriginal>true</isoriginal>
104
                    <role>identifier</role>
105
                    <plantconcept_id>
106
                        <plantconcept>
107
                            <plantname_id>
108
                                <_simplifyPath>
109
                                    <next>parent_id/plantname</next>
110
                                    <require>plantname</require>
111
                                    <path>
112
                                        <plantname>
113
                                            <rank>binomial</rank>
114
                                            <parent_id>
115
                                                <plantname>
116
                                                    <rank>authority</rank>
117
                                                    <parent_id>
118
                                                        <plantname>
119
                                                            <rank>subspecies</rank>
120
                                                            <parent_id>
121
                                                                <plantname>
122
                                                                    <rank>species</rank>
123
                                                                    <plantname>$specificEpithet</plantname>
124
                                                                    <parent_id>
125
                                                                        <plantname>
126
                                                                            <rank>genus</rank>
127
                                                                            <plantname>$genus</plantname>
128
                                                                            <parent_id>
129
                                                                                <plantname>
130
                                                                                    <rank>family</rank>
131
                                                                                    <plantname>$family</plantname>
132
                                                                                </plantname>
133
                                                                            </parent_id>
134
                                                                        </plantname>
135
                                                                    </parent_id>
136
                                                                </plantname>
137
                                                            </parent_id>
138
                                                        </plantname>
139
                                                    </parent_id>
140
                                                </plantname>
141
                                            </parent_id>
142
                                        </plantname>
143
                                    </path>
144
                                </_simplifyPath>
145
                            </plantname_id>
146
                        </plantconcept>
147
                    </plantconcept_id>
148
                </taxondetermination>
149
                <verbatimcollectorname>$collector</verbatimcollectorname>
150
            </taxonoccurrence>
151
        </locationevent>
152
        <locationnarrative>
153
            <_merge>
154
                <1>$locality</1>
155
                <3>
156
                    <_label>
157
                        <label>habitat</label>
158
                        <value>$habitat</value>
159
                    </_label>
160
                </3>
161
            </_merge>
162
        </locationnarrative>
163
        <sourceaccessioncode><_alt><1>$accession_number</1></_alt></sourceaccessioncode>
164
    </location>
165
</VegBIEN>
166
Inserted 26 new rows into database
    (1-1/1)