Revision 7009
Added by Aaron Marcuse-Kubitza over 11 years ago
VegBIEN.csv | ||
---|---|---|
66 | 66 |
plot_notes,/location/notespublic, |
67 | 67 |
slope_aspect,/location/slopeaspect_deg/_alt/1/_compass/value, |
68 | 68 |
slope_gradient,/location/slopegradient_fraction/_alt/1, |
69 |
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
|
|
70 |
SiteCode,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
|
|
69 |
PlotID,"/location/sourceaccessioncode/_if[@name=""if locationID""]/cond/_exists","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
|
|
70 |
PlotID,"/location/sourceaccessioncode/_if[@name=""if locationID""]/then/_if[@name=""if subplot""]/then/_join/1","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
|
|
71 | 71 |
Country_index,,** No non-empty join mapping for OMIT ** Placeholder column created by MySQL to PostgreSQL translation |
72 | 72 |
ElevSource,,** No join mapping for *ElevSource ** |
73 | 73 |
MethodCode,,** No non-empty join mapping for OMIT ** Not globally unique after lookup_MethodCode_Description is combined with PlotMethod |
Also available in: Unified diff
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.