Project

General

Profile

« Previous | Next » 

Revision 6746

inputs/VegBank/: 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)

View differences:

test.xml.ref
1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>VegBank</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