Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <authorlocationcode>$authorplotcode</authorlocationcode>
5
        <sourceaccessioncode>$plot_id</sourceaccessioncode>
6
        <area>$area</area>
7
        <elevation>
8
            <_replace>
9
                <\bca\.?></\bca\.?>
10
                <value>$elevation</value>
11
            </_replace>
12
        </elevation>
13
        <landform>$landform</landform>
14
        <locationdetermination>
15
            <coordsaccuracy><_noCV><value>$locationaccuracy</value></_noCV></coordsaccuracy>
16
            <footprintgeometry_dwc>$shape</footprintgeometry_dwc>
17
            <latitude>
18
                <_nullIf>
19
                    <null>0</null>
20
                    <type>float</type>
21
                    <value>$latitude</value>
22
                </_nullIf>
23
            </latitude>
24
            <longitude>
25
                <_nullIf>
26
                    <null>0</null>
27
                    <type>float</type>
28
                    <value>$longitude</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>
43
                                        <_alt>
44
                                            <0>$region|state|province</0>
45
                                            <1>$stateprovince</1>
46
                                        </_alt>
47
                                    </placename>
48
                                    <parent_id>
49
                                        <namedplace>
50
                                            <rank>country</rank>
51
                                            <placename>
52
                                                <_alt>
53
                                                    <0>$area|country|territory</0>
54
                                                    <1>$country</1>
55
                                                </_alt>
56
                                            </placename>
57
                                            <parent_id>
58
                                                <namedplace>
59
                                                    <rank>continent</rank>
60
                                                    <placename>$continent</placename>
61
                                                </namedplace>
62
                                            </parent_id>
63
                                        </namedplace>
64
                                    </parent_id>
65
                                </namedplace>
66
                            </parent_id>
67
                        </namedplace>
68
                    </path>
69
                </_simplifyPath>
70
            </namedplace_id>
71
        </locationdetermination>
72
        <locationnarrative>$locationnarrative</locationnarrative>
73
        <slopeaspect>
74
            <_alt>
75
                <1><_compass><value>$slopeaspect</value></_compass></1>
76
                <2>
77
                    <_avg>
78
                        <max>$maxslopeaspect</max>
79
                        <min>$minslopeaspect</min>
80
                    </_avg>
81
                </2>
82
            </_alt>
83
        </slopeaspect>
84
        <slopegradient>
85
            <_alt>
86
                <1>$slopegradient</1>
87
                <2>
88
                    <_avg>
89
                        <max>$maxslopegradient</max>
90
                        <min>$minslopegradient</min>
91
                    </_avg>
92
                </2>
93
            </_alt>
94
        </slopegradient>
95
    </location>
96
</VegBIEN>
97
Inserted 7 new rows into database
(10-10/11)