Project

General

Profile

« Previous | Next » 

Revision 490

VegBIEN: Removed stem* prefix from stem measurements because it's redundant and because these same field names were reused in non-stem tables

View differences:

test/accepted_output/SALVIAS.organisms.VegBIEN.xml
22 22
        <aggregateoccurrence>
23 23
            <count>1</count>
24 24
            <individualplant>
25
                <diameter>662</diameter>
25 26
                <stem>
26 27
                    <authorcode>8</authorcode>
27 28
                </stem>
28
                <stemdiameter>662</stemdiameter>
29 29
            </individualplant>
30 30
        </aggregateoccurrence>
31 31
        <taxondetermination>
......
302 302
        <aggregateoccurrence>
303 303
            <count>1</count>
304 304
            <individualplant>
305
                <diameter>215</diameter>
305 306
                <stem>
306 307
                    <authorcode>91</authorcode>
307 308
                </stem>
308
                <stemdiameter>215</stemdiameter>
309 309
            </individualplant>
310 310
        </aggregateoccurrence>
311 311
        <taxondetermination>
inputs/SALVIAS/map.VegBIEN.organisms.csv
4 4
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 5
cover_percent,/aggregateoccurrence/cover,
6 6
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."
7
temp_dbh,/aggregateoccurrence/individualplant/diameter,
8
height_m,/aggregateoccurrence/individualplant/height,Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
7 9
tag2,/aggregateoccurrence/individualplant/stem/authorcode/_alt/1,"Brad: See commend for tag1. Your mapping for tag2 looks correct. Probably both values would go here, only nested, with one superceding the other."
8 10
tag1,/aggregateoccurrence/individualplant/stem/authorcode/_alt/2,"Brad: Another type of code, typically a number, used by the original data provider to indicate an individual tree. These are numbers on physical tags attached to the tree. Tag2 Is the same thing, only used if the first tag was lost. Obviously not a good system as it's possible a tree tag could be lost and changed more than once."
9 11
ht_first_branch_m,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=heightFirstBranchM]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue",Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
10
x_position,/aggregateoccurrence/individualplant/stem/stemxposition,"Brad: Correct for VegBank. I'm not so sure for VegX. Let's ask Nick about this. These are important, fundamental values of many tree plots, and should be accommodated within VegX."
11
y_position,/aggregateoccurrence/individualplant/stem/stemyposition,Brad: See comment above for x_position
12
temp_dbh,/aggregateoccurrence/individualplant/stemdiameter,
13
height_m,/aggregateoccurrence/individualplant/stemheight,Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
12
x_position,/aggregateoccurrence/individualplant/stem/xposition,"Brad: Correct for VegBank. I'm not so sure for VegX. Let's ask Nick about this. These are important, fundamental values of many tree plots, and should be accommodated within VegX."
13
y_position,/aggregateoccurrence/individualplant/stem/yposition,Brad: See comment above for x_position
14 14
census_date,/taxondetermination[role_id/aux_role/rolecode=collector]/collectiondate/_date/date,
15 15
coll_number,/taxondetermination[role_id/aux_role/rolecode=collector]/collectionnumber,Brad: Incorrect. Map instead as for voucher_string
16 16
coll_firstname,"/taxondetermination[role_id/aux_role/rolecode=collector]/collector_id/party/{givenname/_namePart/first,middlename/_namePart/last}",Brad: See comment above
schemas/vegbien.sql
1054 1054
CREATE TABLE individualplant (
1055 1055
    individualplant_id integer NOT NULL,
1056 1056
    aggregateoccurrence_id integer NOT NULL,
1057
    stemdiameter double precision,
1058
    stemdiameteraccuracy double precision,
1059
    stemheight double precision,
1060
    stemheightaccuracy double precision,
1061
    stemtaxonarea double precision,
1057
    diameter double precision,
1058
    diameteraccuracy double precision,
1059
    height double precision,
1060
    heightaccuracy double precision,
1061
    taxonarea double precision,
1062 1062
    emb_individualplant integer,
1063 1063
    authorcode character varying(20)
1064 1064
);
......
2294 2294
    stem_id integer NOT NULL,
