Revision 5773
Added by Aaron Marcuse-Kubitza over 12 years ago
inputs/VegBank/observation_/VegBIEN.csv | ||
---|---|---|
25 | 25 |
authorobscode,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists", |
26 | 26 |
observation_id,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists", |
27 | 27 |
plot_id,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists", |
28 |
plot_id,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
|
28 | 29 |
accessioncode,,** No join mapping for *accessioncode ** |
29 | 30 |
autotaxoncover,,** No join mapping for *autotaxoncover ** |
30 | 31 |
basalarea,,** No join mapping for *basalarea ** |
mappings/VegCore-VegBIEN.csv | ||
---|---|---|
337 | 337 |
maxSlopeGradient,/location/slopegradient_fraction/_alt/2/_avg/max, |
338 | 338 |
minSlopeGradient,/location/slopegradient_fraction/_alt/2/_avg/min, |
339 | 339 |
subplotID,/location/sourceaccessioncode, |
340 |
subplot,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists", |
|
341 |
locationID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
|
342 |
plotName,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2", |
|
343 |
subplot,/location/sourceaccessioncode/_join/2, |
|
340 | 344 |
subplotX,/location/sublocationxposition_m, |
341 | 345 |
subplotY,/location/sublocationyposition_m, |
342 | 346 |
verbatimElevation,/location/verbatimelevation, |
inputs/TEAM/VL/VegBIEN.csv | ||
---|---|---|
35 | 35 |
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/genus, |
36 | 36 |
Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/species, |
37 | 37 |
Names of Collectors,/location/locationevent/taxonoccurrence/verbatimcollectorname, |
38 |
Subplot Number,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists", |
|
39 |
1ha Plot Number,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2", |
|
40 |
Subplot Number,/location/sourceaccessioncode/_join/2, |
|
38 | 41 |
Comments,,** No join mapping for *Comments ** |
39 | 42 |
Condition Codes,,** No join mapping for *Condition Codes ** |
40 | 43 |
Data Level,,** No join mapping for *Data Level ** |
inputs/TEAM/VL/test.xml.ref | ||
---|---|---|
123 | 123 |
<verbatimcollectorname>$Names of Collectors</verbatimcollectorname> |
124 | 124 |
</taxonoccurrence> |
125 | 125 |
</locationevent> |
126 |
<sourceaccessioncode> |
|
127 |
<_join> |
|
128 |
<1>$1ha Plot Number</1> |
|
129 |
<2>$Subplot Number</2> |
|
130 |
</_join> |
|
131 |
</sourceaccessioncode> |
|
126 | 132 |
</location> |
127 | 133 |
</path> |
128 | 134 |
</_simplifyPath> |
inputs/TEAM/VT/VegBIEN.csv | ||
---|---|---|
35 | 35 |
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/genus, |
36 | 36 |
Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/species, |
37 | 37 |
Names of Collectors,/location/locationevent/taxonoccurrence/verbatimcollectorname, |
38 |
Subplot Number,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists", |
|
39 |
1ha Plot Number,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2", |
|
40 |
Subplot Number,/location/sourceaccessioncode/_join/2, |
|
38 | 41 |
Comments,,** No join mapping for *Comments ** |
39 | 42 |
Condition Codes,,** No join mapping for *Condition Codes ** |
40 | 43 |
Data Level,,** No join mapping for *Data Level ** |
inputs/TEAM/VT/test.xml.ref | ||
---|---|---|
123 | 123 |
<verbatimcollectorname>$Names of Collectors</verbatimcollectorname> |
124 | 124 |
</taxonoccurrence> |
125 | 125 |
</locationevent> |
126 |
<sourceaccessioncode> |
|
127 |
<_join> |
|
128 |
<1>$1ha Plot Number</1> |
|
129 |
<2>$Subplot Number</2> |
|
130 |
</_join> |
|
131 |
</sourceaccessioncode> |
|
126 | 132 |
</location> |
127 | 133 |
</path> |
128 | 134 |
</_simplifyPath> |
inputs/TEAM/TEAM_Sites/VegBIEN.csv | ||
---|---|---|
8 | 8 |
CollectionDate,/location/locationevent/obsenddate/_*/date/_alt/2/_dateRangeEnd/value, |
9 | 9 |
CollectionDate,/location/locationevent/obsstartdate/_*/date/_alt/2/_dateRangeStart/value, |
10 | 10 |
Name,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists", |
11 |
Name,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2", |
|
11 | 12 |
1ha Plot Coordinate,,** No join mapping for *1ha Plot Coordinate ** |
inputs/Madidi/Organism/VegBIEN.csv | ||
---|---|---|
65 | 65 |
Field name,/location/locationevent/taxonoccurrence/taxondetermination[isoriginal=true]/*_id/taxonverbatim/genus,Often = Genera |
66 | 66 |
Index collector,/location/locationevent/taxonoccurrence/verbatimcollectorname, |
67 | 67 |
Specimen,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then", |
68 |
Number of subplot,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists", |
|
69 |
Inventory code,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
|
70 |
Inventory name,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2", |
|
71 |
Number of subplot,/location/sourceaccessioncode/_join/2, |
|
68 | 72 |
Basal area,,"** No join mapping for *Basal area ** Would be basalDiameter, but need formula to translate" |
69 | 73 |
Bole height,,** No join mapping for *Bole height ** trunk height |
70 | 74 |
Circumference,,** No join mapping for *Circumference ** |
inputs/Madidi/Organism/test.xml.ref | ||
---|---|---|
259 | 259 |
<verbatimcollectorname>$Index collector</verbatimcollectorname> |
260 | 260 |
</taxonoccurrence> |
261 | 261 |
</locationevent> |
262 |
<sourceaccessioncode> |
|
263 |
<_join> |
|
264 |
<1>$Inventory code</1> |
|
265 |
<2>$Number of subplot</2> |
|
266 |
</_join> |
|
267 |
</sourceaccessioncode> |
|
262 | 268 |
</location> |
263 | 269 |
</path> |
264 | 270 |
</_simplifyPath> |
inputs/Madidi/Plot/VegBIEN.csv | ||
---|---|---|
92 | 92 |
Direction,/location/slopeaspect_deg/_alt/1/_compass/value/_alt/1,Part files provide either this field or OrientaciĆ³n |
93 | 93 |
OrientaciĆ³n/exposicion,/location/slopeaspect_deg/_alt/1/_compass/value/_alt/2,Part files provide either this field or Direction |
94 | 94 |
Slope,/location/slopegradient_fraction/_alt/1, |
95 |
Inventory code,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
|
96 |
Inventory name,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2", |
|
95 | 97 |
Minimum altitude,/location/verbatimelevation,"This is a range [1], not a minimum. Assuming units are m based on the range of values [1] and the region the data is from (Madidi National Park) [2]. |
96 | 98 |
|
97 | 99 |
[1] Using the following query: |
inputs/SALVIAS-CSV/Organism/VegBIEN.csv | ||
---|---|---|
108 | 108 |
det_type,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left","Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen." |
109 | 109 |
coll_number,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then/_alt/1",Brad: Map instead as for voucher_string |
110 | 110 |
voucher_string,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below." |
111 |
subplot,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists", |
|
112 |
PLOT_ID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
|
113 |
plot_code,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2", |
|
114 |
subplot,/location/sourceaccessioncode/_join/2, |
|
111 | 115 |
collector_code,,** No join mapping for *collector_code ** Brad: OMIT |
112 | 116 |
comments,,** No join mapping for *comments ** Brad: OMIT |
113 | 117 |
fam_status,,** No join mapping for *fam_status ** Brad: OMIT. This will be determined later by using TNRS. |
inputs/SALVIAS-CSV/Organism/test.xml.ref | ||
---|---|---|
368 | 368 |
</voucher> |
369 | 369 |
</taxonoccurrence> |
370 | 370 |
</locationevent> |
371 |
<sourceaccessioncode> |
|
372 |
<_join> |
|
373 |
<1>$PLOT_ID</1> |
|
374 |
<2>$subplot</2> |
|
375 |
</_join> |
|
376 |
</sourceaccessioncode> |
|
371 | 377 |
</location> |
372 | 378 |
</path> |
373 | 379 |
</_simplifyPath> |
inputs/SALVIAS-CSV/Plot/VegBIEN.csv | ||
---|---|---|
46 | 46 |
pol1,/location/locationplace/*_id/placepath/stateprovince,Brad: No; pol1=stateProvince |
47 | 47 |
slope_aspect,/location/slopeaspect_deg/_alt/1/_compass/value, |
48 | 48 |
slope_gradient,/location/slopegradient_fraction/_alt/1, |
49 |
PLOT_ID,"/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." |
|
50 |
plot_code,"/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) |
|
49 | 51 |
observation_type,,"** No join mapping for *observation_type ** Brad: SALVIAS internal metadata indicating whether the record represents an individual or aggregate observation. Rather than storing, use to decide where to store in VegX.; Aaron: VegX aggregateOrganismObservation table is missing many fields available in individualOrganismObservation, so we're mapping to individualOrganismObservation regardless of observation type" |
50 | 52 |
recensused,,"** No join mapping for *recensused ** Brad: This is a 0/1 value, internal to SALVIAS. 1 indicates that a plot has >1 set of values, from different census events.; Aaron: Different censuses are distinguished in organisms data by different census_no values" |
inputs/CTFS/StemObservation/VegBIEN.csv | ||
---|---|---|
41 | 41 |
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/family, |
42 | 42 |
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/genus, |
43 | 43 |
SpeciesName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/species, |
44 |
QuadratID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists",Not globally unique; unique only within Site |
|
45 |
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
|
46 |
QuadratID,/location/sourceaccessioncode/_join/2,Not globally unique; unique only within Site |
|
44 | 47 |
Description,,** No join mapping for *Description ** |
45 | 48 |
ExactDate,,** No join mapping for *ExactDate ** |
46 | 49 |
FamilyID,,** No join mapping for *FamilyID ** |
inputs/CTFS/StemObservation/test.xml.ref | ||
---|---|---|
133 | 133 |
</taxondetermination> |
134 | 134 |
</taxonoccurrence> |
135 | 135 |
</locationevent> |
136 |
<sourceaccessioncode> |
|
137 |
<_join> |
|
138 |
<1>$PlotID</1> |
|
139 |
<2>$QuadratID</2> |
|
140 |
</_join> |
|
141 |
</sourceaccessioncode> |
|
136 | 142 |
</location> |
137 | 143 |
</path> |
138 | 144 |
</_simplifyPath> |
inputs/CTFS/Subplot/VegBIEN.csv | ||
---|---|---|
7 | 7 |
QuadratID,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists",Not globally unique; unique only within Site |
8 | 8 |
PlotID,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/*_id/location/sourceaccessioncode", |
9 | 9 |
PlotID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists", |
10 |
QuadratID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists",Not globally unique; unique only within Site |
|
11 |
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
|
12 |
QuadratID,/location/sourceaccessioncode/_join/2,Not globally unique; unique only within Site |
|
10 | 13 |
StartX,/location/sublocationxposition_m, |
11 | 14 |
StartY,/location/sublocationyposition_m, |
12 | 15 |
DimX,,** No join mapping for *DimX ** |
inputs/CTFS/Subplot/test.xml.ref | ||
---|---|---|
6 | 6 |
<location> |
7 | 7 |
<parent_id><location><sourceaccessioncode>$PlotID</sourceaccessioncode></location></parent_id> |
8 | 8 |
<authorlocationcode>$QuadratID</authorlocationcode> |
9 |
<sourceaccessioncode> |
|
10 |
<_join> |
|
11 |
<1>$PlotID</1> |
|
12 |
<2>$QuadratID</2> |
|
13 |
</_join> |
|
14 |
</sourceaccessioncode> |
|
9 | 15 |
<sublocationxposition_m>$StartX</sublocationxposition_m> |
10 | 16 |
<sublocationyposition_m>$StartY</sublocationyposition_m> |
11 | 17 |
</location> |
inputs/CTFS/PlotObservation/VegBIEN.csv | ||
---|---|---|
15 | 15 |
CensusID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists", |
16 | 16 |
PlotCensusNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists", |
17 | 17 |
PlotID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists", |
18 |
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
|
18 | 19 |
Description,,** No join mapping for *Description ** |
inputs/CTFS/TaxonOccurrence/VegBIEN.csv | ||
---|---|---|
26 | 26 |
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/family, |
27 | 27 |
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/genus, |
28 | 28 |
SpeciesName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/species, |
29 |
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
|
29 | 30 |
Description,,** No join mapping for *Description ** |
30 | 31 |
FamilyID,,** No join mapping for *FamilyID ** |
31 | 32 |
FieldFamily,,** No join mapping for *FieldFamily ** |
inputs/CTFS/SubplotObservation/VegBIEN.csv | ||
---|---|---|
11 | 11 |
CensusID,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/sourceaccessioncode", |
12 | 12 |
CensusID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists", |
13 | 13 |
PlotID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists", |
14 |
QuadratID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists",Not globally unique; unique only within Site |
|
15 |
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
|
16 |
QuadratID,/location/sourceaccessioncode/_join/2,Not globally unique; unique only within Site |
inputs/CTFS/SubplotObservation/test.xml.ref | ||
---|---|---|
14 | 14 |
</locationevent> |
15 | 15 |
</parent_id> |
16 | 16 |
</locationevent> |
17 |
<sourceaccessioncode> |
|
18 |
<_join> |
|
19 |
<1>$PlotID</1> |
|
20 |
<2>$QuadratID</2> |
|
21 |
</_join> |
|
22 |
</sourceaccessioncode> |
|
17 | 23 |
</location> |
18 | 24 |
</path> |
19 | 25 |
</_simplifyPath> |
inputs/CTFS/Plot/VegBIEN.csv | ||
---|---|---|
24 | 24 |
DescriptionOfSite,/location/locationnarrative/_merge/1, |
25 | 25 |
LocationName,/location/locationnarrative/_merge/1, |
26 | 26 |
CountryName,/location/locationplace/*_id/placepath/country, |
27 |
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
|
28 |
PlotName,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2", |
|
27 | 29 |
CountryID,,** No join mapping for *CountryID ** |
28 | 30 |
ReferenceX,,** No join mapping for *ReferenceX ** Rarely used |
29 | 31 |
ReferenceY,,** No join mapping for *ReferenceY ** Rarely used |
inputs/FIA/Organism/VegBIEN.csv | ||
---|---|---|
27 | 27 |
SpecificEpithet,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/species, |
28 | 28 |
County,/location/locationplace/*_id/placepath/county, |
29 | 29 |
StateProvince,/location/locationplace/*_id/placepath/stateprovince, |
30 |
PlotCD,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
|
30 | 31 |
HOM,,** No join mapping for *HOM ** |
inputs/SALVIAS/plotMetadata/VegBIEN.csv | ||
---|---|---|
48 | 48 |
plot_notes,/location/notespublic, |
49 | 49 |
slope_aspect,/location/slopeaspect_deg/_alt/1/_compass/value, |
50 | 50 |
slope_gradient,/location/slopegradient_fraction/_alt/1, |
51 |
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." |
|
52 |
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) |
|
51 | 53 |
AccessCode,,** No join mapping for *AccessCode ** |
52 | 54 |
Country_index,,** No join mapping for *Country_index ** |
53 | 55 |
ElevSource,,** No join mapping for *ElevSource ** |
inputs/SALVIAS/plotObservations/VegBIEN.csv | ||
---|---|---|
105 | 105 |
DetType,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left","Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen." |
106 | 106 |
coll_number,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then/_alt/1",Brad: Map instead as for voucher_string |
107 | 107 |
SourceVoucher,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below." |
108 |
Line,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists", |
|
109 |
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
|
110 |
PlotCode,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2", |
|
111 |
Line,/location/sourceaccessioncode/_join/2, |
|
108 | 112 |
GenAuth,,** No join mapping for *GenAuth ** |
109 | 113 |
IsMorpho,,** No join mapping for *IsMorpho ** |
110 | 114 |
OrigAuth,,** No join mapping for *OrigAuth ** |
inputs/SALVIAS/plotObservations/test.xml.ref | ||
---|---|---|
343 | 343 |
</voucher> |
344 | 344 |
</taxonoccurrence> |
345 | 345 |
</locationevent> |
346 |
<sourceaccessioncode> |
|
347 |
<_join> |
|
348 |
<1>$PlotID</1> |
|
349 |
<2>$Line</2> |
|
350 |
</_join> |
|
351 |
</sourceaccessioncode> |
|
346 | 352 |
</location> |
347 | 353 |
</path> |
348 | 354 |
</_simplifyPath> |
inputs/bien_web/observation/VegBIEN.csv | ||
---|---|---|
42 | 42 |
country,/location/locationplace/*_id/placepath/country, |
43 | 43 |
countyParish,/location/locationplace/*_id/placepath/county, |
44 | 44 |
stateProvince,/location/locationplace/*_id/placepath/stateprovince, |
45 |
plotCode,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2", |
|
45 | 46 |
isCultivatedReason,,** No join mapping for cultivatedBasis ** |
46 | 47 |
taxonMorphospecies,,** No join mapping for scientificNameWithMorphospecies ** |
inputs/VegBank/plot_/VegBIEN.csv | ||
---|---|---|
29 | 29 |
slopegradient,/location/slopegradient_fraction/_alt/1, |
30 | 30 |
maxslopegradient,/location/slopegradient_fraction/_alt/2/_avg/max, |
31 | 31 |
minslopegradient,/location/slopegradient_fraction/_alt/2/_avg/min, |
32 |
plot_id,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
|
33 |
authorplotcode,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2", |
|
32 | 34 |
Geographic Name,,** No join mapping for *Geographic Name ** |
33 | 35 |
accessioncode,,** No join mapping for *accessioncode ** |
34 | 36 |
authordatum,,** No join mapping for *authordatum ** |
mappings/for_review/VegCore-VegBIEN.csv | ||
---|---|---|
337 | 337 |
maxSlopeGradient,//location/slopegradient_fraction, |
338 | 338 |
minSlopeGradient,//location/slopegradient_fraction, |
339 | 339 |
subplotID,//location/sourceaccessioncode, |
340 |
subplot,"//location/sourceaccessioncode/_if[@name=""if subplot and unique only within parent""]/cond/_exists", |
|
341 |
locationID,"//location/sourceaccessioncode/_if[@name=""if subplot and unique only within parent""]/then", |
|
342 |
plotName,"//location/sourceaccessioncode/_if[@name=""if subplot and unique only within parent""]/then", |
|
343 |
subplot,//location/sourceaccessioncode, |
|
340 | 344 |
subplotX,//location/sublocationxposition_m, |
341 | 345 |
subplotY,//location/sublocationyposition_m, |
342 | 346 |
verbatimElevation,//location/verbatimelevation, |
Also available in: Unified diff
mappings/VegCore-VegBIEN.csv: location: Populate sourceaccessioncode with locationID + subplot when subplot is unique only within the parent plot, so that location always has a sourceaccessioncode to use as the plotCode in analytical_db_view