Project

General

Profile

« Previous | Next » 

Revision 6759

inputs/CVS/: Joined together taxonImportance and stemCount tables to create stemCount_, because stemCount actually stores stem abundance by size, rather than grouping stems by organism (http://vegbankdev.nceas.ucsb.edu/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=stemcount&entity=dba_tabledescription&where=where_tablename), and is thus an AggregateOccurrence-related table along with taxonImportance

View differences:

test.xml.ref
1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>CVS</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <locationevent>
11
                            <taxonoccurrence>
12
                                <aggregateoccurrence>
13
                                    <count>$stemCount</count>
14
                                    <cover_fraction><_percent_to_fraction><value>$cover</value></_percent_to_fraction></cover_fraction>
15
                                    <plantobservation>
16
                                        <stemobservation>
17
                                            <diameterbreastheight_m><_cm_to_m><value>$stemDiameter</value></_cm_to_m></diameterbreastheight_m>
18
                                            <height_m>$stemHeight</height_m>
19
                                        </stemobservation>
20
                                    </plantobservation>
21
                                    <sourceaccessioncode>$STEMCOUNT_ID</sourceaccessioncode>
22
                                </aggregateoccurrence>
23
                                <sourceaccessioncode>$taxonObservation_ID</sourceaccessioncode>
24
                            </taxonoccurrence>
25
                        </locationevent>
26
                    </location>
27
                </path>
28
            </_simplifyPath>
29
        </path>
30
    </_setDefault>
31
</VegBIEN>
32
Inserted 8 new rows into database

Also available in: Unified diff