Project

General

Profile

1 4276 aaronmk
Put template:
2
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 6406 aaronmk
        <source_id><source><shortname>CTFS</shortname></source></source_id>
5 4621 aaronmk
        <path>
6 6403 aaronmk
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>$PlotName</authorlocationcode>
11
                        <sourceaccessioncode>$PlotID</sourceaccessioncode>
12
                        <area_m2><_ha_to_m2><value>$SizeOfSite</value></_ha_to_m2></area_m2>
13
                        <elevation_m>$Elevation</elevation_m>
14
                        <locationnarrative>
15
                            <_alt>
16
                                <0>$DescriptionOfSite</0>
17
                                <1>$LocationName</1>
18
                            </_alt>
19
                        </locationnarrative>
20
                        <locationplace>
21
                            <place_id>
22 5958 aaronmk
                                <place>
23
                                    <coordinates_id>
24
                                        <coordinates>
25 6403 aaronmk
                                            <footprintgeometry_dwc>$ShapeOfSite</footprintgeometry_dwc>
26 5969 aaronmk
                                            <latitude_deg>
27
                                                <_nullIf>
28
                                                    <null>0</null>
29
                                                    <type>float</type>
30
                                                    <value>$Latitude</value>
31
                                                </_nullIf>
32
                                            </latitude_deg>
33
                                            <longitude_deg>
34
                                                <_nullIf>
35
                                                    <null>0</null>
36
                                                    <type>float</type>
37
                                                    <value>$Longitude</value>
38
                                                </_nullIf>
39
                                            </longitude_deg>
40 5958 aaronmk
                                        </coordinates>
41
                                    </coordinates_id>
42
                                    <country>$CountryName</country>
43 6403 aaronmk
                                    <matched_place_id>
44
                                        <place>
45
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
46
                                            <coordinates_id>
47
                                                <coordinates>
48
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
49
                                                    <latitude_deg>
50
                                                        <_nullIf>
51
                                                            <null>0</null>
52
                                                            <type>float</type>
53
                                                            <value>$Latitude</value>
54
                                                        </_nullIf>
55
                                                    </latitude_deg>
56
                                                    <longitude_deg>
57
                                                        <_nullIf>
58
                                                            <null>0</null>
59
                                                            <type>float</type>
60
                                                            <value>$Longitude</value>
61
                                                        </_nullIf>
62
                                                    </longitude_deg>
63
                                                </coordinates>
64
                                            </coordinates_id>
65
                                            <country>$CountryName</country>
66
                                        </place>
67
                                    </matched_place_id>
68 5958 aaronmk
                                </place>
69 6403 aaronmk
                            </place_id>
70
                        </locationplace>
71
                    </location>
72
                </path>
73
            </_simplifyPath>
74 4621 aaronmk
        </path>
75 6403 aaronmk
    </_setDefault>
76 4276 aaronmk
</VegBIEN>
77 5958 aaronmk
Inserted 14 new rows into database