Project

General

Profile

« Previous | Next » 

Revision 1816

mappings/Makefile: VegX: Added VegX.self.organisms.csv. Added root attrs to chRoot maps, commented out since it's not ready to be checked in yet.

View differences:

Makefile
72 72

  
73 73
vegxMaps :=
74 74

  
75
#VegX.self.organisms.csv: VegX-VegBIEN.organisms.csv
76
#	$(mkSelfMap)
77
#vegxMaps += VegX.self.organisms.csv
75
VegX.self.organisms.csv: VegX-VegBIEN.organisms.csv
76
	$(mkSelfMap)
77
vegxMaps += VegX.self.organisms.csv
78 78

  
79
rootAttrs :=
80
#:[@xmlns:tcs="http://www.tdwg.org/schemas/tcs/1.01"]
81

  
79 82
VegX-VegBIEN.plots.csv: VegX-VegBIEN.organisms.csv
80 83
	env \
81
left_in_root='/*s/individualOrganismObservation/*ID->/*s/plotObservation' \
84
left_in_root='$(rootAttrs)/*s/individualOrganismObservation/*ID->/*s/plotObservation' \
82 85
left_out_root='/*s/plotObservation' \
83 86
right_in_root='/taxonoccurrence/*_id/locationevent' \
84 87
right_out_root='/locationevent' \
......
87 90

  
88 91
VegX-VegBIEN.stems.csv: VegX-VegBIEN.organisms.csv
89 92
	env \
90
left_in_root='/*s/individualOrganismObservation->/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]' \
91
left_out_root='/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]' \
93
left_in_root='$(rootAttrs)/*s/individualOrganismObservation->/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]' \
94
left_out_root='$(rootAttrs)/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]' \
92 95
right_in_root='/taxonoccurrence/aggregateoccurrence/*_id/plantobservation/stemobservation' \
93 96
right_out_root='/stemobservation' \
94 97
$(chRoot)
95
vegxMaps += VegX-VegBIEN.plots.csv
98
vegxMaps += VegX-VegBIEN.stems.csv
96 99

  
97 100
ch_root_maps: $(vegxMaps) ;
98 101

  

Also available in: Unified diff