Project

General

Profile

« Previous | Next » 

Revision 7005

inputs/NVS/StemObservation/map.csv: Remapped Verbatim Code to authorTaxonCode, because as it's used this is actually an identifier for the taxon, not the stem, despite Nick Spencer's revised mapping

View differences:

inputs/NVS/StemObservation/map.csv
4 4
Sub Plot,subplot,,
5 5
Method Name,*Method Name,,
6 6
Identifier,tag,,
7
Species Code,authorTaxonCode,,
7
Species Code,authorTaxonCode,/_alt/2,
8 8
Species Name,specificEpithet,,
9
Verbatim Code,authorStemCode,,
9
Verbatim Code,authorTaxonCode,/_alt/1,
10 10
Taxon Bio Status,*Taxon Bio Status,,
11 11
Taxon Palatibility,*Taxon Palatibility,,
12 12
Taxon Growth Form,growthForm,"/_map:[Graminoid=grass,Shrub=shrub,Tree=tree,Treefern=forb]/value",
inputs/NVS/StemObservation/VegBIEN.csv
12 12
Sub Plot,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/*_id/location/sourceaccessioncode/_if[@name=""if subplot""]/cond/_first/2",
13 13
Item Obs ID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/sourceaccessioncode/_first/1,
14 14
Item ID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/sourceaccessioncode/_first/2,
15
Verbatim Code,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/authorstemcode,
16 15
Diameter,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/diameterbreastheight_m/_cm_to_m/value,Units is always cm
17 16
Height,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/height_m,Height Units is always m
18 17
Identifier,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/tag,
19 18
Plot,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",
20 19
Item ID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/1/_if[@name=""if individual""]/cond/_exists",
21 20
Item Obs ID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/1/_if[@name=""if individual""]/cond/_exists",
22
Species Code,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/1/_if[@name=""if individual""]/else",
21
Verbatim Code,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/1/_if[@name=""if individual""]/else/_alt/1",
22
Species Code,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/1/_if[@name=""if individual""]/else/_alt/2",
23 23
Identifier,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/2/_first/2",
24 24
Taxon Growth Form,"/location/locationevent/taxonoccurrence/growthform/_map:[Graminoid=grass,Shrub=shrub,Tree=tree,Treefern=forb]/value",
25 25
Item ID,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",
inputs/NVS/StemObservation/test.xml.ref
16 16
                                    <plantobservation>
17 17
                                        <sourceaccessioncode>$Item Obs ID</sourceaccessioncode>
18 18
                                        <stemobservation>
19
                                            <authorstemcode>$Verbatim Code</authorstemcode>
20 19
                                            <diameterbreastheight_m><_cm_to_m><value>$Diameter</value></_cm_to_m></diameterbreastheight_m>
21 20
                                            <height_m>$Height</height_m>
22 21
                                            <tag>$Identifier</tag>
inputs/NVS/StemObservation/new_terms.csv
1 1
Project Abbreviation,projectName,,
2 2
Plot,locationName,,
3 3
Identifier,tag,,
4
Species Code,authorTaxonCode,,
5
Verbatim Code,authorStemCode,,
4
Species Code,authorTaxonCode,/_alt/2,
5
Verbatim Code,authorTaxonCode,/_alt/1,
6 6
Taxon Growth Form,growthForm,"/_map:[Graminoid=grass,Shrub=shrub,Tree=tree,Treefern=forb]/value",
7 7
Diameter,diameterBreastHeight_cm,,Units is always cm
8 8
Item Obs ID,individualObservationID,,
inputs/NVS/map.csv
8 8
Plot,locationName,,
9 9
Project Abbreviation,projectName,,
10 10
Slope,slopeAspect,,
11
Species Code,authorTaxonCode,,
11
Species Code,authorTaxonCode,/_alt/2,
12 12
Taxon Growth Form,growthForm,"/_map:[Graminoid=grass,Shrub=shrub,Tree=tree,Treefern=forb]/value",
13 13
Taxon Obs Note,taxonRemarks,,
14
Verbatim Code,authorTaxonCode,/_alt/1,
inputs/NVS/new_terms.csv
10 10
Precision,coordinateUncertaintyInMeters,,Units is always m
11 11
Project Abbreviation,projectName,,
12 12
Slope,slopeAspect,,
13
Species Code,authorTaxonCode,,
14 13
Species Code,authorTaxonCode,/_alt/2,
15 14
Stop Date,projectEndDate,,
16 15
Taxon Growth Form,growthForm,"/_map:[Graminoid=grass,Shrub=shrub,Tree=tree,Treefern=forb]/value",
17 16
Taxon Obs Note,taxonRemarks,,
18
Verbatim Code,authorStemCode,,
19 17
Verbatim Code,authorTaxonCode,/_alt/1,
20 18
XEast Long,verbatimCoordinates,"/_join/2/_label[label=""x""]/value",
21 19
YNorth Lat,verbatimCoordinates,"/_join/3/_label[label=""y""]/value",

Also available in: Unified diff