1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_simplifyPath id="-1">
|
4
|
<next>parent_id</next>
|
5
|
<path>
|
6
|
<location>
|
7
|
<parent_id><location><authorlocationcode>$1ha Plot Number</authorlocationcode></location></parent_id>
|
8
|
<authorlocationcode>$Subplot Number</authorlocationcode>
|
9
|
<locationcoords>
|
10
|
<latitude_deg>
|
11
|
<_nullIf>
|
12
|
<null>0</null>
|
13
|
<type>float</type>
|
14
|
<value>$Latitude</value>
|
15
|
</_nullIf>
|
16
|
</latitude_deg>
|
17
|
<longitude_deg>
|
18
|
<_nullIf>
|
19
|
<null>0</null>
|
20
|
<type>float</type>
|
21
|
<value>$Longitude</value>
|
22
|
</_nullIf>
|
23
|
</longitude_deg>
|
24
|
</locationcoords>
|
25
|
<locationevent>
|
26
|
<method_id><method><name>$Spatial Method</name></method></method_id>
|
27
|
<project_id><project><projectname>$Site Name</projectname></project></project_id>
|
28
|
<obsenddate><_date><date><_dateRangeEnd><value>$Observation Date</value></_dateRangeEnd></date></_date></obsenddate>
|
29
|
<obsstartdate><_date><date><_dateRangeStart><value>$Observation Date</value></_dateRangeStart></date></_date></obsstartdate>
|
30
|
<taxonoccurrence>
|
31
|
<aggregateoccurrence>
|
32
|
<plantobservation>
|
33
|
<specimenreplicate><sourceaccessioncode>$Id</sourceaccessioncode></specimenreplicate>
|
34
|
<stemobservation>
|
35
|
<diameterbreastheight_m><_cm_to_m><value>$Diameter</value></_cm_to_m></diameterbreastheight_m>
|
36
|
<tag>$Tree Number</tag>
|
37
|
<xposition_m>$1ha Plot X Coordinate</xposition_m>
|
38
|
<yposition_m>$1ha Plot Y Coordinate</yposition_m>
|
39
|
</stemobservation>
|
40
|
</plantobservation>
|
41
|
</aggregateoccurrence>
|
42
|
<authortaxoncode>$Tree Number</authortaxoncode>
|
43
|
<sourceaccessioncode>$Id</sourceaccessioncode>
|
44
|
<taxondetermination>
|
45
|
<taxonpath_id>
|
46
|
<taxonpath>
|
47
|
<family>$Family</family>
|
48
|
<genus>$Genus</genus>
|
49
|
<species>$Species</species>
|
50
|
<taxonomicnamewithauthor>
|
51
|
<_join_words>
|
52
|
<1>$Family</1>
|
53
|
<2>$Genus</2>
|
54
|
<3>$Species</3>
|
55
|
</_join_words>
|
56
|
</taxonomicnamewithauthor>
|
57
|
</taxonpath>
|
58
|
</taxonpath_id>
|
59
|
</taxondetermination>
|
60
|
<verbatimcollectorname>$Names of Collectors</verbatimcollectorname>
|
61
|
</taxonoccurrence>
|
62
|
</locationevent>
|
63
|
</location>
|
64
|
</path>
|
65
|
</_simplifyPath>
|
66
|
</VegBIEN>
|
67
|
Inserted 20 new rows into database
|