Revision 1724
Added by Aaron Marcuse-Kubitza almost 13 years ago
inputs/SALVIAS-CSV/test/VegX.plots.xml.ref | ||
---|---|---|
10 | 10 |
</simpleUserdefined> |
11 | 11 |
<plotUniqueIdentifierID>0</plotUniqueIdentifierID> |
12 | 12 |
<simpleUserdefined> |
13 |
<name>plotMethodology</name>
|
|
14 |
<value>1 ha, stems >= 10 cm dbh</value>
|
|
13 |
<name>method</name>
|
|
14 |
<methodID><method><name>1 ha, stems >= 10 cm dbh</name></method></methodID>
|
|
15 | 15 |
</simpleUserdefined> |
16 | 16 |
<obsStartDate>1990-11-16</obsStartDate> |
17 | 17 |
</plotObservation> |
... | ... | |
24 | 24 |
</simpleUserdefined> |
25 | 25 |
<plotUniqueIdentifierID>1</plotUniqueIdentifierID> |
26 | 26 |
<simpleUserdefined> |
27 |
<name>plotMethodology</name>
|
|
28 |
<value>1 ha, stems >= 10 cm dbh</value>
|
|
27 |
<name>method</name>
|
|
28 |
<methodID><method><name>1 ha, stems >= 10 cm dbh</name></method></methodID>
|
|
29 | 29 |
</simpleUserdefined> |
30 | 30 |
<obsStartDate>1990-11-16</obsStartDate> |
31 | 31 |
</plotObservation> |
inputs/SALVIAS-CSV/maps/VegX.plots.csv | ||
---|---|---|
36 | 36 |
"holdridge_life_zone","->/*s/communityDetermination[*ID]/*s/communityConcept/commonName", |
37 | 37 |
"life_zone_code","->/*s/communityDetermination[*ID]/*s/communityConcept/name", |
38 | 38 |
"observation_type",,"Brad: SALVIAS internal metadata indicating whether the record represents an individual or aggregate observation. Rather than storing, use to decide where to store in VegX.; Aaron: VegX aggregateOrganismObservation table is missing many fields available in individualOrganismObservation, so we're mapping to individualOrganismObservation regardless of observation type" |
39 |
"plot_methodology","/simpleUserdefined[name=plotMethodology]/value",
|
|
39 |
"plot_methodology","/simpleUserdefined[name=method]/*ID/method/name",
|
|
40 | 40 |
"plot_area_ha","/*UniqueIdentifierID->/*s/plot/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" |
41 | 41 |
"recensused",,"Brad: This is a 0/1 value, internal to SALVIAS. 1 indicates that a plot has >1 set of values, from different census events.; Aaron: Different censuses are distinguished in organisms data by different census_no values" |
42 | 42 |
"date_start","/obsStartDate/_*/date", |
inputs/SALVIAS-CSV/maps/VegX.plots.full.csv | ||
---|---|---|
36 | 36 |
"holdridge_life_zone","->/*s/communityDetermination[*ID]/*s/communityConcept/commonName", |
37 | 37 |
"life_zone_code","->/*s/communityDetermination[*ID]/*s/communityConcept/name", |
38 | 38 |
"observation_type",,"Brad: SALVIAS internal metadata indicating whether the record represents an individual or aggregate observation. Rather than storing, use to decide where to store in VegX.; Aaron: VegX aggregateOrganismObservation table is missing many fields available in individualOrganismObservation, so we're mapping to individualOrganismObservation regardless of observation type" |
39 |
"plot_methodology","/simpleUserdefined[name=plotMethodology]/value",
|
|
39 |
"plot_methodology","/simpleUserdefined[name=method]/*ID/method/name",
|
|
40 | 40 |
"plot_area_ha","/*UniqueIdentifierID->/*s/plot/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" |
41 | 41 |
"recensused",,"Brad: This is a 0/1 value, internal to SALVIAS. 1 indicates that a plot has >1 set of values, from different census events.; Aaron: Different censuses are distinguished in organisms data by different census_no values" |
42 | 42 |
"date_start","/obsStartDate/_*/date", |
inputs/SALVIAS/test/VegX.plots.xml.ref | ||
---|---|---|
14 | 14 |
<value>2500.0</value> |
15 | 15 |
</simpleUserdefined> |
16 | 16 |
<simpleUserdefined> |
17 |
<name>plotMethodology</name>
|
|
18 |
<value>0.1 ha transect, stems >= 2.5 cm dbh</value>
|
|
17 |
<name>method</name>
|
|
18 |
<methodID><method><name>0.1 ha transect, stems >= 2.5 cm dbh</name></method></methodID>
|
|
19 | 19 |
</simpleUserdefined> |
20 | 20 |
</plotObservation> |
21 | 21 |
<plotObservation id="1"> |
... | ... | |
32 | 32 |
</simpleUserdefined> |
33 | 33 |
<temperature>7.4</temperature> |
34 | 34 |
<simpleUserdefined> |
35 |
<name>plotMethodology</name>
|
|
36 |
<value>0.1 ha transect, stems >= 2.5 cm dbh</value>
|
|
35 |
<name>method</name>
|
|
36 |
<methodID><method><name>0.1 ha transect, stems >= 2.5 cm dbh</name></method></methodID>
|
|
37 | 37 |
</simpleUserdefined> |
38 | 38 |
</plotObservation> |
39 | 39 |
</plotObservations> |
inputs/SALVIAS/maps/VegX.plots.csv | ||
---|---|---|
54 | 54 |
"Habitat",, |
55 | 55 |
"life_zone_code","->/*s/communityDetermination[*ID]/*s/communityConcept/commonName", |
56 | 56 |
"life_zone","->/*s/communityDetermination[*ID]/*s/communityConcept/name", |
57 |
"PlotMethod","/simpleUserdefined[name=plotMethodology]/value",
|
|
57 |
"PlotMethod","/simpleUserdefined[name=method]/*ID/method/name",
|
|
58 | 58 |
"MethodCode",, |
59 | 59 |
"plot_area_ha","/*UniqueIdentifierID->/*s/plot/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" |
60 | 60 |
"recensused",,"Brad: This is a 0/1 value, internal to SALVIAS. 1 indicates that a plot has >1 set of values, from different census events.; Aaron: Different censuses are distinguished in organisms data by different census_no values" |
inputs/SALVIAS/maps/VegX.plots.full.csv | ||
---|---|---|
54 | 54 |
"Habitat",, |
55 | 55 |
"life_zone_code","->/*s/communityDetermination[*ID]/*s/communityConcept/commonName", |
56 | 56 |
"life_zone","->/*s/communityDetermination[*ID]/*s/communityConcept/name", |
57 |
"PlotMethod","/simpleUserdefined[name=plotMethodology]/value",
|
|
57 |
"PlotMethod","/simpleUserdefined[name=method]/*ID/method/name",
|
|
58 | 58 |
"MethodCode",, |
59 | 59 |
"plot_area_ha","/*UniqueIdentifierID->/*s/plot/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" |
60 | 60 |
"recensused",,"Brad: This is a 0/1 value, internal to SALVIAS. 1 indicates that a plot has >1 set of values, from different census events.; Aaron: Different censuses are distinguished in organisms data by different census_no values" |
mappings/VegX-VegBIEN.plots.csv | ||
---|---|---|
14 | 14 |
/*UniqueIdentifierID->/*s/plot/geospatial/minimumElevationInMeters,"/*_id/location/{elevation/_alt/2/_avg/min,elevationrange/_range/from}/_units:[default=m,to=m,to=]/value", |
15 | 15 |
/*UniqueIdentifierID->/*s/plot/geospatial/DecimalLatitude,"/*_id/location/{locationdetermination/latitude,centerlatitude}", |
16 | 16 |
/*UniqueIdentifierID->/*s/plot/geospatial/DecimalLongitude,"/*_id/location/{locationdetermination/longitude,centerlongitude}", |
17 |
/simpleUserdefined[name=plotMethodology]/value,/*_id/method/name,
|
|
17 |
/simpleUserdefined[name=method]/*ID/method/name,/*_id/method/name,
|
|
18 | 18 |
/*ID->/*s/project/personnel[role=metadataProvider]/organizationName,/*_id/project:[datasource_id/party/organizationname/_alt/2=$/_ignore/inLabel]/datasource_id/party/organizationname/_alt/1, |
19 | 19 |
/*ID->/*s/project:[personnel[role=metadataProvider]/organizationName=$/_ignore/inLabel]/title,/*_id/project:[datasource_id/party/organizationname/_alt/2=$/_ignore/inLabel]/projectname, |
20 | 20 |
->/*s/communityDetermination[*ID]/*s/communityConcept/commonName,/commclass/commdetermination/*_id/commconcept/*_id/*/commname, |
mappings/VegX-VegBIEN.organisms.csv | ||
---|---|---|
14 | 14 |
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/geospatial/minimumElevationInMeters,"/*_id/locationevent/*_id/location/{elevation/_alt/2/_avg/min,elevationrange/_range/from}/_units:[default=m,to=m,to=]/value", |
15 | 15 |
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/geospatial/DecimalLatitude,"/*_id/locationevent/*_id/location/{locationdetermination/latitude,centerlatitude}", |
16 | 16 |
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/geospatial/DecimalLongitude,"/*_id/locationevent/*_id/location/{locationdetermination/longitude,centerlongitude}", |
17 |
/*ID->/*s/plotObservation/simpleUserdefined[name=plotMethodology]/value,/*_id/locationevent/*_id/method/name,
|
|
17 |
/*ID->/*s/plotObservation/simpleUserdefined[name=method]/*ID/method/name,/*_id/locationevent/*_id/method/name,
|
|
18 | 18 |
/*ID->/*s/plotObservation/*ID->/*s/project/personnel[role=metadataProvider]/organizationName,/*_id/locationevent/*_id/project:[datasource_id/party/organizationname/_alt/2=$/_ignore/inLabel]/datasource_id/party/organizationname/_alt/1, |
19 | 19 |
/*ID->/*s/plotObservation/*ID->/*s/project:[personnel[role=metadataProvider]/organizationName=$/_ignore/inLabel]/title,/*_id/locationevent/*_id/project:[datasource_id/party/organizationname/_alt/2=$/_ignore/inLabel]/projectname, |
20 | 20 |
/*ID->/*s/plotObservation->/*s/communityDetermination[*ID]/*s/communityConcept/commonName,/*_id/locationevent/commclass/commdetermination/*_id/commconcept/*_id/*/commname, |
mappings/for_review/VegX-VegBIEN.plots.csv | ||
---|---|---|
14 | 14 |
//geospatial/minimumElevationInMeters,"/*_id/location/{elevation/_alt/2/_avg/min,elevationrange/_range/from}/_units/value", |
15 | 15 |
//geospatial/DecimalLatitude,"/*_id/location/{locationdetermination/latitude,centerlatitude}", |
16 | 16 |
//geospatial/DecimalLongitude,"/*_id/location/{locationdetermination/longitude,centerlongitude}", |
17 |
/simpleUserdefined[name=plotMethodology]/value,//method/name,
|
|
17 |
/simpleUserdefined[name=method]/*ID/method/name,//method/name,
|
|
18 | 18 |
//project/personnel[role=metadataProvider]/organizationName,//party/organizationname/_alt/1, |
19 | 19 |
//*s/project:[personnel[role=metadataProvider]/organizationName=$/_ignore/inLabel]/title,//project/projectname, |
20 | 20 |
//*s/communityDetermination/*s/communityConcept/commonName,//*/commname, |
mappings/for_review/VegX-VegBIEN.organisms.csv | ||
---|---|---|
14 | 14 |
//geospatial/minimumElevationInMeters,"/*_id/locationevent/*_id/location/{elevation/_alt/2/_avg/min,elevationrange/_range/from}/_units/value", |
15 | 15 |
//geospatial/DecimalLatitude,"/*_id/locationevent/*_id/location/{locationdetermination/latitude,centerlatitude}", |
16 | 16 |
//geospatial/DecimalLongitude,"/*_id/locationevent/*_id/location/{locationdetermination/longitude,centerlongitude}", |
17 |
//plotObservation/simpleUserdefined[name=plotMethodology]/value,//method/name,
|
|
17 |
//plotObservation/simpleUserdefined[name=method]/*ID/method/name,//method/name,
|
|
18 | 18 |
//project/personnel[role=metadataProvider]/organizationName,//party/organizationname/_alt/1, |
19 | 19 |
//*s/project:[personnel[role=metadataProvider]/organizationName=$/_ignore/inLabel]/title,//project/projectname, |
20 | 20 |
//*s/communityDetermination/*s/communityConcept/commonName,//*/commname, |
Also available in: Unified diff
VegX-VegBIEN.organisms.csv: Changed plotObservation user-defined field plotMethodology to /simpleUserdefined[name=method]/*ID/method/name