Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <sourceaccessioncode>$PlotCD</sourceaccessioncode>
5
        <locationdetermination>
6
            <latitude>
7
                <_nullIf>
8
                    <null>0</null>
9
                    <type>float</type>
10
                    <value>$DecimalLatitude</value>
11
                </_nullIf>
12
            </latitude>
13
            <longitude>
14
                <_nullIf>
15
                    <null>0</null>
16
                    <type>float</type>
17
                    <value>$DecimalLongitude</value>
18
                </_nullIf>
19
            </longitude>
20
            <namedplace_id>
21
                <_simplifyPath>
22
                    <next>parent_id/namedplace</next>
23
                    <require>placename</require>
24
                    <path>
25
                        <namedplace>
26
                            <rank>county</rank>
27
                            <placename>$County</placename>
28
                            <parent_id>
29
                                <namedplace>
30
                                    <rank>stateProvince</rank>
31
                                    <placename>$StateProvince</placename>
32
                                </namedplace>
33
                            </parent_id>
34
                        </namedplace>
35
                    </path>
36
                </_simplifyPath>
37
            </namedplace_id>
38
        </locationdetermination>
39
        <locationevent>
40
            <taxonoccurrence>
41
                <aggregateoccurrence>
42
                    <collectiondate>
43
                        <_date>
44
                            <date>
45
                                <_date>
46
                                    <day>
47
                                        <_nullIf>
48
                                            <null>0</null>
49
                                            <type>float</type>
50
                                            <value>$MeasDay</value>
51
                                        </_nullIf>
52
                                    </day>
53
                                    <month>
54
                                        <_nullIf>
55
                                            <null>0</null>
56
                                            <type>float</type>
57
                                            <value>$MeasMon</value>
58
                                        </_nullIf>
59
                                    </month>
60
                                    <year>
61
                                        <_nullIf>
62
                                            <null>0</null>
63
                                            <type>float</type>
64
                                            <value>$MeasYear</value>
65
                                        </_nullIf>
66
                                    </year>
67
                                </_date>
68
                            </date>
69
                        </_date>
70
                    </collectiondate>
71
                    <plantobservation>
72
                        <stemobservation>
73
                            <basaldiameter>$BasalDiameter</basaldiameter>
74
                            <diameterbreastheight>$DBH</diameterbreastheight>
75
                            <height>$Height</height>
76
                            <stemtag>
77
                                <iscurrent>true</iscurrent>
78
                                <tag>$TreeTag</tag>
79
                            </stemtag>
80
                        </stemobservation>
81
                    </plantobservation>
82
                </aggregateoccurrence>
83
                <taxondetermination>
84
                    <plantconcept_id>
85
                        <plantconcept>
86
                            <plantname_id>
87
                                <_simplifyPath>
88
                                    <next>parent_id</next>
89
                                    <path>
90
                                        <plantname>
91
                                            <rank>binomial</rank>
92
                                            <parent_id>
93
                                                <plantname>
94
                                                    <rank>authority</rank>
95
                                                    <parent_id>
96
                                                        <plantname>
97
                                                            <rank>subspecies</rank>
98
                                                            <parent_id>
99
                                                                <plantname>
100
                                                                    <rank>species</rank>
101
                                                                    <plantname>$SpecificEpithet</plantname>
102
                                                                    <parent_id>
103
                                                                        <plantname>
104
                                                                            <rank>genus</rank>
105
                                                                            <plantname>$Genus</plantname>
106
                                                                        </plantname>
107
                                                                    </parent_id>
108
                                                                </plantname>
109
                                                            </parent_id>
110
                                                        </plantname>
111
                                                    </parent_id>
112
                                                </plantname>
113
                                            </parent_id>
114
                                        </plantname>
115
                                    </path>
116
                                </_simplifyPath>
117
                            </plantname_id>
118
                        </plantconcept>
119
                    </plantconcept_id>
120
                </taxondetermination>
121
            </taxonoccurrence>
122
        </locationevent>
123
    </location>
124
</VegBIEN>
125
Inserted 15 new rows into database
(7-7/7)