Project

General

Profile

« Previous | Next » 

Revision 10389

inputs/.geoscrub/geoscrub_output/: translated single-column filters to postprocessing derived columns, using the steps at wiki.vegpath.org/Adding_new-style_import_to_a_datasource#Translating-filters-to-postprocessing-derived-columns

View differences:

map.csv
8 8
countrystd,acceptedCountry,,
9 9
stateprovincestd,acceptedStateProvince,,
10 10
countystd,acceptedCounty,,
11
latlonvalidity,latLongDomainValid,"/_map:[""-1""=,0=false,1=true]/value","""For latlonvalidity:
12
-1: Latitude and/or longitude is null
13
 0: Coordinate is not a valid geographic location
14
 1: Coordinate is a valid geographic location
15
"" (http://vegpath.org/fs/inputs/.geoscrub/_src/README.TXT)"
16
countryvalidity,latLongInCountry,"/_map:[./{""-1"",0}=,1=false,./{2,3}=true]/value","""For countryvalidity/stateprovincevalidity/countyvalidity:
17
-1: Name is null at this or some higher level
18
 0: Complete name provided, but couldn't be scrubbed to GADM
19
 1: Point is >5km from putative GADM polygon
20
 2: Point is <=5km from putative GADM polygon, but still outside it
21
 3: Point is in (or on border of) putative GADM polygon
22
"" (http://vegpath.org/fs/inputs/.geoscrub/_src/README.TXT)"
23
stateprovincevalidity,latLongInStateProvince,"/_map:[./{""-1"",0}=,1=false,./{2,3}=true]/value","""For countryvalidity/stateprovincevalidity/countyvalidity:
24
-1: Name is null at this or some higher level
25
 0: Complete name provided, but couldn't be scrubbed to GADM
26
 1: Point is >5km from putative GADM polygon
27
 2: Point is <=5km from putative GADM polygon, but still outside it
28
 3: Point is in (or on border of) putative GADM polygon
29
"" (http://vegpath.org/fs/inputs/.geoscrub/_src/README.TXT)"
30
countyvalidity,latLongInCounty,"/_map:[./{""-1"",0}=,1=false,./{2,3}=true]/value","""For countryvalidity/stateprovincevalidity/countyvalidity:
31
-1: Name is null at this or some higher level
32
 0: Complete name provided, but couldn't be scrubbed to GADM
33
 1: Point is >5km from putative GADM polygon
34
 2: Point is <=5km from putative GADM polygon, but still outside it
35
 3: Point is in (or on border of) putative GADM polygon
36
"" (http://vegpath.org/fs/inputs/.geoscrub/_src/README.TXT)"
11
latlonvalidity,latLongDomainValid_verbatim,,
12
countryvalidity,latLongInCountry_verbatim,,
13
stateprovincevalidity,latLongInStateProvince_verbatim,,
14
countyvalidity,latLongInCounty_verbatim,,
15
latLongDomainValid,latLongDomainValid,,
16
latLongInCountry,latLongInCountry,,
17
latLongInStateProvince,latLongInStateProvince,,
18
latLongInCounty,latLongInCounty,,

Also available in: Unified diff