Project

General

Profile

« Previous | Next » 

Revision 511

SALVIAS organisms mapping: Removed redundant PlotCode mapping because the association to plotevent is done with PlotID

View differences:

test/accepted_output/SALVIAS_db.organisms.VegX.xml
64 64
                <name>authorCode</name>
65 65
                <value>295</value>
66 66
            </simpleUserdefined>
67
            <plotUniqueIdentifierID>0</plotUniqueIdentifierID>
68 67
        </plotObservation>
69 68
        <plotObservation id="1">
70 69
            <simpleUserdefined>
71 70
                <name>authorCode</name>
72 71
                <value>295</value>
73 72
            </simpleUserdefined>
74
            <plotUniqueIdentifierID>1</plotUniqueIdentifierID>
75 73
        </plotObservation>
76 74
    </plotObservations>
77
    <plots>
78
        <plot id="0">
79
            <plotUniqueIdentifier>c2000-1</plotUniqueIdentifier>
80
        </plot>
81
        <plot id="1">
82
            <plotUniqueIdentifier>c2000-1</plotUniqueIdentifier>
83
        </plot>
84
    </plots>
85 75
    <taxonDeterminations>
86 76
        <taxonDetermination>
87 77
            <taxonNameUsageConceptID>0</taxonNameUsageConceptID>
test/accepted_output/SALVIAS_db.organisms.VegBIEN.xml
7 7
                <plot_id>
8 8
                    <plot>
9 9
                        <confidentialitystatus>0</confidentialitystatus>
10
                        <authorcode>c2000-1</authorcode>
10
                        <authorcode>1</authorcode>
11 11
                    </plot>
12 12
                </plot_id>
13 13
            </plotevent>
......
283 283
                <plot_id>
284 284
                    <plot>
285 285
                        <confidentialitystatus>0</confidentialitystatus>
286
                        <authorcode>c2000-1</authorcode>
286
                        <authorcode>2</authorcode>
287 287
                    </plot>
288 288
                </plot_id>
289 289
            </plotevent>
inputs/SALVIAS/maps/VegBIEN.organisms.csv
1 1
SALVIAS:plotObservations,VegBIEN:/taxonoccurrence,Comments
2 2
PlotID,/*_id/plotevent/authorcode/_alt/1,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above."
3
PlotCode,"/*_id/plotevent/{*_id/plot:[confidentialitystatus=0]/authorcode/_alt/2,authorcode/_alt/2}","Brad: Same as plotCode, above"
4 3
NoInd,/aggregateoccurrence/count/_alt/1,"Brad: Incorrect for VegX. This is a count of number of indiiduals for an *aggregate* observation. For VegBank, I'm not sure. Not exactly the same as stemCount. An individual tree could have 3 stems but would still only count as 1. We need to check with Bob on this."
5 4
cover_percent,/aggregateoccurrence/cover,
6 5
intercept_cm,"/aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=interceptCm]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Incorrect for VegBank This is an aggregate observation. Used in line-intercept methodology only, describes the point along centerline at which an individual intercepts the center line of the plot. Used to determin relative abundance."
mappings/SALVIAS_db-VegBIEN.organisms.csv
1 1
SALVIAS:plotObservations,VegBIEN:/taxonoccurrence,Comments
2 2
PlotID,/*_id/plotevent/authorcode/_alt/1,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above."
3
PlotCode,"/*_id/plotevent/{*_id/plot:[confidentialitystatus=0]/authorcode/_alt/2,authorcode/_alt/2}","Brad: Same as plotCode, above"
4 3
NoInd,/aggregateoccurrence/count/_alt/1,"Brad: Incorrect for VegX. This is a count of number of indiiduals for an *aggregate* observation. For VegBank, I'm not sure. Not exactly the same as stemCount. An individual tree could have 3 stems but would still only count as 1. We need to check with Bob on this."
5 4
cover_percent,/aggregateoccurrence/cover,
6 5
intercept_cm,"/aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=interceptCm]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Incorrect for VegBank This is an aggregate observation. Used in line-intercept methodology only, describes the point along centerline at which an individual intercepts the center line of the plot. Used to determin relative abundance."
mappings/for_review/SALVIAS_db-VegBIEN.organisms.csv
1 1
SALVIAS:plotObservations,VegBIEN:/taxonoccurrence,Comments
2 2
PlotID,//plotevent/authorcode/_alt/1,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above."
3
PlotCode,"/*_id/plotevent/{*_id/plot/authorcode/_alt/2,authorcode/_alt/2}","Brad: Same as plotCode, above"
4 3
NoInd,//aggregateoccurrence/count/_alt/1,"Brad: Incorrect for VegX. This is a count of number of indiiduals for an *aggregate* observation. For VegBank, I'm not sure. Not exactly the same as stemCount. An individual tree could have 3 stems but would still only count as 1. We need to check with Bob on this."
5 4
cover_percent,//aggregateoccurrence/cover,
6 5
intercept_cm,"//aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=interceptCm]]/definedvalue","Brad: Incorrect for VegBank This is an aggregate observation. Used in line-intercept methodology only, describes the point along centerline at which an individual intercepts the center line of the plot. Used to determin relative abundance."
mappings/for_review/SALVIAS_db-VegX.organisms.csv
1 1
SALVIAS:plotObservations,VegX:/*s/individualOrganismObservation,Comments
2 2
PlotObsID,//taxonNameUsageConcept/voucher,"Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later."
3 3
PlotID,//plotObservation/simpleUserdefined[name=authorCode]/value,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above."
4
PlotCode,//plot/plotUniqueIdentifier,"Brad: Same as plotCode, above"
4
PlotCode,,"Brad: Same as plotCode, above"
5 5
census_no,/simpleUserdefined[name=censusNo]/value,"Brad: Assigned by SALVIAS. 1 for first plot, then 2, 3, etc. I can't recall if we even have repeat censuses in SALVIAS. Probably not."
6 6
census_date,/simpleUserdefined[name=collectionDate]/value/_date/date,
7 7
OrigRecordID,,
mappings/SALVIAS_db-VegX.organisms.csv
1 1
"SALVIAS:plotObservations","VegX:/*s/individualOrganismObservation","Comments"
2 2
"PlotObsID","/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/voucher","Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later."
3 3
"PlotID","/*ID->/*s/plotObservation/simpleUserdefined[name=authorCode]/value","Brad: Not sure why this is repeated? This field and plotCode, as the same as above."
4
"PlotCode","/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/plotUniqueIdentifier","Brad: Same as plotCode, above"
4
"PlotCode",,"Brad: Same as plotCode, above"
5 5
"census_no","/simpleUserdefined[name=censusNo]/value","Brad: Assigned by SALVIAS. 1 for first plot, then 2, 3, etc. I can't recall if we even have repeat censuses in SALVIAS. Probably not."
6 6
"census_date","/simpleUserdefined[name=collectionDate]/value/_date/date",
7 7
"OrigRecordID",,

Also available in: Unified diff