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 10569 aaronmk
                                <1>$occurrenceID</1>
13 6403 aaronmk
                                <2>
14
                                    <_join>
15 10569 aaronmk
                                        <1>$specimenHolderInstitutions</1>
16
                                        <2>$collectionURL</2>
17
                                        <3>$accessionNumber</3>
18 6403 aaronmk
                                    </_join>
19
                                </2>
20
                            </_alt>
21
                        </authorlocationcode>
22 10569 aaronmk
                        <iscultivated><_locationnarrative_is_cultivated><locationnarrative>$verbatimLocality</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
                                                <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 6403 aaronmk
                        </locationevent>
80 10569 aaronmk
                        <locationnarrative>$verbatimLocality</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