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
                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
32
                                    <coordinates_id>
33
                                        <coordinates>
34
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
35
                                            <latitude_deg>
36
                                                <_nullIf>
37
                                                    <null>0</null>
38
                                                    <type>float</type>
39
                                                    <value>$latitudeDecimalVerbatim</value>
40
                                                </_nullIf>
41
                                            </latitude_deg>
42
                                            <longitude_deg>
43
                                                <_nullIf>
44
                                                    <null>0</null>
45
                                                    <type>float</type>
46
                                                    <value>$longitudeDecimalVerbatim</value>
47
                                                </_nullIf>
48
                                            </longitude_deg>
49
                                        </coordinates>
50
                                    </coordinates_id>
51
                                    <matched_place_id>0</matched_place_id>
52
                                    <country>$countryStd</country>
53
                                    <stateprovince>$stateProvinceStd</stateprovince>
54
                                    <distance_to_country_m><_km_to_m><value>$distErrCountry</value></_km_to_m></distance_to_country_m>
55
                                    <distance_to_state_m><_km_to_m><value>$distErrStateProvince</value></_km_to_m></distance_to_state_m>
56
                                    <geosource_valid>
57
                                        <_and>
58
                                            <1>$isInCountry</1>
59
                                            <2>$isInStateProvince</2>
60
                                        </_and>
61
                                    </geosource_valid>
62
                                </place>
63
                            </matched_place_id>
64
                            <stateprovince>$stateProvinceVerbatim</stateprovince>
65
                        </place>
66
                    </place_id>
67
                </locationplace>
68
            </location>
69
        </path>
70
    </_simplifyPath>
71
</VegBIEN>
72
Inserted 5 new rows into database
(7-7/8)