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