Project

General

Profile

« Previous | Next » 

Revision 4168

mappings: Added autogen Veg+-VegCore.to_self.csv, which is Veg+-VegCore.csv joined to itself, and use it as an intermediate map to join to VegCore-VegBIEN.csv. This provides support for two-level chains of mappings in Veg+-VegCore.csv.

View differences:

mappings/Veg+-VegCore.to_self.csv
1
Veg+,Veg+,Comments
2
continentOcean,continent,
3
dateCollected/_alt,dateCollected/_alt,Allow datasource to define custom mappings that don't pass through the default mapping
4
dayCollected,"dateCollected/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",Allow datasource to define custom mappings that don't pass through the default mapping
5
monthCollected,"dateCollected/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",Allow datasource to define custom mappings that don't pass through the default mapping
6
yearCollected,"dateCollected/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",Allow datasource to define custom mappings that don't pass through the default mapping
7
dateCollected,dateCollected/_alt/2,Allow datasource to define custom mappings that don't pass through the default mapping
8
collectedDate,dateCollected/_alt/3,Allow datasource to define custom mappings that don't pass through the default mapping
9
dateIdentified/_alt,dateIdentified/_alt,Allow datasource to define custom mappings that don't pass through the default mapping
10
dayIdentified,"dateIdentified/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",Allow datasource to define custom mappings that don't pass through the default mapping
11
monthIdentified,"dateIdentified/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",Allow datasource to define custom mappings that don't pass through the default mapping
12
yearIdentified,"dateIdentified/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",Allow datasource to define custom mappings that don't pass through the default mapping
13
dateIdentified,dateIdentified/_alt/2,Allow datasource to define custom mappings that don't pass through the default mapping
14
identifiedDate,dateIdentified/_alt/3,Allow datasource to define custom mappings that don't pass through the default mapping
15
julianDay,day,
16
accessRights,dcterms:accessRights,
17
bibliographicCitation,dcterms:bibliographicCitation,
18
language,dcterms:language,
19
dateLastModified,dcterms:modified,
20
modified,dcterms:modified,
21
references,dcterms:references,
22
rights,dcterms:rights,
23
rightsHolder,dcterms:rightsHolder,
24
type,dcterms:type,
25
plotEventID,eventID,
26
timeOfDay,eventTime,
27
notes,fieldNotes,
28
authorObsCode,fieldNumber,
29
boundingBox,footprintWKT,
30
habit,growthForm,
31
verbatimGrowthForm,"growthForm/_map:[./{T,Arbol,palm}=tree,./{H,""Hemiepífito""}=hemiepiphyte,./{L,l,""L?"",Liana}=liana,E=epiphyte,S=shrub,Hb=herb,""vine-herbaceous""=vine,graminoid=grass,rosette=forb,*=*]/value","According to <http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.habit>, <https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/SALVIAS#Habit>"
32
taxonFit,identificationQualifier,
33
subspecies,infraspecificEpithet,
34
locationNarrative,locality,
35
plotID,locationID,
36
maximumDepth,maximumDepthInMeters,
37
maximumElevation,maximumElevationInMeters,
38
minimumDepth,minimumDepthInMeters,
39
minimumElevation,minimumElevationInMeters,
40
globalUniqueIdentifier,occurrenceID,
41
id,occurrenceID,
42
previousCatalogNumber,otherCatalogNumbers,According to <http://rs.tdwg.org/dwc/terms/history/index.htm#PreviousCatalogNumber-2003-06-13>
43
parentPlotID,parentLocationID,
44
preparation,preparations,
45
preparationType,preparations,
46
recordNumber/_alt,recordNumber/_alt,Allow datasource to define custom mappings that don't pass through the default mapping
47
collectorNumber,recordNumber/_alt/1,Allow datasource to define custom mappings that don't pass through the default mapping
48
recordNumber,recordNumber/_alt/2,Allow datasource to define custom mappings that don't pass through the default mapping
49
authorPlantCode,recordNumber/_alt/3,Allow datasource to define custom mappings that don't pass through the default mapping
50
collector,recordedBy,
51
collector.givenName,recordedBy.givenName,
52
collector.surName,recordedBy.surName,
53
relatedCatalogItem,relatedResourceID,
54
relationshipType,relationshipOfResource,
55
scientificNameAuthorship/_alt,scientificNameAuthorship/_alt,Allow datasource to define custom mappings that don't pass through the default mapping
56
scientificNameAuthorship,scientificNameAuthorship/_alt/1,Allow datasource to define custom mappings that don't pass through the default mapping
57
scientificNameAuthor,scientificNameAuthorship/_alt/2,Allow datasource to define custom mappings that don't pass through the default mapping
58
species,specificEpithet,
59
state,stateProvince,
60
remarks,taxonRemarks,
61
latitude,verbatimLatitude,
62
longitude,verbatimLongitude,
mappings/Makefile
85 85

  
86 86
vegcsvMaps :=
87 87

  
88
Veg+-VegCore.to_self.csv: Veg+-VegCore.csv Veg+-VegCore.csv
89
	env quiet=1 $(join) <$+ >$@
90
vegcsvMaps += Veg+-VegCore.to_self.csv
91

  
88 92
Veg+.cs-VegBIEN.csv: Veg+-VegCore.csv VegCore-VegBIEN.csv
89 93
	env quiet=1 $(join) <$+ >$@
90 94
vegcsvMaps += Veg+.cs-VegBIEN.csv

Also available in: Unified diff