Project

General

Profile

« Previous | Next » 

Revision 6313

mappings/VegCore-VegBIEN.csv: Remapped cultivated to location when a TaxonOccurrence is not provided, indicating that the record is a plot

View differences:

VegBIEN.csv
7 7
plotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode",
8 8
plotAreaHa,/location/area_m2/_ha_to_m2/value,
9 9
elevation_m,/location/elevation_m/_alt/1,
10
collectionNumber,"/location/iscultivated/_if[@name=""if TaxonOccurrence""]/cond/_exists",
11
isCultivated,"/location/iscultivated/_if[@name=""if TaxonOccurrence""]/else",
10 12
plotMethod,/location/locationevent/*_id/method/name,
11 13
plotCode,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/*_id/location/authorlocationcode/_if[@name=""if subplot""]/then",
12 14
plotID,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/*_id/location/sourceaccessioncode/_if[@name=""if subplot""]/then",
......
19 21
collectionNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/1/_first/1",
20 22
taxon,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/2/_first/2",
21 23
collector,/location/locationevent/taxonoccurrence/collector_id/party/fullname,
22
isCultivated,/location/locationevent/taxonoccurrence/iscultivated/_alt/1,
24
collectionNumber,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",
25
isCultivated,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/then",
23 26
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/party/fullname,
24 27
family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[source_id/source/shortname=TNRS]/taxonomicname/_join_words/1/_taxon_family_require_std/family",
25 28
taxon,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[source_id/source/shortname=TNRS]/taxonomicname/_join_words/2/_alt/1",

Also available in: Unified diff