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
                <sourceaccessioncode>$PlotCD</sourceaccessioncode>
8 8
                <locationcoords>
9
                    <latitude>
9
                    <latitude_deg>
10 10
                        <_nullIf>
11 11
                            <null>0</null>
12 12
                            <type>float</type>
13 13
                            <value>$DecimalLatitude</value>
14 14
                        </_nullIf>
15
                    </latitude>
16
                    <longitude>
15
                    </latitude_deg>
16
                    <longitude_deg>
17 17
                        <_nullIf>
18 18
                            <null>0</null>
19 19
                            <type>float</type>
20 20
                            <value>$DecimalLongitude</value>
21 21
                        </_nullIf>
22
                    </longitude>
22
                    </longitude_deg>
23 23
                </locationcoords>
24 24
                <locationevent>
25 25
                    <taxonoccurrence>
......
51 51
                            </collectiondate>
52 52
                            <plantobservation>
53 53
                                <stemobservation>
54
                                    <basaldiameter>$BasalDiameter</basaldiameter>
55
                                    <diameterbreastheight>$DBH</diameterbreastheight>
56
                                    <height>$Height</height>
54
                                    <basaldiameter_m>$BasalDiameter</basaldiameter_m>
55
                                    <diameterbreastheight_m>$DBH</diameterbreastheight_m>
56
                                    <height_m>$Height</height_m>
57 57
                                    <stemtag>
58 58
                                        <iscurrent>true</iscurrent>
59 59
                                        <tag>$TreeTag</tag>

Also available in: Unified diff