Project

General

Profile

« Previous | Next » 

Revision 606

NYBG-VegBIEN mapping: Don't map dummy values to locationcode, etc. (e.g. in specimens data) because these tables are no longer required

View differences:

test/accepted_output/SALVIAS.plots.VegBIEN.xml
4 4
        <location_id>
5 5
            <location>
6 6
                <area>0.44</area>
7
                <authorlocationcode>ALP-11</authorlocationcode>
7 8
                <elevation>200</elevation>
8 9
                <locationplace>
9 10
                    <namedplace_id>
......
32 33
                </locationplace>
33 34
                <reallatitude>-3.95</reallatitude>
34 35
                <reallongitude>-73.4333</reallongitude>
35
                <authorlocationcode>ALP-11</authorlocationcode>
36 36
            </location>
37 37
        </location_id>
38 38
        <project_id>
......
42 42
        </project_id>
43 43
        <methodnarrative>1 ha, stems &gt;= 10 cm dbh</methodnarrative>
44 44
        <obsstartdate>1990-11-16</obsstartdate>
45
        <authoreventcode>ALP-11</authoreventcode>
46 45
    </locationevent>
47 46
    <locationevent id="1">
48 47
        <location_id>
49 48
            <location>
50 49
                <area>0.4</area>
50
                <authorlocationcode>ALP-12</authorlocationcode>
51 51
                <elevation>200</elevation>
52 52
                <locationplace>
53 53
                    <namedplace_id>
......
76 76
                </locationplace>
77 77
                <reallatitude>-3.95</reallatitude>
78 78
                <reallongitude>-73.4333</reallongitude>
79
                <authorlocationcode>ALP-12</authorlocationcode>
80 79
            </location>
81 80
        </location_id>
82 81
        <project_id>
......
86 85
        </project_id>
87 86
        <methodnarrative>1 ha, stems &gt;= 10 cm dbh</methodnarrative>
88 87
        <obsstartdate>1990-11-16</obsstartdate>
89
        <authoreventcode>ALP-12</authoreventcode>
90 88
    </locationevent>
91 89
</VegBIEN>
test/accepted_output/SALVIAS.organisms.VegBIEN.xml
5 5
            <locationevent>
6 6
                <location_id>
7 7
                    <location>
8
                        <authorlocationcode>1</authorlocationcode>
8 9
                        <parent_id>
9 10
                            <location>
10 11
                                <authorlocationcode>ALP-11</authorlocationcode>
11 12
                            </location>
12 13
                        </parent_id>
13
                        <authorlocationcode>1</authorlocationcode>
14 14
                    </location>
15 15
                </location_id>
16 16
                <obsstartdate>2001-01-01</obsstartdate>
17
                <authoreventcode>1</authoreventcode>
18 17
            </locationevent>
19 18
        </locationevent_id>
20 19
        <aggregateoccurrence>
......
198 197
            <locationevent>
199 198
                <location_id>
200 199
                    <location>
200
                        <authorlocationcode>4</authorlocationcode>
201 201
                        <parent_id>
202 202
                            <location>
203 203
                                <authorlocationcode>ALP-11</authorlocationcode>
204 204
                            </location>
205 205
                        </parent_id>
206
                        <authorlocationcode>4</authorlocationcode>
207 206
                    </location>
208 207
                </location_id>
209 208
                <obsstartdate>2001-01-01</obsstartdate>
210
                <authoreventcode>4</authoreventcode>
211 209
            </locationevent>
212 210
        </locationevent_id>
213 211
        <aggregateoccurrence>
test/accepted_output/SALVIAS_db.plots.VegBIEN.xml
4 4
        <location_id>
5 5
            <location>
6 6
                <area>0.06</area>
7
                <authorlocationcode>ACHUPALL</authorlocationcode>
7 8
                <elevation>2100.0</elevation>
8 9
                <locationplace>
9 10
                    <namedplace_id>
......
23 24
                </locationplace>
24 25
                <reallatitude>-3.45</reallatitude>
25 26
                <reallongitude>-78.3667</reallongitude>
26
                <authorlocationcode>ACHUPALL</authorlocationcode>
27 27
            </location>
28 28
        </location_id>
29 29
        <project_id>
......
61 61
        <location_id>
62 62
            <location>
63 63
                <area>0.1</area>
64
                <authorlocationcode>ALLACHER</authorlocationcode>
64 65
                <elevation>530.0</elevation>
65 66
                <locationplace>
66 67
                    <namedplace_id>
......
80 81
                </locationplace>
81 82
                <reallatitude>48.0667</reallatitude>
82 83
                <reallongitude>11.5</reallongitude>
83
                <authorlocationcode>ALLACHER</authorlocationcode>
84 84
            </location>
85 85
        </location_id>
86 86
        <project_id>
test/accepted_output/SALVIAS_db.organisms.VegBIEN.xml
4 4
        <locationevent_id>
