Project

General

Profile

« Previous | Next » 

Revision 6294

mappings/VegCore-VegBIEN.csv: Mapped acceptedCounty, county to the matched place

View differences:

inputs/NCU-NCSC/Specimen/test.xml.ref
123 123
                                        </coordinates>
124 124
                                    </coordinates_id>
125 125
                                    <country>$Country</country>
126
                                    <county>$County</county>
126 127
                                    <stateprovince>$State</stateprovince>
127 128
                                </place>
128 129
                            </matched_place_id>
inputs/VegBank/observation_/VegBIEN.csv
29 29
authorobscode,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",
30 30
observation_id,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",
31 31
plot_id,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",
32
plot_id,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then",
33 32
plot_id,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1",
34 33
accessioncode,,** No join mapping for *accessioncode ** 
35 34
autotaxoncover,,** No join mapping for *autotaxoncover ** 
inputs/SALVIAS-CSV/Plot/VegBIEN.csv
50 50
lat_decimal,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
51 51
long_decimal,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
52 52
country,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2,
53
pol2,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,Brad: No pol2=countyParish
53 54
pol1,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,Brad: No; pol1=stateProvince
54
PLOT_ID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
55 55
pol1,/location/locationplace/*_id/place/stateprovince,Brad: No; pol1=stateProvince
56 56
slope_aspect,/location/slopeaspect_deg/_alt/1/_compass/value,
57 57
slope_gradient,/location/slopegradient_fraction/_alt/1,
inputs/REMIB/Specimen/VegBIEN.csv
64 64
lat_deg,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
65 65
long_deg,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
66 66
country,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2,
67
county,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,
67 68
state,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
68 69
state,/location/locationplace/*_id/place/stateprovince,
69 70
lat_min,,** No join mapping for *lat_min ** 
inputs/FIA/Organism/VegBIEN.csv
28 28
County,/location/locationplace/*_id/place/county,
29 29
DecimalLatitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
30 30
DecimalLongitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
31
County,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,
31 32
StateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
32
PlotCD,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then",
33 33
StateProvince,/location/locationplace/*_id/place/stateprovince,
34 34
PlotCD,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1",
35 35
HOM,,** No join mapping for *HOM ** 
inputs/ARIZ/Specimen/VegBIEN.csv
77 77
DecimalLatitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
78 78
DecimalLongitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
79 79
Country,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2,
80
County,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,
80 81
StateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
81 82
StateProvince,/location/locationplace/*_id/place/stateprovince,
82 83
AgeClass,,** No join mapping for lifeStage ** 
inputs/NCU-NCSC/Specimen/VegBIEN.csv
23 23
Lat (-=S),"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value/_replace:[""\?$""=]/value",""".,"" sorts it with other coordinates mappings"
24 24
Long (-=W),"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value/_replace:[""\?$""=]/value",""".,"" sorts it with other coordinates mappings"
25 25
Country,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2,
26
County,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,
26 27
State,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
27 28
State,/location/locationplace/*_id/place/stateprovince,
28 29
Elevation,/location/verbatimelevation,
inputs/MO/Specimen/test.xml.ref
241 241
                                        </coordinates>
242 242
                                    </coordinates_id>
243 243
                                    <country>$Country</country>
244
                                    <county>$County</county>
244 245
                                    <stateprovince>$StateProvince</stateprovince>
245 246
                                </place>
246 247
                            </matched_place_id>
inputs/VegBank/plot_/test.xml.ref
81 81
                                            <1>$country</1>
82 82
                                        </_alt>
83 83
                                    </country>
84
                                    <county>$county</county>
84 85
                                    <stateprovince>
85 86
                                        <_alt>
86 87
                                            <0>$region|state|province</0>
inputs/XAL/Specimen/VegBIEN.csv
64 64
darwin:Latitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
65 65
darwin:Longitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
66 66
darwin:Country,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2,
67
darwin:County,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,
67 68
darwin:StateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
68 69
darwin:StateProvince,/location/locationplace/*_id/place/stateprovince,
69 70
darwin:BasisOfRecord,,** No join mapping for basisOfRecord ** 
inputs/ACAD/Specimen/VegBIEN.csv
71 71
decimalLatitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
72 72
decimalLongitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
73 73
country,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2,
74
county,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,
74 75
stateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
75 76
stateProvince,/location/locationplace/*_id/place/stateprovince,
76 77
verbatimElevation,/location/verbatimelevation,
inputs/ACAD/Specimen/test.xml.ref
268 268
                                        </coordinates>
269 269
                                    </coordinates_id>
270 270
                                    <country>$country</country>
271
                                    <county>$county</county>
271 272
                                    <stateprovince>$stateProvince</stateprovince>
272 273
                                </place>
273 274
                            </matched_place_id>
inputs/CTFS/StemObservation/VegBIEN.csv
43 43
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/family,
44 44
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/genus,
45 45
SpeciesName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/specific_epithet,
46
PlotID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then",
47 46
QuadratID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists",Not globally unique; unique only within Site
48 47
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1",
49 48
QuadratID,/location/sourceaccessioncode/_join/2,Not globally unique; unique only within Site
inputs/CTFS/Subplot/VegBIEN.csv
9 9
QuadratID,"/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",Not globally unique; unique only within Site
10 10
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",
11 11
PlotID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",
12
PlotID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then",
13 12
QuadratID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists",Not globally unique; unique only within Site
14 13
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1",
15 14
QuadratID,/location/sourceaccessioncode/_join/2,Not globally unique; unique only within Site
inputs/CTFS/PlotObservation/VegBIEN.csv
19 19
CensusID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",
20 20
PlotCensusNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",
21 21
PlotID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",
22
PlotID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then",
23 22
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1",
24 23
Description,,** No join mapping for *Description ** 
inputs/CTFS/TaxonOccurrence/VegBIEN.csv
26 26
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/family,
27 27
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/genus,
28 28
SpeciesName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/specific_epithet,
29
PlotID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then",
30 29
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1",
31 30
Description,,** No join mapping for *Description ** 
32 31
FamilyID,,** No join mapping for *FamilyID ** 
inputs/CTFS/SubplotObservation/VegBIEN.csv
13 13
CensusID,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/sourceaccessioncode",
14 14
CensusID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",
15 15
PlotID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",
16
PlotID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then",
17 16
QuadratID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists",Not globally unique; unique only within Site
18 17
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1",
19 18
QuadratID,/location/sourceaccessioncode/_join/2,Not globally unique; unique only within Site
inputs/CTFS/Plot/VegBIEN.csv
27 27
Latitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
28 28
Longitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
29 29
CountryName,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2,
30
PlotID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then",
31 30
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1",
32 31
PlotName,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2",
33 32
CountryID,,** No join mapping for *CountryID ** 
inputs/SALVIAS/plotObservations/VegBIEN.csv
131 131
DetType,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left","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."
132 132
coll_number,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then/_alt/1",Brad: Map instead as for voucher_string
133 133
SourceVoucher,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below."
134
PlotID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then",
135 134
Line,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists",
136 135
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1",
137 136
PlotCode,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2",
inputs/SALVIAS/plotMetadata_/VegBIEN.csv
58 58
LatDec,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
59 59
LongDec,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
60 60
Country,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2,
61
pol2,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,Brad: No pol2=countyParish
61 62
PolDiv1,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,Brad: No; pol1=stateProvince
62
PlotID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
63 63
PolDiv1,/location/locationplace/*_id/place/stateprovince,Brad: No; pol1=stateProvince
64 64
plot_notes,/location/notespublic,
65 65
slope_aspect,/location/slopeaspect_deg/_alt/1/_compass/value,
inputs/SALVIAS/plotMetadata_/test.xml.ref
159 159
                                        </coordinates>
160 160
                                    </coordinates_id>
161 161
                                    <country>$Country</country>
162
                                    <county>$pol2</county>
162 163
                                    <stateprovince>$PolDiv1</stateprovince>
163 164
                                </place>
164 165
                            </matched_place_id>
inputs/GBIF/Specimen/VegBIEN.csv
58 58
VerbatimLatitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
59 59
VerbatimLongitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
60 60
Country,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2,
61
County,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,
61 62
StateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
62 63
StateProvince,/location/locationplace/*_id/place/stateprovince,
63 64
0,,** No join mapping for *0 ** 
inputs/GBIF/Specimen/test.xml.ref
269 269
                                        </coordinates>
270 270
                                    </coordinates_id>
271 271
                                    <country>$Country</country>
272
                                    <county>$County</county>
272 273
                                    <stateprovince>$StateProvince</stateprovince>
273 274
                                </place>
274 275
                            </matched_place_id>
inputs/SpeciesLink/Specimen/VegBIEN.csv
222 222
conceptual_darwin_2003_1_0_Country,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2,
223 223
dwc_dwcore_Country,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2,
224 224
dwc_terms_country,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2,
225
conceptual_darwin_2003_1_0_County,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,
226
dwc_dwcore_County,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,
227
dwc_terms_county,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,
225 228
conceptual_darwin_2003_1_0_StateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
226 229
dwc_dwcore_StateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
227 230
dwc_terms_stateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
inputs/SpeciesLink/Specimen/test.xml.ref
671 671
                                            <2>$dwc_terms_country</2>
672 672
                                        </_alt>
673 673
                                    </country>
674
                                    <county>
675
                                        <_alt>
676
                                            <0>$conceptual_darwin_2003_1_0_County</0>
677
                                            <1>$dwc_dwcore_County</1>
678
                                            <2>$dwc_terms_county</2>
679
                                        </_alt>
680
                                    </county>
674 681
                                    <stateprovince>
675 682
                                        <_alt>
676 683
                                            <0>$conceptual_darwin_2003_1_0_StateProvince</0>
inputs/NY/Specimen/VegBIEN.csv
73 73
Latitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
74 74
Longitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
75 75
Country,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2,
76
County,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,
76 77
StateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
77 78
StateProvince,/location/locationplace/*_id/place/stateprovince,
78 79
BasisOfRecord,,** No join mapping for basisOfRecord ** 
inputs/NY/Specimen/test.xml.ref
354 354
                                        </coordinates>
355 355
                                    </coordinates_id>
356 356
                                    <country>$Country</country>
357
                                    <county>$County</county>
357 358
                                    <stateprovince>$StateProvince</stateprovince>
358 359
                                </place>
359 360
                            </matched_place_id>
inputs/Madidi/Organism/VegBIEN.csv
66 66
Field family,/location/locationevent/taxonoccurrence/taxondetermination[isoriginal=true]/*_id/taxonverbatim/family,
67 67
Field name,/location/locationevent/taxonoccurrence/taxondetermination[isoriginal=true]/*_id/taxonverbatim/genus,Often = Genera
68 68
Specimen,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then",
69
Inventory code,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then",
70 69
Number of subplot,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists",
71 70
Inventory code,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1",
72 71
Inventory name,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2",
inputs/Madidi/Plot/VegBIEN.csv
93 93
Longitude (DMS),/location/locationplace/*_id/place/*_id/coordinates/verbatimlongitude,
94 94
Latitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
95 95
Longitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
96
Inventory code,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then",
97 96
Observaciones,/location/notespublic,
98 97
Direction,/location/slopeaspect_deg/_alt/1/_compass/value/_alt/1,Part files provide either this field or OrientaciĆ³n
99 98
OrientaciĆ³n/exposicion,/location/slopeaspect_deg/_alt/1/_compass/value/_alt/2,Part files provide either this field or Direction
inputs/UNCC/Specimen/VegBIEN.csv
90 90
country,/location/locationplace/*_id/place/country,
91 91
county,/location/locationplace/*_id/place/county,
92 92
country,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2,
93
county,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,
93 94
state,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
94 95
state,/location/locationplace/*_id/place/stateprovince,
95 96
filler,,"** No join mapping for *filler ** Where used, same as family"
inputs/UNCC/Specimen/test.xml.ref
266 266
                                <place>
267 267
                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
268 268
                                    <country>$country</country>
269
                                    <county>$county</county>
269 270
                                    <stateprovince>$state</stateprovince>
270 271
                                </place>
271 272
                            </matched_place_id>
inputs/CVS/Organism/VegBIEN.csv
18 18
county,/location/locationplace/*_id/place/county,
19 19
publicLatitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
20 20
publicLongitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
21
county,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,
21 22
state,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
22 23
state,/location/locationplace/*_id/place/stateprovince,
23 24
confidentialityStatus,,** No join mapping for *confidentialityStatus ** 
inputs/CVS/Organism/test.xml.ref
76 76
                                            </longitude_deg>
77 77
                                        </coordinates>
78 78
                                    </coordinates_id>
79
                                    <county>$county</county>
79 80
                                    <stateprovince>$state</stateprovince>
80 81
                                </place>
81 82
                            </matched_place_id>
inputs/SALVIAS-CSV/Organism/VegBIEN.csv
133 133
det_type,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left","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."
134 134
coll_number,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then/_alt/1",Brad: Map instead as for voucher_string
135 135
voucher_string,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below."
136
PLOT_ID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then",
137 136
subplot,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists",
138 137
PLOT_ID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1",
139 138
plot_code,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2",
inputs/SALVIAS-CSV/Plot/test.xml.ref
123 123
                                        </coordinates>
124 124
                                    </coordinates_id>
125 125
                                    <country>$country</country>
126
                                    <county>$pol2</county>
126 127
                                    <stateprovince>$pol1</stateprovince>
127 128
                                </place>
128 129
                            </matched_place_id>
inputs/REMIB/Specimen/test.xml.ref
187 187
                                        </coordinates>
188 188
                                    </coordinates_id>
189 189
                                    <country>$country</country>
190
                                    <county>$county</county>
190 191
                                    <stateprovince>$state</stateprovince>
191 192
                                </place>
192 193
                            </matched_place_id>
inputs/FIA/Organism/test.xml.ref
154 154
                                            </longitude_deg>
155 155
                                        </coordinates>
156 156
                                    </coordinates_id>
157
                                    <county>$County</county>
157 158
                                    <stateprovince>$StateProvince</stateprovince>
158 159
                                </place>
159 160
                            </matched_place_id>
inputs/ARIZ/Specimen/test.xml.ref
330 330
                                        </coordinates>
331 331
                                    </coordinates_id>
332 332
                                    <country>$Country</country>
333
                                    <county>$County</county>
333 334
                                    <stateprovince>$StateProvince</stateprovince>
334 335
                                </place>
335 336
                            </matched_place_id>
inputs/MO/Specimen/VegBIEN.csv
53 53
latitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
54 54
longitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
55 55
Country,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2,
56
County,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,
56 57
StateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
57 58
StateProvince,/location/locationplace/*_id/place/stateprovince,
58 59
BasisOfRecord,,** No join mapping for basisOfRecord ** 
inputs/VegBank/plot_/VegBIEN.csv
25 25
longitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
26 26
area|country|territory,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2,
27 27
country,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2,
28
county,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,
28 29
region|state|province,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
29 30
stateprovince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
30
plot_id,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then",
31 31
region|state|province,/location/locationplace/*_id/place/stateprovince,
32 32
stateprovince,/location/locationplace/*_id/place/stateprovince,
33 33
parent_id,/location/parent_id/location/sourceaccessioncode,

Also available in: Unified diff