Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_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
                <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>$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_m>$dbh</diameterbreastheight_m>
36
                                    <stemtag>
37
                                        <iscurrent>true</iscurrent>
38
                                        <tag>$TreeNumber</tag>
39
                                    </stemtag>
40
                                    <xposition_m>$X_1haPlot</xposition_m>
41
                                    <yposition_m>$Y_1haPlot</yposition_m>
42
                                </stemobservation>
43
                            </plantobservation>
44
                        </aggregateoccurrence>
45
                        <taxondetermination>
46
                            <taxonpath_id>
47
                                <taxonpath>
48
                                    <family>$Family</family>
49
                                    <genus>$Genus</genus>
50
                                    <species>$SpecificEpithet</species>
51
                                </taxonpath>
52
                            </taxonpath_id>
53
                        </taxondetermination>
54
                        <verbatimcollectorname>$Collectors</verbatimcollectorname>
55
                    </taxonoccurrence>
56
                </locationevent>
57
            </location>
58
        </path>
59
    </_simplifyPath>
60
</VegBIEN>
61
Inserted 17 new rows into database
(5-5/6)