Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>
8
                    <_join>
9
                        <1>$InstitutionCode</1>
10
                        <2>$CollectionCode</2>
11
                        <3>$CatalogNumber</3>
12
                    </_join>
13
                </authorlocationcode>
14
                <elevation_m>
15
                    <_avg>
16
                        <max>$MaximumElevation</max>
17
                        <min><_rangeStart><value>$MinimumElevation</value></_rangeStart></min>
18
                    </_avg>
19
                </elevation_m>
20
                <elevationrange_m>
21
                    <_range>
22
                        <from><_rangeStart><value>$MinimumElevation</value></_rangeStart></from>
23
                        <to>
24
                            <_alt>
25
                                <1>$MaximumElevation</1>
26
                                <2><_rangeEnd><value>$MinimumElevation</value></_rangeEnd></2>
27
                            </_alt>
28
                        </to>
29
                    </_range>
30
                </elevationrange_m>
31
                <locationcoords>
32
                    <latitude_deg>
33
                        <_nullIf>
34
                            <null>0</null>
35
                            <type>float</type>
36
                            <value>$latitude</value>
37
                        </_nullIf>
38
                    </latitude_deg>
39
                    <longitude_deg>
40
                        <_nullIf>
41
                            <null>0</null>
42
                            <type>float</type>
43
                            <value>$longitude</value>
44
                        </_nullIf>
45
                    </longitude_deg>
46
                </locationcoords>
47
                <locationevent>
48
                    <taxonoccurrence>
49
                        <aggregateoccurrence>
50
                            <collectiondate>
51
                                <_date>
52
                                    <day>
53
                                        <_nullIf>
54
                                            <null>0</null>
55
                                            <type>float</type>
56
                                            <value>$DayCollected</value>
57
                                        </_nullIf>
58
                                    </day>
59
                                    <month>
60
                                        <_nullIf>
61
                                            <null>0</null>
62
                                            <type>float</type>
63
                                            <value>$MonthCollected</value>
64
                                        </_nullIf>
65
                                    </month>
66
                                    <year>
67
                                        <_nullIf>
68
                                            <null>0</null>
69
                                            <type>float</type>
70
                                            <value>$YearCollected</value>
71
                                        </_nullIf>
72
                                    </year>
73
                                </_date>
74
                            </collectiondate>
75
                            <count>$IndividualCount</count>
76
                            <notes>
77
                                <_alt>
78
                                    <0>$convertednotes</0>
79
                                    <1>$notes</1>
80
                                </_alt>
81
                            </notes>
82
                            <plantobservation>
83
                                <collectionnumber>$CollectorNumber</collectionnumber>
84
                                <specimenreplicate>
85
                                    <catalognumber_dwc>$CatalogNumber</catalognumber_dwc>
86
                                    <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
87
                                    <institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
88
                                </specimenreplicate>
89
                            </plantobservation>
90
                        </aggregateoccurrence>
91
                        <authortaxoncode>
92
                            <_alt>
93
                                <1>$CollectorNumber</1>
94
                                <2>$ScientificName</2>
95
                            </_alt>
96
                        </authortaxoncode>
97
                        <taxondetermination>
98
                            <party_id>
99
                                <party>
100
                                    <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
101
                                    <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
102
                                    <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
103
                                </party>
104
                            </party_id>
105
                            <taxonpath_id>
106
                                <taxonpath>
107
                                    <family>$family</family>
108
                                    <genus>$genus</genus>
109
                                    <kingdom>$Kingdom</kingdom>
110
                                    <scientificname>$ScientificName</scientificname>
111
                                    <scientificnameauthor>$ScientificNameAuthor</scientificnameauthor>
112
                                    <species>$species</species>
113
                                    <subspecies>$Subspecies</subspecies>
114
                                </taxonpath>
115
                            </taxonpath_id>
116
                        </taxondetermination>
117
                        <verbatimcollectorname>$Collector</verbatimcollectorname>
118
                    </taxonoccurrence>
119
                </locationevent>
120
                <locationnarrative>$Locality</locationnarrative>
121
                <locationplace>
122
                    <placepath_id>
123
                        <placepath>
124
                            <continent>$ContinentOcean</continent>
125
                            <country>$Country</country>
126
                            <county>$County</county>
127
                            <stateprovince>$StateProvince</stateprovince>
128
                        </placepath>
129
                    </placepath_id>
130
                </locationplace>
131
            </location>
132
        </path>
133
    </_simplifyPath>
134
</VegBIEN>
135
Inserted 24 new rows into database
(5-5/5)