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
1 1
REMIB,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments
2 2
accession_number,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/1",
3
acronym,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_join/1",
3
acronym,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/1",
4 4
lat_deg,"/location/locationcoords/latitude_deg/_nullIf:[null=0,type=float]/value",
5 5
long_deg,"/location/locationcoords/longitude_deg/_nullIf:[null=0,type=float]/value",
6 6
coll_day,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",

Also available in: Unified diff