projects:voyc:data_origin
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| projects:voyc:data_origin [2023/01/12 03:11] – jhagstrand | projects:voyc:data_origin [2023/03/13 12:45] (current) – jhagstrand | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ====== Data Origin ====== | ====== Data Origin ====== | ||
| + | |||
| + | cd ~/ | ||
| + | wget https:// | ||
| + | unzip -j master */ | ||
| + | shp2pgsql -c -W LATIN1 10m_geography_regions_polys plunder.georegions > | ||
| + | psql -d voyccom_plunder -U voyccom_jhagstrand < | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ====== Previous Data Origin ====== | ||
| 4 dec 2022 re-create plunder database in a2hosting | 4 dec 2022 re-create plunder database in a2hosting | ||
| Line 216: | Line 227: | ||
| | | ||
| ==== Cities ==== | ==== Cities ==== | ||
| + | |||
| + | [[projects: | ||
| from: simplemaps.com, | from: simplemaps.com, | ||
| Line 227: | Line 240: | ||
| unzip ne_110m_admin_0_countries.zip | unzip ne_110m_admin_0_countries.zip | ||
| shp2pgsql -c -W LATIN1 ne_110m_admin_0_countries plunder.ne110_admin0_countries > | shp2pgsql -c -W LATIN1 ne_110m_admin_0_countries plunder.ne110_admin0_countries > | ||
| + | |||
| + | ===== Raster Data ===== | ||
| + | |||
| + | from Natural Earth | ||
| + | |||
| + | 1:50m Natural Earth II, shaded relief, water (oceans), colorized ground cover\\ | ||
| + | 10800 x 5400 pixels\\ | ||
| + | NE2_50M_SR_W.tif | ||
| + | |||
| + | 1:10m Natural Earth II, same plus drainage (rivers, lakes) (5x resolution? | ||
| + | 21600 x 10800 pixels, | ||
| + | NE2_HR_LC_SR_W_DR.tif | ||
| + | |||
| + | cut the tif images into tiles\\ | ||
| + | tilesize pixels: 300 x 300, or 600 x 600\\ | ||
| + | tilesize degrees: 10 x 10\\ | ||
| + | 36 columns * 18 rows = 648 tiles | ||
| + | |||
| + | * document hires | ||
| + | * file locations | ||
| + | * ln -s / | ||
| + | * to test local, start browser from the command line | ||
| + | < | ||
| + | brave-browser --allow-file-access-from-files | ||
| + | </ | ||
| + | |||
| + | |||
projects/voyc/data_origin.1673511115.txt.gz · Last modified: 2023/01/12 03:11 by jhagstrand