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>2001-01-01</obsstartdate>
7
                <parent_id>
8
                    <locationevent>
9
                        <authorlocationcode>ALP-11</authorlocationcode>
10
                        <datasource_id><party><organizationname>SALVIAS-CSV</organizationname></party></datasource_id>
11
                        <sourceaccessioncode>26102</sourceaccessioncode>
12
                    </locationevent>
13
                </parent_id>
14
                <datasource_id><party><organizationname>SALVIAS-CSV</organizationname></party></datasource_id>
15
                <authorlocationcode>1</authorlocationcode>
16
            </locationevent>
17
        </locationevent_id>
18
        <voucher>
19
            <specimenreplicate_id>
20
                <specimenreplicate>
21
                    <taxonoccurrence_id><taxonoccurrence/></taxonoccurrence_id>
22
                    <datasource_id><party><organizationname>SALVIAS-CSV</organizationname></party></datasource_id>
23
                    <catalognumber_dwc>14598</catalognumber_dwc>
24
                </specimenreplicate>
25
            </specimenreplicate_id>
26
        </voucher>
3
    <plantobservation id="0">
27 4
        <aggregateoccurrence>
28
            <plantobservation_id>
29
                <plantobservation>
30
                    <authorplantcode>10</authorplantcode>
31
                    <sourceaccessioncode>607771</sourceaccessioncode>
32
                    <stemobservation>
33
                        <diameterbreastheight>662</diameterbreastheight>
34
                        <stemtag>
35
                            <iscurrent>false</iscurrent>
36
                            <tag>7</tag>
37
                        </stemtag>
38
                        <stemtag>
39
                            <iscurrent>true</iscurrent>
40
                            <tag>8</tag>
41
                        </stemtag>
42
                    </stemobservation>
43
                </plantobservation>
44
            </plantobservation_id>
5
            <taxonoccurrence_id>
6
                <taxonoccurrence>
7
                    <locationevent_id>
8
                        <locationevent>
9
                            <obsstartdate>2001-01-01</obsstartdate>
10
                            <parent_id>
11
                                <locationevent>
12
                                    <authorlocationcode>ALP-11</authorlocationcode>
13
                                    <datasource_id><party><organizationname>SALVIAS-CSV</organizationname></party></datasource_id>
14
                                    <sourceaccessioncode>26102</sourceaccessioncode>
15
                                </locationevent>
16
                            </parent_id>
17
                            <datasource_id><party><organizationname>SALVIAS-CSV</organizationname></party></datasource_id>
18
                            <authorlocationcode>1</authorlocationcode>
19
                        </locationevent>
20
                    </locationevent_id>
21
                    <voucher>
22
                        <specimenreplicate_id>
23
                            <specimenreplicate>
24
                                <taxonoccurrence_id><taxonoccurrence/></taxonoccurrence_id>
25
                                <datasource_id><party><organizationname>SALVIAS-CSV</organizationname></party></datasource_id>
26
                                <catalognumber_dwc>14598</catalognumber_dwc>
27
                            </specimenreplicate>
28
                        </specimenreplicate_id>
29
                    </voucher>
30
                    <growthform>tree</growthform>
31
                    <taxondetermination>
32
                        <role>computer</role>
33
                        <iscurrent>true</iscurrent>
34
                        <plantconcept_id>
35
                            <plantconcept>
36
                                <plantname_id>
37
                                    <plantname>
38
                                        <rank>species</rank>
39
                                        <plantname>indet</plantname>
40
                                        <parent_id>
41
                                            <plantname>
42
                                                <rank>genus</rank>
43
                                                <plantname>Inga</plantname>
44
                                                <parent_id>
45
                                                    <plantname>
46
                                                        <rank>family</rank>
47
                                                        <plantname>Fabaceae</plantname>
48
                                                    </plantname>
49
                                                </parent_id>
50
                                            </plantname>
51
                                        </parent_id>
52
                                    </plantname>
53
                                </plantname_id>
54
                            </plantconcept>
55
                        </plantconcept_id>
56
                    </taxondetermination>
57
                    <taxondetermination>
58
                        <role>identifier</role>
59
                        <isoriginal>true</isoriginal>
60
                        <iscurrent>true</iscurrent>
61
                        <plantconcept_id>
62
                            <plantconcept>
63
                                <plantname_id>
64
                                    <plantname>
65
                                        <rank>binomial</rank>
66
                                        <plantname>Inga indet</plantname>
67
                                        <parent_id>
68
                                            <plantname>
69
                                                <rank>family</rank>
70
                                                <plantname>Fabaceae</plantname>
71
                                            </plantname>
72
                                        </parent_id>
73
                                    </plantname>
74
                                </plantname_id>
75
                            </plantconcept>
76
                        </plantconcept_id>
77
                    </taxondetermination>
78
                    <verbatimcollectorname>Vasquez</verbatimcollectorname>
79
                </taxonoccurrence>
80
            </taxonoccurrence_id>
45 81
            <count>1</count>
