Project

General

Profile

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