5 5
            <locationevent>
6 6
                <authoreventcode>295</authoreventcode>
7
                <location_id>
8
                    <location>
9
                        <authorlocationcode>1</authorlocationcode>
10
                    </location>
11
                </location_id>
12 7
            </locationevent>
13 8
        </locationevent_id>
14 9
        <aggregateoccurrence>
......
211 206
        <locationevent_id>
212 207
            <locationevent>
213 208
                <authoreventcode>295</authoreventcode>
214
                <location_id>
215
                    <location>
216
                        <authorlocationcode>2</authorlocationcode>
217
                    </location>
218
                </location_id>
219 209
            </locationevent>
220 210
        </locationevent_id>
221 211
        <aggregateoccurrence>
test/accepted_output/NYBG.organisms.VegBIEN.xml
34 34
                        <reallongitude>-71.40</reallongitude>
35 35
                        <elevation>350.0</elevation>
36 36
                        <elevationrange>0.0</elevationrange>
37
                        <authorlocationcode>816590</authorlocationcode>
38 37
                    </location>
39 38
                </location_id>
40 39
                <obsstartdate>1984-08-20</obsstartdate>
41
                <authoreventcode>816590</authoreventcode>
42 40
            </locationevent>
43 41
        </locationevent_id>
44 42
        <aggregateoccurrence>
......
265 263
                        <reallongitude>-88.50</reallongitude>
266 264
                        <elevation>15.0</elevation>
267 265
                        <elevationrange>0.0</elevationrange>
268
                        <authorlocationcode>220541</authorlocationcode>
269 266
                    </location>
270 267
                </location_id>
271 268
                <obsstartdate>1994-01-17</obsstartdate>
272
                <authoreventcode>220541</authoreventcode>
273 269
            </locationevent>
274 270
        </locationevent_id>
