This repository contains code used to generate the graphics for the post Mapping the Scottish Colony 'New Caledonia'.
Map | Light | Dark |
---|---|---|
preview |
||
world |
||
panama |
||
overview |
Data is downloaded from:
- NaturalEarthData.com, for coastline and hillshade data,
- OpenStreetMap, for coastline data near New Caledonia,
- USGS.gov for SRTM/elevation data.
Note: An account is required to download data from USGS.gov's data-explorer.
make download-new-data
make download-osm-data
make download-srtm-data
Please install:
- Docker
- Python
- Poetry: https://python-poetry.org
Then run:
make install
make build
First the hillshade graphics need to be created by running:
make preview-hillshade
make panama-hillshade
make overview-hillshade
Warnings are expected when the scripts are run, and may take several seconds to complete.
Then the final composition can be created by running:
make preview
make world
make panama
make overview
Note: This project assumes certain fonts are installed – fonts that are only available on macOS. So if you are running this on a different operating system, you may get different results.