Project

General

Profile

« Previous | Next » 

Revision 4753

schemas/vegbien.sql: Added units suffix to all core VegBIEN fields that have units. It is the responsibility of the mappings to ensure that all units are properly translated.

View differences:

test.xml.ref
6 6
            <location>
7 7
                <authorlocationcode>$authorplotcode</authorlocationcode>
8 8
                <sourceaccessioncode>$plot_id</sourceaccessioncode>
9
                <area>$area</area>
10
                <elevation>
9
                <area_m2>$area</area_m2>
10
                <elevation_m>
11 11
                    <_replace>
12 12
                        <\bca\.?></\bca\.?>
13 13
                        <value>$elevation</value>
14 14
                    </_replace>
15
                </elevation>
15
                </elevation_m>
16 16
                <landform>$landform</landform>
17 17
                <locationcoords>
18
                    <coordsaccuracy><_noCV><value>$locationaccuracy</value></_noCV></coordsaccuracy>
18
                    <coordsaccuracy_deg><_noCV><value>$locationaccuracy</value></_noCV></coordsaccuracy_deg>
19 19
                    <footprintgeometry_dwc>$shape</footprintgeometry_dwc>
20
                    <latitude>
20
                    <latitude_deg>
21 21
                        <_nullIf>
22 22
                            <null>0</null>
23 23
                            <type>float</type>
24 24
                            <value>$latitude</value>
25 25
                        </_nullIf>
26
                    </latitude>
27
                    <longitude>
26
                    </latitude_deg>
27
                    <longitude_deg>
28 28
                        <_nullIf>
29 29
                            <null>0</null>
30 30
                            <type>float</type>
31 31
                            <value>$longitude</value>
32 32
                        </_nullIf>
33
                    </longitude>
33
                    </longitude_deg>
34 34
                </locationcoords>
35 35
                <locationnarrative>$locationnarrative</locationnarrative>
36 36
                <locationplace>
......
53 53
                        </placepath>
54 54
                    </placepath_id>
55 55
                </locationplace>
56
                <slopeaspect>
56
                <slopeaspect_deg>
57 57
                    <_alt>
58 58
                        <1><_compass><value>$slopeaspect</value></_compass></1>
59 59
                        <2>
......
63 63
                            </_avg>
64 64
                        </2>
65 65
                    </_alt>
66
                </slopeaspect>
67
                <slopegradient>
66
                </slopeaspect_deg>
67
                <slopegradient_frac>
68 68
                    <_alt>
69 69
                        <1>$slopegradient</1>
70 70
                        <2>
......
74 74
                            </_avg>
75 75
                        </2>
76 76
                    </_alt>
77
                </slopegradient>
77
                </slopegradient_frac>
78 78
            </location>
79 79
        </path>
80 80
    </_simplifyPath>

Also available in: Unified diff