You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
voussoir 533f163be0
Update with link to
2 weeks ago
examples Initial content. 3 years ago
.gitignore Gitignore db-journal files. 1 year ago Update with link to 2 weeks ago Update license, contact, donate for many projects. 3 months ago
LICENSE.txt Update license, contact, donate for many projects. 3 months ago Remove example render --update. 4 weeks ago Reinstate log lines as loud, log commits. 4 weeks ago
requirements.txt Initial content. 3 years ago
update.bat Add my update.bat. 7 months ago downloader

This utility lets you download the bitmap and export regions of it to .png files.


pip install -r requirements.txt


This tool is run from the command line, where you provide the coordinates you want to download and render.

The format for typing coordinates is UPPERLEFT--LOWERRIGHT. The format for each of those pieces is X.Y.

Sometimes, argparse gets confused by negative coordinates because it thinks you're trying to provide another argument. Sorry. If this happens, use a tilde ~ as the negative sign instead.

Remember, because this is an image, up and left are negative; down and right are positive.


  • update: Download chunks into the database.

    > update ~100.~100--100.100

  • render: Export a region as PNG.

    > render 0.0--100.100 <flags>

So, for example:

> update 0.0--100.100
> update ~100.~100--100.100
> update ~1200.300--~900.600

> render 0.0--100.100
> render ~1200.300--~900.600 --show
> render ~2000.2000--2000.2000 --scale 0.25

To do

Here are some things we might like to improve:

  • Some way to get a statistics overview or visual map of which chunks we have in the database, so we know what we're missing.
  • Render the image as it appeared at some point in the past, taking advantage of the updated_at column.
  • Probably never going to happen: A GUI application to browse the db just like the site.