Project

General

Profile

« Previous | Next » 

Revision 11009

bugfix: inputs/VegBank/stemlocation_/map.csv: remapped stemcount-related fields to OMIT, so that these don't collide with fields of the same name in stemcount_ when they are left-joined together in taxon_observation.** . having the same name causes these to be incorrectly interpreted as shared fkey columns in the NATURAL JOIN (and without the NATURAL JOIN, they would instead be collision errors).

View differences:

map.csv
7 7
stemhealth,*stemlocation_--stemhealth,,this *is* populated
8 8
emb_stemlocation,*stemlocation_--emb_stemlocation,,
9 9
taxonimportance_id,aggregateOrganismObservationID__taxon_presence,,
10
stemdiameter,diameterBreastHeight_cm,,"""The diameter of the stem in centimeters"" (stemDiameter definition at <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=stemcount&entity=dba_tabledescription&where=where_tablename>)"
11
stemdiameteraccuracy,*stemlocation_--stemdiameteraccuracy,,
12
stemheight,height_m,,"""The measured height of the stem in meters"" (stemHeight definition at <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=stemcount&entity=dba_tabledescription&where=where_tablename>)"
13
stemheightaccuracy,*stemlocation_--stemheightaccuracy,,
14
stemcount,individualCount,,
15
stemtaxonarea,*stemlocation_--stemtaxonarea,,
16
emb_stemcount,*stemlocation_--emb_stemcount,,
10
stemdiameter,OMIT#stemdiameter,,
11
stemdiameteraccuracy,OMIT#stemdiameteraccuracy,,
12
stemheight,OMIT#stemheight,,
13
stemheightaccuracy,OMIT#stemheightaccuracy,,
14
stemcount,OMIT#stemcount,,
15
stemtaxonarea,OMIT#stemtaxonarea,,
16
emb_stemcount,OMIT#emb_stemcount,,

Also available in: Unified diff