Project

General

Profile

« Previous | Next » 

Revision 5861

mappings/VegCore-VegBIEN.csv: Remapped latitude/longitude to new coordinates table

View differences:

test.xml.ref
8 8
                <sourceaccessioncode>$PlotID</sourceaccessioncode>
9 9
                <area_m2><_ha_to_m2><value>$SizeOfSite</value></_ha_to_m2></area_m2>
10 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 11
                <locationnarrative>
29 12
                    <_alt>
30 13
                        <0>$DescriptionOfSite</0>
31 14
                        <1>$LocationName</1>
32 15
                    </_alt>
33 16
                </locationnarrative>
34
                <locationplace><place_id><place><country>$CountryName</country></place></place_id></locationplace>
17
                <locationplace>
18
                    <place_id>
19
                        <place>
20
                            <coordinates_id>
21
                                <coordinates>
22
                                    <footprintgeometry_dwc>$ShapeOfSite</footprintgeometry_dwc>
23
                                    <latitude_deg>
24
                                        <_nullIf>
25
                                            <null>0</null>
26
                                            <type>float</type>
27
                                            <value>$Latitude</value>
28
                                        </_nullIf>
29
                                    </latitude_deg>
30
                                    <longitude_deg>
31
                                        <_nullIf>
32
                                            <null>0</null>
33
                                            <type>float</type>
34
                                            <value>$Longitude</value>
35
                                        </_nullIf>
36
                                    </longitude_deg>
37
                                </coordinates>
38
                            </coordinates_id>
39
                            <country>$CountryName</country>
40
                        </place>
41
                    </place_id>
42
                </locationplace>
35 43
            </location>
36 44
        </path>
37 45
    </_simplifyPath>
38 46
</VegBIEN>
39
Inserted 8 new rows into database
47
Inserted 9 new rows into database

Also available in: Unified diff