Revision 11497
Added by Paul Sarando about 11 years ago
derived/biengeo/README.txt | ||
---|---|---|
25 | 25 |
|
26 | 26 |
***** initialize the DB: |
27 | 27 |
cd <svn_biengeo_root> |
28 |
1. geovalidate.sh |
|
29 |
- creates postgis DB and loads GADM2 data |
|
30 |
2. geonames.sh |
|
31 |
- loads geonames.org data and adds some custom mapping logic |
|
32 |
3. geonames-to-gadm.sql |
|
33 |
- contains SQL statements that build linkages between geonames.org |
|
34 |
names and GADM2 names |
|
28 |
1. install.sh |
|
29 |
- creates postgis DB and all base tables |
|
35 | 30 |
|
31 |
***** update geoscrub validation data: |
|
32 |
cd <svn_biengeo_root> |
|
33 |
2. update_validation_data.sh |
|
34 |
- runs the following scripts in order to load validation data: |
|
35 |
* update_gadm_data.sh |
|
36 |
- loads GADM2 data into a new (or re-created) gadm2 table |
|
37 |
* update_geonames_data.sh |
|
38 |
- loads geonames.org data and adds some custom mapping logic |
|
39 |
* geonames-to-gadm.*.sql |
|
40 |
- contains SQL statements that build linkages between geonames.org |
|
41 |
names and GADM2 names |
|
42 |
|
|
36 | 43 |
***** geoscrub new data: |
37 | 44 |
WARNING: deletes any previous geoscrubbing results! |
38 | 45 |
runtime: ~5.5 h |
39 | 46 |
cd <svn_biengeo_root> |
40 |
4. geoscrub.sh
|
|
47 |
3. geoscrub.sh
|
|
41 | 48 |
- runs the following scripts in order to load and scrub vegbien input data: |
42 | 49 |
* load-geoscrub-input.sh |
43 | 50 |
- dumps geoscrub_input from vegbien and loads it into the geoscrub db |
Also available in: Unified diff
Updated biengeo README with new script workflow.