Project

General

Profile

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