Project

General

Profile

« Previous | Next » 

Revision 1843

mappings: Build VegX-VegBIEN.organisms.csv from VegX-VegBIEN.stems.csv instead of vice versa. This entails switching the roots around so stem points to organism instead of the other way around, which is a complex operation. Re-rooted VegX-VegBIEN.organisms.csv at /plantobservation instead of /taxonoccurrence to avoid traveling up the hierarchy to taxonoccurrence and back down again to plantobservation, etc. as would otherwise have been the case.

View differences:

VegBIEN.organisms.xml.ref
1 1
<?xml version="1.0" ?>
2 2
<VegBIEN>
3
    <taxonoccurrence id="0">
4
        <locationevent_id>
5
            <locationevent>
6
                <obsstartdate>1981-05-03</obsstartdate>
7
                <datasource_id><party><organizationname>CTFS</organizationname></party></datasource_id>
8
                <authorlocationcode>3811</authorlocationcode>
9
                <sourceaccessioncode>2733</sourceaccessioncode>
10
            </locationevent>
11
        </locationevent_id>
3
    <plantobservation id="0">
12 4
        <aggregateoccurrence>
13
            <plantobservation_id>
14
                <plantobservation>
15
                    <stemobservation>
16
                        <xposition>-79.848494</xposition>
17
                        <yposition>9.151501</yposition>
18
                    </stemobservation>
19
                </plantobservation>
20
            </plantobservation_id>
5
            <taxonoccurrence_id>
6
                <taxonoccurrence>
7
                    <locationevent_id>
8
                        <locationevent>
9
                            <obsstartdate>1981-05-03</obsstartdate>
10
                            <datasource_id><party><organizationname>CTFS</organizationname></party></datasource_id>
11
                            <authorlocationcode>3811</authorlocationcode>
12
                            <sourceaccessioncode>2733</sourceaccessioncode>
13
                        </locationevent>
14
                    </locationevent_id>
15
                    <taxondetermination>
16
                        <role>identifier</role>
17
                        <isoriginal>true</isoriginal>
18
                        <iscurrent>true</iscurrent>
19
                        <plantconcept_id>
20
                            <plantconcept>
21
                                <plantname_id>
22
                                    <plantname>
23
                                        <rank>species</rank>
24
                                        <plantname>prunifolius</plantname>
25
                                        <parent_id>
26
                                            <plantname>
27
                                                <rank>genus</rank>
28
                                                <plantname>Hybanthus</plantname>
29
                                                <parent_id>
30
                                                    <plantname>
31
                                                        <rank>family</rank>
32
                                                        <plantname>Violaceae</plantname>
33
                                                    </plantname>
34
                                                </parent_id>
35
                                            </plantname>
36
                                        </parent_id>
37
                                    </plantname>
38
                                </plantname_id>
39
                            </plantconcept>
40
                        </plantconcept_id>
41
                    </taxondetermination>
42
                </taxonoccurrence>
43
            </taxonoccurrence_id>
21 44
            <definedvalue fkey="tablerecord_id">
22 45
                <userdefined_id>
23 46
                    <userdefined>
......
28 51
                <definedvalue>1</definedvalue>
29 52
            </definedvalue>
30 53
        </aggregateoccurrence>
31
        <taxondetermination>
32
            <role>identifier</role>
33
            <isoriginal>true</isoriginal>
34
            <iscurrent>true</iscurrent>
35
            <plantconcept_id>
36
                <plantconcept>
37
                    <plantname_id>
38
                        <plantname>
39
                            <rank>species</rank>
40
                            <plantname>prunifolius</plantname>
41
                            <parent_id>
42
                                <plantname>
43
                                    <rank>genus</rank>
44
                                    <plantname>Hybanthus</plantname>
45
                                    <parent_id>
46
                                        <plantname>
47
                                            <rank>family</rank>
48
                                            <plantname>Violaceae</plantname>
49
                                        </plantname>
50
                                    </parent_id>
51
                                </plantname>
52
                            </parent_id>
53
                        </plantname>
54
                    </plantname_id>
55
                </plantconcept>
