1
|
CTFS,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments
|
2
|
PlotName,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",
|
3
|
PlotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists",
|
4
|
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_if[@name=""if geovalidation""]/else",
|
5
|
PlotName,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode",
|
6
|
PlotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode",
|
7
|
SizeOfSite,/location/area_m2/_ha_to_m2/value,"""Size in hectares"" (SizeOfSite comments in <https://projects.nceas.ucsb.edu/nceas/projects/bien/repository/raw/inputs/CTFS/_src/ctfs-comments_worksheet.xls>)"
|
8
|
Elevation,/location/elevation_m/_alt/1,"Assuming units are m based on the range of values [1] and the country the data is from (Panama). Not documented in <https://projects.nceas.ucsb.edu/nceas/projects/bien/repository/raw/inputs/CTFS/_src/ctfs-comments_worksheet.xls>.
|
9
|
|
10
|
[1] Using the following query:
|
11
|
-----
|
12
|
SELECT ""Elevation""::real, ""LocationName""
|
13
|
FROM ""CTFS"".""Plot""
|
14
|
GROUP BY ""Elevation""::real , ""LocationName""
|
15
|
ORDER BY ""Elevation""::real DESC
|
16
|
-----"
|
17
|
PlotName,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/*_id/location/authorlocationcode/_if[@name=""if subplot""]/then",
|
18
|
PlotID,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/*_id/location/sourceaccessioncode/_if[@name=""if subplot""]/then",
|
19
|
PlotID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",
|
20
|
PlotName,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",
|
21
|
DescriptionOfSite,/location/locationnarrative/_merge/1,
|
22
|
LocationName,/location/locationnarrative/_merge/1,
|
23
|
ShapeOfSite,/location/locationplace/*_id/place/*_id/coordinates/footprintgeometry_dwc,
|
24
|
Latitude,"/location/locationplace/*_id/place/*_id/coordinates/latitude_deg/_nullIf:[null=0,type=float]/value",
|
25
|
Longitude,"/location/locationplace/*_id/place/*_id/coordinates/longitude_deg/_nullIf:[null=0,type=float]/value",
|
26
|
CountryName,/location/locationplace/*_id/place/country,
|
27
|
Latitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,reference_id/reference/shortname=geoscrub]/*_id/coordinates:[reference_id/reference/shortname=geoscrub]/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
|
28
|
Longitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,reference_id/reference/shortname=geoscrub]/*_id/coordinates:[reference_id/reference/shortname=geoscrub]/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
|
29
|
CountryName,/location/locationplace/*_id/place/matched_place_id/place:[reference_id/reference/shortname=geoscrub]/country/_first/2,
|
30
|
PlotID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then",
|
31
|
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1",
|
32
|
PlotName,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2",
|
33
|
CountryID,,** No join mapping for *CountryID **
|
34
|
ReferenceX,,** No join mapping for *ReferenceX ** Rarely used
|
35
|
ReferenceY,,** No join mapping for *ReferenceY ** Rarely used
|