Project

General

Profile

« Previous | Next » 

Revision 6882

schemas/vegbien.sql: Reattached trait to taxonoccurrence instead of taxonlabel, because the TraitObservation traits data is actually associated with a particular occurrence (plant observation complete with location, date, etc.), rather than just a taxon

View differences:

test.xml.ref
159 159
                                                            </2>
160 160
                                                        </_join_words>
161 161
                                                    </taxonomicname>
162
                                                    <trait>
163
                                                        <name>$TraitName</name>
164
                                                        <units>$Unit</units>
165
                                                        <value>$TraitValue</value>
166
                                                    </trait>
167 162
                                                </taxonlabel>
168 163
                                            </taxonlabel_id>
169 164
                                            <author>$AuthorOfScientificName</author>
......
175 170
                                        </taxonverbatim>
176 171
                                    </taxonverbatim_id>
177 172
                                </taxondetermination>
173
                                <trait>
174
                                    <name>$TraitName</name>
175
                                    <units>$Unit</units>
176
                                    <value>$TraitValue</value>
177
                                </trait>
178 178
                            </taxonoccurrence>
179 179
                        </locationevent>
180 180
                        <locationnarrative>$LocalityDescription</locationnarrative>

Also available in: Unified diff