2295 2295
    individualplant_id integer NOT NULL,
2296 2296
    authorcode character varying(20),
2297
    stemxposition double precision,
2298
    stemyposition double precision,
2299
    stemhealth character varying(50),
2297
    xposition double precision,
2298
    yposition double precision,
2299
    health character varying(50),
2300 2300
    emb_stem integer,
2301
    stemdiameter double precision,
2302
    stemheight double precision,
2303
    stemheightaccuracy double precision,
2301
    diameter double precision,
2302
    height double precision,
2303
    heightaccuracy double precision,
2304 2304
    age double precision
2305 2305
);
2306 2306

  
mappings/SALVIAS_db-VegBIEN.organisms.csv
4 4
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 5
cover_percent,/aggregateoccurrence/cover,
6 6
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."
7
temp_dbh,/aggregateoccurrence/individualplant/diameter,
8
height_m,/aggregateoccurrence/individualplant/height,Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
7 9
tag2,/aggregateoccurrence/individualplant/stem/authorcode/_alt/1,"Brad: See commend for tag1. Your mapping for tag2 looks correct. Probably both values would go here, only nested, with one superceding the other."
8 10
tag1,/aggregateoccurrence/individualplant/stem/authorcode/_alt/2,"Brad: Another type of code, typically a number, used by the original data provider to indicate an individual tree. These are numbers on physical tags attached to the tree. Tag2 Is the same thing, only used if the first tag was lost. Obviously not a good system as it's possible a tree tag could be lost and changed more than once."
9 11
ht_first_branch_m,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=heightFirstBranchM]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue",Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
10
x_position,/aggregateoccurrence/individualplant/stem/stemxposition,"Brad: Correct for VegBank. I'm not so sure for VegX. Let's ask Nick about this. These are important, fundamental values of many tree plots, and should be accommodated within VegX."
11
y_position,/aggregateoccurrence/individualplant/stem/stemyposition,Brad: See comment above for x_position
12
temp_dbh,/aggregateoccurrence/individualplant/stemdiameter,
13
height_m,/aggregateoccurrence/individualplant/stemheight,Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
12
x_position,/aggregateoccurrence/individualplant/stem/xposition,"Brad: Correct for VegBank. I'm not so sure for VegX. Let's ask Nick about this. These are important, fundamental values of many tree plots, and should be accommodated within VegX."
13
y_position,/aggregateoccurrence/individualplant/stem/yposition,Brad: See comment above for x_position
14 14
census_date,/taxondetermination[role_id/aux_role/rolecode=collector]/collectiondate/_date/date,
15 15
coll_number,/taxondetermination[role_id/aux_role/rolecode=collector]/collectionnumber,Brad: Incorrect. Map instead as for voucher_string
16 16
coll_firstname,"/taxondetermination[role_id/aux_role/rolecode=collector]/collector_id/party/{givenname/_namePart/first,middlename/_namePart/last}",Brad: See comment above
mappings/VegX-VegBIEN.organisms.csv
53 53
/simpleUserdefined[name=count]/value,/aggregateoccurrence/count/_alt/1
54 54
/simpleUserdefined[name=coverPercent]/value,/aggregateoccurrence/cover
55 55
/simpleUserdefined[name=interceptCm]/value,"/aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=interceptCm]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
56
/diameterBaseDistance[baseDistance=1.37]/diameter,/aggregateoccurrence/individualplant/diameter
57
/height,/aggregateoccurrence/individualplant/height
58
/simpleUserdefined[name=stemHeightM]/value,/aggregateoccurrence/individualplant/height
56 59
/*ID->/*s/individualOrganism/identificationLabel,/aggregateoccurrence/individualplant/stem/authorcode
57 60
/*ID->/*s/individualOrganism/identificationLabel/_alt/1,/aggregateoccurrence/individualplant/stem/authorcode/_alt/1
58 61
/*ID->/*s/individualOrganism/identificationLabel/_alt/2,/aggregateoccurrence/individualplant/stem/authorcode/_alt/2
62
/diameterBaseDistance[baseDistance=0]/diameter,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=basalDiameter]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
63
/simpleUserdefined[name=stemCanopyForm]/value,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=canopyForm]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
64
/simpleUserdefined[name=stemCanopyPosition]/value,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=canopyPosition]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
59 65
/simpleUserdefined[name=habitat]/value,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=habitat]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
60 66
/simpleUserdefined[name=htFirstBranchM]/value,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=heightFirstBranchM]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
67
/simpleUserdefined[name=stemHeightFirstBranchM]/value,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=heightFirstBranchM]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
68
/simpleUserdefined[name=stemLianaInfestation]/value,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=lianaInfestation]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
61 69
/simpleUserdefined[name=plantFungusDescription]/value,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=plantFungusDescription]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
62
/diameterBaseDistance[baseDistance=0]/diameter,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=stemBasalDiameter]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
63
/simpleUserdefined[name=stemCanopyForm]/value,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=stemCanopyForm]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
64
/simpleUserdefined[name=stemCanopyPosition]/value,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=stemCanopyPosition]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
65
/simpleUserdefined[name=stemHeightFirstBranchM]/value,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=stemHeightFirstBranchM]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
66
/simpleUserdefined[name=stemLianaInfestation]/value,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=stemLianaInfestation]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
67 70
/simpleUserdefined[name=substrate]/value,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=substrate]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
68 71
/simpleUserdefined[name=vegetation]/value,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=vegetation]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
69
/simpleUserdefined[name=xPosition]/value,/aggregateoccurrence/individualplant/stem/stemxposition
70
/simpleUserdefined[name=yPosition]/value,/aggregateoccurrence/individualplant/stem/stemyposition
71
/diameterBaseDistance[baseDistance=1.37]/diameter,/aggregateoccurrence/individualplant/stemdiameter
72
/height,/aggregateoccurrence/individualplant/stemheight
73
/simpleUserdefined[name=stemHeightM]/value,/aggregateoccurrence/individualplant/stemheight
72
/simpleUserdefined[name=xPosition]/value,/aggregateoccurrence/individualplant/stem/xposition
73
/simpleUserdefined[name=yPosition]/value,/aggregateoccurrence/individualplant/stem/yposition
74 74
/simpleUserdefined[name=collectionDate]/value,/taxondetermination[role_id/aux_role/rolecode=collector]/collectiondate
75 75
/simpleUserdefined[name=collectionDate]/value/_date/date,/taxondetermination[role_id/aux_role/rolecode=collector]/collectiondate/_date/date
76 76
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/authorCode,/taxondetermination[role_id/aux_role/rolecode=collector]/collectionnumber
mappings/for_review/SALVIAS_db-VegBIEN.organisms.csv
4 4
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 5
cover_percent,//aggregateoccurrence/cover,
6 6
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."
7
temp_dbh,//individualplant/diameter,
8
height_m,//individualplant/height,Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
7 9
tag2,//stem/authorcode/_alt/1,"Brad: See commend for tag1. Your mapping for tag2 looks correct. Probably both values would go here, only nested, with one superceding the other."
8 10
tag1,//stem/authorcode/_alt/2,"Brad: Another type of code, typically a number, used by the original data provider to indicate an individual tree. These are numbers on physical tags attached to the tree. Tag2 Is the same thing, only used if the first tag was lost. Obviously not a good system as it's possible a tree tag could be lost and changed more than once."
9 11
ht_first_branch_m,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=heightFirstBranchM]]/definedvalue",Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
10
x_position,//stem/stemxposition,"Brad: Correct for VegBank. I'm not so sure for VegX. Let's ask Nick about this. These are important, fundamental values of many tree plots, and should be accommodated within VegX."
11
y_position,//stem/stemyposition,Brad: See comment above for x_position
12
temp_dbh,//individualplant/stemdiameter,
13
height_m,//individualplant/stemheight,Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
12
x_position,//stem/xposition,"Brad: Correct for VegBank. I'm not so sure for VegX. Let's ask Nick about this. These are important, fundamental values of many tree plots, and should be accommodated within VegX."
13
y_position,//stem/yposition,Brad: See comment above for x_position
14 14
census_date,/taxondetermination[rolecode=collector]/collectiondate/_date/date,
15 15
coll_number,/taxondetermination[rolecode=collector]/collectionnumber,Brad: Incorrect. Map instead as for voucher_string
16 16
coll_firstname,"/taxondetermination[rolecode=collector]/collector_id/party/{givenname/_namePart/first,middlename/_namePart/last}",Brad: See comment above
mappings/for_review/VegX-VegBIEN.organisms.csv
53 53
/simpleUserdefined[name=count]/value,//aggregateoccurrence/count/_alt/1
54 54
/simpleUserdefined[name=coverPercent]/value,//aggregateoccurrence/cover
55 55
/simpleUserdefined[name=interceptCm]/value,"//aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=interceptCm]]/definedvalue"
56
/diameterBaseDistance[baseDistance=1.37]/diameter,//individualplant/diameter
57
/height,//individualplant/height
58
/simpleUserdefined[name=stemHeightM]/value,//individualplant/height
56 59
//individualOrganism/identificationLabel,//stem/authorcode
57 60
//individualOrganism/identificationLabel/_alt/1,//stem/authorcode/_alt/1
58 61
//individualOrganism/identificationLabel/_alt/2,//stem/authorcode/_alt/2
62
/diameterBaseDistance[baseDistance=0]/diameter,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=basalDiameter]]/definedvalue"
63
/simpleUserdefined[name=stemCanopyForm]/value,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=canopyForm]]/definedvalue"
64
/simpleUserdefined[name=stemCanopyPosition]/value,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=canopyPosition]]/definedvalue"
59 65
/simpleUserdefined[name=habitat]/value,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=habitat]]/definedvalue"
60 66
/simpleUserdefined[name=htFirstBranchM]/value,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=heightFirstBranchM]]/definedvalue"
67
/simpleUserdefined[name=stemHeightFirstBranchM]/value,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=heightFirstBranchM]]/definedvalue"
68
/simpleUserdefined[name=stemLianaInfestation]/value,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=lianaInfestation]]/definedvalue"
61 69
/simpleUserdefined[name=plantFungusDescription]/value,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=plantFungusDescription]]/definedvalue"
62
/diameterBaseDistance[baseDistance=0]/diameter,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=stemBasalDiameter]]/definedvalue"
63
/simpleUserdefined[name=stemCanopyForm]/value,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=stemCanopyForm]]/definedvalue"
64
/simpleUserdefined[name=stemCanopyPosition]/value,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=stemCanopyPosition]]/definedvalue"
65
/simpleUserdefined[name=stemHeightFirstBranchM]/value,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=stemHeightFirstBranchM]]/definedvalue"
66
/simpleUserdefined[name=stemLianaInfestation]/value,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=stemLianaInfestation]]/definedvalue"
67 70
/simpleUserdefined[name=substrate]/value,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=substrate]]/definedvalue"
68 71
/simpleUserdefined[name=vegetation]/value,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=vegetation]]/definedvalue"
69
/simpleUserdefined[name=xPosition]/value,//stem/stemxposition
70
/simpleUserdefined[name=yPosition]/value,//stem/stemyposition
71
/diameterBaseDistance[baseDistance=1.37]/diameter,//individualplant/stemdiameter
72
/height,//individualplant/stemheight
73
/simpleUserdefined[name=stemHeightM]/value,//individualplant/stemheight
72
/simpleUserdefined[name=xPosition]/value,//stem/xposition
73
/simpleUserdefined[name=yPosition]/value,//stem/yposition
74 74
/simpleUserdefined[name=collectionDate]/value,/taxondetermination[rolecode=collector]/collectiondate
75 75
/simpleUserdefined[name=collectionDate]/value/_date/date,/taxondetermination[rolecode=collector]/collectiondate/_date/date
76 76
//taxonNameUsageConcept/authorCode,/taxondetermination[rolecode=collector]/collectionnumber
mappings/for_review/SALVIAS-VegBIEN.organisms.csv
5 5
no_of_individuals,//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."
6 6
cover_percent,//aggregateoccurrence/cover,
7 7
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."
8
stem_dbh,//individualplant/diameter,
9
height_m,//individualplant/height,Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
10
stem_height_m,//individualplant/height,"Brad: Same as for height, but applies to individuals stems, not trees. Rare."
8 11
stem_tag1,//stem/authorcode,"Brad: Same as tag1 & tag2, but applied to individual stems. I'm still not clear how to distinguish between methods which tag only individuals trees, and those which tag individual stems."
9 12
stem_tag2,//stem/authorcode,Brad: see above
10 13
tag2,//stem/authorcode/_alt/1,"Brad: See commend for tag1. Your mapping for tag2 looks correct. Probably both values would go here, only nested, with one superceding the other."
11 14
tag1,//stem/authorcode/_alt/2,"Brad: Another type of code, typically a number, used by the original data provider to indicate an individual tree. These are numbers on physical tags attached to the tree. Tag2 Is the same thing, only used if the first tag was lost. Obviously not a good system as it's possible a tree tag could be lost and changed more than once."
15
basal_diam,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=basalDiameter]]/definedvalue",
16
stem_canopy_form,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=canopyForm]]/definedvalue",Brad: Should also be userDefined for VegBank. 
17
stem_canopy_position,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=canopyPosition]]/definedvalue",Brad: Should also be userDefined for VegBank. 
12 18
ht_first_branch_m,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=heightFirstBranchM]]/definedvalue",Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
13
basal_diam,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=stemBasalDiameter]]/definedvalue",
14
stem_canopy_form,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=stemCanopyForm]]/definedvalue",Brad: Should also be userDefined for VegBank. 
15
stem_canopy_position,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=stemCanopyPosition]]/definedvalue",Brad: Should also be userDefined for VegBank. 
16
stem_height_first_branch_m,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=stemHeightFirstBranchM]]/definedvalue","Brad: Should also be userDefined for VegBank. Same as for ht_first_branch_m, but applies to individuals stems, not trees. Rare."
17
stem_liana_infestation,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=stemLianaInfestation]]/definedvalue",Brad: Should also be userDefined for VegBank. 
18
x_position,//stem/stemxposition,"Brad: Correct for VegBank. I'm not so sure for VegX. Let's ask Nick about this. These are important, fundamental values of many tree plots, and should be accommodated within VegX."
19
y_position,//stem/stemyposition,Brad: See comment above for x_position
20
stem_dbh,//individualplant/stemdiameter,
21
height_m,//individualplant/stemheight,Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
22
stem_height_m,//individualplant/stemheight,"Brad: Same as for height, but applies to individuals stems, not trees. Rare."
19
stem_height_first_branch_m,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=heightFirstBranchM]]/definedvalue","Brad: Should also be userDefined for VegBank. Same as for ht_first_branch_m, but applies to individuals stems, not trees. Rare."
20
stem_liana_infestation,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=lianaInfestation]]/definedvalue",Brad: Should also be userDefined for VegBank. 
21
x_position,//stem/xposition,"Brad: Correct for VegBank. I'm not so sure for VegX. Let's ask Nick about this. These are important, fundamental values of many tree plots, and should be accommodated within VegX."
22
y_position,//stem/yposition,Brad: See comment above for x_position
23 23
coll_number,/taxondetermination[rolecode=collector]/collectionnumber,Brad: Incorrect. Map instead as for voucher_string
24 24
coll_firstname,"/taxondetermination[rolecode=collector]/collector_id/party/{givenname/_namePart/first,middlename/_namePart/last}",Brad: See comment above
25 25
coll_lastname,/taxondetermination[rolecode=collector]/collector_id/party/{surname},"Brad: Correct for VegBank. This is the collector of a separate specimen which vouchers this tree or species. I worry that vouchers are not properly accommodated in VegX. Again, we need to check with Nick."
mappings/SALVIAS-VegBIEN.organisms.csv
5 5
no_of_individuals,/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."
6 6
cover_percent,/aggregateoccurrence/cover,
7 7
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."
8
stem_dbh,/aggregateoccurrence/individualplant/diameter,
9
height_m,/aggregateoccurrence/individualplant/height,Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
10
stem_height_m,/aggregateoccurrence/individualplant/height,"Brad: Same as for height, but applies to individuals stems, not trees. Rare."
8 11
stem_tag1,/aggregateoccurrence/individualplant/stem/authorcode,"Brad: Same as tag1 & tag2, but applied to individual stems. I'm still not clear how to distinguish between methods which tag only individuals trees, and those which tag individual stems."
9 12
stem_tag2,/aggregateoccurrence/individualplant/stem/authorcode,Brad: see above
10 13
tag2,/aggregateoccurrence/individualplant/stem/authorcode/_alt/1,"Brad: See commend for tag1. Your mapping for tag2 looks correct. Probably both values would go here, only nested, with one superceding the other."
11 14
tag1,/aggregateoccurrence/individualplant/stem/authorcode/_alt/2,"Brad: Another type of code, typically a number, used by the original data provider to indicate an individual tree. These are numbers on physical tags attached to the tree. Tag2 Is the same thing, only used if the first tag was lost. Obviously not a good system as it's possible a tree tag could be lost and changed more than once."
15
basal_diam,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=basalDiameter]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue",
16
stem_canopy_form,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=canopyForm]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue",Brad: Should also be userDefined for VegBank. 
17
stem_canopy_position,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=canopyPosition]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue",Brad: Should also be userDefined for VegBank. 
12 18
ht_first_branch_m,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=heightFirstBranchM]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue",Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
13
basal_diam,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=stemBasalDiameter]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue",
14
stem_canopy_form,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=stemCanopyForm]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue",Brad: Should also be userDefined for VegBank. 
15
stem_canopy_position,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=stemCanopyPosition]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue",Brad: Should also be userDefined for VegBank. 
16
stem_height_first_branch_m,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=stemHeightFirstBranchM]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Should also be userDefined for VegBank. Same as for ht_first_branch_m, but applies to individuals stems, not trees. Rare."
17
stem_liana_infestation,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=stemLianaInfestation]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue",Brad: Should also be userDefined for VegBank. 
18
x_position,/aggregateoccurrence/individualplant/stem/stemxposition,"Brad: Correct for VegBank. I'm not so sure for VegX. Let's ask Nick about this. These are important, fundamental values of many tree plots, and should be accommodated within VegX."
19
y_position,/aggregateoccurrence/individualplant/stem/stemyposition,Brad: See comment above for x_position
20
stem_dbh,/aggregateoccurrence/individualplant/stemdiameter,
21
height_m,/aggregateoccurrence/individualplant/stemheight,Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
22
stem_height_m,/aggregateoccurrence/individualplant/stemheight,"Brad: Same as for height, but applies to individuals stems, not trees. Rare."
19
stem_height_first_branch_m,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=heightFirstBranchM]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Should also be userDefined for VegBank. Same as for ht_first_branch_m, but applies to individuals stems, not trees. Rare."
20
stem_liana_infestation,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=lianaInfestation]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue",Brad: Should also be userDefined for VegBank. 
21
x_position,/aggregateoccurrence/individualplant/stem/xposition,"Brad: Correct for VegBank. I'm not so sure for VegX. Let's ask Nick about this. These are important, fundamental values of many tree plots, and should be accommodated within VegX."
22
y_position,/aggregateoccurrence/individualplant/stem/yposition,Brad: See comment above for x_position
23 23
coll_number,/taxondetermination[role_id/aux_role/rolecode=collector]/collectionnumber,Brad: Incorrect. Map instead as for voucher_string
24 24
coll_firstname,"/taxondetermination[role_id/aux_role/rolecode=collector]/collector_id/party/{givenname/_namePart/first,middlename/_namePart/last}",Brad: See comment above
25 25
coll_lastname,/taxondetermination[role_id/aux_role/rolecode=collector]/collector_id/party/{surname},"Brad: Correct for VegBank. This is the collector of a separate specimen which vouchers this tree or species. I worry that vouchers are not properly accommodated in VegX. Again, we need to check with Nick."

Also available in: Unified diff