[[projects:projects]]:[[voyc]] ====== Data Origin ====== cd ~/webprod/geosketch/geosketch/datasource/osmtilemill wget https://github.com/polpols/OSM-Tilemill/archive/master.zip unzip -j master */10m_geography_regions_polys.* shp2pgsql -c -W LATIN1 10m_geography_regions_polys plunder.georegions >load.georegions.sql psql -d voyccom_plunder -U voyccom_jhagstrand load.georegions.sql psql -d voyccom_plunder -U voyccom_jhagstrand load.rivers50.sql psql -d voyccom_plunder -U voyccom_jhagstrand load.lakes50.sql psql -d voyc -U jhagstrand countries.sql ./voyc/voyc/datasets/natural earth data/ne_110m_admin_0_countries/ne_110.txt:shp2pgsql -W LATIN1 -w ne_110m_admin_0_countries.shp fpx >countries.sql ./plunder/plunder/sql/geo/geo-regions-notes.txt:shp2pgsql -c -W LATIN1 10m_geography_regions_polys plunder.georegions >load.georegions.sql ./plunder/plunder/sql/geo/water.sql:shp2pgsql -c -W LATIN1 ne_50m_lakes plunder.lakes50 >load.lakes50.sql ./plunder/plunder/sql/geo/water.sql:shp2pgsql -c -W LATIN1 ne_50m_ocean plunder.ocean50 >load.ocean50.sql ./plunder/plunder/sql/geo/rivers.sh:shp2pgsql -c -W LATIN1 ne_50m_rivers_lake_centerlines plunder.rivers50 >load.rivers50.sql ./curriculum/curriculum/doc/dokuwiki/data-pages/geosketch_data_origin.txt: shp2pgsql -c -W LATIN1 10m_geography_regions_polys plunder.georegions >load.georegions.sql ./curriculum/curriculum/doc/dokuwiki/data-pages/geosketch_data_origin.txt: shp2pgsql -c -W LATIN1 ne_50m_rivers_lake_centerlines plunder.rivers50 >load.rivers50.sql ./curriculum/curriculum/doc/dokuwiki/data-pages/geosketch_data_origin.txt: shp2pgsql -c -W LATIN1 ne_50m_lakes plunder.lakes50 >load.lakes50.sql ./ ==== Cities ==== [[projects:voyc:cities]] from: simplemaps.com, 42,000 cities, downloaded as a csv file by contrast, Natural Earth has 243 cities ==== Countries ==== 5 Jan 2023 wget https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/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 >load.countries.sql ===== 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, (2x resolution?) \\ 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 /home/voyccom/media/data/natural_earth_data/raster/NE2_50M_SR_W.png 50mtex.png * to test local, start browser from the command line brave-browser --allow-file-access-from-files