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
|
<canon_taxonpath_id>
|
48
|
<taxonpath>
|
49
|
<datasource_id><party><organizationname>TNRS</organizationname></party></datasource_id>
|
50
|
<identifyingtaxonomicname>
|
51
|
<_join_words>
|
52
|
<1>$Family</1>
|
53
|
<2>$Genus</2>
|
54
|
<3>$Species</3>
|
55
|
</_join_words>
|
56
|
</identifyingtaxonomicname>
|
57
|
</taxonpath>
|
58
|
</canon_taxonpath_id>
|
59
|
<family>$Family</family>
|
60
|
<genus>$Genus</genus>
|
61
|
<species>$Species</species>
|
62
|
</taxonpath>
|
63
|
</taxonpath_id>
|
64
|
</taxondetermination>
|
65
|
<verbatimcollectorname>$Names of Collectors</verbatimcollectorname>
|
66
|
</taxonoccurrence>
|
67
|
</locationevent>
|
68
|
</location>
|
69
|
</path>
|
70
|
</_simplifyPath>
|
71
|
</VegBIEN>
|
72
|
Inserted 23 new rows into database
|