Revision 1843
Added by Aaron Marcuse-Kubitza about 12 years ago
VegX-VegBIEN.stems.csv | ||
---|---|---|
1 |
VegX:/*s/individualOrganismObservation[relatedIndividual/relatedItem[itemRelationship=stemParent]/relatedItemID],VegBIEN:/stemobservation,Comments |
|
2 |
//taxonNameUsageConcept/voucher,//plantobservation/authorplantcode, |
|
1 |
"VegX::[@xmlns:tcs=""http://www.tdwg.org/schemas/tcs/1.01""]/*s/individualOrganismObservation[relatedIndividual/relatedItem[itemRelationship=stemParent]/relatedItemID]",VegBIEN:/stemobservation,Comments |
|
2 |
//*s/taxonDetermination[role=collector]/groupType,"/*_id/plantobservation/aggregateoccurrence/*_id/taxonoccurrence/""""/_ignore/voucherType",Quotes sort it before what uses it |
|
3 |
//plot/area,//location/area, |
|
4 |
//geospatial/verbatimElevation,//location/elevation/_alt/1, |
|
5 |
//geospatial/CoordinateUncertaintyInMeters,//locationdetermination/coordsaccuracy, |
|
6 |
//geospatial/FootprintWKT,//locationdetermination/footprintgeometry_dwc, |
|
7 |
//plot/location[placeType=county]/placeName,"//locationdetermination/namedplace_id/_simplifyPath/path/_forEach:[do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=county]/placename", |
|
8 |
//plot/location[placeType=state]/placeName,"//locationdetermination/namedplace_id/_simplifyPath/path/_forEach:[do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename", |
|
9 |
//plot/location[placeType=country]/placeName,"//locationdetermination/namedplace_id/_simplifyPath/path/_forEach:[do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename", |
|
10 |
//plot/location[placeType=continent]/placeName,"//locationdetermination/namedplace_id/_simplifyPath/path/_forEach:[do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=continent]/placename", |
|
11 |
//plot/locationNarrative,//location/locationnarrative, |
|
12 |
//plot/slopeAspect,//location/slopeaspect/_compass/value, |
|
13 |
//plot/slopeGradient,//location/slopegradient, |
|
14 |
//geospatial/maximumElevationInMeters,"/*_id/plantobservation/aggregateoccurrence/*_id/taxonoccurrence/*_id/locationevent/*_id/location/{elevation/_alt/2/_avg/max,elevationrange/_range/to}/_units/value", |
|
15 |
//geospatial/minimumElevationInMeters,"/*_id/plantobservation/aggregateoccurrence/*_id/taxonoccurrence/*_id/locationevent/*_id/location/{elevation/_alt/2/_avg/min,elevationrange/_range/from}/_units/value", |
|
16 |
//geospatial/DecimalLatitude,"/*_id/plantobservation/aggregateoccurrence/*_id/taxonoccurrence/*_id/locationevent/*_id/location/{locationdetermination/latitude,centerlatitude}", |
|
17 |
//geospatial/DecimalLongitude,"/*_id/plantobservation/aggregateoccurrence/*_id/taxonoccurrence/*_id/locationevent/*_id/location/{locationdetermination/longitude,centerlongitude}", |
|
18 |
//plotObservation/simpleUserdefined[name=method]/*ID/method/name,//method/name, |
|
19 |
//project/personnel[role=metadataProvider]/organizationName,//party/organizationname/_alt/1, |
|
20 |
//*s/project:[personnel[role=metadataProvider]/organizationName=$/_ignore/inLabel]/title,//project/projectname, |
|
21 |
//*s/communityDetermination/*s/communityConcept/commonName,//*/commname, |
|
22 |
//*s/communityDetermination/*s/communityConcept/name,//commconcept/commdescription, |
|
23 |
//plotObservation/obsEndDate,//locationevent/obsenddate, |
|
24 |
//plotObservation/obsStartDate,//locationevent/obsstartdate, |
|
25 |
//plot/plotName,//locationevent/authorlocationcode, |
|
26 |
//party/organizationName,//party/organizationname/_alt/1, |
|
27 |
//plot/plotUniqueIdentifier,//locationevent/sourceaccessioncode, |
|
28 |
//plotObservation/simpleUserdefined[name=precipitation]/value,//locationevent/precipitation, |
|
29 |
//*s/abioticObservation/simpleUserdefined[name=acidity]/value,//soilobs/acidity, |
|
30 |
//*s/abioticObservation/simpleUserdefined[name=base]/value,//soilobs/basesaturation, |
|
31 |
//*s/abioticObservation/simpleUserdefined[name=calcium]/value,//soilobs/calcium, |
|
32 |
//*s/abioticObservation/simpleUserdefined[name=carbon]/value,//soilobs/carbon, |
|
33 |
//*s/abioticObservation/simpleUserdefined[name=cationExchangeCapacity]/value,//soilobs/cationexchangecapacity, |
|
34 |
//*s/abioticObservation/simpleUserdefined[name=clay]/value,//soilobs/clay, |
|
35 |
//*s/abioticObservation/simpleUserdefined[name=conductivity]/value,//soilobs/conductivity, |
|
36 |
//*s/abioticObservation/magnesium,//soilobs/magnesium, |
|
37 |
//*s/abioticObservation/nitrogen,//soilobs/nitrogen, |
|
38 |
//*s/abioticObservation/simpleUserdefined[name=organic]/value,//soilobs/organic, |
|
39 |
//*s/abioticObservation/ph,//soilobs/ph, |
|
40 |
//*s/abioticObservation/phosphorus,//soilobs/phosphorus, |
|
41 |
//*s/abioticObservation/potassium,//soilobs/potassium, |
|
42 |
//*s/abioticObservation/simpleUserdefined[name=sand]/value,//soilobs/sand, |
|
43 |
//*s/abioticObservation/simpleUserdefined[name=silt]/value,//soilobs/silt, |
|
44 |
//*s/abioticObservation/simpleUserdefined[name=sodium]/value,//soilobs/sodium, |
|
45 |
//*s/abioticObservation/simpleUserdefined[name=texture]/value,//soilobs/texture, |
|
46 |
//plotObservation/temperature,//locationevent/temperature, |
|
47 |
//geospatial/maximumDepthInMeters,//waterdepth/max/_units/value, |
|
48 |
//geospatial/minimumDepthInMeters,//waterdepth/min/_units/value, |
|
49 |
//plot/plotName,//locationevent/authorlocationcode, |
|
50 |
//party/organizationName,//party/organizationname/_alt/1, |
|
51 |
//plot/plotUniqueIdentifier,//locationevent/sourceaccessioncode, |
|
52 |
//taxonNameUsageConcept/voucher,"//*_id/taxonoccurrence/_if/{then/specimenreplicate,else/voucher/*_id/specimenreplicate}//catalognumber_dwc", |
|
53 |
//party/organizationName,"//*_id/taxonoccurrence/_if/{then/specimenreplicate,else/voucher/*_id/specimenreplicate}//datasource_id/party/organizationname/_alt/1", |
|
54 |
//individualOrganismObservation/simpleUserdefined[name=growthForm]/value,//taxonoccurrence/growthform, |
|
55 |
//individualOrganismObservation/simpleUserdefined[name=collectionDate]/value,//specimenreplicate/collectiondate, |
|
56 |
//*s/taxonConcept[tcs:@code=TaxonomicRankBelowSubspeciesEnum]/tcs:Rank,"//taxonoccurrence/taxondetermination[role=computer]/*_id/plantconcept/plantname_id/_simplifyPath/path/_forEach:[do=""plantname[rank=_val]/parent_id""]/plantname[rank=subspecies]/plantname/_name/first", |
|
57 |
//*s/taxonConcept[tcs:@code=auth]/tcs:Name,"//taxonoccurrence/taxondetermination[role=computer]/*_id/plantconcept/plantname_id/_simplifyPath/path/_forEach:[do=""plantname[rank=_val]/parent_id""]/plantname[rank=authority]/plantname", |
|
58 |
//*s/taxonConcept[tcs:@code=TaxonomicRankBelowSubspeciesEnum]/tcs:Name,"//taxonoccurrence/taxondetermination[role=computer]/*_id/plantconcept/plantname_id/_simplifyPath/path/_forEach:[do=""plantname[rank=_val]/parent_id""]/plantname[rank=subspecies]/plantname/_name/last", |
|
59 |
//*s/taxonConcept[tcs:@code=sp]/tcs:Name,"//taxonoccurrence/taxondetermination[role=computer]/*_id/plantconcept/plantname_id/_simplifyPath/path/_forEach:[do=""plantname[rank=_val]/parent_id""]/plantname[rank=species]/plantname", |
|
60 |
//*s/taxonConcept[tcs:@code=gen]/tcs:Name,"//taxonoccurrence/taxondetermination[role=computer]/*_id/plantconcept/plantname_id/_simplifyPath/path/_forEach:[do=""plantname[rank=_val]/parent_id""]/plantname[rank=genus]/plantname", |
|
61 |
//*s/taxonConcept[tcs:@code=fam]/tcs:Name,"//taxonoccurrence/taxondetermination[role=computer]/*_id/plantconcept/plantname_id/_simplifyPath/path/_forEach:[do=""plantname[rank=_val]/parent_id""]/plantname[rank=family]/plantname", |
|
62 |
//*s/taxonConcept[tcs:@code=ssp]/tcs:Name,"//taxonoccurrence/taxondetermination[role=identifier]/*_id/plantconcept/plantname_id/_simplifyPath/path/_forEach:[do=""plantname[rank=_val]/parent_id""]/plantname[rank=subspecies]/plantname", |
|
63 |
//*s/taxonConcept[tcs:@code=binom]/fit,//taxonoccurrence/taxondetermination[role=identifier]/taxonFit, |
|
64 |
"//*s/taxonConcept[tcs:@code=binom]/{fit,tcs:Name/_name/middle}","//taxonoccurrence/taxondetermination[role=identifier]/{taxonFit,*_id/plantconcept/plantname_id/_simplifyPath/path/_forEach:[do=""plantname[rank=_val]/parent_id""]/plantname[rank=binomial]/plantname/_name/middle}", |
|
65 |
//*s/taxonConcept[tcs:@code=binom]/tcs:Name,"//taxonoccurrence/taxondetermination[role=identifier]/*_id/plantconcept/plantname_id/_simplifyPath/path/_forEach:[do=""plantname[rank=_val]/parent_id""]/plantname[rank=binomial]/plantname", |
|
66 |
//*s/taxonConcept[tcs:@code=auth]/tcs:Name,"//taxonoccurrence/taxondetermination[role=identifier]/*_id/plantconcept/plantname_id/_simplifyPath/path/_forEach:[do=""plantname[rank=_val]/parent_id""]/plantname[rank=authority]/plantname", |
|
67 |
//*s/taxonConcept[tcs:@code=sp]/tcs:Name,"//taxonoccurrence/taxondetermination[role=identifier]/*_id/plantconcept/plantname_id/_simplifyPath/path/_forEach:[do=""plantname[rank=_val]/parent_id""]/plantname[rank=species]/plantname", |
|
68 |
//*s/taxonConcept[tcs:@code=gen]/tcs:Name,"//taxonoccurrence/taxondetermination[role=identifier]/*_id/plantconcept/plantname_id/_simplifyPath/path/_forEach:[do=""plantname[rank=_val]/parent_id""]/plantname[rank=genus]/plantname", |
|
69 |
//*s/taxonConcept[tcs:@code=fam]/tcs:Name,"//taxonoccurrence/taxondetermination[role=identifier]/*_id/plantconcept/plantname_id/_simplifyPath/path/_forEach:[do=""plantname[rank=_val]/parent_id""]/plantname[rank=family]/plantname", |
|
70 |
//*s/taxonConcept[tcs:@code=ord]/tcs:Name,"//taxonoccurrence/taxondetermination[role=identifier]/*_id/plantconcept/plantname_id/_simplifyPath/path/_forEach:[do=""plantname[rank=_val]/parent_id""]/plantname[rank=order]/plantname", |
|
71 |
//*s/taxonConcept[tcs:@code=cl]/tcs:Name,"//taxonoccurrence/taxondetermination[role=identifier]/*_id/plantconcept/plantname_id/_simplifyPath/path/_forEach:[do=""plantname[rank=_val]/parent_id""]/plantname[rank=class]/plantname", |
|
72 |
//*s/taxonConcept[tcs:@code=phyl_div]/tcs:Name,"//taxonoccurrence/taxondetermination[role=identifier]/*_id/plantconcept/plantname_id/_simplifyPath/path/_forEach:[do=""plantname[rank=_val]/parent_id""]/plantname[rank=subkingdom]/plantname", |
|
73 |
//*s/taxonConcept[tcs:@code=reg]/tcs:Name,"//taxonoccurrence/taxondetermination[role=identifier]/*_id/plantconcept/plantname_id/_simplifyPath/path/_forEach:[do=""plantname[rank=_val]/parent_id""]/plantname[rank=kingdom]/plantname", |
|
74 |
//individualName/givenName,//taxonoccurrence/verbatimcollectorname/_name/first, |
|
75 |
//individualName/surName,//taxonoccurrence/verbatimcollectorname/_name/last, |
|
76 |
//*s/aggregateOrganismObservation/*/aggregateValue/value,//aggregateoccurrence/count, |
|
77 |
//ordinal/coverPercent,//aggregateoccurrence/cover, |
|
78 |
//individualOrganismObservation/simpleUserdefined[name=censusNo]/value,"//aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=censusNo]]/definedvalue", |
|
79 |
//volumeCanopy/value,//aggregateoccurrence/linecover, |
|
80 |
//individualOrganismObservation/simpleUserdefined[name=authorPlantCode]/value,//plantobservation/authorplantcode, |
|
81 |
//individualOrganismObservation/height,//plantobservation/overallheight, |
|
82 |
//individualOrganismObservation/simpleUserdefined[name=height]/value,//plantobservation/overallheight, |
|
83 |
//individualOrganismObservation/simpleUserdefined[name=sourceAccessionCode]/value,//plantobservation/sourceaccessioncode, |
|
3 | 84 |
//*s/aggregateOrganismObservation/*/aggregateValue/value,//plantobservation/stemcount, |
85 |
//individualOrganism/identificationLabel[@id=1],"//stemobservation/stemtag[""""/2=true]/tag",Quotes sort it before tag2 |
|
86 |
//individualOrganism/identificationLabel[@id=2],//stemobservation/stemtag[iscurrent=true]:[../stemtag?[2=true]/1=false]/tag, |
|
87 |
//relativePlotPosition/relativeX,//stemobservation/xposition, |
|
88 |
//relativePlotPosition/relativeY,//stemobservation/yposition, |
|
4 | 89 |
/diameterBaseDistance[value=0]/diameter,/basaldiameter, |
5 | 90 |
/simpleUserdefined[name=canopyForm]/value,"/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=canopyForm]]/definedvalue", |
6 | 91 |
/simpleUserdefined[name=canopyPosition]/value,"/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=canopyPosition]]/definedvalue", |
... | ... | |
12 | 97 |
/simpleUserdefined[name=heightFirstBranch]/value,/heightfirstbranch, |
13 | 98 |
//individualOrganism/identificationLabel[@id=1],"/stemtag[""""/2=true]/tag",Quotes sort it before tag2 |
14 | 99 |
//individualOrganism/identificationLabel[@id=2],/stemtag[iscurrent=true]:[../stemtag?[2=true]/1=false]/tag, |
100 |
//relativePlotPosition/relativeX,/xposition, |
|
101 |
//relativePlotPosition/relativeY,/yposition, |
Also available in: Unified diff
mappings: Build VegX-VegBIEN.organisms.csv from VegX-VegBIEN.stems.csv instead of vice versa. This entails switching the roots around so stem points to organism instead of the other way around, which is a complex operation. Re-rooted VegX-VegBIEN.organisms.csv at /plantobservation instead of /taxonoccurrence to avoid traveling up the hierarchy to taxonoccurrence and back down again to plantobservation, etc. as would otherwise have been the case.