Project

General

Profile

« Previous | Next » 

Revision 1015

VegX-VegBIEN mapping: Use the input data source's label (e.g. SALVIAS) everywhere a reference is needed

View differences:

inputs/SALVIAS/test/VegBIEN.plots.xml.ref
4 4
        <location_id>
5 5
            <location>
6 6
                <area>0.06</area>
7
                <authorlocationcode>ACHUPALL</authorlocationcode>
8 7
                <elevation>2100.0</elevation>
9 8
                <locationdetermination>
10 9
                    <namedplace_id>
......
24 23
                </locationdetermination>
25 24
                <reallatitude>-3.45</reallatitude>
26 25
                <reallongitude>-78.3667</reallongitude>
26
                <reference_id><reference><shortname>SALVIAS</shortname></reference></reference_id>
27
                <authorlocationcode>ACHUPALL</authorlocationcode>
27 28
            </location>
28 29
        </location_id>
29 30
        <project_id><project><projectname>1</projectname></project></project_id>
......
53 54
        <location_id>
54 55
            <location>
55 56
                <area>0.1</area>
56
                <authorlocationcode>ALLACHER</authorlocationcode>
57 57
                <elevation>530.0</elevation>
58 58
                <locationdetermination>
59 59
                    <namedplace_id>
......
73 73
                </locationdetermination>
74 74
                <reallatitude>48.0667</reallatitude>
75 75
                <reallongitude>11.5</reallongitude>
76
                <reference_id><reference><shortname>SALVIAS</shortname></reference></reference_id>
77
                <authorlocationcode>ALLACHER</authorlocationcode>
76 78
            </location>
77 79
        </location_id>
78 80
        <project_id><project><projectname>1</projectname></project></project_id>
inputs/SALVIAS/test/VegBIEN.organisms.xml.ref
111 111
            <iscurrent>true</iscurrent>
112 112
        </taxondetermination>
113 113
        <specimenreplicate>
114
            <reference_id><reference/></reference_id>
114
            <reference_id><reference><shortname>SALVIAS</shortname></reference></reference_id>
115 115
            <sourceaccessioncode>1</sourceaccessioncode>
116 116
        </specimenreplicate>
117 117
    </taxonoccurrence>
......
226 226
            <iscurrent>true</iscurrent>
227 227
        </taxondetermination>
228 228
        <specimenreplicate>
229
            <reference_id><reference/></reference_id>
229
            <reference_id><reference><shortname>SALVIAS</shortname></reference></reference_id>
230 230
            <sourceaccessioncode>2</sourceaccessioncode>
231 231
        </specimenreplicate>
232 232
    </taxonoccurrence>
