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:

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
latlonvalidity,"/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/1/_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]/1/_first/2/_and/2/_map:[./{""-1"",0}=,1=false,./{2,3}=true]/value","""For countryvalidity/stateprovincevalidity/countyvalidity:
19
-1: Name is null at this or some higher level
20
 0: Complete name provided, but couldn't be scrubbed to GADM
21
 1: Point is >5km from putative GADM polygon
22
 2: Point is <=5km from putative GADM polygon, but still outside it
23
 3: Point is in (or on border of) putative GADM polygon
24
"" (http://vegpath.org/fs/inputs/.geoscrub/_src/README.TXT)"
25
stateprovincevalidity,"/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/1/_first/2/_and/3/_map:[./{""-1"",0}=,1=false,./{2,3}=true]/value","""For countryvalidity/stateprovincevalidity/countyvalidity:
26
-1: Name is null at this or some higher level
27
 0: Complete name provided, but couldn't be scrubbed to GADM
28
 1: Point is >5km from putative GADM polygon
29
 2: Point is <=5km from putative GADM polygon, but still outside it
30
 3: Point is in (or on border of) putative GADM polygon
31
"" (http://vegpath.org/fs/inputs/.geoscrub/_src/README.TXT)"
32
countyvalidity,"/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/1/_first/2/_and/4/_map:[./{""-1"",0}=,1=false,./{2,3}=true]/value","""For countryvalidity/stateprovincevalidity/countyvalidity:
33
-1: Name is null at this or some higher level
34
 0: Complete name provided, but couldn't be scrubbed to GADM
35
 1: Point is >5km from putative GADM polygon
36
 2: Point is <=5km from putative GADM polygon, but still outside it
37
 3: Point is in (or on border of) putative GADM polygon
38
"" (http://vegpath.org/fs/inputs/.geoscrub/_src/README.TXT)"
13
latLongDomainValid,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/1/_first/2/_and/1,
14
latLongInCountry,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/1/_first/2/_and/2,
15
latLongInStateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/1/_first/2/_and/3,
16
latLongInCounty,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/1/_first/2/_and/4,
39 17
stateprovince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
40 18
stateprovince,/location/locationplace/*_id/place/stateprovince,
19
countryvalidity,,** No join mapping for latLongInCountry_verbatim ** 
20
countyvalidity,,** No join mapping for latLongInCounty_verbatim ** 
21
latlonvalidity,,** No join mapping for latLongDomainValid_verbatim ** 
41 22
row_num,,** No join mapping for *row_num ** 
23
stateprovincevalidity,,** No join mapping for latLongInStateProvince_verbatim ** 

Also available in: Unified diff