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
41 41
slopeGradient,/location/slopegradient_fraction/_alt/1,
42 42
maxSlopeGradient,/location/slopegradient_fraction/_alt/2/_avg/max,
43 43
minSlopeGradient,/location/slopegradient_fraction/_alt/2/_avg/min,
44
PLOT_ID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1",
45
authorPlotCode,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2",
44
PLOT_ID,"/location/sourceaccessioncode/_if[@name=""if locationID""]/cond/_exists",
45
PLOT_ID,"/location/sourceaccessioncode/_if[@name=""if locationID""]/then/_if[@name=""if subplot""]/then/_join/1",
46 46
Geographic Name,,** No join mapping for *Geographic Name ** 
47 47
REPLACEMENTPLOT_ID,,** No join mapping for *REPLACEMENTPLOT_ID ** 
48 48
River Basin,,** No join mapping for *River Basin ** 

Also available in: Unified diff