Revision 1237
Added by Aaron Marcuse-Kubitza almost 13 years ago
inputs/SALVIAS/maps/VegBIEN.stems.csv | ||
---|---|---|
10 | 10 |
stem_dbh,/diameterbreastheight, |
11 | 11 |
stem_height_m,/height, |
12 | 12 |
stem_height_first_branch_m,/heightfirstbranch, |
13 |
stem_tag1,"/stemtag:[""""/iscurrent/_alt/2=true](/tag)",Quotes sort it before tag2
|
|
14 |
stem_tag2,"/stemtag:[../stemtag[iscurrent/_alt/2=true]/iscurrent/_alt/1=false,iscurrent=true](/tag)",
|
|
13 |
stem_tag1,"/stemtag[""""/iscurrent/_alt/2=true](/tag)",Quotes sort it before tag2 |
|
14 |
stem_tag2,/stemtag[iscurrent=true]:[../stemtag[iscurrent/_alt/2=true]/iscurrent/_alt/1=false](/tag),
|
|
15 | 15 |
origrecord_id_stems,, |
16 | 16 |
stem_id,, |
17 | 17 |
tmp_del,, |
inputs/SALVIAS/maps/VegBIEN.organisms.csv | ||
---|---|---|
14 | 14 |
Notes,"/aggregateoccurrence/*_id/plantobservation/stemobservation/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=notes]]:[@fkey=tablerecord_id]/definedvalue", |
15 | 15 |
temp_dbh,/aggregateoccurrence/*_id/plantobservation/stemobservation/diameterbreastheight, |
16 | 16 |
ht_first_branch_m,/aggregateoccurrence/*_id/plantobservation/stemobservation/heightfirstbranch,Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob |
17 |
tag1,"/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag:[""""/iscurrent/_alt/2=true](/tag)","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.; Quotes sort it before tag2"
|
|
18 |
tag2,"/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag:[../stemtag[iscurrent/_alt/2=true]/iscurrent/_alt/1=false,iscurrent=true](/tag)","Brad: See commend for tag1. Your mapping for tag2 looks correct. Probably both values would go here, only nested, with one superceding the other."
|
|
17 |
tag1,"/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag[""""/iscurrent/_alt/2=true](/tag)","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.; Quotes sort it before tag2" |
|
18 |
tag2,/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag[iscurrent=true]:[../stemtag[iscurrent/_alt/2=true]/iscurrent/_alt/1=false](/tag),"Brad: See commend for tag1. Your mapping for tag2 looks correct. Probably both values would go here, only nested, with one superceding the other."
|
|
19 | 19 |
x_position,/aggregateoccurrence/*_id/plantobservation/stemobservation/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." |
20 | 20 |
y_position,/aggregateoccurrence/*_id/plantobservation/stemobservation/yposition,Brad: See comment above for x_position |
21 | 21 |
NoInd,/aggregateoccurrence/count,"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." |
inputs/SALVIAS-CSV/test/VegBIEN.organisms.xml.ref | ||
---|---|---|
32 | 32 |
<stemobservation> |
33 | 33 |
<diameterbreastheight>662</diameterbreastheight> |
34 | 34 |
<stemtag> |
35 |
<iscurrent>false</iscurrent> |
|
35 | 36 |
<tag>7</tag> |
36 |
<iscurrent>false</iscurrent> |
|
37 | 37 |
</stemtag> |
38 | 38 |
<stemtag> |
39 |
<iscurrent>true</iscurrent> |
|
39 | 40 |
<tag>8</tag> |
40 |
<iscurrent>true</iscurrent> |
|
41 | 41 |
</stemtag> |
42 | 42 |
</stemobservation> |
43 | 43 |
</plantobservation> |
... | ... | |
165 | 165 |
<stemobservation> |
166 | 166 |
<diameterbreastheight>215</diameterbreastheight> |
167 | 167 |
<stemtag> |
168 |
<iscurrent>false</iscurrent> |
|
168 | 169 |
<tag>84</tag> |
169 |
<iscurrent>false</iscurrent> |
|
170 | 170 |
</stemtag> |
171 | 171 |
<stemtag> |
172 |
<iscurrent>true</iscurrent> |
|
172 | 173 |
<tag>91</tag> |
173 |
<iscurrent>true</iscurrent> |
|
174 | 174 |
</stemtag> |
175 | 175 |
</stemobservation> |
176 | 176 |
</plantobservation> |
inputs/SALVIAS-CSV/maps/VegBIEN.organisms.csv | ||
---|---|---|
18 | 18 |
stem_dbh,/aggregateoccurrence/*_id/plantobservation/stemobservation/diameterbreastheight, |
19 | 19 |
ht_first_branch_m,/aggregateoccurrence/*_id/plantobservation/stemobservation/heightfirstbranch,Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob |
20 | 20 |
stem_height_first_branch_m,/aggregateoccurrence/*_id/plantobservation/stemobservation/heightfirstbranch,"Brad: Should also be userDefined for VegBank. Same as for ht_first_branch_m, but applies to individuals stems, not trees. Rare." |
21 |
stem_tag1,"/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag:[""""/iscurrent/_alt/2=true](/tag)","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.; Quotes sort it before tag2"
|
|
22 |
stem_tag2,"/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag:[""""/iscurrent/_alt/2=true](/tag)",Brad: see above; Quotes sort it before tag2
|
|
23 |
tag1,"/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag:[""""/iscurrent/_alt/2=true](/tag)","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.; Quotes sort it before tag2"
|
|
24 |
tag2,"/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag:[../stemtag[iscurrent/_alt/2=true]/iscurrent/_alt/1=false,iscurrent=true](/tag)","Brad: See commend for tag1. Your mapping for tag2 looks correct. Probably both values would go here, only nested, with one superceding the other."
|
|
21 |
stem_tag1,"/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag[""""/iscurrent/_alt/2=true](/tag)","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.; Quotes sort it before tag2" |
|
22 |
stem_tag2,"/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag[""""/iscurrent/_alt/2=true](/tag)",Brad: see above; Quotes sort it before tag2 |
|
23 |
tag1,"/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag[""""/iscurrent/_alt/2=true](/tag)","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.; Quotes sort it before tag2" |
|
24 |
tag2,/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag[iscurrent=true]:[../stemtag[iscurrent/_alt/2=true]/iscurrent/_alt/1=false](/tag),"Brad: See commend for tag1. Your mapping for tag2 looks correct. Probably both values would go here, only nested, with one superceding the other."
|
|
25 | 25 |
x_position,/aggregateoccurrence/*_id/plantobservation/stemobservation/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." |
26 | 26 |
y_position,/aggregateoccurrence/*_id/plantobservation/stemobservation/yposition,Brad: See comment above for x_position |
27 | 27 |
no_of_individuals,/aggregateoccurrence/count,"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." |
mappings/VegX-VegBIEN.organisms.csv | ||
---|---|---|
77 | 77 |
->/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/simpleUserdefined[name=stemHeightFirstBranchM]/value,/aggregateoccurrence/*_id/plantobservation/stemobservation/heightfirstbranch, |
78 | 78 |
/simpleUserdefined[name=htFirstBranchM]/value,/aggregateoccurrence/*_id/plantobservation/stemobservation/heightfirstbranch, |
79 | 79 |
/simpleUserdefined[name=stemHeightFirstBranchM]/value,/aggregateoccurrence/*_id/plantobservation/stemobservation/heightfirstbranch, |
80 |
->/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/*ID->/*s/individualOrganism/identificationLabel,"/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag:[""""/iscurrent/_alt/2=true](/tag)",Quotes sort it before tag2
|
|
81 |
/*ID->/*s/individualOrganism/identificationLabel,"/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag:[""""/iscurrent/_alt/2=true](/tag)",Quotes sort it before tag2
|
|
82 |
->/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/simpleUserdefined[name=tag2]/value,"/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag:[../stemtag[iscurrent/_alt/2=true]/iscurrent/_alt/1=false,iscurrent=true](/tag)",
|
|
83 |
/simpleUserdefined[name=tag2]/value,"/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag:[../stemtag[iscurrent/_alt/2=true]/iscurrent/_alt/1=false,iscurrent=true](/tag)",
|
|
80 |
->/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/*ID->/*s/individualOrganism/identificationLabel,"/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag[""""/iscurrent/_alt/2=true](/tag)",Quotes sort it before tag2 |
|
81 |
/*ID->/*s/individualOrganism/identificationLabel,"/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag[""""/iscurrent/_alt/2=true](/tag)",Quotes sort it before tag2 |
|
82 |
->/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/simpleUserdefined[name=tag2]/value,/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag[iscurrent=true]:[../stemtag[iscurrent/_alt/2=true]/iscurrent/_alt/1=false](/tag),
|
|
83 |
/simpleUserdefined[name=tag2]/value,/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag[iscurrent=true]:[../stemtag[iscurrent/_alt/2=true]/iscurrent/_alt/1=false](/tag),
|
|
84 | 84 |
/simpleUserdefined[name=xPosition]/value,/aggregateoccurrence/*_id/plantobservation/stemobservation/xposition, |
85 | 85 |
/simpleUserdefined[name=yPosition]/value,/aggregateoccurrence/*_id/plantobservation/stemobservation/yposition, |
86 | 86 |
/simpleUserdefined[name=count]/value,/aggregateoccurrence/count, |
mappings/for_review/VegX-VegBIEN.organisms.csv | ||
---|---|---|
77 | 77 |
//*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/simpleUserdefined[name=stemHeightFirstBranchM]/value,//stemobservation/heightfirstbranch, |
78 | 78 |
/simpleUserdefined[name=htFirstBranchM]/value,//stemobservation/heightfirstbranch, |
79 | 79 |
/simpleUserdefined[name=stemHeightFirstBranchM]/value,//stemobservation/heightfirstbranch, |
80 |
//individualOrganism/identificationLabel,/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag(/tag),Quotes sort it before tag2
|
|
81 |
//individualOrganism/identificationLabel,/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag(/tag),Quotes sort it before tag2
|
|
82 |
//*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/simpleUserdefined[name=tag2]/value,"/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag:[../stemtag[2=true]/1=false,iscurrent=true](/tag)",
|
|
83 |
/simpleUserdefined[name=tag2]/value,"/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag:[../stemtag[2=true]/1=false,iscurrent=true](/tag)",
|
|
80 |
//individualOrganism/identificationLabel,"//stemobservation/stemtag[""""/2=true](/tag)",Quotes sort it before tag2
|
|
81 |
//individualOrganism/identificationLabel,"//stemobservation/stemtag[""""/2=true](/tag)",Quotes sort it before tag2
|
|
82 |
//*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/simpleUserdefined[name=tag2]/value,//stemobservation/stemtag[iscurrent=true]:[../stemtag[2=true]/1=false](/tag),
|
|
83 |
/simpleUserdefined[name=tag2]/value,//stemobservation/stemtag[iscurrent=true]:[../stemtag[2=true]/1=false](/tag),
|
|
84 | 84 |
/simpleUserdefined[name=xPosition]/value,//stemobservation/xposition, |
85 | 85 |
/simpleUserdefined[name=yPosition]/value,//stemobservation/yposition, |
86 | 86 |
/simpleUserdefined[name=count]/value,//aggregateoccurrence/count, |
mappings/for_review/VegX-VegBIEN.stems.csv | ||
---|---|---|
10 | 10 |
/diameterBaseDistance[baseDistance[]/value=1.37]/diameter,/diameterbreastheight, |
11 | 11 |
/simpleUserdefined[name=stemHeightM]/value,/height, |
12 | 12 |
/simpleUserdefined[name=stemHeightFirstBranchM]/value,/heightfirstbranch, |
13 |
//individualOrganism/identificationLabel,/stemtag(/tag),Quotes sort it before tag2 |
|
14 |
/simpleUserdefined[name=tag2]/value,"/stemtag:[../stemtag[2=true]/1=false,iscurrent=true](/tag)", |
|
13 |
//individualOrganism/identificationLabel,"/stemtag[""""/2=true](/tag)",Quotes sort it before tag2 |
|
14 |
/simpleUserdefined[name=tag2]/value,/stemtag[iscurrent=true]:[../stemtag[2=true]/1=false](/tag), |
mappings/VegX-VegBIEN.stems.csv | ||
---|---|---|
10 | 10 |
/diameterBaseDistance[baseDistance[!attributeID]/value=1.37]/diameter,/diameterbreastheight, |
11 | 11 |
/simpleUserdefined[name=stemHeightM]/value,/height, |
12 | 12 |
/simpleUserdefined[name=stemHeightFirstBranchM]/value,/heightfirstbranch, |
13 |
/*ID->/*s/individualOrganism/identificationLabel,"/stemtag:[""""/iscurrent/_alt/2=true](/tag)",Quotes sort it before tag2 |
|
14 |
/simpleUserdefined[name=tag2]/value,"/stemtag:[../stemtag[iscurrent/_alt/2=true]/iscurrent/_alt/1=false,iscurrent=true](/tag)", |
|
13 |
/*ID->/*s/individualOrganism/identificationLabel,"/stemtag[""""/iscurrent/_alt/2=true](/tag)",Quotes sort it before tag2 |
|
14 |
/simpleUserdefined[name=tag2]/value,/stemtag[iscurrent=true]:[../stemtag[iscurrent/_alt/2=true]/iscurrent/_alt/1=false](/tag), |
Also available in: Unified diff
VegX-VegBIEN mapping: Map stemtags using [] instead of :[] for attrs that are really keys