Project

General

Profile

« Previous | Next » 

Revision 4726

schemas/vegbien.sql: Split locationdetermination into locationcoords and locationplace, so that coordinate determinations can be made separately from place determinations

View differences:

VegBIEN.csv
1 1
CVS,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments
2 2
authorObsCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/else",
3
locationAccuracy-m,/location/locationdetermination/coordsaccuracy/_noCV/value/_alt/1,
4
publicLatitude,"/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value",
5
publicLongitude,"/location/locationdetermination/longitude/_alt/1/_nullIf:[null=0,type=float]/value",
6
county,"/location/locationdetermination/namedplace_id/_forEach:[in:[],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=county]/placename",
7
state,"/location/locationdetermination/namedplace_id/_forEach:[in:[county,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename",
3
locationAccuracy-m,/location/locationcoords/coordsaccuracy/_noCV/value/_alt/1,
4
publicLatitude,"/location/locationcoords/latitude/_alt/1/_nullIf:[null=0,type=float]/value",
5
publicLongitude,"/location/locationcoords/longitude/_alt/1/_nullIf:[null=0,type=float]/value",
8 6
authorObsCode,"/location/locationevent/_if[@name=""if subplot""]/else/authoreventcode",
9 7
authorObsCode,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/cond/_exists/_first/2",
10 8
authorObsCode,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/authorlocationcode",
......
12 10
%cover,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover,
13 11
currentTaxonName sec Weakley 2006,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2/_alt/3,
14 12
currentTaxonName sec Weakley 2006,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/scientificname,
13
county,"/location/locationplace/namedplace_id/_forEach:[in:[],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=county]/placename",
14
state,"/location/locationplace/namedplace_id/_forEach:[in:[county,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename",
15 15
confidentialityStatus,,** No join mapping for confidentialityStatus ** 
16 16
realLatitude,,** No join mapping for OMIT ** 
17 17
realLongitude,,** No join mapping for OMIT ** 

Also available in: Unified diff