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>$InstitutionCD</1>
10
                        <2>$CollectionCD</2>
11
                        <3>$CatalogNO</3>
12
                    </_join>
13
                </authorlocationcode>
14
                <elevation_m>
15
                    <_avg>
16
                        <max>$MaximumElevationInMeter</max>
17
                        <min><_rangeStart><value>$MinimumElevationInMeter</value></_rangeStart></min>
18
                    </_avg>
19
                </elevation_m>
20
                <elevationrange_m>
21
                    <_range>
22
                        <from><_rangeStart><value>$MinimumElevationInMeter</value></_rangeStart></from>
23
                        <to>
24
                            <_alt>
25
                                <1>$MaximumElevationInMeter</1>
26
                                <2><_rangeEnd><value>$MinimumElevationInMeter</value></_rangeEnd></2>
27
                            </_alt>
28
                        </to>
29
                    </_range>
30
                </elevationrange_m>
31
                <locationcoords>
32
                    <latitude_deg>
33
                        <_alt>
34
                            <1>
35
                                <_nullIf>
36
                                    <null>0</null>
37
                                    <type>float</type>
38
                                    <value>$DecimalLatitude</value>
39
                                </_nullIf>
40
                            </1>
41
                            <2>
42
                                <_nullIf>
43
                                    <null>0</null>
44
                                    <type>float</type>
45
                                    <value>$VerbatimLatitude</value>
46
                                </_nullIf>
47
                            </2>
48
                        </_alt>
49
                    </latitude_deg>
50
                    <longitude_deg>
51
                        <_alt>
52
                            <1>
53
                                <_nullIf>
54
                                    <null>0</null>
55
                                    <type>float</type>
56
                                    <value>$DecimalLongitude</value>
57
                                </_nullIf>
58
                            </1>
59
                            <2>
60
                                <_nullIf>
61
                                    <null>0</null>
62
                                    <type>float</type>
63
                                    <value>$VerbatimLongitude</value>
64
                                </_nullIf>
65
                            </2>
66
                        </_alt>
67
                    </longitude_deg>
68
                </locationcoords>
69
                <locationevent>
70
                    <taxonoccurrence>
71
                        <aggregateoccurrence>
72
                            <collectiondate><_date><date>$LatestDateCollected</date></_date></collectiondate>
73
                            <plantobservation>
74
                                <specimenreplicate>
75
                                    <catalognumber_dwc>$CatalogNO</catalognumber_dwc>
76
                                    <collectioncode_dwc>$CollectionCD</collectioncode_dwc>
77
                                    <institution_id><party><organizationname>$InstitutionCD</organizationname></party></institution_id>
78
                                </specimenreplicate>
79
                            </plantobservation>
80
                        </aggregateoccurrence>
81
                        <authortaxoncode>
82
                            <_alt>
83
                                <1>$ScientificNameOriginal</1>
84
                                <3>$ScientificName</3>
85
                            </_alt>
86
                        </authortaxoncode>
87
                        <taxondetermination>
88
                            <party_id>
89
                                <party>
90
                                    <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
91
                                    <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
92
                                    <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
93
                                </party>
94
                            </party_id>
95
                            <taxonpath_id>
96
                                <taxonpath>
97
                                    <family>$Family</family>
98
                                    <genus>$Genus</genus>
99
                                    <scientificname>$ScientificName</scientificname>
100
                                    <scientificnameauthor>$AuthorOfScientificName</scientificnameauthor>
101
                                    <species>$SpecificEpithet</species>
102
                                    <subspecies>$InfraspecificEpithet</subspecies>
103
                                </taxonpath>
104
                            </taxonpath_id>
105
                        </taxondetermination>
106
                        <taxondetermination>
107
                            <isoriginal>true</isoriginal>
108
                            <taxonpath_id>
109
                                <taxonpath>
110
                                    <family>$GBIFFamilyOriginal</family>
111
                                    <genus>$GBIFGenusOriginal</genus>
112
                                    <scientificname>$ScientificNameOriginal</scientificname>
113
                                </taxonpath>
114
                            </taxonpath_id>
115
                        </taxondetermination>
116
                        <verbatimcollectorname>$Collector</verbatimcollectorname>
117
                    </taxonoccurrence>
118
                </locationevent>
119
                <locationnarrative>$Locality</locationnarrative>
120
                <locationplace>
121
                    <placepath_id>
122
                        <placepath>
123
                            <country>$Country</country>
124
                            <county>$County</county>
125
                            <stateprovince>$StateProvince</stateprovince>
126
                        </placepath>
127
                    </placepath_id>
128
                </locationplace>
129
            </location>
130
        </path>
131
    </_simplifyPath>
132
</VegBIEN>
133
Inserted 29 new rows into database
(6-6/7)