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:

VegCore-VegBIEN.csv
401 401
maxSlopeGradient,/location/slopegradient_fraction/_alt/2/_avg/max,
402 402
minSlopeGradient,/location/slopegradient_fraction/_alt/2/_avg/min,
403 403
subplotID,/location/sourceaccessioncode,
404
subplot,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists",
405
locationID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1",
406
locationName,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2",
407
subplot,/location/sourceaccessioncode/_join/2,
404
locationID,"/location/sourceaccessioncode/_if[@name=""if locationID""]/cond/_exists",
405
subplot,"/location/sourceaccessioncode/_if[@name=""if locationID""]/then/_if[@name=""if subplot""]/cond/_exists",
406
locationID,"/location/sourceaccessioncode/_if[@name=""if locationID""]/then/_if[@name=""if subplot""]/then/_join/1",
407
subplot,"/location/sourceaccessioncode/_if[@name=""if locationID""]/then/_if[@name=""if subplot""]/then/_join/2",
408 408
subplotX,/location/sublocationxposition_m,
409 409
subplotY,/location/sublocationyposition_m,
410 410
verbatimElevation,/location/verbatimelevation,

Also available in: Unified diff