Project

General

Profile

« Previous | Next » 

Revision 1240

VegX-VegBIEN mapping: Use new lookup-only element syntax to ensure that stemtag 1 is not created if it doesn't exist when stemtag 2 tries to set its iscurrent status to false. This should fix the 136 "NullValueException: columns: tag" errors in the SALVIAS organisms import.

View differences:

VegBIEN.organisms.csv
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 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."
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."

Also available in: Unified diff