Project

General

Profile

« Previous | Next » 

Revision 609

VegX-VegBIEN mapping: Map stem count to new stemcount field

View differences:

inputs/SALVIAS/maps/VegBIEN.stems.csv
1 1
SALVIAS:stems,VegBIEN:/stem,Comments
2 2
PlotObsID,/*_id/individualplant/authorplantcode,
3
NoInd,/*_id/individualplant/stemcount,
3 4
stem_tag2,/authorstemcode/_alt/1,
4 5
stem_tag1,/authorstemcode/_alt/2,
5 6
basal_diam,"/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=basalDiameter]]:[@fkey=tableRecord_ID]/definedvalue",
6
NoInd,"/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=count]]:[@fkey=tableRecord_ID]/definedvalue",
7 7
gentry_dbh,"/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=gentryDiameter]]:[@fkey=tableRecord_ID]/definedvalue",
8 8
stem_notes,"/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=notes]]:[@fkey=tableRecord_ID]/definedvalue",
9 9
stem_canopy_form,"/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=stemCanopyForm]]:[@fkey=tableRecord_ID]/definedvalue",
mappings/VegX-VegBIEN.organisms.csv
56 56
/height,/aggregateoccurrence/individualplant/overallheight
57 57
/simpleUserdefined[name=stemHeightM]/value,/aggregateoccurrence/individualplant/overallheight
58 58
->/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/relatedItem[relationshipType=stemParent]/relatedItemID->/*s/individualOrganismObservation/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/voucher,/aggregateoccurrence/individualplant/stem/*_id/individualplant/authorplantcode
59
->/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/simpleUserdefined[name=count]/value,/aggregateoccurrence/individualplant/stem/*_id/individualplant/stemcount
59 60
->/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/*ID->/*s/individualOrganism/identificationLabel,/aggregateoccurrence/individualplant/stem/authorstemcode
60 61
/*ID->/*s/individualOrganism/identificationLabel,/aggregateoccurrence/individualplant/stem/authorstemcode
61 62
->/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/*ID->/*s/individualOrganism/identificationLabel/_alt/1,/aggregateoccurrence/individualplant/stem/authorstemcode/_alt/1
......
66 67
/diameterBaseDistance[baseDistance/value=0]/diameter,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=basalDiameter]]:[@fkey=tableRecord_ID]/definedvalue"
67 68
/simpleUserdefined[name=stemCanopyForm]/value,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=canopyForm]]:[@fkey=tableRecord_ID]/definedvalue"
68 69
/simpleUserdefined[name=stemCanopyPosition]/value,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=canopyPosition]]:[@fkey=tableRecord_ID]/definedvalue"
69
->/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/simpleUserdefined[name=count]/value,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=count]]:[@fkey=tableRecord_ID]/definedvalue"
70 70
->/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/diameterBaseDistance[baseDistance[complexUserDefined/method=Gentry]/value=1.37]/diameter,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=gentryDiameter]]:[@fkey=tableRecord_ID]/definedvalue"
71 71
/simpleUserdefined[name=habitat]/value,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=habitat]]:[@fkey=tableRecord_ID]/definedvalue"
72 72
/simpleUserdefined[name=htFirstBranchM]/value,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=heightFirstBranchM]]:[@fkey=tableRecord_ID]/definedvalue"
mappings/for_review/VegX-VegBIEN.organisms.csv
56 56
/height,//individualplant/overallheight
57 57
/simpleUserdefined[name=stemHeightM]/value,//individualplant/overallheight
58 58
//taxonNameUsageConcept/voucher,//individualplant/authorplantcode
59
//*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/simpleUserdefined[name=count]/value,//individualplant/stemcount
59 60
//individualOrganism/identificationLabel,//stem/authorstemcode
60 61
//individualOrganism/identificationLabel,//stem/authorstemcode
61 62
//individualOrganism/identificationLabel/_alt/1,//stem/authorstemcode/_alt/1
......
66 67
/diameterBaseDistance[value=0]/diameter,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=basalDiameter]]/definedvalue"
67 68
/simpleUserdefined[name=stemCanopyForm]/value,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=canopyForm]]/definedvalue"
68 69
/simpleUserdefined[name=stemCanopyPosition]/value,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=canopyPosition]]/definedvalue"
69
//*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/simpleUserdefined[name=count]/value,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=count]]/definedvalue"
70 70
//*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/diameterBaseDistance[baseDistance[method=Gentry]/value=1.37]/diameter,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=gentryDiameter]]/definedvalue"
71 71
/simpleUserdefined[name=habitat]/value,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=habitat]]/definedvalue"
72 72
/simpleUserdefined[name=htFirstBranchM]/value,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=heightFirstBranchM]]/definedvalue"
mappings/VegX-VegBIEN.stems.csv
1 1
VegX:/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID],VegBIEN:/stem
2 2
/relatedItem[relationshipType=stemParent]/relatedItemID->/*s/individualOrganismObservation/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/voucher,/*_id/individualplant/authorplantcode
3
/simpleUserdefined[name=count]/value,/*_id/individualplant/stemcount
3 4
/*ID->/*s/individualOrganism/identificationLabel,/authorstemcode
4 5
/*ID->/*s/individualOrganism/identificationLabel/_alt/1,/authorstemcode/_alt/1
5 6
/*ID->/*s/individualOrganism/identificationLabel/_alt/2,/authorstemcode/_alt/2
6 7
/diameterBaseDistance[baseDistance/value=0]/diameter,"/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=basalDiameter]]:[@fkey=tableRecord_ID]/definedvalue"
7
/simpleUserdefined[name=count]/value,"/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=count]]:[@fkey=tableRecord_ID]/definedvalue"
8 8
/diameterBaseDistance[baseDistance[complexUserDefined/method=Gentry]/value=1.37]/diameter,"/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=gentryDiameter]]:[@fkey=tableRecord_ID]/definedvalue"
9 9
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/note/text,"/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=notes]]:[@fkey=tableRecord_ID]/definedvalue"
10 10
/simpleUserdefined[name=stemCanopyForm]/value,"/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=stemCanopyForm]]:[@fkey=tableRecord_ID]/definedvalue"

Also available in: Unified diff