Revision 6237
Added by Aaron Marcuse-Kubitza about 12 years ago
inputs/.geoscrub/import_order.txt | ||
---|---|---|
1 | 1 |
geoscrub_cleaned_unique |
2 |
geoscrub_cultivated |
|
2 |
geoscrub_cultivated |
|
3 |
geoscrub_output |
inputs/.geoscrub/geoscrub_output/map.csv | ||
---|---|---|
1 |
geoscrub,VegCore,Filter,Comments |
|
2 |
decimallatitude,decimalLatitude,, |
|
3 |
decimallongitude,decimalLongitude,, |
|
4 |
country,country,, |
|
5 |
stateprovince,stateProvince,, |
|
6 |
county,OMIT,,Not yet used by VegBIEN (would prevent the places from matching up) |
|
7 |
countrystd,acceptedCountry,, |
|
8 |
stateprovincestd,acceptedStateProvince,, |
|
9 |
countystd,*countystd,, |
|
10 |
latlonvalidity,latLongDomainValid,"/_map:[""-1""=,0=false,1=true]/value", |
|
11 |
countryvalidity,latLongInCountry,"/_map:[""-1""=,./{0,1,2}=false,3=true]/value", |
|
12 |
stateprovincevalidity,latLongInStateProvince,"/_map:[""-1""=,./{0,1,2}=false,3=true]/value", |
|
13 |
countyvalidity,*countyvalidity,, |
inputs/.geoscrub/geoscrub_output/VegBIEN.csv | ||
---|---|---|
1 |
geoscrub,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments |
|
2 |
countryvalidity,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_if[@name=""if geovalidation""]/cond/_exists/_map:[""-1""=,./{0,1,2}=false,3=true]/value", |
|
3 |
decimallatitude,"/location/locationplace/*_id/place/*_id/coordinates/latitude_deg/_nullIf:[null=0,type=float]/value", |
|
4 |
decimallongitude,"/location/locationplace/*_id/place/*_id/coordinates/longitude_deg/_nullIf:[null=0,type=float]/value", |
|
5 |
country,/location/locationplace/*_id/place/country, |
|
6 |
decimallatitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings" |
|
7 |
decimallongitude,"/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" |
|
8 |
countrystd,"/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub,matched_place_id=0]/country/_first/1", |
|
9 |
stateprovincestd,"/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub,matched_place_id=0]/stateprovince/_first/1", |
|
10 |
country,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2, |
|
11 |
countryvalidity,"/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_first/2/_and/1/_map:[""-1""=,./{0,1,2}=false,3=true]/value", |
|
12 |
stateprovincevalidity,"/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/geovalid/_first/2/_and/2/_map:[""-1""=,./{0,1,2}=false,3=true]/value", |
|
13 |
stateprovince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2, |
|
14 |
countryvalidity,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/cond/_exists/_map:[""-1""=,./{0,1,2}=false,3=true]/value", |
|
15 |
stateprovince,/location/locationplace/*_id/place/stateprovince, |
|
16 |
county,,** No non-empty join mapping for OMIT ** Not yet used by VegBIEN (would prevent the places from matching up) |
|
17 |
countystd,,** No join mapping for *countystd ** |
|
18 |
countyvalidity,,** No join mapping for *countyvalidity ** |
|
19 |
latlonvalidity,,"** No join mapping for latLongDomainValid/_map:[""-1""=,0=false,1=true]/value ** " |
inputs/.geoscrub/geoscrub_output/test.xml.ref | ||
---|---|---|
1 |
Put template: |
|
2 |
<VegBIEN> |
|
3 |
<_simplifyPath id="-1"> |
|
4 |
<next>parent_id</next> |
|
5 |
<path> |
|
6 |
<location> |
|
7 |
<locationplace> |
|
8 |
<place_id> |
|
9 |
<place> |
|
10 |
<coordinates_id> |
|
11 |
<coordinates> |
|
12 |
<latitude_deg> |
|
13 |
<_nullIf> |
|
14 |
<null>0</null> |
|
15 |
<type>float</type> |
|
16 |
<value>$decimallatitude</value> |
|
17 |
</_nullIf> |
|
18 |
</latitude_deg> |
|
19 |
<longitude_deg> |
|
20 |
<_nullIf> |
|
21 |
<null>0</null> |
|
22 |
<type>float</type> |
|
23 |
<value>$decimallongitude</value> |
|
24 |
</_nullIf> |
|
25 |
</longitude_deg> |
|
26 |
</coordinates> |
|
27 |
</coordinates_id> |
|
28 |
<country>$country</country> |
|
29 |
<matched_place_id> |
|
30 |
<place> |
|
31 |
<source_id><source><shortname>geoscrub</shortname></source></source_id> |
|
32 |
<coordinates_id> |
|
33 |
<coordinates> |
|
34 |
<source_id><source><shortname>geoscrub</shortname></source></source_id> |
|
35 |
<latitude_deg> |
|
36 |
<_nullIf> |
|
37 |
<null>0</null> |
|
38 |
<type>float</type> |
|
39 |
<value>$decimallatitude</value> |
|
40 |
</_nullIf> |
|
41 |
</latitude_deg> |
|
42 |
<longitude_deg> |
|
43 |
<_nullIf> |
|
44 |
<null>0</null> |
|
45 |
<type>float</type> |
|
46 |
<value>$decimallongitude</value> |
|
47 |
</_nullIf> |
|
48 |
</longitude_deg> |
|
49 |
</coordinates> |
|
50 |
</coordinates_id> |
|
51 |
<matched_place_id>0</matched_place_id> |
|
52 |
<country>$countrystd</country> |
|
53 |
<stateprovince>$stateprovincestd</stateprovince> |
|
54 |
<geovalid> |
|
55 |
<_and> |
|
56 |
<1> |
|
57 |
<_map> |
|
58 |
<-1></-1> |
|
59 |
<0>false</0> |
|
60 |
<1>false</1> |
|
61 |
<2>false</2> |
|
62 |
<3>true</3> |
|
63 |
<value>$countryvalidity</value> |
|
64 |
</_map> |
|
65 |
</1> |
|
66 |
<2> |
|
67 |
<_map> |
|
68 |
<-1></-1> |
|
69 |
<0>false</0> |
|
70 |
<1>false</1> |
|
71 |
<2>false</2> |
|
72 |
<3>true</3> |
|
73 |
<value>$stateprovincevalidity</value> |
|
74 |
</_map> |
|
75 |
</2> |
|
76 |
</_and> |
|
77 |
</geovalid> |
|
78 |
</place> |
|
79 |
</matched_place_id> |
|
80 |
<stateprovince>$stateprovince</stateprovince> |
|
81 |
</place> |
|
82 |
</place_id> |
|
83 |
</locationplace> |
|
84 |
</location> |
|
85 |
</path> |
|
86 |
</_simplifyPath> |
|
87 |
</VegBIEN> |
|
88 |
Inserted 6 new rows into database |
inputs/.geoscrub/geoscrub_output/+header.csv | ||
---|---|---|
1 |
decimallatitude,decimallongitude,country,stateprovince,county,countrystd,stateprovincestd,countystd,latlonvalidity,countryvalidity,stateprovincevalidity,countyvalidity |
inputs/.geoscrub/geoscrub_output/new_terms.csv | ||
---|---|---|
1 |
countrystd,acceptedCountry,, |
|
2 |
stateprovincestd,acceptedStateProvince,, |
|
3 |
latlonvalidity,latLongDomainValid,"/_map:[""-1""=,0=false,1=true]/value", |
|
4 |
countryvalidity,latLongInCountry,"/_map:[""-1""=,./{0,1,2}=false,3=true]/value", |
|
5 |
stateprovincevalidity,latLongInStateProvince,"/_map:[""-1""=,./{0,1,2}=false,3=true]/value", |
inputs/.geoscrub/geoscrub_output/unmapped_terms.csv | ||
---|---|---|
1 |
*countystd |
|
2 |
latLongDomainValid |
|
3 |
*countyvalidity |
Also available in: Unified diff
Added inputs/.geoscrub/geoscrub_output/