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