Revision 9459
Added by Aaron Marcuse-Kubitza over 11 years ago
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 |
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: |
|
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 | 14 |
-1: Latitude and/or longitude is null |
15 | 15 |
0: Coordinate is not a valid geographic location |
16 | 16 |
1: Coordinate is a valid geographic location |
17 | 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: |
|
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 | 19 |
-1: Name is null at this or some higher level |
20 | 20 |
0: Complete name provided, but couldn't be scrubbed to GADM |
21 | 21 |
1: Point is >5km from putative GADM polygon |
22 | 22 |
2: Point is <=5km from putative GADM polygon, but still outside it |
23 | 23 |
3: Point is in (or on border of) putative GADM polygon |
24 | 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]/_first/2/_and/3/_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]/1/_first/2/_and/3/_map:[./{""-1"",0}=,1=false,./{2,3}=true]/value","""For countryvalidity/stateprovincevalidity/countyvalidity:
|
|
26 | 26 |
-1: Name is null at this or some higher level |
27 | 27 |
0: Complete name provided, but couldn't be scrubbed to GADM |
28 | 28 |
1: Point is >5km from putative GADM polygon |
29 | 29 |
2: Point is <=5km from putative GADM polygon, but still outside it |
30 | 30 |
3: Point is in (or on border of) putative GADM polygon |
31 | 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]/_first/2/_and/4/_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]/1/_first/2/_and/4/_map:[./{""-1"",0}=,1=false,./{2,3}=true]/value","""For countryvalidity/stateprovincevalidity/countyvalidity:
|
|
33 | 33 |
-1: Name is null at this or some higher level |
34 | 34 |
0: Complete name provided, but couldn't be scrubbed to GADM |
35 | 35 |
1: Point is >5km from putative GADM polygon |
inputs/.geoscrub/geoscrub_output/test.xml.ref | ||
---|---|---|
59 | 59 |
<geovalid> |
60 | 60 |
<_alt> |
61 | 61 |
<2>false</2> |
62 |
<_and> |
|
63 |
<1> |
|
64 |
<_map> |
|
65 |
<-1></-1> |
|
66 |
<0>false</0> |
|
67 |
<1>true</1> |
|
68 |
<value>$latlonvalidity</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>$countryvalidity</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>$stateprovincevalidity</value> |
|
89 |
</_map> |
|
90 |
</3> |
|
91 |
<4> |
|
92 |
<_map> |
|
93 |
<-1></-1> |
|
94 |
<0></0> |
|
95 |
<1>false</1> |
|
96 |
<2>true</2> |
|
97 |
<3>true</3> |
|
98 |
<value>$countyvalidity</value> |
|
99 |
</_map> |
|
100 |
</4> |
|
101 |
</_and> |
|
62 |
<1> |
|
63 |
<_and> |
|
64 |
<1> |
|
65 |
<_map> |
|
66 |
<-1></-1> |
|
67 |
<0>false</0> |
|
68 |
<1>true</1> |
|
69 |
<value>$latlonvalidity</value> |
|
70 |
</_map> |
|
71 |
</1> |
|
72 |
<2> |
|
73 |
<_map> |
|
74 |
<-1></-1> |
|
75 |
<0></0> |
|
76 |
<1>false</1> |
|
77 |
<2>true</2> |
|
78 |
<3>true</3> |
|
79 |
<value>$countryvalidity</value> |
|
80 |
</_map> |
|
81 |
</2> |
|
82 |
<3> |
|
83 |
<_map> |
|
84 |
<-1></-1> |
|
85 |
<0></0> |
|
86 |
<1>false</1> |
|
87 |
<2>true</2> |
|
88 |
<3>true</3> |
|
89 |
<value>$stateprovincevalidity</value> |
|
90 |
</_map> |
|
91 |
</3> |
|
92 |
<4> |
|
93 |
<_map> |
|
94 |
<-1></-1> |
|
95 |
<0></0> |
|
96 |
<1>false</1> |
|
97 |
<2>true</2> |
|
98 |
<3>true</3> |
|
99 |
<value>$countyvalidity</value> |
|
100 |
</_map> |
|
101 |
</4> |
|
102 |
</_and> |
|
103 |
</1> |
|
102 | 104 |
</_alt> |
103 | 105 |
</geovalid> |
104 | 106 |
</place> |
inputs/bien_web/observation/VegBIEN.csv | ||
---|---|---|
61 | 61 |
longitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings" |
62 | 62 |
country,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2, |
63 | 63 |
countyParish,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2, |
64 |
isGeovalid,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/_first/1, |
|
65 |
isValidLatLong,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/_first/2/_and/1, |
|
64 |
isGeovalid,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/1/_first/1,
|
|
65 |
isValidLatLong,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/1/_first/2/_and/1,
|
|
66 | 66 |
stateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2, |
67 | 67 |
stateProvince,/location/locationplace/*_id/place/stateprovince, |
68 | 68 |
plotID,"/location/sourceaccessioncode/_first/2/_if[@name=""if locationID""]/cond/_exists", |
inputs/bien_web/observation/test.xml.ref | ||
---|---|---|
174 | 174 |
</coordinates_id> |
175 | 175 |
<country>$country</country> |
176 | 176 |
<county>$countyParish</county> |
177 |
<geovalid>$isGeovalid</geovalid> |
|
177 |
<geovalid> |
|
178 |
<_alt> |
|
179 |
<2>false</2> |
|
180 |
<1>$isGeovalid</1> |
|
181 |
</_alt> |
|
182 |
</geovalid> |
|
178 | 183 |
<stateprovince>$stateProvince</stateprovince> |
179 | 184 |
</place> |
180 | 185 |
</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/_alt:[2=false]/_first/1, |
|
371 |
latLongDomainValid,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/_first/2/_and/1, |
|
372 |
latLongInCountry,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/_first/2/_and/2, |
|
373 |
latLongInStateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/_first/2/_and/3, |
|
374 |
latLongInCounty,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/_first/2/_and/4, |
|
370 |
geovalid,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/1/_first/1,
|
|
371 |
latLongDomainValid,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/1/_first/2/_and/1,
|
|
372 |
latLongInCountry,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/1/_first/2/_and/2,
|
|
373 |
latLongInStateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/1/_first/2/_and/3,
|
|
374 |
latLongInCounty,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_alt:[2=false]/1/_first/2/_and/4,
|
|
375 | 375 |
stateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2, |
376 | 376 |
stateProvince,/location/locationplace/*_id/place/stateprovince, |
377 | 377 |
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/1,
|
|
371 |
latLongDomainValid,//place/geovalid/2,
|
|
372 |
latLongInCountry,//place/geovalid/2,
|
|
373 |
latLongInStateProvince,//place/geovalid/2,
|
|
374 |
latLongInCounty,//place/geovalid/2,
|
|
370 |
geovalid,//place/geovalid, |
|
371 |
latLongDomainValid,//place/geovalid, |
|
372 |
latLongInCountry,//place/geovalid, |
|
373 |
latLongInStateProvince,//place/geovalid, |
|
374 |
latLongInCounty,//place/geovalid, |
|
375 | 375 |
stateProvince,//place/stateprovince, |
376 | 376 |
stateProvince,//place/stateprovince, |
377 | 377 |
parentPlotName,//location/authorlocationcode, |
Also available in: Unified diff
bugfix: mappings/VegCore-VegBIEN.csv: place.geovalid: added missing /1 after _alt