changes.
| | 1. Get the Dataset |
| |  | * download from here [here|http://www.mapability.com/index1.html?http&&&www.mapability.com/info/vmap0_index.html] |
| | | * download from here [here|http://www.mapability.com/index1.html?http&&&www.mapability.com/info/vmap0_index.html] |
| | * That site has excellent documentation and summary of VMAP0 files |
 |  | * There is also a bit torrent download [here|http://uo.space.frot.org/?GeodataTorrents] |
| | * You can get an "improved" data dictionary [here|http://www.terragear.org/docs/vmap0/coverage.html] |
| | * Most of VMAP0 is free to redistribute, but some of it (the political boundaries layer) is for non-commercial use (see the readme.txt). |
| | | * There is also a bit torrent download [here|http://uo.space.frot.org/?GeodataTorrents] |
| | * You can get an "improved" data dictionary [here|http://www.terragear.org/docs/vmap0/coverage.html] |
| | * Most of VMAP0 is free to redistribute, but some of it (the political boundaries layer) is for non-commercial use (see the readme.txt). |
| | |
| | 2. Make sure your decompressor isnt mangling things (see the mapability (above) site for how to configure winzip). Unix users should be okay. |
| | |
 |  | 3. decompress and use ogr2ogr to process. I've attached 2 script files that do all the processing for you. They're windows .bat files, but they are simple and can be easily converted to unix |
| | | 3. decompress and use ogr2ogr to process. I've attached 2 script files that do all the processing for you. They're windows .bat files, but they are simple and can be easily converted to unix, or use the attached shell script. |
| | |
 |  | |
| | 4. load the files into Postgis |
| | {code} |
| | foreach i (*.shp) |
| | echo $i |
| | echo shp2pgsql -D -s 4326 -I $i $i:r |
| | shp2pgsql -D -s 4326 -I $i $i:r | psql vmap0 > $i.out |
| | end |
| | |
| | vacuum analyse; |
| | {code} |
 |  | |
| | 5. load my derived data |
| | I fixed the polical boundary layers (there were topology problems). I've attached a .zip file with the countries and the sub-national boundaries. |
 |  | |
| | {info:title=World Polygon} |
| | The country-level world dataset contains: |
| | gen_full - (full resolution) 1,912,574 points |
| | gen1 - (reduced resolution) 675,536 points |
| | gen1 - (reduced resolution) 290,013 points |
| | gen1 - (reduced resolution) 59,765 points |
| | {info} |
 | | |