inputs/SALVIAS/test/import.plots.out.ref
1
Inserted 28 new rows into database
1
Inserted 30 new rows into database
inputs/SALVIAS/maps/VegBIEN.plots.csv
1 1
SALVIAS:plotMetadata,VegBIEN:/locationevent,Comments
2 2
plot_area_ha,/*_id/location/area,"Brad: Area in hectares. Is there any way to store units?; Aaron: VegX plot area annotation says ""Total area of the plot in square meters."" so units are fixed"
3
SiteCode,/*_id/location/authorlocationcode,Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
4 3
Elev,/*_id/location/elevation/_alt/1,Brad: Mean elevation in meters. This is a constrained decimal value; is there no place for this in VegX other than verbatimElevation? Check with Nick.
5 4
Country,"/*_id/location/locationdetermination(/*_id/namedplace[placesystem=""area|country|territory""])/placename",
6 5
PolDiv1,"/*_id/location/locationdetermination(/*_id/namedplace[placesystem=""region|state|province""])/placename",Brad: No; pol1=stateProvince
......
13 12
slope_gradient,/*_id/location/slopegradient,
14 13
elev_max_m,"/*_id/location/{elevation/_alt/2/_avg/max,elevationrange/_range/to}",
15 14
elev_min_m,"/*_id/location/{elevation/_alt/2/_avg/min,elevationrange/_range/from}",
15
SiteCode,/*_id/location:[*_id/reference/shortname=$/_ignore/inLabel]/authorlocationcode,Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
16 16
project_id,/*_id/project/projectname,
17 17
PlotID,/authoreventcode,"Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
18 18
life_zone_code,/commclass/commdetermination/*_id/commconcept/*_id/*/commname,
inputs/SALVIAS/maps/VegBIEN.organisms.csv
18 18
Habit,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=habit]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Incorrect for VegBank, correct for VegX. This is growth form (tree, shrub, herb, etc.). It is an observation of a trait."
19 19
Ind,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=individualCode]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Code, if any, used by the data provider to indicate an individual tree. Scope is unknown, although typically this value is unique only within plot, or sometimes only within subplot."
20 20
DetType,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=voucherType]]:[@fkey=tableRecord_ID]/definedvalue","Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider  asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen."
21
coll_number,/specimenreplicate:[*_id/reference]/catalognumber_dwc,Brad: Incorrect. Map instead as for voucher_string
22
census_date,/specimenreplicate:[*_id/reference]/collectiondate/_*/date,
23
coll_firstname,/specimenreplicate:[*_id/reference]/verbatimcollectorname/_name/first,Brad: See comment above
24
coll_lastname,/specimenreplicate:[*_id/reference]/verbatimcollectorname/_name/last,"Brad: Correct for VegBank. This is the collector of a separate specimen which vouchers this tree or species. I worry that vouchers are not properly accommodated in VegX. Again, we need to check with Nick."
21
coll_number,/specimenreplicate:[*_id/reference/shortname=$/_ignore/inLabel]/catalognumber_dwc,Brad: Incorrect. Map instead as for voucher_string
22
census_date,/specimenreplicate:[*_id/reference/shortname=$/_ignore/inLabel]/collectiondate/_*/date,
23
coll_firstname,/specimenreplicate:[*_id/reference/shortname=$/_ignore/inLabel]/verbatimcollectorname/_name/first,Brad: See comment above
24
coll_lastname,/specimenreplicate:[*_id/reference/shortname=$/_ignore/inLabel]/verbatimcollectorname/_name/last,"Brad: Correct for VegBank. This is the collector of a separate specimen which vouchers this tree or species. I worry that vouchers are not properly accommodated in VegX. Again, we need to check with Nick."
25 25
auth,"/taxondetermination[*_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Authority]:[determinationtype=""Computer (automated)"",iscurrent=true]/*_id/plantconcept/*_id/*/plantname",Brad: Incorrect. This is the author of the scientificName. The should be a place for this in the taxonomic name elements of VegB and VegX. Let's discuss.
26 26
Family,"/taxondetermination[*_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=""Computer (automated)"",iscurrent=true]/*_id/plantconcept/*_id/*/plantname",
27 27
Genus,"/taxondetermination[*_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Genus]:[determinationtype=""Computer (automated)"",iscurrent=true]/*_id/plantconcept/*_id/*/plantname",
......
32 32
OrigGenus,"/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Binomial]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname/_name/first",
33 33
OrigSpecies,"/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Binomial]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname/_name/last",Brad: OMIT
34 34
OrigFamily,"/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",Brad: OMIT
35
PlotObsID,"/{aggregateoccurrence/*_id/plantobservation/authorplantcode,specimenreplicate:[*_id/reference]/sourceaccessioncode}","Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later."
35
PlotObsID,"/{aggregateoccurrence/*_id/plantobservation/authorplantcode,specimenreplicate:[*_id/reference/shortname=$/_ignore/inLabel]/sourceaccessioncode}","Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later."
36 36
GenAuth,,
37 37
IsMorpho,,
38 38
Line,,
inputs/SALVIAS-CSV/test/VegBIEN.plots.xml.ref
4 4
        <location_id>
