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
                                <_alt>
59
                                    <1>
60
                                        <_date>
61
                                            <day>
62
                                                <_nullIf>
63
                                                    <null>0</null>
64
                                                    <type>float</type>
65
                                                    <value>$coll_day</value>
66
                                                </_nullIf>
67
                                            </day>
68
                                            <month>
69
                                                <_nullIf>
70
                                                    <null>0</null>
71
                                                    <type>float</type>
72
                                                    <value>$coll_month</value>
73
                                                </_nullIf>
74
                                            </month>
75
                                            <year>
76
                                                <_nullIf>
77
                                                    <null>0</null>
78
                                                    <type>float</type>
79
                                                    <value>$coll_year</value>
80
                                                </_nullIf>
81
                                            </year>
82
                                        </_date>
83
                                    </1>
84
                                </_alt>
85
                            </date>
86
                        </_date>
87
                    </collectiondate>
88
                    <plantobservation>
89
                        <specimenreplicate>
90
                            <collectioncode_dwc>$acronym</collectioncode_dwc>
91
                            <sourceaccessioncode>$accession_number</sourceaccessioncode>
92
                            <verbatimcollectorname>$collector</verbatimcollectorname>
93
                        </specimenreplicate>
94
                    </plantobservation>
95
                </aggregateoccurrence>
96
                <taxondetermination>
97
                    <isoriginal>true</isoriginal>
98
                    <iscurrent>true</iscurrent>
99
                    <role>identifier</role>
100
                    <plantconcept_id>
101
                        <plantconcept>
102
                            <plantname_id>
103
                                <_simplifyPath>
104
                                    <next>parent_id/plantname</next>
105
                                    <require>plantname</require>
106
                                    <path>
107
                                        <plantname>
108
                                            <rank>binomial</rank>
109
                                            <parent_id>
110
                                                <plantname>
111
                                                    <rank>authority</rank>
112
                                                    <parent_id>
113
                                                        <plantname>
114
                                                            <rank>subspecies</rank>
115
                                                            <parent_id>
116
                                                                <plantname>
117
                                                                    <rank>species</rank>
118
                                                                    <plantname>$specificEpithet</plantname>
119
                                                                    <parent_id>
120
                                                                        <plantname>
121
                                                                            <rank>genus</rank>
122
                                                                            <plantname>$genus</plantname>
123
                                                                            <parent_id>
124
                                                                                <plantname>
125
                                                                                    <rank>family</rank>
126
                                                                                    <plantname>$family</plantname>
127
                                                                                </plantname>
128
                                                                            </parent_id>
129
                                                                        </plantname>
130
                                                                    </parent_id>
131
                                                                </plantname>
132
                                                            </parent_id>
133
                                                        </plantname>
134
                                                    </parent_id>
135
                                                </plantname>
136
                                            </parent_id>
137
                                        </plantname>
138
                                    </path>
139
                                </_simplifyPath>
140
                            </plantname_id>
141
                        </plantconcept>
142
                    </plantconcept_id>
143
                </taxondetermination>
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
        <sourceaccessioncode>
158
            <_alt>
159
                <1>$accession_number</1>
160
                <2><_merge><2>$acronym</2></_merge></2>
161
            </_alt>
162
        </sourceaccessioncode>
163
    </location>
164
</VegBIEN>
165
Inserted 26 new rows into database
    (1-1/1)