Project

General

Profile

« Previous | Next » 

Revision 11082

mappings/VegCore-VegBIEN.csv: mapped stratum__name

View differences:

inputs/VegBank/stratum/new_terms.csv
1 1
observation_id,*stratum--observation_id,,
2 2
stratummethod_id,*stratum--stratummethod_id,,
3
stratumname,*stratum--stratumname,,
4 3
stratumheight,*stratum--stratumheight,,
5 4
stratumbase,*stratum--stratumbase,,
6 5
stratumcover,*stratum--stratumcover,,
inputs/VegBank/stratumtype/test.xml.ref
1 1
Put template:
2
<VegBIEN/>Inserted 0 new rows into database
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>VegBank.new</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path><location><locationevent><stratum_id><stratum><stratumname>$stratum__name</stratumname></stratum></stratum_id></locationevent></location></path>
9
            </_simplifyPath>
10
        </path>
11
    </_setDefault>
12
</VegBIEN>
13
Inserted 3 new rows into database
inputs/VegBank/taxon_observation.**/test.xml.ref
17 17
                        <locationevent>
18 18
                            <method_id><method><name>$samplingProtocol</name></method></method_id>
19 19
                            <project_id><project><sourceaccessioncode>$projectID</sourceaccessioncode></project></project_id>
20
                            <stratum_id><stratum><stratumname>$stratum__name</stratumname></stratum></stratum_id>
20 21
                            <authoreventcode>$authorEventCode</authoreventcode>
21 22
                            <sourceaccessioncode>$eventID</sourceaccessioncode>
22 23
                            <obsenddate>$endDate</obsenddate>
......
249 250
        </path>
250 251
    </_setDefault>
251 252
</VegBIEN>
252
Inserted 21 new rows into database
253
Inserted 22 new rows into database
mappings/VegCore-VegBIEN.csv
59 59
projectID,/location/locationevent/*_id/project/sourceaccessioncode,
60 60
projectStartDate,/location/locationevent/*_id/project/startdate,
61 61
projectEndDate,/location/locationevent/*_id/project/stopdate,
62
stratum__name,/location/locationevent/*_id/stratum/stratumname,
62 63
subplot,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists",
63 64
subplotID,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists",
64 65
authorEventCode,"/location/locationevent/_if[@name=""if subplot""]/else/authoreventcode",
mappings/for_review/VegCore-VegBIEN.csv
59 59
projectID,//project/sourceaccessioncode,
60 60
projectStartDate,//project/startdate,
61 61
projectEndDate,//project/stopdate,
62
stratum__name,//stratum/stratumname,
62 63
subplot,"//location/locationevent/_if[@name=""if subplot""]/cond/_exists",
63 64
subplotID,"//location/locationevent/_if[@name=""if subplot""]/cond/_exists",
64 65
authorEventCode,"//location/locationevent/_if[@name=""if subplot""]/else/authoreventcode",

Also available in: Unified diff