46 82
            <definedvalue fkey="tablerecord_id">
47 83
                <userdefined_id>
......
53 89
                <definedvalue>1</definedvalue>
54 90
            </definedvalue>
55 91
        </aggregateoccurrence>
56
        <growthform>tree</growthform>
57
        <taxondetermination>
58
            <role>computer</role>
59
            <iscurrent>true</iscurrent>
60
            <plantconcept_id>
61
                <plantconcept>
62
                    <plantname_id>
63
                        <plantname>
64
                            <rank>species</rank>
65
                            <plantname>indet</plantname>
92
        <authorplantcode>10</authorplantcode>
93
        <sourceaccessioncode>607771</sourceaccessioncode>
94
        <stemobservation>
95
            <stemtag>
96
                <iscurrent>false</iscurrent>
97
                <tag>7</tag>
98
            </stemtag>
99
            <stemtag>
100
                <iscurrent>true</iscurrent>
101
                <tag>8</tag>
102
            </stemtag>
103
        </stemobservation>
104
    </plantobservation>
105
    <plantobservation id="1">
106
        <aggregateoccurrence>
107
            <taxonoccurrence_id>
108
                <taxonoccurrence>
109
                    <locationevent_id>
110
                        <locationevent>
111
                            <obsstartdate>2001-01-01</obsstartdate>
66 112
                            <parent_id>
67
                                <plantname>
68
                                    <rank>genus</rank>
69
                                    <plantname>Inga</plantname>
70
                                    <parent_id>
71
                                        <plantname>
72
                                            <rank>family</rank>
73
                                            <plantname>Fabaceae</plantname>
74
                                        </plantname>
75
                                    </parent_id>
76
                                </plantname>
113
                                <locationevent>
114
                                    <authorlocationcode>ALP-11</authorlocationcode>
115
                                    <datasource_id><party><organizationname>SALVIAS-CSV</organizationname></party></datasource_id>
116
                                    <sourceaccessioncode>26102</sourceaccessioncode>
117
                                </locationevent>
77 118
                            </parent_id>
78
                        </plantname>
79
                    </plantname_id>
80
                </plantconcept>
81
            </plantconcept_id>
82
        </taxondetermination>
83
        <taxondetermination>
84
            <role>identifier</role>
85
            <isoriginal>true</isoriginal>
86
            <iscurrent>true</iscurrent>
87
            <plantconcept_id>
88
                <plantconcept>
89
                    <plantname_id>
90
                        <plantname>
91
                            <rank>binomial</rank>
92
                            <plantname>Inga indet</plantname>
93
                            <parent_id>
94
                                <plantname>
95
                                    <rank>family</rank>
96
                                    <plantname>Fabaceae</plantname>
97
                                </plantname>
98
                            </parent_id>
99
                        </plantname>
100
                    </plantname_id>
101
                </plantconcept>
102
            </plantconcept_id>
103
        </taxondetermination>
104
        <verbatimcollectorname>Vasquez</verbatimcollectorname>
105
    </taxonoccurrence>
106
    <taxonoccurrence id="1">
107
        <locationevent_id>
108
            <locationevent>
109
                <obsstartdate>2001-01-01</obsstartdate>
110
                <parent_id>
111
                    <locationevent>
112
                        <authorlocationcode>ALP-11</authorlocationcode>
113
                        <datasource_id><party><organizationname>SALVIAS-CSV</organizationname></party></datasource_id>
114
                        <sourceaccessioncode>26102</sourceaccessioncode>
115
                    </locationevent>
116
                </parent_id>
117
                <datasource_id><party><organizationname>SALVIAS-CSV</organizationname></party></datasource_id>
118
                <authorlocationcode>4</authorlocationcode>
119
            </locationevent>
120
        </locationevent_id>
121
        <voucher>
122
            <specimenreplicate_id>
123
                <specimenreplicate>
124
                    <taxonoccurrence_id><taxonoccurrence/></taxonoccurrence_id>
125
                    <datasource_id><party><organizationname>SALVIAS-CSV</organizationname></party></datasource_id>
126
                    <catalognumber_dwc>14669</catalognumber_dwc>
127
                </specimenreplicate>
128
            </specimenreplicate_id>
129
        </voucher>
130
        <aggregateoccurrence>
131
            <plantobservation_id>
132
                <plantobservation>
133
                    <authorplantcode>100</authorplantcode>
134
                    <sourceaccessioncode>607722</sourceaccessioncode>
135
                    <stemobservation>
136
                        <diameterbreastheight>215</diameterbreastheight>
137
                        <stemtag>
138
                            <iscurrent>false</iscurrent>
139
                            <tag>84</tag>
140
                        </stemtag>
141
                        <stemtag>
142
                            <iscurrent>true</iscurrent>
143
                            <tag>91</tag>
144
                        </stemtag>
145
                    </stemobservation>
146
                </plantobservation>
147
            </plantobservation_id>
119
                            <datasource_id><party><organizationname>SALVIAS-CSV</organizationname></party></datasource_id>
