Project

General

Profile

1
<!--put template-->
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>NCU.new</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12
                                <1>$occurrenceID</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$specimenHolderInstitutions</1>
16
                                        <2>$collectionURL</2>
17
                                        <3>$accessionNumber</3>
18
                                    </_join>
19
                                </2>
20
                            </_alt>
21
                        </authorlocationcode>
22
                        <iscultivated><_locationnarrative_is_cultivated><locationnarrative>$verbatimLocality</locationnarrative></_locationnarrative_is_cultivated></iscultivated>
23
                        <locationevent>
24
                            <locationevent fkey="parent_id">
25
                                <taxonoccurrence>
26
                                    <aggregateoccurrence>
27
                                        <collectiondate>$dateCollected</collectiondate>
28
                                        <notes>$occurrenceRemarks</notes>
29
                                        <plantobservation>
30
                                            <authorplantcode>$collectorNumber</authorplantcode>
31
                                            <specimenreplicate>
32
                                                <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
33
                                                <collectioncode_dwc>$collectionURL</collectioncode_dwc>
34
                                                <collectionnumber>$collectorNumber</collectionnumber>
35
                                                <institution_id>
36
                                                    <sourcelist>
37
                                                        <name>$specimenHolderInstitutions</name>
38
                                                        <sourcename>
39
                                                            <name>
40
                                                                <_split>
41
                                                                    <separator>[,;] *</separator>
42
                                                                    <value>$specimenHolderInstitutions</value>
43
                                                                </_split>
44
                                                            </name>
45
                                                        </sourcename>
46
                                                    </sourcelist>
47
                                                </institution_id>
48
                                                <sourceaccessioncode>$occurrenceID</sourceaccessioncode>
49
                                            </specimenreplicate>
50
                                        </plantobservation>
51
                                    </aggregateoccurrence>
52
                                    <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
53
                                    <iscultivated>$cultivated</iscultivated>
54
                                    <sourceaccessioncode>$occurrenceID</sourceaccessioncode>
55
                                    <taxondetermination>
56
                                        <taxonverbatim_id>
57
                                            <taxonverbatim>
58
                                                <taxonlabel_id>
59
                                                    <taxonlabel>
60
                                                        <taxonomicname>
61
                                                            <_alt>
62
                                                                <1>$scientificName</1>
63
                                                                <2>$taxonName</2>
64
                                                            </_alt>
65
                                                        </taxonomicname>
66
                                                    </taxonlabel>
67
                                                </taxonlabel_id>
68
                                                <taxonname>$taxonName</taxonname>
69
                                                <taxonomicname>$scientificName</taxonomicname>
70
                                            </taxonverbatim>
71
                                        </taxonverbatim_id>
72
                                    </taxondetermination>
73
                                    <taxondetermination>
74
                                        <isoriginal>true</isoriginal>
75
                                        <taxonverbatim_id><taxonverbatim><taxonomicname>$originalScientificName</taxonomicname></taxonverbatim></taxonverbatim_id>
76
                                    </taxondetermination>
77
                                </taxonoccurrence>
78
                            </locationevent>
79
                        </locationevent>
80
                        <locationnarrative>$verbatimLocality</locationnarrative>
81
                        <locationplace>
82
                            <place_id>
83
                                <place>
84
                                    <coordinates_id>
85
                                        <coordinates>
86
                                            <latitude_deg>
87
                                                <_nullIf>
88
                                                    <null>0</null>
89
                                                    <type>float</type>
90
                                                    <value>$decimalLatitude</value>
91
                                                </_nullIf>
92
                                            </latitude_deg>
93
                                            <longitude_deg>
94
                                                <_nullIf>
95
                                                    <null>0</null>
96
                                                    <type>float</type>
97
                                                    <value>$decimalLongitude</value>
98
                                                </_nullIf>
99
                                            </longitude_deg>
100
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
101
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
102
                                        </coordinates>
103
                                    </coordinates_id>
104
                                    <placename_id>
105
                                        <placename>
106
                                            <rank>municipality</rank>
107
                                            <placename>$municipality</placename>
108
                                        </placename>
109
                                    </placename_id>
110
                                    <country>$country</country>
111
                                    <county>$county</county>
112
                                    <matched_place_id>
113
                                        <place>
114
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
115
                                            <coordinates_id>
116
                                                <coordinates>
117
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
118
                                                    <latitude_deg>
119
                                                        <_nullIf>
120
                                                            <null>0</null>
121
                                                            <type>float</type>
122
                                                            <value>$decimalLatitude</value>
123
                                                        </_nullIf>
124
                                                    </latitude_deg>
125
                                                    <longitude_deg>
126
                                                        <_nullIf>
127
                                                            <null>0</null>
128
                                                            <type>float</type>
129
                                                            <value>$decimalLongitude</value>
130
                                                        </_nullIf>
131
                                                    </longitude_deg>
132
                                                </coordinates>
133
                                            </coordinates_id>
134
                                            <country>$country</country>
135
                                            <county>$county</county>
136
                                            <stateprovince>$stateProvince</stateprovince>
137
                                        </place>
138
                                    </matched_place_id>
139
                                    <stateprovince>$stateProvince</stateprovince>
140
                                </place>
141
                            </place_id>
142
                        </locationplace>
143
                    </location>
144
                </path>
145
            </_simplifyPath>
146
        </path>
147
    </_setDefault>
148
</VegBIEN>
149
Inserted 34 new rows into database
(8-8/9)