275 271
        <specimen>
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)
3 4
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.
4 5
Country,"/*_id/location/locationplace(/*_id/namedplace[placesystem=""area|country|territory""])/placename",
5 6
PolDiv1,"/*_id/location/locationplace(/*_id/namedplace[placesystem=""region|state|province""])/placename",Brad: No; pol1=stateProvince
......
13 14
elev_max_m,"/*_id/location/{elevation/_alt/2/_avg/max,elevationrange/_range/to}",
14 15
elev_min_m,"/*_id/location/{elevation/_alt/2/_avg/min,elevationrange/_range/from}",
15 16
project_id,/*_id/project/projectname,
16
PlotID,/authoreventcode/_alt/1,"Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
17
PlotID,/authoreventcode,"Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
17 18
life_zone_code,/commclass/commdetermination/*_id/commconcept/*_id/*/commname,
18 19
life_zone,/commclass/commdetermination/*_id/commconcept/commdescription,
19 20
Precip,"/definedvalue[*_id/userdefined[tablename=locationevent,userdefinedname=precipitationMm]]:[@fkey=tableRecord_ID]/definedvalue",
......
38 39
sand_percent,/soilobs:[soilhorizon=unknown]/soilsand,
39 40
silt_percent,/soilobs:[soilhorizon=unknown]/soilsilt,
40 41
soil_texture,/soilobs:[soilhorizon=unknown]/soiltexture,
41
SiteCode,"/{*_id/location/authorlocationcode/_alt/2,authoreventcode/_alt/2}",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
inputs/SALVIAS/maps/VegBIEN.organisms.csv
1 1
SALVIAS:plotObservations,VegBIEN:/taxonoccurrence,Comments
2
PlotID,/*_id/locationevent/authoreventcode/_alt/1,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above."
2
PlotID,/*_id/locationevent/authoreventcode,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above."
3 3
NoInd,/aggregateoccurrence/count/_alt/1,"Brad: Incorrect for VegX. This is a count of number of indiiduals for an *aggregate* observation. For VegBank, I'm not sure. Not exactly the same as stemCount. An individual tree could have 3 stems but would still only count as 1. We need to check with Bob on this."
4 4
cover_percent,/aggregateoccurrence/cover,
5 5
intercept_cm,"/aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=interceptCm]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Incorrect for VegBank This is an aggregate observation. Used in line-intercept methodology only, describes the point along centerline at which an individual intercepts the center line of the plot. Used to determin relative abundance."
......
28 28
infra_ep_1,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Subspecies]:[determinationtype=""Computer (automated)"",currentdetermination=true]/*_id/plantconcept/_name/last",
29 29
OrigFamily,"/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",Brad: OMIT
30 30
OrigSpecies,"/{taxondetermination[role_id/role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname/_alt/2,taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname}",Brad: OMIT
31
PlotObsID,":[aggregateoccurrence/count/_alt/2=1]/{aggregateoccurrence/individualplant/authorplantcode,specimen:[*_id/reference]/sourceaccessioncode,*_id/locationevent/authoreventcode/_alt/2,*_id/locationevent/*_id/location/authorlocationcode/_alt/3}","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."
31
PlotObsID,":[aggregateoccurrence/count/_alt/2=1]/{aggregateoccurrence/individualplant/authorplantcode,specimen:[*_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."
mappings/SALVIAS_db-VegBIEN.organisms.csv
1 1
SALVIAS:plotObservations,VegBIEN:/taxonoccurrence,Comments
2
PlotID,/*_id/locationevent/authoreventcode/_alt/1,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above."
2
PlotID,/*_id/locationevent/authoreventcode,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above."
3 3
NoInd,/aggregateoccurrence/count/_alt/1,"Brad: Incorrect for VegX. This is a count of number of indiiduals for an *aggregate* observation. For VegBank, I'm not sure. Not exactly the same as stemCount. An individual tree could have 3 stems but would still only count as 1. We need to check with Bob on this."
4 4
cover_percent,/aggregateoccurrence/cover,
5 5
intercept_cm,"/aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=interceptCm]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Incorrect for VegBank This is an aggregate observation. Used in line-intercept methodology only, describes the point along centerline at which an individual intercepts the center line of the plot. Used to determin relative abundance."
......
28 28
infra_ep_1,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Subspecies]:[determinationtype=""Computer (automated)"",currentdetermination=true]/*_id/plantconcept/_name/last",
29 29
OrigFamily,"/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",Brad: OMIT
30 30
OrigSpecies,"/{taxondetermination[role_id/role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname/_alt/2,taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname}",Brad: OMIT
31
PlotObsID,":[aggregateoccurrence/count/_alt/2=1]/{aggregateoccurrence/individualplant/authorplantcode,specimen:[*_id/reference]/sourceaccessioncode,*_id/locationevent/authoreventcode/_alt/2,*_id/locationevent/*_id/location/authorlocationcode/_alt/3}","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."
31
PlotObsID,":[aggregateoccurrence/count/_alt/2=1]/{aggregateoccurrence/individualplant/authorplantcode,specimen:[*_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."
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
3 4
/*UniqueIdentifierID->/*s/plot/geospatial/FootprintWKT,/*_id/location/dsgpoly
4 5
/*UniqueIdentifierID->/*s/plot/geospatial/verbatimElevation,/*_id/location/elevation/_alt/1
5 6
/*UniqueIdentifierID->/*s/plot/geospatial/CoordinateUncertaintyInMeters,/*_id/location/locationaccuracy
......
9 10
/*UniqueIdentifierID->/*s/plot/county,/*_id/location/locationplace(/*_id/namedplace[placesystem=county])/placename
10 11
/*UniqueIdentifierID->/*s/plot/simpleUserdefined[name=localityDescription]/value,/*_id/location/locationplace/*_id/namedplace/placedescription
11 12
/*UniqueIdentifierID->/*s/plot/simpleUserdefined[name=locality]/value,/*_id/location/locationplace/*_id/namedplace/placedescription
12
/*UniqueIdentifierID->/*s/plot/relatedSpatialItem/relatedItem[relationshipType=parentPlot]/relatedItemID->/*s/plot/plotUniqueIdentifier,/*_id/location/parent_id/location/authorlocationcode/_alt/1
13
/*UniqueIdentifierID->/*s/plot/relatedSpatialItem/relatedItem[relationshipType=parentPlot]/relatedItemID->/*s/plot/plotUniqueIdentifier,/*_id/location/parent_id/location/authorlocationcode
13 14
/*UniqueIdentifierID->/*s/plot/geospatial/DecimalLatitude,/*_id/location/reallatitude
14 15
/*UniqueIdentifierID->/*s/plot/geospatial/DecimalLongitude,/*_id/location/reallongitude
15 16
/*UniqueIdentifierID->/*s/plot/slopeAspect,/*_id/location/slopeaspect
......
17 18
/*UniqueIdentifierID->/*s/plot/geospatial/maximumElevationInMeters,"/*_id/location/{elevation/_alt/2/_avg/max,elevationrange/_range/to}"
18 19
/*UniqueIdentifierID->/*s/plot/geospatial/minimumElevationInMeters,"/*_id/location/{elevation/_alt/2/_avg/min,elevationrange/_range/from}"
19 20
/*ID->/*s/project/title,/*_id/project/projectname
20
/simpleUserdefined[name=authorCode]/value,/authoreventcode/_alt/1
21
/simpleUserdefined[name=authorCode]/value,/authoreventcode
21 22
->/*s/communityDetermination[*ID]/communityConcepts/communityConcept/commonName,/commclass/commdetermination/*_id/commconcept/*_id/*/commname
22 23
->/*s/communityDetermination[*ID]/communityConcepts/communityConcept/name,/commclass/commdetermination/*_id/commconcept/commdescription
23 24
/simpleUserdefined[name=precipMm]/value,"/definedvalue[*_id/userdefined[tablename=locationevent,userdefinedname=precipitationMm]]:[@fkey=tableRecord_ID]/definedvalue"
......
49 50
->/*s/abioticObservation[*ID]/simpleUserdefined[name=texture]/value,/soilobs:[soilhorizon=unknown]/soiltexture
50 51
/*UniqueIdentifierID->/*s/plot/geospatial/maximumDepthInMeters,/waterdepth/max
51 52
/*UniqueIdentifierID->/*s/plot/geospatial/minimumDepthInMeters,/waterdepth/min
52
/*UniqueIdentifierID->/*s/plot/plotUniqueIdentifier,"/{*_id/location/authorlocationcode/_alt/2,authoreventcode/_alt/2}"
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
3 4
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/geospatial/FootprintWKT,/*_id/locationevent/*_id/location/dsgpoly
4 5
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/geospatial/verbatimElevation,/*_id/locationevent/*_id/location/elevation/_alt/1
5 6
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/geospatial/CoordinateUncertaintyInMeters,/*_id/locationevent/*_id/location/locationaccuracy
......
9 10
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/county,/*_id/locationevent/*_id/location/locationplace(/*_id/namedplace[placesystem=county])/placename
10 11
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/simpleUserdefined[name=localityDescription]/value,/*_id/locationevent/*_id/location/locationplace/*_id/namedplace/placedescription
11 12
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/simpleUserdefined[name=locality]/value,/*_id/locationevent/*_id/location/locationplace/*_id/namedplace/placedescription
12
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/relatedSpatialItem/relatedItem[relationshipType=parentPlot]/relatedItemID->/*s/plot/plotUniqueIdentifier,/*_id/locationevent/*_id/location/parent_id/location/authorlocationcode/_alt/1
13
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/relatedSpatialItem/relatedItem[relationshipType=parentPlot]/relatedItemID->/*s/plot/plotUniqueIdentifier,/*_id/locationevent/*_id/location/parent_id/location/authorlocationcode
13 14
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/geospatial/DecimalLatitude,/*_id/locationevent/*_id/location/reallatitude
14 15
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/geospatial/DecimalLongitude,/*_id/locationevent/*_id/location/reallongitude
15 16
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/slopeAspect,/*_id/locationevent/*_id/location/slopeaspect
......
17 18
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/geospatial/maximumElevationInMeters,"/*_id/locationevent/*_id/location/{elevation/_alt/2/_avg/max,elevationrange/_range/to}"
18 19
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/geospatial/minimumElevationInMeters,"/*_id/locationevent/*_id/location/{elevation/_alt/2/_avg/min,elevationrange/_range/from}"
19 20
/*ID->/*s/plotObservation/*ID->/*s/project/title,/*_id/locationevent/*_id/project/projectname
20
/*ID->/*s/plotObservation/simpleUserdefined[name=authorCode]/value,/*_id/locationevent/authoreventcode/_alt/1
21
/*ID->/*s/plotObservation/simpleUserdefined[name=authorCode]/value,/*_id/locationevent/authoreventcode
21 22
/*ID->/*s/plotObservation->/*s/communityDetermination[*ID]/communityConcepts/communityConcept/commonName,/*_id/locationevent/commclass/commdetermination/*_id/commconcept/*_id/*/commname
22 23
/*ID->/*s/plotObservation->/*s/communityDetermination[*ID]/communityConcepts/communityConcept/name,/*_id/locationevent/commclass/commdetermination/*_id/commconcept/commdescription
23 24
/*ID->/*s/plotObservation/simpleUserdefined[name=precipMm]/value,"/*_id/locationevent/definedvalue[*_id/userdefined[tablename=locationevent,userdefinedname=precipitationMm]]:[@fkey=tableRecord_ID]/definedvalue"
......
49 50
/*ID->/*s/plotObservation->/*s/abioticObservation[*ID]/simpleUserdefined[name=texture]/value,/*_id/locationevent/soilobs:[soilhorizon=unknown]/soiltexture
50 51
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/geospatial/maximumDepthInMeters,/*_id/locationevent/waterdepth/max
51 52
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/geospatial/minimumDepthInMeters,/*_id/locationevent/waterdepth/min
52
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/plotUniqueIdentifier,"/*_id/locationevent/{*_id/location/authorlocationcode/_alt/2,authoreventcode/_alt/2}"
53 53
/simpleUserdefined[name=count]/value,/aggregateoccurrence/count/_alt/1
54 54
/simpleUserdefined[name=coverPercent]/value,/aggregateoccurrence/cover
55 55
/simpleUserdefined[name=interceptCm]/value,"/aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=interceptCm]]:[@fkey=tableRecord_ID]/definedvalue"
......
122 122
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=phyl_div])/Name","/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Subkingdom]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname"
123 123
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=ssp])/Name","/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Subspecies]/*_id/plantconcept/*_id/*/plantname"
124 124
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=sp])/Name","/{taxondetermination[role_id/role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname/_alt/2,taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname}"
125
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/voucher,":[aggregateoccurrence/count/_alt/2=1]/{aggregateoccurrence/individualplant/authorplantcode,specimen:[*_id/reference]/sourceaccessioncode,*_id/locationevent/authoreventcode/_alt/2,*_id/locationevent/*_id/location/authorlocationcode/_alt/3}"
125
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/voucher,":[aggregateoccurrence/count/_alt/2=1]/{aggregateoccurrence/individualplant/authorplantcode,specimen:[*_id/reference]/sourceaccessioncode}"
mappings/NYBG-VegBIEN.organisms.csv
39 39
Phylum,"/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Subkingdom]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",
40 40
Subspecies,"/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Subspecies]/*_id/plantconcept/*_id/*/plantname",
41 41
Species,"/{taxondetermination[role_id/role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname/_alt/2,taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname}",
42
UniqueNYInternalRecordNumber,":[aggregateoccurrence/count/_alt/2=1]/{aggregateoccurrence/individualplant/authorplantcode,specimen:[*_id/reference]/sourceaccessioncode,*_id/locationevent/authoreventcode/_alt/2,*_id/locationevent/*_id/location/authorlocationcode/_alt/3}","Brad: OMIT; Aaron: We need this field because it is the only ID column with an entry in every row; Brad: OK, use this as primary key"
42
UniqueNYInternalRecordNumber,":[aggregateoccurrence/count/_alt/2=1]/{aggregateoccurrence/individualplant/authorplantcode,specimen:[*_id/reference]/sourceaccessioncode}","Brad: OMIT; Aaron: We need this field because it is the only ID column with an entry in every row; Brad: OK, use this as primary key"
mappings/for_review/SALVIAS_db-VegBIEN.organisms.csv
1 1
SALVIAS:plotObservations,VegBIEN:/taxonoccurrence,Comments
2
PlotID,//locationevent/authoreventcode/_alt/1,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above."
2
PlotID,//locationevent/authoreventcode,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above."
3 3
NoInd,//aggregateoccurrence/count/_alt/1,"Brad: Incorrect for VegX. This is a count of number of indiiduals for an *aggregate* observation. For VegBank, I'm not sure. Not exactly the same as stemCount. An individual tree could have 3 stems but would still only count as 1. We need to check with Bob on this."
4 4
cover_percent,//aggregateoccurrence/cover,
5 5
intercept_cm,"//aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=interceptCm]]/definedvalue","Brad: Incorrect for VegBank This is an aggregate observation. Used in line-intercept methodology only, describes the point along centerline at which an individual intercepts the center line of the plot. Used to determin relative abundance."
......
28 28
infra_ep_1,"/taxondetermination[rolecode=computer,plantlevel=Subspecies]/*_id/plantconcept/_name/last",
29 29
OrigFamily,"/taxondetermination[rolecode=identifier,plantlevel=Family]/*_id/plantconcept/*_id/*/plantname",Brad: OMIT
30 30
OrigSpecies,"/{taxondetermination[rolecode=collector]/*_id/plantconcept/*_id/*/plantname/_alt/2,taxondetermination[rolecode=identifier,plantlevel=Species]/*_id/plantconcept/*_id/*/plantname}",Brad: OMIT
31
PlotObsID,"/{aggregateoccurrence/individualplant/authorplantcode,specimen/sourceaccessioncode,*_id/locationevent/authoreventcode/_alt/2,*_id/locationevent/*_id/location/authorlocationcode/_alt/3}","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."
31
PlotObsID,"/{aggregateoccurrence/individualplant/authorplantcode,specimen/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."
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
3 4
//geospatial/FootprintWKT,//location/dsgpoly
4 5
//geospatial/verbatimElevation,//location/elevation/_alt/1
5 6
//geospatial/CoordinateUncertaintyInMeters,//location/locationaccuracy
......
9 10
//plot/county,//*_id/namedplace[placesystem=county]/placename
10 11
//plot/simpleUserdefined[name=localityDescription]/value,//namedplace/placedescription
11 12
//plot/simpleUserdefined[name=locality]/value,//namedplace/placedescription
12
//plot/plotUniqueIdentifier,//location/authorlocationcode/_alt/1
13
//plot/plotUniqueIdentifier,//location/authorlocationcode
13 14
//geospatial/DecimalLatitude,//location/reallatitude
14 15
//geospatial/DecimalLongitude,//location/reallongitude
15 16
//plot/slopeAspect,//location/slopeaspect
......
17 18
//geospatial/maximumElevationInMeters,"/*_id/location/{elevation/_alt/2/_avg/max,elevationrange/_range/to}"
18 19
//geospatial/minimumElevationInMeters,"/*_id/location/{elevation/_alt/2/_avg/min,elevationrange/_range/from}"
19 20
//project/title,//project/projectname
20
/simpleUserdefined[name=authorCode]/value,/authoreventcode/_alt/1
21
/simpleUserdefined[name=authorCode]/value,/authoreventcode
21 22
//*s/communityDetermination/communityConcepts/communityConcept/commonName,//*/commname
22 23
//*s/communityDetermination/communityConcepts/communityConcept/name,//commconcept/commdescription
23 24
/simpleUserdefined[name=precipMm]/value,"/definedvalue[*_id/userdefined[tablename=locationevent,userdefinedname=precipitationMm]]/definedvalue"
......
49 50
//*s/abioticObservation/simpleUserdefined[name=texture]/value,//soilobs/soiltexture
50 51
//geospatial/maximumDepthInMeters,//waterdepth/max
51 52
//geospatial/minimumDepthInMeters,//waterdepth/min
52
//plot/plotUniqueIdentifier,"/{*_id/location/authorlocationcode/_alt/2,authoreventcode/_alt/2}"
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
3 4
//geospatial/FootprintWKT,//location/dsgpoly
4 5
//geospatial/verbatimElevation,//location/elevation/_alt/1
5 6
//geospatial/CoordinateUncertaintyInMeters,//location/locationaccuracy
......
9 10
//plot/county,//*_id/namedplace[placesystem=county]/placename
10 11
//plot/simpleUserdefined[name=localityDescription]/value,//namedplace/placedescription
11 12
//plot/simpleUserdefined[name=locality]/value,//namedplace/placedescription
12
//plot/plotUniqueIdentifier,//location/authorlocationcode/_alt/1
13
//plot/plotUniqueIdentifier,//location/authorlocationcode
13 14
//geospatial/DecimalLatitude,//location/reallatitude
14 15
//geospatial/DecimalLongitude,//location/reallongitude
15 16
//plot/slopeAspect,//location/slopeaspect
......
17 18
//geospatial/maximumElevationInMeters,"/*_id/locationevent/*_id/location/{elevation/_alt/2/_avg/max,elevationrange/_range/to}"
18 19
//geospatial/minimumElevationInMeters,"/*_id/locationevent/*_id/location/{elevation/_alt/2/_avg/min,elevationrange/_range/from}"
19 20
//project/title,//project/projectname
20
//plotObservation/simpleUserdefined[name=authorCode]/value,//locationevent/authoreventcode/_alt/1
21
//plotObservation/simpleUserdefined[name=authorCode]/value,//locationevent/authoreventcode
21 22
//*s/communityDetermination/communityConcepts/communityConcept/commonName,//*/commname
22 23
//*s/communityDetermination/communityConcepts/communityConcept/name,//commconcept/commdescription
23 24
//plotObservation/simpleUserdefined[name=precipMm]/value,"//locationevent/definedvalue[*_id/userdefined[tablename=locationevent,userdefinedname=precipitationMm]]/definedvalue"
......
49 50
//*s/abioticObservation/simpleUserdefined[name=texture]/value,//soilobs/soiltexture
50 51
//geospatial/maximumDepthInMeters,//waterdepth/max
51 52
//geospatial/minimumDepthInMeters,//waterdepth/min
52
//plot/plotUniqueIdentifier,"/*_id/locationevent/{*_id/location/authorlocationcode/_alt/2,authoreventcode/_alt/2}"
53 53
/simpleUserdefined[name=count]/value,//aggregateoccurrence/count/_alt/1
54 54
/simpleUserdefined[name=coverPercent]/value,//aggregateoccurrence/cover
55 55
/simpleUserdefined[name=interceptCm]/value,"//aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=interceptCm]]/definedvalue"
......
122 122
//*s/taxonConcept[@code=phyl_div]/Name,"/taxondetermination[rolecode=identifier,plantlevel=Subkingdom]/*_id/plantconcept/*_id/*/plantname"
123 123
//*s/taxonConcept[@code=ssp]/Name,"/taxondetermination[rolecode=identifier,plantlevel=Subspecies]/*_id/plantconcept/*_id/*/plantname"
124 124
//*s/taxonConcept[@code=sp]/Name,"/{taxondetermination[rolecode=collector]/*_id/plantconcept/*_id/*/plantname/_alt/2,taxondetermination[rolecode=identifier,plantlevel=Species]/*_id/plantconcept/*_id/*/plantname}"
125
//taxonNameUsageConcept/voucher,"/{aggregateoccurrence/individualplant/authorplantcode,specimen/sourceaccessioncode,*_id/locationevent/authoreventcode/_alt/2,*_id/locationevent/*_id/location/authorlocationcode/_alt/3}"
125
//taxonNameUsageConcept/voucher,"/{aggregateoccurrence/individualplant/authorplantcode,specimen/sourceaccessioncode}"
mappings/for_review/NYBG-VegBIEN.organisms.csv
39 39
Phylum,"/taxondetermination[rolecode=identifier,plantlevel=Subkingdom]/*_id/plantconcept/*_id/*/plantname",
40 40
Subspecies,"/taxondetermination[rolecode=identifier,plantlevel=Subspecies]/*_id/plantconcept/*_id/*/plantname",
41 41
Species,"/{taxondetermination[rolecode=collector]/*_id/plantconcept/*_id/*/plantname/_alt/2,taxondetermination[rolecode=identifier,plantlevel=Species]/*_id/plantconcept/*_id/*/plantname}",
42
UniqueNYInternalRecordNumber,"/{aggregateoccurrence/individualplant/authorplantcode,specimen/sourceaccessioncode,*_id/locationevent/authoreventcode/_alt/2,*_id/locationevent/*_id/location/authorlocationcode/_alt/3}","Brad: OMIT; Aaron: We need this field because it is the only ID column with an entry in every row; Brad: OK, use this as primary key"
42
UniqueNYInternalRecordNumber,"/{aggregateoccurrence/individualplant/authorplantcode,specimen/sourceaccessioncode}","Brad: OMIT; Aaron: We need this field because it is the only ID column with an entry in every row; Brad: OK, use this as primary key"
mappings/for_review/SALVIAS-VegBIEN.plots.csv
1 1
SALVIAS,VegBIEN:/locationevent,Comments
2 2
plot_area_ha,//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,//location/authorlocationcode,Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
3 4
elev_m,//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.
4 5
country,"//*_id/namedplace[placesystem=""area|country|territory""]/placename",
5 6
pol1,"//*_id/namedplace[placesystem=""region|state|province""]/placename",Brad: No; pol1=stateProvince
......
37 38
sand_percent,//soilobs/soilsand,
38 39
silt_percent,//soilobs/soilsilt,
39 40
soil_texture,//soilobs/soiltexture,
40
plot_code,"/{*_id/location/authorlocationcode/_alt/2,authoreventcode/_alt/2}",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
mappings/for_review/SALVIAS-VegBIEN.organisms.csv
1 1
SALVIAS,VegBIEN:/taxonoccurrence,Comments
2
plot_code,//location/authorlocationcode/_alt/1,"Brad: Same as plotCode, above"
2
subplot,//location/authorlocationcode,
3
plot_code,//location/authorlocationcode,"Brad: Same as plotCode, above"
3 4
census_date,//locationevent/obsstartdate/_date/year,
4
subplot,"/*_id/locationevent/{*_id/location/authorlocationcode/_alt/2,authoreventcode/_alt/2}",
5 5
no_of_individuals,//aggregateoccurrence/count/_alt/1,"Brad: Incorrect for VegX. This is a count of number of indiiduals for an *aggregate* observation. For VegBank, I'm not sure. Not exactly the same as stemCount. An individual tree could have 3 stems but would still only count as 1. We need to check with Bob on this."
6 6
cover_percent,//aggregateoccurrence/cover,
7 7
intercept_cm,"//aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=interceptCm]]/definedvalue","Brad: Incorrect for VegBank This is an aggregate observation. Used in line-intercept methodology only, describes the point along centerline at which an individual intercepts the center line of the plot. Used to determin relative abundance."
......
37 37
infra_ep_1,"/taxondetermination[rolecode=computer,plantlevel=Subspecies]/*_id/plantconcept/_name/last",
38 38
orig_family,"/taxondetermination[rolecode=identifier,plantlevel=Family]/*_id/plantconcept/*_id/*/plantname",Brad: OMIT
39 39
orig_species,"/{taxondetermination[rolecode=collector]/*_id/plantconcept/*_id/*/plantname/_alt/2,taxondetermination[rolecode=identifier,plantlevel=Species]/*_id/plantconcept/*_id/*/plantname}",Brad: OMIT
40
OBSERVATION_ID,"/{aggregateoccurrence/individualplant/authorplantcode,specimen/sourceaccessioncode,*_id/locationevent/authoreventcode/_alt/2,*_id/locationevent/*_id/location/authorlocationcode/_alt/3}","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/individualplant/authorplantcode,specimen/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."
mappings/for_review/SALVIAS_db-VegBIEN.plots.csv
1 1
SALVIAS:plotMetadata,VegBIEN:/locationevent,Comments
2 2
plot_area_ha,//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,//location/authorlocationcode,Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
3 4
Elev,//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.
4 5
Country,"//*_id/namedplace[placesystem=""area|country|territory""]/placename",
5 6
PolDiv1,"//*_id/namedplace[placesystem=""region|state|province""]/placename",Brad: No; pol1=stateProvince
......
13 14
elev_max_m,"/*_id/location/{elevation/_alt/2/_avg/max,elevationrange/_range/to}",
14 15
elev_min_m,"/*_id/location/{elevation/_alt/2/_avg/min,elevationrange/_range/from}",
15 16
project_id,//project/projectname,
16
PlotID,/authoreventcode/_alt/1,"Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
17
PlotID,/authoreventcode,"Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
17 18
life_zone_code,//*/commname,
18 19
life_zone,//commconcept/commdescription,
19 20
Precip,"/definedvalue[*_id/userdefined[tablename=locationevent,userdefinedname=precipitationMm]]/definedvalue",
......
38 39
sand_percent,//soilobs/soilsand,
39 40
silt_percent,//soilobs/soilsilt,
40 41
soil_texture,//soilobs/soiltexture,
41
SiteCode,"/{*_id/location/authorlocationcode/_alt/2,authoreventcode/_alt/2}",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
mappings/SALVIAS-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)
3 4
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.
4 5
country,"/*_id/location/locationplace(/*_id/namedplace[placesystem=""area|country|territory""])/placename",
5 6
pol1,"/*_id/location/locationplace(/*_id/namedplace[placesystem=""region|state|province""])/placename",Brad: No; pol1=stateProvince
......
37 38
sand_percent,/soilobs:[soilhorizon=unknown]/soilsand,
38 39
silt_percent,/soilobs:[soilhorizon=unknown]/soilsilt,
39 40
soil_texture,/soilobs:[soilhorizon=unknown]/soiltexture,
40
plot_code,"/{*_id/location/authorlocationcode/_alt/2,authoreventcode/_alt/2}",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
mappings/SALVIAS-VegBIEN.organisms.csv
1 1
SALVIAS,VegBIEN:/taxonoccurrence,Comments
2
plot_code,/*_id/locationevent/*_id/location/parent_id/location/authorlocationcode/_alt/1,"Brad: Same as plotCode, above"
2
subplot,/*_id/locationevent/*_id/location/authorlocationcode,
3
plot_code,/*_id/locationevent/*_id/location/parent_id/location/authorlocationcode,"Brad: Same as plotCode, above"
3 4
census_date,/*_id/locationevent/obsstartdate/_date/year,
4
subplot,"/*_id/locationevent/{*_id/location/authorlocationcode/_alt/2,authoreventcode/_alt/2}",
5 5
no_of_individuals,/aggregateoccurrence/count/_alt/1,"Brad: Incorrect for VegX. This is a count of number of indiiduals for an *aggregate* observation. For VegBank, I'm not sure. Not exactly the same as stemCount. An individual tree could have 3 stems but would still only count as 1. We need to check with Bob on this."
6 6
cover_percent,/aggregateoccurrence/cover,
7 7
intercept_cm,"/aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=interceptCm]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Incorrect for VegBank This is an aggregate observation. Used in line-intercept methodology only, describes the point along centerline at which an individual intercepts the center line of the plot. Used to determin relative abundance."
......
37 37
infra_ep_1,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Subspecies]:[determinationtype=""Computer (automated)"",currentdetermination=true]/*_id/plantconcept/_name/last",
38 38
orig_family,"/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",Brad: OMIT
39 39
orig_species,"/{taxondetermination[role_id/role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname/_alt/2,taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname}",Brad: OMIT
40
OBSERVATION_ID,":[aggregateoccurrence/count/_alt/2=1]/{aggregateoccurrence/individualplant/authorplantcode,specimen:[*_id/reference]/sourceaccessioncode,*_id/locationevent/authoreventcode/_alt/2,*_id/locationevent/*_id/location/authorlocationcode/_alt/3}","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/count/_alt/2=1]/{aggregateoccurrence/individualplant/authorplantcode,specimen:[*_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."
mappings/SALVIAS_db-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)
3 4
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.
4 5
Country,"/*_id/location/locationplace(/*_id/namedplace[placesystem=""area|country|territory""])/placename",
5 6
PolDiv1,"/*_id/location/locationplace(/*_id/namedplace[placesystem=""region|state|province""])/placename",Brad: No; pol1=stateProvince
......
13 14
elev_max_m,"/*_id/location/{elevation/_alt/2/_avg/max,elevationrange/_range/to}",
14 15
elev_min_m,"/*_id/location/{elevation/_alt/2/_avg/min,elevationrange/_range/from}",
15 16
project_id,/*_id/project/projectname,
16
PlotID,/authoreventcode/_alt/1,"Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
17
PlotID,/authoreventcode,"Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
17 18
life_zone_code,/commclass/commdetermination/*_id/commconcept/*_id/*/commname,
18 19
life_zone,/commclass/commdetermination/*_id/commconcept/commdescription,
19 20
Precip,"/definedvalue[*_id/userdefined[tablename=locationevent,userdefinedname=precipitationMm]]:[@fkey=tableRecord_ID]/definedvalue",
......
38 39
sand_percent,/soilobs:[soilhorizon=unknown]/soilsand,
39 40
silt_percent,/soilobs:[soilhorizon=unknown]/soilsilt,
40 41
soil_texture,/soilobs:[soilhorizon=unknown]/soiltexture,
41
SiteCode,"/{*_id/location/authorlocationcode/_alt/2,authoreventcode/_alt/2}",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)

Also available in: Unified diff