Project

General

Profile

« Previous | Next » 

Revision 4929

inputs/VegBank/: Added stemcount/

View differences:

inputs/VegBank/stemcount/header.csv
1
stemcount_id,taxonimportance_id,stemdiameter,stemdiameteraccuracy,stemheight,stemheightaccuracy,stemcount,stemtaxonarea,emb_stemcount
inputs/VegBank/stemcount/map.csv
1
VegBank,VegCore,Filter,Comments
2
stemcount_id,individualID,,
3
taxonimportance_id,taxonOccurrenceID,,
4
stemdiameter,diameterBreastHeight_cm,,"""The diameter of the stem in centimeters"" (stemDiameter definition at <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=stemcount&entity=dba_tabledescription&where=where_tablename>)"
5
stemdiameteraccuracy,stemdiameteraccuracy,,
6
stemheight,height,,"""The measured height of the stem in meters"" (stemHeight definition at <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=stemcount&entity=dba_tabledescription&where=where_tablename>)"
7
stemheightaccuracy,stemheightaccuracy,,
8
stemcount,stemCount,,
9
stemtaxonarea,stemtaxonarea,,
10
emb_stemcount,emb_stemcount,,
inputs/VegBank/stemcount/VegBIEN.csv
1
VegBank,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments
2
stemcount_id,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/sourceaccessioncode,
3
stemcount,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemcount,
4
stemdiameter,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/diameterbreastheight_m/_cm_to_m/value,"""The diameter of the stem in centimeters"" (stemDiameter definition at <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=stemcount&entity=dba_tabledescription&where=where_tablename>)"
5
stemheight,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/height_m,"""The measured height of the stem in meters"" (stemHeight definition at <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=stemcount&entity=dba_tabledescription&where=where_tablename>)"
6
taxonimportance_id,/location/locationevent/taxonoccurrence/sourceaccessioncode/_first/1,
7
stemcount_id,/location/locationevent/taxonoccurrence/sourceaccessioncode/_first/2,
8
emb_stemcount,,** No join mapping for emb_stemcount ** 
9
stemdiameteraccuracy,,** No join mapping for stemdiameteraccuracy ** 
10
stemheightaccuracy,,** No join mapping for stemheightaccuracy ** 
11
stemtaxonarea,,** No join mapping for stemtaxonarea ** 
inputs/VegBank/stemcount/test.xml.ref
1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <locationevent>
8
                    <taxonoccurrence>
9
                        <aggregateoccurrence>
10
                            <plantobservation>
11
                                <sourceaccessioncode>$stemcount_id</sourceaccessioncode>
12
                                <stemcount>$stemcount</stemcount>
13
                                <stemobservation>
14
                                    <diameterbreastheight_m><_cm_to_m><value>$stemdiameter</value></_cm_to_m></diameterbreastheight_m>
15
                                    <height_m>$stemheight</height_m>
16
                                </stemobservation>
17
                            </plantobservation>
18
                        </aggregateoccurrence>
19
                        <sourceaccessioncode>$taxonimportance_id</sourceaccessioncode>
20
                    </taxonoccurrence>
21
                </locationevent>
22
            </location>
23
        </path>
24
    </_simplifyPath>
25
</VegBIEN>
26
Inserted 5 new rows into database
inputs/VegBank/stemcount/new_terms.csv
1
stemcount_id,individualID,,
2
taxonimportance_id,taxonOccurrenceID,,
3
stemdiameter,diameterBreastHeight_cm,,"""The diameter of the stem in centimeters"" (stemDiameter definition at <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=stemcount&entity=dba_tabledescription&where=where_tablename>)"
4
stemheight,height,,"""The measured height of the stem in meters"" (stemHeight definition at <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=stemcount&entity=dba_tabledescription&where=where_tablename>)"
inputs/VegBank/stemcount/unmapped_terms.csv
1
stemdiameteraccuracy
2
stemheightaccuracy
3
stemtaxonarea
4
emb_stemcount
inputs/VegBank/import_order.txt
1 1
plot_
2 2
observation_
3 3
taxonobservation_
4
taxonimportance
4
taxonimportance
5
stemcount

Also available in: Unified diff