Project

General

Profile

« Previous | Next » 

Revision 3678

mappings/DwC2-VegBIEN.specimens.csv, VegX-VegBIEN.stems.csv: Removed all manual mappings to datasource_id now that datasource_id is auto-populated, both on the VegBIEN output side and the DwC/VegX input side. This should greatly simplify many of the mappings!

View differences:

VegX-VegBIEN.plots.csv
15 15
//geospatial/DecimalLatitude,"/*_id/location/{locationdetermination/latitude,centerlatitude}",
16 16
//geospatial/DecimalLongitude,"/*_id/location/{locationdetermination/longitude,centerlongitude}",
17 17
/simpleUserdefined[name=method]/*ID/method/name,//method/name,
18
//project/personnel[role=metadataProvider]/organizationName,//party/organizationname/_alt/1,
19
//*s/project:[personnel[role=metadataProvider]/organizationName=$/_ignore/inLabel]/title,//project/projectname,
18
//project/title,//project/projectname,
20 19
//*s/communityDetermination/*s/communityConcept/commonName,//*/commname,
21 20
//*s/communityDetermination/*s/communityConcept/name,//commconcept/commdescription,
22 21
/obsEndDate,/obsenddate,
......
42 41
/temperature,/temperature,
43 42
//geospatial/maximumDepthInMeters,/waterdepth/_avg/max/_units/value,
44 43
//geospatial/minimumDepthInMeters,/waterdepth/_avg/min/_units/value,
45
//plot/plotName,"/{./authorlocationcode,*_id/location/sourceaccessioncode/_merge/2/_alt/2}","""{./"" sorts it before the location.datasource_id mapping with ""{.}"""
46
//plot/plotName,"/{./parent_id/locationevent/{./authorlocationcode,*_id/location/sourceaccessioncode/_alt/2},*_id/location/sourceaccessioncode/_merge/1/_alt/2}","""{./"" sorts it before the location.datasource_id mapping with ""{.}"""
47
//plot/plotUniqueIdentifier,"/{./parent_id/locationevent/{./sourceaccessioncode,*_id/location/sourceaccessioncode/_alt/1},*_id/location/sourceaccessioncode/_merge/1/_alt/1}","""{./"" sorts it before the location.datasource_id mapping with ""{.}"""
48
//party/organizationName,/{./parent_id/locationevent/{.}/*_id/location/datasource_id/party/organizationname/_alt/1},"""{./"" sorts it before the location.datasource_id mapping with ""{.}"""
49
//plot/plotUniqueIdentifier,"/{./sourceaccessioncode,*_id/location/sourceaccessioncode/_merge/2/_alt/1}","""{./"" sorts it before the location.datasource_id mapping with ""{.}"""
50
//party/organizationName,/{.}/*_id/location/datasource_id/party/organizationname/_alt/1,"""{.}"" sorts it with other location mappings with a datasource_id"
44
//plot/plotName,"/{authorlocationcode,*_id/location/sourceaccessioncode/_merge/2/_alt/2}",
45
//plot/plotName,"/{parent_id/locationevent/{authorlocationcode,*_id/location/sourceaccessioncode/_alt/2},*_id/location/sourceaccessioncode/_merge/1/_alt/2}",
46
//plot/plotUniqueIdentifier,"/{parent_id/locationevent/{sourceaccessioncode,*_id/location/sourceaccessioncode/_alt/1},*_id/location/sourceaccessioncode/_merge/1/_alt/1}",
47
//plot/plotUniqueIdentifier,"/{sourceaccessioncode,*_id/location/sourceaccessioncode/_merge/2/_alt/1}",

Also available in: Unified diff