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
|
<obsenddate>$endDate</obsenddate>
|
16
|
<obsstartdate>$startDate</obsstartdate>
|
17
|
<taxonoccurrence>
|
18
|
<aggregateoccurrence>
|
19
|
<count>$individualCount</count>
|
20
|
<plantobservation>
|
21
|
<specimenreplicate><sourceaccessioncode>$occurrenceID</sourceaccessioncode></specimenreplicate>
|
22
|
<stemobservation><diameterbreastheight_m><_cm_to_m><value>$diameterBreastHeight_cm</value></_cm_to_m></diameterbreastheight_m></stemobservation>
|
23
|
</plantobservation>
|
24
|
</aggregateoccurrence>
|
25
|
<growthform>$growthForm</growthform>
|
26
|
<sourceaccessioncode>$occurrenceID</sourceaccessioncode>
|
27
|
<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
|
<taxonepithet>$specificEpithet</taxonepithet>
|
51
|
<parent_id>
|
52
|
<taxonlabel>
|
53
|
<rank>genus</rank>
|
54
|
<taxonepithet>$genus</taxonepithet>
|
55
|
</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
|
<2><_filter_genus><value>$genus</value></_filter_genus></2>
|
72
|
<3>$specificEpithet</3>
|
73
|
<4>$subspecies</4>
|
74
|
</_join_words>
|
75
|
</taxonomicname>
|
76
|
</taxonlabel>
|
77
|
</taxonlabel_id>
|
78
|
<genus>$genus</genus>
|
79
|
<specific_epithet>$specificEpithet</specific_epithet>
|
80
|
</taxonverbatim>
|
81
|
</taxonverbatim_id>
|
82
|
</taxondetermination>
|
83
|
</taxonoccurrence>
|
84
|
</locationevent>
|
85
|
<locationplace>
|
86
|
<place_id>
|
87
|
<place>
|
88
|
<coordinates_id>
|
89
|
<coordinates>
|
90
|
<footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
|
91
|
<latitude_deg>
|
92
|
<_nullIf>
|
93
|
<null>0</null>
|
94
|
<type>float</type>
|
95
|
<value>$decimalLatitude</value>
|
96
|
</_nullIf>
|
97
|
</latitude_deg>
|
98
|
<longitude_deg>
|
99
|
<_nullIf>
|
100
|
<null>0</null>
|
101
|
<type>float</type>
|
102
|
<value>$decimalLongitude</value>
|
103
|
</_nullIf>
|
104
|
</longitude_deg>
|
105
|
</coordinates>
|
106
|
</coordinates_id>
|
107
|
<country>$country</country>
|
108
|
<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
|
<value>$decimalLatitude</value>
|
119
|
</_nullIf>
|
120
|
</latitude_deg>
|
121
|
<longitude_deg>
|
122
|
<_nullIf>
|
123
|
<null>0</null>
|
124
|
<type>float</type>
|
125
|
<value>$decimalLongitude</value>
|
126
|
</_nullIf>
|
127
|
</longitude_deg>
|
128
|
</coordinates>
|
129
|
</coordinates_id>
|
130
|
<country>$country</country>
|
131
|
<stateprovince>$stateProvince</stateprovince>
|
132
|
</place>
|
133
|
</matched_place_id>
|
134
|
<stateprovince>$stateProvince</stateprovince>
|
135
|
</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
|