Project

General

Profile

1 4530 aaronmk
Put template:
2
<VegBIEN>
3 4621 aaronmk
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <parent_id><location><authorlocationcode>$1haPlotCode</authorlocationcode></location></parent_id>
8
                <authorlocationcode>$Subplot</authorlocationcode>
9 4726 aaronmk
                <locationcoords>
10 4621 aaronmk
                    <latitude>
11
                        <_nullIf>
12
                            <null>0</null>
13
                            <type>float</type>
14
                            <value>$Latitude</value>
15
                        </_nullIf>
16
                    </latitude>
17
                    <longitude>
18
                        <_nullIf>
19
                            <null>0</null>
20
                            <type>float</type>
21
                            <value>$Longitude</value>
22
                        </_nullIf>
23
                    </longitude>
24 4726 aaronmk
                </locationcoords>
25 4621 aaronmk
                <locationevent>
26
                    <method_id><method><name>$Method</name></method></method_id>
27
                    <project_id><project><projectname>$SiteName</projectname></project></project_id>
28
                    <obsenddate><_date><date><_dateRangeEnd><value>$ObservationDate</value></_dateRangeEnd></date></_date></obsenddate>
29
                    <obsstartdate><_date><date><_dateRangeStart><value>$ObservationDate</value></_dateRangeStart></date></_date></obsstartdate>
30
                    <taxonoccurrence>
31
                        <aggregateoccurrence>
32
                            <plantobservation>
33
                                <specimenreplicate><sourceaccessioncode>$ID</sourceaccessioncode></specimenreplicate>
34
                                <stemobservation>
35
                                    <diameterbreastheight>$dbh</diameterbreastheight>
36
                                    <stemtag>
37
                                        <iscurrent>true</iscurrent>
38
                                        <tag>$TreeNumber</tag>
39
                                    </stemtag>
40
                                    <xposition>$X_1haPlot</xposition>
41
                                    <yposition>$Y_1haPlot</yposition>
42
                                </stemobservation>
43
                            </plantobservation>
44
                        </aggregateoccurrence>
45
                        <taxondetermination>
46 4718 aaronmk
                            <taxonpath_id>
47
                                <taxonpath>
48 4703 aaronmk
                                    <family>$Family</family>
49
                                    <genus>$Genus</genus>
50
                                    <species>$SpecificEpithet</species>
51 4718 aaronmk
                                </taxonpath>
52
                            </taxonpath_id>
53 4621 aaronmk
                        </taxondetermination>
54
                        <verbatimcollectorname>$Collectors</verbatimcollectorname>
55
                    </taxonoccurrence>
56
                </locationevent>
57
            </location>
58
        </path>
59
    </_simplifyPath>
60 4530 aaronmk
</VegBIEN>
61 4726 aaronmk
Inserted 17 new rows into database