Project

General

Profile

« Previous | Next » 

Revision 7009

mappings/VegCore-VegBIEN.csv: locationID/locationName + subplot -> location.sourceaccessioncode mapping: Fixed bug where subplot was incorrectly being mapped to this field even when there was no location*. (This field can only be populated if both location* and subplot are specified.) Also only map locationID for this, to avoid inconsistencies where one table supplies locationID+subplot, while another table supplies locationName+subplot, but they both get mapped to the same field, preventing plots from being matched up with their observations when creating the analytical_stem.

View differences:

VegBIEN.csv
28 28
OBSERVATION_ID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",
29 29
PLOT_ID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",
30 30
authorObsCode,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",
31
PLOT_ID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1",
31
PLOT_ID,"/location/sourceaccessioncode/_if[@name=""if locationID""]/cond/_exists",
32
PLOT_ID,"/location/sourceaccessioncode/_if[@name=""if locationID""]/then/_if[@name=""if subplot""]/then/_join/1",
32 33
COVERMETHOD_ID,,** No join mapping for *COVERMETHOD_ID ** 
33 34
PREVIOUSOBS_ID,,** No join mapping for *PREVIOUSOBS_ID ** 
34 35
SOILOBS_ID,,** No join mapping for *SOILOBS_ID ** 

Also available in: Unified diff