Project

General

Profile

« Previous | Next » 

Revision 4638

inputs/*/*/map.csv: Changed empty mappings to self mappings, using the steps at <https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/Map_refactoring#Change-empty-mappings-to-self-mappings&gt;. Note that in map.full.csv and VegBIEN.csv, lines that have changed are always the result of the input field's case being changed to match the case of the datasource's actual column name.

View differences:

VegBIEN.csv
1 1
CTFS[Veg+],VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments
2
plotName,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",
3
plotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists",
4
plotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode",
5
plotName,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode",
6
plotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode",
2
PlotName,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",
3
PlotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists",
4
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode",
5
PlotName,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode",
6
PlotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode",
7 7
SizeOfSite,/location/area,
8 8
Elevation,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value",
9 9
ShapeOfSite,/location/locationdetermination/footprintgeometry_dwc,
10
latitude,"/location/locationdetermination/latitude/_alt/2/_nullIf:[null=0,type=float]/value",
11
longitude,"/location/locationdetermination/longitude/_alt/2/_nullIf:[null=0,type=float]/value",
10
Latitude,"/location/locationdetermination/latitude/_alt/2/_nullIf:[null=0,type=float]/value",
11
Longitude,"/location/locationdetermination/longitude/_alt/2/_nullIf:[null=0,type=float]/value",
12 12
CountryName,"/location/locationdetermination/namedplace_id/_forEach:[in:[county,stateProvince,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename",
13
plotName,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/*_id/location/authorlocationcode",
14
plotID,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/*_id/location/sourceaccessioncode",
13
PlotName,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/*_id/location/authorlocationcode",
14
PlotID,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/*_id/location/sourceaccessioncode",
15 15
DescriptionOfSite,/location/locationnarrative/_merge/1,
16 16
LocationName,/location/locationnarrative/_merge/1,
17
CountryID,,** No join mapping for CountryID ** 
18
ReferenceX,,** No join mapping for ReferenceX ** Rarely used
19
ReferenceY,,** No join mapping for ReferenceY ** Rarely used
20
row_num,,** No join mapping for row_num ** 

Also available in: Unified diff