Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.17 KB

File metadata and controls

36 lines (23 loc) · 1.17 KB

Plotmap: a line-based world map generator

Create vector line (world) maps suitable for pen plotters. Data sources include GEBCO elevation data and OpenStreetMap coastlines.

Warning

This project is still work in progress and does not yet work out of the box

header

Prerequisites

  • Postgres including postGIS
  • Python >= 3.12
  • ~30 GB of disk space
  • psycopg requires libpq

Run

  1. Create a new postgres database and enable postGIS.

  2. Enter the database URI to the config file configs/config.toml

  3. Download the Hershey font file: curl https://gitlab.com/oskay/svg-fonts/-/raw/master/fonts/Hershey/HersheySans1.svg --create-dirs -o fonts/HersheySans1.svg

  4. Build a map with a rather small config file:
    python3 lineworld/run.py
    This may take a while to download the GEBCO elevation data.

  5. Convert the output SVG to gcode files, layer by layer:
    python3 svgtogcode.py Lineworld750x500.svg

Learn more:

You can find more info in a blog post about how this came to be: A Giant Map drawn with a Pen