Project

General

Profile

« Previous | Next » 

Revision 3211

mappings/VegX-VegBIEN.stems.csv: Removed _collapse where it's no longer needed because sql_io.put() handles that now. Note that each plantobservation will get an empty stemobservation, whether or not there are any stemtags. This can later be used to add further stemtags.

View differences:

VegBIEN.stems.csv
1 1
SALVIAS,VegBIEN:/stemobservation,Comments
2 2
PlotObsID,"/*_id/plantobservation/aggregateoccurrence/*_id/taxonoccurrence/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/{then/specimenreplicate,else/voucher/*_id/specimenreplicate:[*_id/taxonoccurrence]}/:[datasource_id/party/organizationname/_alt/2=$/_ignore/inLabel]/catalognumber_dwc",
3 3
NoInd,/*_id/plantobservation/stemcount,
4
stem_tag1,"/_collapse:[require=tag](/value/stemtag[""""/iscurrent/_alt/2=true])/tag",Quotes sort it before tag2
5
stem_tag2,/_collapse:[require=tag](/value/stemtag[iscurrent=true]:[../../../_collapse?(/value/stemtag[iscurrent/_alt/2=true])/iscurrent/_alt/1=false])/tag,
6 4
basal_diam,/basaldiameter,
7 5
stem_canopy_form,"/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=canopyForm]]:[@fkey=tablerecord_id]/definedvalue",
8 6
stem_canopy_position,"/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=canopyPosition]]:[@fkey=tablerecord_id]/definedvalue",
......
12 10
stem_dbh,/diameterbreastheight,
13 11
stem_height_m,/height,
14 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[iscurrent=true]:[../stemtag?[iscurrent/_alt/2=true]/iscurrent/_alt/1=false]/tag,
15 15
origrecord_id_stems,,** No input mapping for origrecord_id_stems ** 
16 16
stem_id,,** No input mapping for stem_id ** 
17 17
tmp_del,,** No input mapping for tmp_del ** 

Also available in: Unified diff