5 5
            <location>
6 6
                <area>0.44</area>
7
                <authorlocationcode>ALP-11</authorlocationcode>
8 7
                <elevation>200</elevation>
9 8
                <locationdetermination>
10 9
                    <namedplace_id>
......
33 32
                </locationdetermination>
34 33
                <reallatitude>-3.95</reallatitude>
35 34
                <reallongitude>-73.4333</reallongitude>
35
                <reference_id><reference><shortname>SALVIAS</shortname></reference></reference_id>
36
                <authorlocationcode>ALP-11</authorlocationcode>
36 37
            </location>
37 38
        </location_id>
38 39
        <project_id><project><projectname>RAINFOR - 1 ha Peru</projectname></project></project_id>
......
43 44
        <location_id>
44 45
            <location>
45 46
                <area>0.4</area>
46
                <authorlocationcode>ALP-12</authorlocationcode>
47 47
                <elevation>200</elevation>
48 48
                <locationdetermination>
49 49
                    <namedplace_id>
......
72 72
                </locationdetermination>
73 73
                <reallatitude>-3.95</reallatitude>
74 74
                <reallongitude>-73.4333</reallongitude>
75
                <reference_id><reference><shortname>SALVIAS</shortname></reference></reference_id>
76
                <authorlocationcode>ALP-12</authorlocationcode>
75 77
            </location>
76 78
        </location_id>
77 79
        <project_id><project><projectname>RAINFOR - 1 ha Peru</projectname></project></project_id>
inputs/SALVIAS-CSV/test/VegBIEN.organisms.xml.ref
5 5
            <locationevent>
6 6
                <location_id>
7 7
                    <location>
8
                        <parent_id><location><authorlocationcode>ALP-11</authorlocationcode></location></parent_id>
9
                        <reference_id><reference><shortname>SALVIAS</shortname></reference></reference_id>
8 10
                        <authorlocationcode>1</authorlocationcode>
9
                        <parent_id><location><authorlocationcode>ALP-11</authorlocationcode></location></parent_id>
10 11
                    </location>
11 12
                </location_id>
12 13
                <obsstartdate>2001-01-01</obsstartdate>
......
52 53
            <definedvalue>10</definedvalue>
53 54
        </definedvalue>
54 55
        <specimenreplicate>
55
            <reference_id><reference/></reference_id>
56
            <reference_id><reference><shortname>SALVIAS</shortname></reference></reference_id>
56 57
            <catalognumber_dwc>14598</catalognumber_dwc>
57 58
            <verbatimcollectorname>Vasquez</verbatimcollectorname>
58 59
            <sourceaccessioncode>607771</sourceaccessioncode>
......
120 121
            <locationevent>
121 122
                <location_id>
122 123
                    <location>
124
                        <parent_id><location><authorlocationcode>ALP-11</authorlocationcode></location></parent_id>
125
                        <reference_id><reference><shortname>SALVIAS</shortname></reference></reference_id>
123 126
                        <authorlocationcode>4</authorlocationcode>
124
                        <parent_id><location><authorlocationcode>ALP-11</authorlocationcode></location></parent_id>
125 127
                    </location>
126 128
                </location_id>
127 129
                <obsstartdate>2001-01-01</obsstartdate>
......
167 169
            <definedvalue>100</definedvalue>
168 170
        </definedvalue>
169 171
        <specimenreplicate>
170
            <reference_id><reference/></reference_id>
172
            <reference_id><reference><shortname>SALVIAS</shortname></reference></reference_id>
171 173
            <catalognumber_dwc>14669</catalognumber_dwc>
172 174
            <verbatimcollectorname>Vasquez</verbatimcollectorname>
173 175
            <sourceaccessioncode>607722</sourceaccessioncode>
