Project

General

Profile

1 4514 aaronmk
Put template:
2
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4
        <col>source_id</col>
5
        <value><source><shortname>VegBank</shortname></source></value>
6 4621 aaronmk
        <path>
7 6403 aaronmk
            <_simplifyPath>
8
                <next>parent_id</next>
9
                <path>
10
                    <location>
11
                        <authorlocationcode>$authorplotcode</authorlocationcode>
12
                        <sourceaccessioncode>$plot_id</sourceaccessioncode>
13
                        <accesslevel>
14
                            <_map>
15
                                <0>public</0>
16
                                <1>public</1>
17
                                <2>public</2>
18
                                <3>public</3>
19
                                <4>public</4>
20
                                <5>data by request</5>
21
                                <6>private</6>
22
                                <value>$confidentialitystatus</value>
23
                            </_map>
24
                        </accesslevel>
25
                        <area_m2>$area</area_m2>
26
                        <elevation_m>$elevation</elevation_m>
27
                        <landform>$landform</landform>
28
                        <locationnarrative>$locationnarrative</locationnarrative>
29
                        <locationplace>
30
                            <place_id>
31 5958 aaronmk
                                <place>
32
                                    <coordinates_id>
33
                                        <coordinates>
34 6403 aaronmk
                                            <coordsaccuracy_m><_noCV><value>$locationaccuracy</value></_noCV></coordsaccuracy_m>
35
                                            <footprintgeometry_dwc>$shape</footprintgeometry_dwc>
36 5969 aaronmk
                                            <latitude_deg>
37
                                                <_nullIf>
38
                                                    <null>0</null>
39
                                                    <type>float</type>
40
                                                    <value>$latitude</value>
41
                                                </_nullIf>
42
                                            </latitude_deg>
43
                                            <longitude_deg>
44
                                                <_nullIf>
45
                                                    <null>0</null>
46
                                                    <type>float</type>
47
                                                    <value>$longitude</value>
48
                                                </_nullIf>
49
                                            </longitude_deg>
50 5958 aaronmk
                                        </coordinates>
51
                                    </coordinates_id>
52 6403 aaronmk
                                    <continent>$continent</continent>
53 5958 aaronmk
                                    <country>
54
                                        <_alt>
55
                                            <0>$area|country|territory</0>
56
                                            <1>$country</1>
57
                                        </_alt>
58
                                    </country>
59 6294 aaronmk
                                    <county>$county</county>
60 6403 aaronmk
                                    <matched_place_id>
61
                                        <place>
62
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
63
                                            <coordinates_id>
64
                                                <coordinates>
65
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
66
                                                    <latitude_deg>
67
                                                        <_nullIf>
68
                                                            <null>0</null>
69
                                                            <type>float</type>
70
                                                            <value>$latitude</value>
71
                                                        </_nullIf>
72
                                                    </latitude_deg>
73
                                                    <longitude_deg>
74
                                                        <_nullIf>
75
                                                            <null>0</null>
76
                                                            <type>float</type>
77
                                                            <value>$longitude</value>
78
                                                        </_nullIf>
79
                                                    </longitude_deg>
80
                                                </coordinates>
81
                                            </coordinates_id>
82
                                            <country>
83
                                                <_alt>
84
                                                    <0>$area|country|territory</0>
85
                                                    <1>$country</1>
86
                                                </_alt>
87
                                            </country>
88
                                            <county>$county</county>
89
                                            <stateprovince>
90
                                                <_alt>
91
                                                    <0>$region|state|province</0>
92
                                                    <1>$stateprovince</1>
93
                                                </_alt>
94
                                            </stateprovince>
95
                                        </place>
96
                                    </matched_place_id>
97 5958 aaronmk
                                    <stateprovince>
98
                                        <_alt>
99
                                            <0>$region|state|province</0>
100
                                            <1>$stateprovince</1>
101
                                        </_alt>
102
                                    </stateprovince>
103
                                </place>
104 6403 aaronmk
                            </place_id>
105
                        </locationplace>
106
                        <parent_id><location><sourceaccessioncode>$parent_id</sourceaccessioncode></location></parent_id>
107
                        <slopeaspect_deg>
108
                            <_alt>
109
                                <1><_compass><value>$slopeaspect</value></_compass></1>
110
                                <2>
111
                                    <_avg>
112
                                        <max>$maxslopeaspect</max>
113
                                        <min>$minslopeaspect</min>
114
                                    </_avg>
115
                                </2>
116
                            </_alt>
117
                        </slopeaspect_deg>
118
                        <slopegradient_fraction>
119
                            <_alt>
120
                                <1>$slopegradient</1>
121
                                <2>
122
                                    <_avg>
123
                                        <max>$maxslopegradient</max>
124
                                        <min>$minslopegradient</min>
125
                                    </_avg>
126
                                </2>
127
                            </_alt>
128
                        </slopegradient_fraction>
129
                    </location>
130
                </path>
131
            </_simplifyPath>
132 4621 aaronmk
        </path>
133 6403 aaronmk
    </_setDefault>
134 4514 aaronmk
</VegBIEN>
135 6123 aaronmk
Inserted 12 new rows into database