Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <locationplace>
8
                    <place_id>
9
                        <place>
10
                            <coordinates_id>
11
                                <coordinates>
12
                                    <latitude_deg>
13
                                        <_nullIf>
14
                                            <null>0</null>
15
                                            <type>float</type>
16
                                            <value>$latitudeDecimalVerbatim</value>
17
                                        </_nullIf>
18
                                    </latitude_deg>
19
                                    <longitude_deg>
20
                                        <_nullIf>
21
                                            <null>0</null>
22
                                            <type>float</type>
23
                                            <value>$longitudeDecimalVerbatim</value>
24
                                        </_nullIf>
25
                                    </longitude_deg>
26
                                </coordinates>
27
                            </coordinates_id>
28
                            <country>$countryVerbatim</country>
29
                            <matched_place_id>
30
                                <place>
31
                                    <reference_id><reference><shortname>geoscrub</shortname></reference></reference_id>
32
                                    <matched_place_id>0</matched_place_id>
33
                                    <country>$countryStd</country>
34
                                    <stateprovince>$stateProvinceStd</stateprovince>
35
                                    <coordinates_id>
36
                                        <coordinates>
37
                                            <latitude_deg>
38
                                                <_nullIf>
39
                                                    <null>0</null>
40
                                                    <type>float</type>
41
                                                    <value>$latitudeDecimalVerbatim</value>
42
                                                </_nullIf>
43
                                            </latitude_deg>
44
                                            <longitude_deg>
45
                                                <_nullIf>
46
                                                    <null>0</null>
47
                                                    <type>float</type>
48
                                                    <value>$longitudeDecimalVerbatim</value>
49
                                                </_nullIf>
50
                                            </longitude_deg>
51
                                        </coordinates>
52
                                    </coordinates_id>
53
                                    <distance_to_country_m><_km_to_m><value>$distErrCountry</value></_km_to_m></distance_to_country_m>
54
                                    <distance_to_state_m><_km_to_m><value>$distErrStateProvince</value></_km_to_m></distance_to_state_m>
55
                                    <georeference_valid>
56
                                        <_and>
57
                                            <1>$isInCountry</1>
58
                                            <2>$isInStateProvince</2>
59
                                        </_and>
60
                                    </georeference_valid>
61
                                </place>
62
                            </matched_place_id>
63
                            <stateprovince>$stateProvinceVerbatim</stateprovince>
64
                        </place>
65
                    </place_id>
66
                </locationplace>
67
            </location>
68
        </path>
69
    </_simplifyPath>
70
</VegBIEN>
71
Inserted 5 new rows into database
(7-7/8)