Project

General

Profile

« Previous | Next » 

Revision 4923

inputs/VegBank/: Added taxonimportance/

View differences:

inputs/VegBank/import_order.txt
1 1
plot_
2 2
observation_
3
taxonobservation_
3
taxonobservation_
4
taxonimportance
inputs/VegBank/taxonimportance/header.csv
1
taxonimportance_id,taxonobservation_id,stratum_id,cover,basalarea,biomass,inferencearea,stratumbase,stratumheight,emb_taxonimportance,covercode
inputs/VegBank/taxonimportance/map.csv
1
VegBank,VegCore,Filter,Comments
2
taxonimportance_id,aggregateOccurrenceID,,
3
taxonobservation_id,taxonOccurrenceID,,
4
stratum_id,stratum_id,,
5
cover,coverPercent,,
6
basalarea,basalarea,,
7
biomass,biomass,,
8
inferencearea,inferencearea,,
9
stratumbase,stratumbase,,
10
stratumheight,stratumheight,,
11
emb_taxonimportance,emb_taxonimportance,,
12
covercode,covercode,,
inputs/VegBank/taxonimportance/VegBIEN.csv
1
VegBank,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments
2
cover,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover_fraction/_percent_to_fraction/value,
3
taxonimportance_id,/location/locationevent/taxonoccurrence/aggregateoccurrence/sourceaccessioncode,
4
taxonobservation_id,/location/locationevent/taxonoccurrence/sourceaccessioncode/_first/1,
5
basalarea,,** No join mapping for basalarea ** 
6
biomass,,** No join mapping for biomass ** 
7
covercode,,** No join mapping for covercode ** 
8
emb_taxonimportance,,** No join mapping for emb_taxonimportance ** 
9
inferencearea,,** No join mapping for inferencearea ** 
10
stratum_id,,** No join mapping for stratum_id ** 
11
stratumbase,,** No join mapping for stratumbase ** 
12
stratumheight,,** No join mapping for stratumheight ** 
inputs/VegBank/taxonimportance/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
                            <cover_fraction><_percent_to_fraction><value>$cover</value></_percent_to_fraction></cover_fraction>
11
                            <sourceaccessioncode>$taxonimportance_id</sourceaccessioncode>
12
                        </aggregateoccurrence>
13
                        <sourceaccessioncode>$taxonobservation_id</sourceaccessioncode>
14
                    </taxonoccurrence>
15
                </locationevent>
16
            </location>
17
        </path>
18
    </_simplifyPath>
19
</VegBIEN>
20
Inserted 4 new rows into database
inputs/VegBank/taxonimportance/new_terms.csv
1
taxonimportance_id,aggregateOccurrenceID,,
2
taxonobservation_id,taxonOccurrenceID,,
3
cover,coverPercent,,
inputs/VegBank/taxonimportance/unmapped_terms.csv
1
stratum_id
2
basalarea
3
biomass
4
inferencearea
5
stratumbase
6
stratumheight
7
emb_taxonimportance
8
covercode

Also available in: Unified diff