Project

General

Profile

« Previous | Next » 

Revision 4949

mappings/VegCore-VegBIEN.csv: Only use institutionCode+collectionCode+catalogNumber as the authorlocationcode (location-scoping ID) if there is actually a catalogNumber. Otherwise, the mapping process would attempt to create one location for each collection in the datasource, when there should be one location for each specimen.

View differences:

VegBIEN.csv
2 2
Number of subplot,"/location/_if[@name=""if subplot""]/cond/_exists/_first/2",
3 3
Inventory name,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",
4 4
Inventory code,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists",
5
Specimen,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_join/3/_if[@name=""if indirect voucher""]/else",
5
Specimen,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/cond/_exists",
6
Specimen,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/3/_if[@name=""if indirect voucher""]/else",
6 7
Inventory code,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode",
7 8
Inventory name,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode",
8 9
Inventory code,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode",

Also available in: Unified diff