Project

General

Profile

1 11396 aaronmk
<!--put template-->
2 3641 aaronmk
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 10866 aaronmk
        <source_id><source><shortname>NCU.new</shortname></source></source_id>
5 4621 aaronmk
        <path>
6 6403 aaronmk
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12 12963 aaronmk
                                <1>$dataProviderRecordID</1>
13 6403 aaronmk
                                <2>
14
                                    <_join>
15 12879 aaronmk
                                        <1>$specimen_duplicate_institutions</1>
16 10569 aaronmk
                                        <2>$collectionURL</2>
17
                                        <3>$accessionNumber</3>
18 6403 aaronmk
                                    </_join>
19
                                </2>
20
                            </_alt>
21
                        </authorlocationcode>
22 14784 aaronmk
                        <iscultivated><_locationnarrative_is_cultivated><locationnarrative>$locality</locationnarrative></_locationnarrative_is_cultivated></iscultivated>
23 6403 aaronmk
                        <locationevent>
24 11107 aaronmk
                            <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 12886 aaronmk
                                                <duplicate_institutions_sourcelist_id>
36 11107 aaronmk
                                                    <sourcelist>
37 12879 aaronmk
                                                        <name>$specimen_duplicate_institutions</name>
38 11107 aaronmk
                                                        <sourcename>
39
                                                            <name>
40
                                                                <_split>
41
                                                                    <separator>[,;] *</separator>
42 12879 aaronmk
                                                                    <value>$specimen_duplicate_institutions</value>
43 11107 aaronmk
                                                                </_split>
44
                                                            </name>
45
                                                        </sourcename>
46
                                                    </sourcelist>
47 12886 aaronmk
                                                </duplicate_institutions_sourcelist_id>
48 12963 aaronmk
                                                <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
49 11107 aaronmk
                                            </specimenreplicate>
50
                                        </plantobservation>
51
                                    </aggregateoccurrence>
52
                                    <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
53
                                    <iscultivated>$cultivated</iscultivated>
54 12963 aaronmk
                                    <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
55 11107 aaronmk
                                    <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 6403 aaronmk
                        </locationevent>
80 14784 aaronmk
                        <locationnarrative>$locality</locationnarrative>
81 6403 aaronmk
                        <locationplace>
82
                            <place_id>
83 5958 aaronmk
                                <place>
84
                                    <coordinates_id>
85
                                        <coordinates>
86
                                            <latitude_deg>
87 5969 aaronmk
                                                <_nullIf>
88
                                                    <null>0</null>
89
                                                    <type>float</type>
90 10569 aaronmk
                                                    <value>$decimalLatitude</value>
91 5969 aaronmk
                                                </_nullIf>
92 5958 aaronmk
                                            </latitude_deg>
93
                                            <longitude_deg>
94 5969 aaronmk
                                                <_nullIf>
95
                                                    <null>0</null>
96
                                                    <type>float</type>
97 10569 aaronmk
                                                    <value>$decimalLongitude</value>
98 5969 aaronmk
                                                </_nullIf>
99 5958 aaronmk
                                            </longitude_deg>
100 10569 aaronmk
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
101
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
102 5958 aaronmk
                                        </coordinates>
103
                                    </coordinates_id>
104 10565 aaronmk
                                    <placename_id>
105
                                        <placename>
106
                                            <rank>municipality</rank>
107 10569 aaronmk
                                            <placename>$municipality</placename>
108 10565 aaronmk
                                        </placename>
109
                                    </placename_id>
110 10569 aaronmk
                                    <country>$country</country>
111 6737 aaronmk
                                    <county>$county</county>
112 6403 aaronmk
                                    <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 10569 aaronmk
                                                            <value>$decimalLatitude</value>
123 6403 aaronmk
                                                        </_nullIf>
124
                                                    </latitude_deg>
125
                                                    <longitude_deg>
126
                                                        <_nullIf>
127
                                                            <null>0</null>
128
                                                            <type>float</type>
129 10569 aaronmk
                                                            <value>$decimalLongitude</value>
130 6403 aaronmk
                                                        </_nullIf>
131
                                                    </longitude_deg>
132
                                                </coordinates>
133
                                            </coordinates_id>
134 10569 aaronmk
                                            <country>$country</country>
135 6737 aaronmk
                                            <county>$county</county>
136 10569 aaronmk
                                            <stateprovince>$stateProvince</stateprovince>
137 6403 aaronmk
                                        </place>
138
                                    </matched_place_id>
139 10569 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
140 5958 aaronmk
                                </place>
141 6403 aaronmk
                            </place_id>
142
                        </locationplace>
143
                    </location>
144
                </path>
145
            </_simplifyPath>
146 4621 aaronmk
        </path>
147 6403 aaronmk
    </_setDefault>
148 3641 aaronmk
</VegBIEN>
149 10565 aaronmk
Inserted 34 new rows into database