Project

General

Profile

« Previous | Next » 

Revision 1843

mappings: Build VegX-VegBIEN.organisms.csv from VegX-VegBIEN.stems.csv instead of vice versa. This entails switching the roots around so stem points to organism instead of the other way around, which is a complex operation. Re-rooted VegX-VegBIEN.organisms.csv at /plantobservation instead of /taxonoccurrence to avoid traveling up the hierarchy to taxonoccurrence and back down again to plantobservation, etc. as would otherwise have been the case.

View differences:

VegX.stems.csv
1 1
SALVIAS:stems,VegX:/*s/individualOrganismObservation[relatedIndividual/relatedItem[itemRelationship=stemParent]/relatedItemID],Comments
2 2
stem_id,,
3 3
origrecord_id_stems,,
4
PlotObsID,/relatedIndividual/relatedItem[itemRelationship=stemParent]/relatedItemID->/*s/individualOrganismObservation/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept/voucher,
4
PlotObsID,/relatedIndividual/relatedItem[itemRelationship=stemParent]/relatedItemID->/*s/individualOrganismObservation/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept:[partyWithRole/*ID->/parties/party/organizationName=$/_ignore/inLabel]/voucher,
5 5
NoInd,/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept->/*s/aggregateOrganismObservation[*ID]/*/aggregateValue/value,
6 6
basal_diam,/diameterBaseDistance[baseDistance/value=0]/diameter,
7 7
stem_dbh,/diameterBaseDistance[baseDistance[!attributeID]/value=1.37]/diameter,

Also available in: Unified diff