Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>CTFS.new</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>$locationName</authorlocationcode>
11
                        <area_m2><_ha_to_m2><value>$plotArea_ha</value></_ha_to_m2></area_m2>
12
                        <elevation_m>$elevationInMeters</elevation_m>
13
                        <locationevent>
14
                            <authoreventcode>$authorEventCode</authoreventcode>
15
                            <locationevent fkey="parent_id">
16
                                <taxonoccurrence>
17
                                    <aggregateoccurrence>
18
                                        <count>$individualCount</count>
19
                                        <plantobservation>
20
                                            <specimenreplicate><sourceaccessioncode>$occurrenceID</sourceaccessioncode></specimenreplicate>
21
                                            <stemobservation><diameterbreastheight_m><_cm_to_m><value>$diameterBreastHeight_cm</value></_cm_to_m></diameterbreastheight_m></stemobservation>
22
                                        </plantobservation>
23
                                    </aggregateoccurrence>
24
                                    <growthform>$growthForm</growthform>
25
                                    <sourceaccessioncode>$occurrenceID</sourceaccessioncode>
26
                                    <taxondetermination>
27
                                        <taxonverbatim_id>
28
                                            <taxonverbatim>
29
                                                <taxonlabel_id>
30
                                                    <taxonlabel>
31
                                                        <parent_id>
32
                                                            <taxonlabel>
33
                                                                <parent_id>
34
                                                                    <taxonlabel>
35
                                                                        <rank>cultivar</rank>
36
                                                                        <parent_id>
37
                                                                            <taxonlabel>
38
                                                                                <rank>forma</rank>
39
                                                                                <parent_id>
40
                                                                                    <taxonlabel>
41
                                                                                        <rank>variety</rank>
42
                                                                                        <parent_id>
43
                                                                                            <taxonlabel>
44
                                                                                                <rank>subspecies</rank>
45
                                                                                                <taxonepithet>$subspecies</taxonepithet>
46
                                                                                                <parent_id>
47
                                                                                                    <taxonlabel>
48
                                                                                                        <rank>species</rank>
49
                                                                                                        <taxonepithet>$specificEpithet</taxonepithet>
50
                                                                                                        <parent_id>
51
                                                                                                            <taxonlabel>
52
                                                                                                                <rank>genus</rank>
53
                                                                                                                <taxonepithet>$genus</taxonepithet>
54
                                                                                                            </taxonlabel>
55
                                                                                                        </parent_id>
56
                                                                                                    </taxonlabel>
57
                                                                                                </parent_id>
58
                                                                                            </taxonlabel>
59
                                                                                        </parent_id>
60
                                                                                    </taxonlabel>
61
                                                                                </parent_id>
62
                                                                            </taxonlabel>
63
                                                                        </parent_id>
64
                                                                    </taxonlabel>
65
                                                                </parent_id>
66
                                                            </taxonlabel>
67
                                                        </parent_id>
68
                                                        <taxonomicname>
69
                                                            <_join_words>
70
                                                                <2><_filter_genus><value>$genus</value></_filter_genus></2>
71
                                                                <3>$specificEpithet</3>
72
                                                                <4>$subspecies</4>
73
                                                            </_join_words>
74
                                                        </taxonomicname>
75
                                                    </taxonlabel>
76
                                                </taxonlabel_id>
77
                                                <genus>$genus</genus>
78
                                                <specific_epithet>$specificEpithet</specific_epithet>
79
                                            </taxonverbatim>
80
                                        </taxonverbatim_id>
81
                                    </taxondetermination>
82
                                </taxonoccurrence>
83
                            </locationevent>
84
                            <obsenddate>$endDate</obsenddate>
85
                            <obsstartdate>$startDate</obsstartdate>
86
                        </locationevent>
87
                        <locationplace>
88
                            <place_id>
89
                                <place>
90
                                    <coordinates_id>
91
                                        <coordinates>
92
                                            <footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
93
                                            <latitude_deg>
94
                                                <_nullIf>
95
                                                    <null>0</null>
96
                                                    <type>float</type>
97
                                                    <value>$decimalLatitude</value>
98
                                                </_nullIf>
99
                                            </latitude_deg>
100
                                            <longitude_deg>
101
                                                <_nullIf>
102
                                                    <null>0</null>
103
                                                    <type>float</type>
104
                                                    <value>$decimalLongitude</value>
105
                                                </_nullIf>
106
                                            </longitude_deg>
107
                                        </coordinates>
108
                                    </coordinates_id>
109
                                    <country>$country</country>
110
                                    <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
                                                            <value>$decimalLatitude</value>
121
                                                        </_nullIf>
122
                                                    </latitude_deg>
123
                                                    <longitude_deg>
124
                                                        <_nullIf>
125
                                                            <null>0</null>
126
                                                            <type>float</type>
127
                                                            <value>$decimalLongitude</value>
128
                                                        </_nullIf>
129
                                                    </longitude_deg>
130
                                                </coordinates>
131
                                            </coordinates_id>
132
                                            <country>$country</country>
133
                                            <stateprovince>$stateProvince</stateprovince>
134
                                        </place>
135
                                    </matched_place_id>
136
                                    <stateprovince>$stateProvince</stateprovince>
137
                                </place>
138
                            </place_id>
139
                        </locationplace>
140
                    </location>
141
                </path>
142
            </_simplifyPath>
143
        </path>
144
    </_setDefault>
145
</VegBIEN>
146
Inserted 29 new rows into database
(8-8/9)