inputs/SALVIAS-CSV/test/import.plots.out.ref
1
Inserted 15 new rows into database
1
Inserted 17 new rows into database
inputs/SALVIAS-CSV/test/import.organisms.out.ref
1
Inserted 80 new rows into database
1
Inserted 82 new rows into database
inputs/SALVIAS-CSV/maps/VegBIEN.plots.csv
1 1
SALVIAS,VegBIEN:/locationevent,Comments
2 2
plot_area_ha,/*_id/location/area,"Brad: Area in hectares. Is there any way to store units?; Aaron: VegX plot area annotation says ""Total area of the plot in square meters."" so units are fixed"
3
plot_code,/*_id/location/authorlocationcode,Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
4 3
elev_m,/*_id/location/elevation/_alt/1,Brad: Mean elevation in meters. This is a constrained decimal value; is there no place for this in VegX other than verbatimElevation? Check with Nick.
5 4
country,"/*_id/location/locationdetermination(/*_id/namedplace[placesystem=""area|country|territory""])/placename",
6 5
pol1,"/*_id/location/locationdetermination(/*_id/namedplace[placesystem=""region|state|province""])/placename",Brad: No; pol1=stateProvince
......
13 12
slope_gradient,/*_id/location/slopegradient,
14 13
elev_max_m,"/*_id/location/{elevation/_alt/2/_avg/max,elevationrange/_range/to}",
15 14
elev_min_m,"/*_id/location/{elevation/_alt/2/_avg/min,elevationrange/_range/from}",
15
plot_code,/*_id/location:[*_id/reference/shortname=$/_ignore/inLabel]/authorlocationcode,Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
16 16
project,/*_id/project/projectname,
17 17
holdridge_life_zone,/commclass/commdetermination/*_id/commconcept/*_id/*/commname,
18 18
life_zone_code,/commclass/commdetermination/*_id/commconcept/commdescription,
inputs/SALVIAS-CSV/maps/VegBIEN.organisms.csv
1 1
SALVIAS,VegBIEN:/taxonoccurrence,Comments
2
subplot,/*_id/locationevent/*_id/location/authorlocationcode,
3 2
plot_code,/*_id/locationevent/*_id/location/parent_id/location/authorlocationcode,"Brad: Same as plotCode, above"
3
subplot,/*_id/locationevent/*_id/location:[*_id/reference/shortname=$/_ignore/inLabel]/authorlocationcode,
4 4
census_date,/*_id/locationevent/obsstartdate/_date/year,
5 5
height_m,/aggregateoccurrence/*_id/plantobservation/overallheight,Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
6 6
stem_height_m,/aggregateoccurrence/*_id/plantobservation/overallheight,"Brad: Same as for height, but applies to individuals stems, not trees. Rare."
......
25 25
habit,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=habit]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Incorrect for VegBank, correct for VegX. This is growth form (tree, shrub, herb, etc.). It is an observation of a trait."
26 26
individual_code,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=individualCode]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Code, if any, used by the data provider to indicate an individual tree. Scope is unknown, although typically this value is unique only within plot, or sometimes only within subplot."
27 27
det_type,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=voucherType]]:[@fkey=tableRecord_ID]/definedvalue","Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider  asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen."
28
coll_number,/specimenreplicate:[*_id/reference]/catalognumber_dwc,Brad: Incorrect. Map instead as for voucher_string
29
coll_firstname,/specimenreplicate:[*_id/reference]/verbatimcollectorname/_name/first,Brad: See comment above
30
coll_lastname,/specimenreplicate:[*_id/reference]/verbatimcollectorname/_name/last,"Brad: Correct for VegBank. This is the collector of a separate specimen which vouchers this tree or species. I worry that vouchers are not properly accommodated in VegX. Again, we need to check with Nick."
28
coll_number,/specimenreplicate:[*_id/reference/shortname=$/_ignore/inLabel]/catalognumber_dwc,Brad: Incorrect. Map instead as for voucher_string
29
coll_firstname,/specimenreplicate:[*_id/reference/shortname=$/_ignore/inLabel]/verbatimcollectorname/_name/first,Brad: See comment above
30
coll_lastname,/specimenreplicate:[*_id/reference/shortname=$/_ignore/inLabel]/verbatimcollectorname/_name/last,"Brad: Correct for VegBank. This is the collector of a separate specimen which vouchers this tree or species. I worry that vouchers are not properly accommodated in VegX. Again, we need to check with Nick."
31 31
specific_authority,"/taxondetermination[*_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Authority]:[determinationtype=""Computer (automated)"",iscurrent=true]/*_id/plantconcept/*_id/*/plantname",Brad: Incorrect. This is the author of the scientificName. The should be a place for this in the taxonomic name elements of VegB and VegX. Let's discuss.
32 32
family,"/taxondetermination[*_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=""Computer (automated)"",iscurrent=true]/*_id/plantconcept/*_id/*/plantname",
33 33
genus,"/taxondetermination[*_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Genus]:[determinationtype=""Computer (automated)"",iscurrent=true]/*_id/plantconcept/*_id/*/plantname",
......
37 37
cf_aff,"/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Binomial]/{taxonFit,*_id/plantconcept/*_id/*/plantname/_name/middle}","Brad: Not sure where this goes. Indicator of identification uncertainty. 'cf.'=similar to the species listed, 'aff.'=related to the species list, but not the same. You'll need to check with Bob and with Nick where these go in VegX and VegBank."
38 38
orig_species,"/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Binomial]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname/_name/last",Brad: OMIT
39 39
orig_family,"/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",Brad: OMIT
40
OBSERVATION_ID,"/{aggregateoccurrence/*_id/plantobservation/authorplantcode,specimenreplicate:[*_id/reference]/sourceaccessioncode}","Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later."
40
OBSERVATION_ID,"/{aggregateoccurrence/*_id/plantobservation/authorplantcode,specimenreplicate:[*_id/reference/shortname=$/_ignore/inLabel]/sourceaccessioncode}","Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later."
41 41
PLOT_ID,,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above."
42 42
collector_code,,Brad: OMIT
43 43
comments,,Brad: OMIT
mappings/VegX-VegBIEN.plots.csv
1 1
VegX:/*s/plotObservation,VegBIEN:/locationevent
2 2
/*UniqueIdentifierID->/*s/plot/area,/*_id/location/area
3
/*UniqueIdentifierID->/*s/plot/plotUniqueIdentifier,/*_id/location/authorlocationcode
4 3
/*UniqueIdentifierID->/*s/plot/geospatial/FootprintWKT,/*_id/location/dsgpoly
5 4
/*UniqueIdentifierID->/*s/plot/geospatial/verbatimElevation,/*_id/location/elevation/_alt/1
6 5
/*UniqueIdentifierID->/*s/plot/geospatial/CoordinateUncertaintyInMeters,/*_id/location/locationaccuracy
......
16 15
/*UniqueIdentifierID->/*s/plot/slopeGradient,/*_id/location/slopegradient
17 16
/*UniqueIdentifierID->/*s/plot/geospatial/maximumElevationInMeters,"/*_id/location/{elevation/_alt/2/_avg/max,elevationrange/_range/to}"
18 17
/*UniqueIdentifierID->/*s/plot/geospatial/minimumElevationInMeters,"/*_id/location/{elevation/_alt/2/_avg/min,elevationrange/_range/from}"
18
/*UniqueIdentifierID->/*s/plot/plotUniqueIdentifier,/*_id/location:[*_id/reference/shortname=$/_ignore/inLabel]/authorlocationcode
19 19
/*ID->/*s/project/title,/*_id/project/projectname
20 20
/simpleUserdefined[name=authorCode]/value,/authoreventcode
21 21
->/*s/communityDetermination[*ID]/*s/communityConcept/commonName,/commclass/commdetermination/*_id/commconcept/*_id/*/commname
mappings/VegX-VegBIEN.organisms.csv
1 1
VegX:/*s/individualOrganismObservation,VegBIEN:/taxonoccurrence
2 2
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/area,/*_id/locationevent/*_id/location/area
3
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/plotUniqueIdentifier,/*_id/locationevent/*_id/location/authorlocationcode
4 3
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/geospatial/FootprintWKT,/*_id/locationevent/*_id/location/dsgpoly
5 4
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/geospatial/verbatimElevation,/*_id/locationevent/*_id/location/elevation/_alt/1
6 5
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/geospatial/CoordinateUncertaintyInMeters,/*_id/locationevent/*_id/location/locationaccuracy
......
16 15
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/slopeGradient,/*_id/locationevent/*_id/location/slopegradient
17 16
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/geospatial/maximumElevationInMeters,"/*_id/locationevent/*_id/location/{elevation/_alt/2/_avg/max,elevationrange/_range/to}"
18 17
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/geospatial/minimumElevationInMeters,"/*_id/locationevent/*_id/location/{elevation/_alt/2/_avg/min,elevationrange/_range/from}"
18
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/plotUniqueIdentifier,/*_id/locationevent/*_id/location:[*_id/reference/shortname=$/_ignore/inLabel]/authorlocationcode
19 19
/*ID->/*s/plotObservation/*ID->/*s/project/title,/*_id/locationevent/*_id/project/projectname
20 20
/*ID->/*s/plotObservation/simpleUserdefined[name=authorCode]/value,/*_id/locationevent/authoreventcode
21 21
/*ID->/*s/plotObservation->/*s/communityDetermination[*ID]/*s/communityConcept/commonName,/*_id/locationevent/commclass/commdetermination/*_id/commconcept/*_id/*/commname
......
88 88
/simpleUserdefined[name=habit]/value,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=habit]]:[@fkey=tableRecord_ID]/definedvalue"
89 89
/simpleUserdefined[name=individualCode]/value,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=individualCode]]:[@fkey=tableRecord_ID]/definedvalue"
90 90
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/groupType","/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=voucherType]]:[@fkey=tableRecord_ID]/definedvalue"
91
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/authorCode,/specimenreplicate:[*_id/reference]/catalognumber_dwc
92
/simpleUserdefined[name=collectionDate]/value,/specimenreplicate:[*_id/reference]/collectiondate
93
/simpleUserdefined[name=collectionDate]/value/_*/date,/specimenreplicate:[*_id/reference]/collectiondate/_*/date
94
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/partyWithRole/*ID->/parties/party/individualName/givenName",/specimenreplicate:[*_id/reference]/verbatimcollectorname/_name/first
95
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/partyWithRole/*ID->/parties/party/individualName/surName",/specimenreplicate:[*_id/reference]/verbatimcollectorname/_name/last
96
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/partyWithRole/*ID->/parties/party/organizationName,"/specimenreplicate:[*_id/reference]/{museum_id/party/organizationname,collectioncode_dwc/_namePart/last}"
91
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/authorCode,/specimenreplicate:[*_id/reference/shortname=$/_ignore/inLabel]/catalognumber_dwc
92
/simpleUserdefined[name=collectionDate]/value,/specimenreplicate:[*_id/reference/shortname=$/_ignore/inLabel]/collectiondate
93
/simpleUserdefined[name=collectionDate]/value/_*/date,/specimenreplicate:[*_id/reference/shortname=$/_ignore/inLabel]/collectiondate/_*/date
94
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/partyWithRole/*ID->/parties/party/individualName/givenName",/specimenreplicate:[*_id/reference/shortname=$/_ignore/inLabel]/verbatimcollectorname/_name/first
95
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/partyWithRole/*ID->/parties/party/individualName/surName",/specimenreplicate:[*_id/reference/shortname=$/_ignore/inLabel]/verbatimcollectorname/_name/last
96
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/partyWithRole/*ID->/parties/party/organizationName,"/specimenreplicate:[*_id/reference/shortname=$/_ignore/inLabel]/{museum_id/party/organizationname,collectioncode_dwc/_namePart/last}"
97 97
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=computer]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=auth])/Name","/taxondetermination[*_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Authority]:[determinationtype=""Computer (automated)"",iscurrent=true]/*_id/plantconcept/*_id/*/plantname"
98 98
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=computer]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=fam])/Name","/taxondetermination[*_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=""Computer (automated)"",iscurrent=true]/*_id/plantconcept/*_id/*/plantname"
99 99
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=computer]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=gen])/Name","/taxondetermination[*_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Genus]:[determinationtype=""Computer (automated)"",iscurrent=true]/*_id/plantconcept/*_id/*/plantname"
......
114 114
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=ord])/Name","/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Order]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname"
115 115
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=phyl_div])/Name","/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Subkingdom]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname"
116 116
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=ssp])/Name","/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Subspecies]/*_id/plantconcept/*_id/*/plantname"
117
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/voucher,"/{aggregateoccurrence/*_id/plantobservation/authorplantcode,specimenreplicate:[*_id/reference]/sourceaccessioncode}"
117
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/voucher,"/{aggregateoccurrence/*_id/plantobservation/authorplantcode,specimenreplicate:[*_id/reference/shortname=$/_ignore/inLabel]/sourceaccessioncode}"
mappings/for_review/VegX-VegBIEN.plots.csv
1 1
VegX:/*s/plotObservation,VegBIEN:/locationevent
2 2
//plot/area,//location/area
3
//plot/plotUniqueIdentifier,//location/authorlocationcode
4 3
//geospatial/FootprintWKT,//location/dsgpoly
5 4
//geospatial/verbatimElevation,//location/elevation/_alt/1
6 5
//geospatial/CoordinateUncertaintyInMeters,//location/locationaccuracy
......
16 15
//plot/slopeGradient,//location/slopegradient
17 16
//geospatial/maximumElevationInMeters,"/*_id/location/{elevation/_alt/2/_avg/max,elevationrange/_range/to}"
18 17
//geospatial/minimumElevationInMeters,"/*_id/location/{elevation/_alt/2/_avg/min,elevationrange/_range/from}"
18
//plot/plotUniqueIdentifier,//location/authorlocationcode
19 19
//project/title,//project/projectname
20 20
/simpleUserdefined[name=authorCode]/value,/authoreventcode
21 21
//*s/communityDetermination/*s/communityConcept/commonName,//*/commname
mappings/for_review/VegX-VegBIEN.organisms.csv
1 1
VegX:/*s/individualOrganismObservation,VegBIEN:/taxonoccurrence
2 2
//plot/area,//location/area
3
//plot/plotUniqueIdentifier,//location/authorlocationcode
4 3
//geospatial/FootprintWKT,//location/dsgpoly
5 4
//geospatial/verbatimElevation,//location/elevation/_alt/1
6 5
//geospatial/CoordinateUncertaintyInMeters,//location/locationaccuracy
......
16 15
//plot/slopeGradient,//location/slopegradient
17 16
//geospatial/maximumElevationInMeters,"/*_id/locationevent/*_id/location/{elevation/_alt/2/_avg/max,elevationrange/_range/to}"
18 17
//geospatial/minimumElevationInMeters,"/*_id/locationevent/*_id/location/{elevation/_alt/2/_avg/min,elevationrange/_range/from}"
18
//plot/plotUniqueIdentifier,//location/authorlocationcode
19 19
//project/title,//project/projectname
20 20
//plotObservation/simpleUserdefined[name=authorCode]/value,//locationevent/authoreventcode
21 21
//*s/communityDetermination/*s/communityConcept/commonName,//*/commname

Also available in: Unified diff