56
            </plantconcept_id>
57
        </taxondetermination>
58
    </taxonoccurrence>
59
    <taxonoccurrence id="1">
60
        <locationevent_id>
61
            <locationevent>
62
                <obsstartdate>1981-05-03</obsstartdate>
63
                <datasource_id><party><organizationname>CTFS</organizationname></party></datasource_id>
64
                <authorlocationcode>3811</authorlocationcode>
65
                <sourceaccessioncode>2733</sourceaccessioncode>
66
            </locationevent>
67
        </locationevent_id>
54
        <stemobservation>
55
            <xposition>-79.848494</xposition>
56
            <yposition>9.151501</yposition>
57
        </stemobservation>
58
    </plantobservation>
59
    <plantobservation id="1">
68 60
        <aggregateoccurrence>
69
            <plantobservation_id>
70
                <plantobservation>
71
                    <stemobservation>
72
                        <xposition>-79.84848</xposition>
73
                        <yposition>9.151523</yposition>
74
                    </stemobservation>
75
                </plantobservation>
76
            </plantobservation_id>
61
            <taxonoccurrence_id>
62
                <taxonoccurrence>
63
                    <locationevent_id>
64
                        <locationevent>
65
                            <obsstartdate>1981-05-03</obsstartdate>
66
                            <datasource_id><party><organizationname>CTFS</organizationname></party></datasource_id>
67
                            <authorlocationcode>3811</authorlocationcode>
68
                            <sourceaccessioncode>2733</sourceaccessioncode>
69
                        </locationevent>
70
                    </locationevent_id>
71
                    <taxondetermination>
72
                        <role>identifier</role>
73
                        <isoriginal>true</isoriginal>
74
                        <iscurrent>true</iscurrent>
75
                        <plantconcept_id>
76
                            <plantconcept>
77
                                <plantname_id>
78
                                    <plantname>
79
                                        <rank>species</rank>
80
                                        <plantname>asterolepis</plantname>
81
                                        <parent_id>
82
                                            <plantname>
83
                                                <rank>genus</rank>
84
                                                <plantname>Quararibea</plantname>
85
                                                <parent_id>
86
                                                    <plantname>
87
                                                        <rank>family</rank>
88
                                                        <plantname>Malvaceae</plantname>
89
                                                    </plantname>
90
                                                </parent_id>
91
                                            </plantname>
92
                                        </parent_id>
93
                                    </plantname>
94
                                </plantname_id>
95
                            </plantconcept>
96
                        </plantconcept_id>
97
                    </taxondetermination>
98
                </taxonoccurrence>
99
            </taxonoccurrence_id>
77 100
            <definedvalue fkey="tablerecord_id">
78 101
                <userdefined_id>
79 102
                    <userdefined>
......
84 107
                <definedvalue>1</definedvalue>
85 108
            </definedvalue>
86 109
        </aggregateoccurrence>
87
        <taxondetermination>
88
            <role>identifier</role>
89
            <isoriginal>true</isoriginal>
90
            <iscurrent>true</iscurrent>
91
            <plantconcept_id>
92
                <plantconcept>
93
                    <plantname_id>
94
                        <plantname>
95
                            <rank>species</rank>
96
                            <plantname>asterolepis</plantname>
97
                            <parent_id>
98
                                <plantname>
99
                                    <rank>genus</rank>
100
                                    <plantname>Quararibea</plantname>
101
                                    <parent_id>
102
                                        <plantname>
103
                                            <rank>family</rank>
104
                                            <plantname>Malvaceae</plantname>
105
                                        </plantname>
106
                                    </parent_id>
107
                                </plantname>
108
                            </parent_id>
109
                        </plantname>
110
                    </plantname_id>
111
                </plantconcept>
112
            </plantconcept_id>
113
        </taxondetermination>
114
    </taxonoccurrence>
110
        <stemobservation>
111
            <xposition>-79.84848</xposition>
112
            <yposition>9.151523</yposition>
113
        </stemobservation>
114
    </plantobservation>
115 115
</VegBIEN>

Also available in: Unified diff