Project

General

Profile

« Previous | Next » 

Revision 9415

schemas/vegbien.sql: place.geovalid: added latLongDomainValid to the values to _and together

View differences:

VegBIEN.csv
10 10
stateprovincestd,"/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub,matched_place_id=0]/stateprovince/_first/1",
11 11
country,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2,
12 12
county,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,
13
countryvalidity,"/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/_first/2/_and/1/_map:[./{""-1"",0}=,1=false,./{2,3}=true]/value","""For countryvalidity/stateprovincevalidity/countyvalidity:
13
latlonvalidity,"/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/_first/2/_and/1/_map:[""-1""=,0=false,1=true]/value","""For latlonvalidity:
14
-1: Latitude and/or longitude is null
15
 0: Coordinate is not a valid geographic location
16
 1: Coordinate is a valid geographic location
17
"" (http://vegpath.org/fs/inputs/.geoscrub/_src/README.TXT)"
18
countryvalidity,"/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/_first/2/_and/2/_map:[./{""-1"",0}=,1=false,./{2,3}=true]/value","""For countryvalidity/stateprovincevalidity/countyvalidity:
14 19
-1: Name is null at this or some higher level
15 20
 0: Complete name provided, but couldn't be scrubbed to GADM
16 21
 1: Point is >5km from putative GADM polygon
17 22
 2: Point is <=5km from putative GADM polygon, but still outside it
18 23
 3: Point is in (or on border of) putative GADM polygon
19 24
"" (http://vegpath.org/fs/inputs/.geoscrub/_src/README.TXT)"
20
stateprovincevalidity,"/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/_first/2/_and/2/_map:[./{""-1"",0}=,1=false,./{2,3}=true]/value","""For countryvalidity/stateprovincevalidity/countyvalidity:
25
stateprovincevalidity,"/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/_first/2/_and/3/_map:[./{""-1"",0}=,1=false,./{2,3}=true]/value","""For countryvalidity/stateprovincevalidity/countyvalidity:
21 26
-1: Name is null at this or some higher level
22 27
 0: Complete name provided, but couldn't be scrubbed to GADM
23 28
 1: Point is >5km from putative GADM polygon
24 29
 2: Point is <=5km from putative GADM polygon, but still outside it
25 30
 3: Point is in (or on border of) putative GADM polygon
26 31
"" (http://vegpath.org/fs/inputs/.geoscrub/_src/README.TXT)"
27
countyvalidity,"/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/_first/2/_and/3/_map:[./{""-1"",0}=,1=false,./{2,3}=true]/value","""For countryvalidity/stateprovincevalidity/countyvalidity:
32
countyvalidity,"/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/_first/2/_and/4/_map:[./{""-1"",0}=,1=false,./{2,3}=true]/value","""For countryvalidity/stateprovincevalidity/countyvalidity:
28 33
-1: Name is null at this or some higher level
29 34
 0: Complete name provided, but couldn't be scrubbed to GADM
30 35
 1: Point is >5km from putative GADM polygon
......
33 38
"" (http://vegpath.org/fs/inputs/.geoscrub/_src/README.TXT)"
34 39
stateprovince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
35 40
stateprovince,/location/locationplace/*_id/place/stateprovince,
36
latlonvalidity,,"** No join mapping for latLongDomainValid/_map:[""-1""=,0=false,1=true]/value ** ""For latlonvalidity:
37
-1: Latitude and/or longitude is null
38
 0: Coordinate is not a valid geographic location
39
 1: Coordinate is a valid geographic location
40
"" (http://vegpath.org/fs/inputs/.geoscrub/_src/README.TXT)"

Also available in: Unified diff