Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>$PlotName</authorlocationcode>
8
                <sourceaccessioncode>$PlotID</sourceaccessioncode>
9
                <area_m2><_ha_to_m2><value>$SizeOfSite</value></_ha_to_m2></area_m2>
10
                <elevation_m>$Elevation</elevation_m>
11
                <locationcoords>
12
                    <footprintgeometry_dwc>$ShapeOfSite</footprintgeometry_dwc>
13
                    <latitude_deg>
14
                        <_nullIf>
15
                            <null>0</null>
16
                            <type>float</type>
17
                            <value>$Latitude</value>
18
                        </_nullIf>
19
                    </latitude_deg>
20
                    <longitude_deg>
21
                        <_nullIf>
22
                            <null>0</null>
23
                            <type>float</type>
24
                            <value>$Longitude</value>
25
                        </_nullIf>
26
                    </longitude_deg>
27
                </locationcoords>
28
                <locationnarrative>
29
                    <_alt>
30
                        <0>$DescriptionOfSite</0>
31
                        <1>$LocationName</1>
32
                    </_alt>
33
                </locationnarrative>
34
                <locationplace><placepath_id><placepath><country>$CountryName</country></placepath></placepath_id></locationplace>
35
            </location>
36
        </path>
37
    </_simplifyPath>
38
</VegBIEN>
39
Inserted 8 new rows into database
(7-7/8)