Project

General

Profile

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