Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <area>$SizeOfSite</area>
5
        <authorlocationcode>$PlotName</authorlocationcode>
6
        <elevation>
7
            <_replace>
8
                <\bca\.?></\bca\.?>
9
                <value>$Elevation</value>
10
            </_replace>
11
        </elevation>
12
        <locationdetermination>
13
            <footprintgeometry_dwc>$ShapeOfSite</footprintgeometry_dwc>
14
            <latitude>
15
                <_nullIf>
16
                    <null>0</null>
17
                    <type>float</type>
18
                    <value>$Latitude</value>
19
                </_nullIf>
20
            </latitude>
21
            <longitude>
22
                <_nullIf>
23
                    <null>0</null>
24
                    <type>float</type>
25
                    <value>$Longitude</value>
26
                </_nullIf>
27
            </longitude>
28
            <namedplace_id>
29
                <_simplifyPath>
30
                    <next>parent_id/namedplace</next>
31
                    <require>placename</require>
32
                    <path>
33
                        <namedplace>
34
                            <rank>county</rank>
35
                            <parent_id>
36
                                <namedplace>
37
                                    <rank>stateProvince</rank>
38
                                    <parent_id>
39
                                        <namedplace>
40
                                            <rank>country</rank>
41
                                            <placename>$CountryName</placename>
42
                                        </namedplace>
43
                                    </parent_id>
44
                                </namedplace>
45
                            </parent_id>
46
                        </namedplace>
47
                    </path>
48
                </_simplifyPath>
49
            </namedplace_id>
50
        </locationdetermination>
51
        <locationnarrative>
52
            <_alt>
53
                <0>$DescriptionOfSite</0>
54
                <1>$LocationName</1>
55
            </_alt>
56
        </locationnarrative>
57
        <sourceaccessioncode>$PlotID</sourceaccessioncode>
58
    </location>
59
</VegBIEN>
60
Inserted 6 new rows into database
(8-8/8)