Project

General

Profile

« Previous | Next » 

Revision 9413

mappings/VegCore-VegBIEN.csv: place.geovalid: use false instead of NULL

View differences:

inputs/.geoscrub/geoscrub_output/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/_first/2/_and/1/_map:[./{""-1"",0}=,1=false,./{2,3}=true]/value","""For countryvalidity/stateprovincevalidity/countyvalidity:
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:
14 14
-1: Name is null at this or some higher level
15 15
 0: Complete name provided, but couldn't be scrubbed to GADM
16 16
 1: Point is >5km from putative GADM polygon
17 17
 2: Point is <=5km from putative GADM polygon, but still outside it
18 18
 3: Point is in (or on border of) putative GADM polygon
19 19
"" (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/_first/2/_and/2/_map:[./{""-1"",0}=,1=false,./{2,3}=true]/value","""For countryvalidity/stateprovincevalidity/countyvalidity:
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:
21 21
-1: Name is null at this or some higher level
22 22
 0: Complete name provided, but couldn't be scrubbed to GADM
23 23
 1: Point is >5km from putative GADM polygon
24 24
 2: Point is <=5km from putative GADM polygon, but still outside it
25 25
 3: Point is in (or on border of) putative GADM polygon
26 26
"" (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/_first/2/_and/3/_map:[./{""-1"",0}=,1=false,./{2,3}=true]/value","""For countryvalidity/stateprovincevalidity/countyvalidity:
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:
28 28
-1: Name is null at this or some higher level
29 29
 0: Complete name provided, but couldn't be scrubbed to GADM
30 30
 1: Point is >5km from putative GADM polygon
inputs/.geoscrub/geoscrub_output/test.xml.ref
57 57
                                            <county>$countystd</county>
58 58
                                            <stateprovince>$stateprovincestd</stateprovince>
59 59
                                            <geovalid>
60
                                                <_and>
61
                                                    <1>
62
                                                        <_map>
63
                                                            <-1></-1>
64
                                                            <0></0>
65
                                                            <1>false</1>
66
                                                            <2>true</2>
67
                                                            <3>true</3>
68
                                                            <value>$countryvalidity</value>
69
                                                        </_map>
70
                                                    </1>
71
                                                    <2>
72
                                                        <_map>
73
                                                            <-1></-1>
74
                                                            <0></0>
75
                                                            <1>false</1>
76
                                                            <2>true</2>
77
                                                            <3>true</3>
78
                                                            <value>$stateprovincevalidity</value>
79
                                                        </_map>
80
                                                    </2>
81
                                                    <3>
82
                                                        <_map>
83
                                                            <-1></-1>
84
                                                            <0></0>
85
                                                            <1>false</1>
86
                                                            <2>true</2>
87
                                                            <3>true</3>
88
                                                            <value>$countyvalidity</value>
89
                                                        </_map>
90
                                                    </3>
91
                                                </_and>
60
                                                <_alt>
61
                                                    <2>false</2>
62
                                                    <_and>
63
                                                        <1>
64
                                                            <_map>
65
                                                                <-1></-1>
66
                                                                <0></0>
67
                                                                <1>false</1>
68
                                                                <2>true</2>
69
                                                                <3>true</3>
70
                                                                <value>$countryvalidity</value>
71
                                                            </_map>
72
                                                        </1>
73
                                                        <2>
74
                                                            <_map>
75
                                                                <-1></-1>
76
                                                                <0></0>
77
                                                                <1>false</1>
78
                                                                <2>true</2>
79
                                                                <3>true</3>
80
                                                                <value>$stateprovincevalidity</value>
81
                                                            </_map>
82
                                                        </2>
83
                                                        <3>
84
                                                            <_map>
85
                                                                <-1></-1>
86
                                                                <0></0>
87
                                                                <1>false</1>
88
                                                                <2>true</2>
89
                                                                <3>true</3>
90
                                                                <value>$countyvalidity</value>
91
                                                            </_map>
92
                                                        </3>
93
                                                    </_and>
94
                                                </_alt>
92 95
                                            </geovalid>
93 96
                                        </place>
94 97
                                    </matched_place_id>
mappings/VegCore-VegBIEN.csv
367 367
county,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,
368 368
distanceToCountry_km,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/distance_to_country_m/_km_to_m/value,
369 369
distanceToStateProvince_km,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/distance_to_state_m/_km_to_m/value,
370
geovalid,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_first/1,
371
latLongInCountry,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_first/2/_and/1,
372
latLongInStateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_first/2/_and/2,
373
latLongInCounty,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_first/2/_and/3,
370
geovalid,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/_first/1,
371
latLongInCountry,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/_first/2/_and/1,
372
latLongInStateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/_first/2/_and/2,
373
latLongInCounty,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/_first/2/_and/3,
374 374
stateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
375 375
stateProvince,/location/locationplace/*_id/place/stateprovince,
376 376
parentPlotName,/location/parent_id/location/authorlocationcode,
mappings/for_review/VegCore-VegBIEN.csv
367 367
county,//place/county,
368 368
distanceToCountry_km,//place/distance_to_country_m/_km_to_m/value,
369 369
distanceToStateProvince_km,//place/distance_to_state_m/_km_to_m/value,
370
geovalid,//place/geovalid,
371
latLongInCountry,//place/geovalid,
372
latLongInStateProvince,//place/geovalid,
373
latLongInCounty,//place/geovalid,
370
geovalid,//place/geovalid/1,
371
latLongInCountry,//place/geovalid/2,
372
latLongInStateProvince,//place/geovalid/2,
373
latLongInCounty,//place/geovalid/2,
374 374
stateProvince,//place/stateprovince,
375 375
stateProvince,//place/stateprovince,
376 376
parentPlotName,//location/authorlocationcode,

Also available in: Unified diff