This repository contains a set of scripts and tools to download, project, resample, tile, and publish the gridded WorldPop data.
This generates tiles from WorldPop's 100m resolution Unconstrained individual countries.
These tools have been written to run on Linux, and require the GDAL library, as well as the Java bindings for GDAL.
On Ubuntu, you can install the prerequisites via:
sudo add-apt-repository ppa:ubuntugis/ppa
sudo apt-get update
sudo apt-get install wget gdal-bin libgdal-java
The following environment variables govern the tooling:
SOURCE_DIR
: the directory containing the downloaded 100m-resolution imagesGCS_TILE_BUCKET
: the name of the Google Cloud Storage bucketGCS_TILE_PREFIX
: the prefix for the tile object nameGCS_THREADS
: the number of threads to use for uploading
This repository is licensed under the GNU Affero General Public License