120
                            <authorlocationcode>4</authorlocationcode>
121
                        </locationevent>
122
                    </locationevent_id>
123
                    <voucher>
124
                        <specimenreplicate_id>
125
                            <specimenreplicate>
126
                                <taxonoccurrence_id><taxonoccurrence/></taxonoccurrence_id>
127
                                <datasource_id><party><organizationname>SALVIAS-CSV</organizationname></party></datasource_id>
128
                                <catalognumber_dwc>14669</catalognumber_dwc>
129
                            </specimenreplicate>
130
                        </specimenreplicate_id>
131
                    </voucher>
132
                    <growthform>tree</growthform>
133
                    <taxondetermination>
134
                        <role>computer</role>
135
                        <iscurrent>true</iscurrent>
136
                        <plantconcept_id>
137
                            <plantconcept>
138
                                <plantname_id>
139
                                    <plantname>
140
                                        <rank>species</rank>
141
                                        <plantname>pavonis</plantname>
142
                                        <parent_id>
143
                                            <plantname>
144
                                                <rank>genus</rank>
145
                                                <plantname>Virola</plantname>
146
                                                <parent_id>
147
                                                    <plantname>
148
                                                        <rank>family</rank>
149
                                                        <plantname>Myristicaceae</plantname>
150
                                                    </plantname>
151
                                                </parent_id>
152
                                            </plantname>
153
                                        </parent_id>
154
                                    </plantname>
155
                                </plantname_id>
156
                            </plantconcept>
157
                        </plantconcept_id>
158
                    </taxondetermination>
159
                    <taxondetermination>
160
                        <role>identifier</role>
161
                        <isoriginal>true</isoriginal>
162
                        <iscurrent>true</iscurrent>
163
                        <plantconcept_id>
164
                            <plantconcept>
165
                                <plantname_id>
166
                                    <plantname>
167
                                        <rank>binomial</rank>
168
                                        <plantname>Virola pavonis</plantname>
169
                                        <parent_id>
170
                                            <plantname>
171
                                                <rank>family</rank>
172
                                                <plantname>Myristicaceae</plantname>
173
                                            </plantname>
174
                                        </parent_id>
175
                                    </plantname>
176
                                </plantname_id>
177
                            </plantconcept>
178
                        </plantconcept_id>
179
                    </taxondetermination>
180
                    <verbatimcollectorname>Vasquez</verbatimcollectorname>
181
                </taxonoccurrence>
182
            </taxonoccurrence_id>
148 183
            <count>1</count>
149 184
            <definedvalue fkey="tablerecord_id">
150 185
                <userdefined_id>
......
156 191
                <definedvalue>1</definedvalue>
157 192
            </definedvalue>
158 193
        </aggregateoccurrence>
159
        <growthform>tree</growthform>
160
        <taxondetermination>
161
            <role>computer</role>
162
            <iscurrent>true</iscurrent>
163
            <plantconcept_id>
164
                <plantconcept>
165
                    <plantname_id>
166
                        <plantname>
167
                            <rank>species</rank>
168
                            <plantname>pavonis</plantname>
169
                            <parent_id>
170
                                <plantname>
171
                                    <rank>genus</rank>
172
                                    <plantname>Virola</plantname>
173
                                    <parent_id>
174
                                        <plantname>
175
                                            <rank>family</rank>
176
                                            <plantname>Myristicaceae</plantname>
177
                                        </plantname>
178
                                    </parent_id>
179
                                </plantname>
180
                            </parent_id>
181
                        </plantname>
182
                    </plantname_id>
183
                </plantconcept>
184
            </plantconcept_id>
185
        </taxondetermination>
186
        <taxondetermination>
187
            <role>identifier</role>
188
            <isoriginal>true</isoriginal>
189
            <iscurrent>true</iscurrent>
190
            <plantconcept_id>
191
                <plantconcept>
192
                    <plantname_id>
193
                        <plantname>
194
                            <rank>binomial</rank>
195
                            <plantname>Virola pavonis</plantname>
196
                            <parent_id>
197
                                <plantname>
198
                                    <rank>family</rank>
199
                                    <plantname>Myristicaceae</plantname>
200
                                </plantname>
201
                            </parent_id>
202
                        </plantname>
203
                    </plantname_id>
204
                </plantconcept>
205
            </plantconcept_id>
206
        </taxondetermination>
207
        <verbatimcollectorname>Vasquez</verbatimcollectorname>
208
    </taxonoccurrence>
194
        <authorplantcode>100</authorplantcode>
195
        <sourceaccessioncode>607722</sourceaccessioncode>
196
        <stemobservation>
197
            <stemtag>
198
                <iscurrent>false</iscurrent>
199
                <tag>84</tag>
200
            </stemtag>
201
            <stemtag>
202
                <iscurrent>true</iscurrent>
203
                <tag>91</tag>
204
            </stemtag>
205
        </stemobservation>
206
    </plantobservation>
209 207
</VegBIEN>

Also available in: Unified diff