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