Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <authorlocationcode>$authorObsCode</authorlocationcode>
5
        <locationdetermination>
6
            <coordsaccuracy><_noCV><value>$locationAccuracy-m</value></_noCV></coordsaccuracy>
7
            <latitude>
8
                <_nullIf>
9
                    <null>0</null>
10
                    <type>float</type>
11
                    <value>
12
                        <_alt>
13
                            <1>$realLatitude</1>
14
                            <2>$publicLatitude</2>
15
                        </_alt>
16
                    </value>
17
                </_nullIf>
18
            </latitude>
19
            <longitude>
20
                <_nullIf>
21
                    <null>0</null>
22
                    <type>float</type>
23
                    <value>
24
                        <_alt>
25
                            <1>$realLongitude</1>
26
                            <2>$publicLongitude</2>
27
                        </_alt>
28
                    </value>
29
                </_nullIf>
30
            </longitude>
31
            <namedplace_id>
32
                <_simplifyPath>
33
                    <next>parent_id/namedplace</next>
34
                    <require>placename</require>
35
                    <path>
36
                        <namedplace>
37
                            <rank>county</rank>
38
                            <placename>$county</placename>
39
                            <parent_id>
40
                                <namedplace>
41
                                    <rank>stateProvince</rank>
42
                                    <placename>$state</placename>
43
                                </namedplace>
44
                            </parent_id>
45
                        </namedplace>
46
                    </path>
47
                </_simplifyPath>
48
            </namedplace_id>
49
        </locationdetermination>
50
        <locationevent>
51
            <authoreventcode>$authorObsCode</authoreventcode>
52
            <obsstartdate><_date><date><_dateRangeStart><value>$obsStartDate</value></_dateRangeStart></date></_date></obsstartdate>
53
            <taxonoccurrence>
54
                <aggregateoccurrence><cover>$%cover</cover></aggregateoccurrence>
55
                <authortaxoncode>$currentTaxonName sec Weakley 2006</authortaxoncode>
56
                <taxondetermination>
57
                    <plantconcept_id>
58
                        <plantconcept>
59
                            <plantname_id>
60
                                <_simplifyPath>
61
                                    <next>parent_id</next>
62
                                    <path>
63
                                        <plantname>
64
                                            <rank>binomial</rank>
65
                                            <plantname>$currentTaxonName sec Weakley 2006</plantname>
66
                                        </plantname>
67
                                    </path>
68
                                </_simplifyPath>
69
                            </plantname_id>
70
                        </plantconcept>
71
                    </plantconcept_id>
72
                </taxondetermination>
73
            </taxonoccurrence>
74
        </locationevent>
75
    </location>
76
</VegBIEN>
77
Inserted 16 new rows into database
(7-7/7)