Skip to content

Instantly share code, notes, and snippets.

View jrmdev's full-sized avatar

jrmdev

  • Australia
View GitHub Profile
#!/usr/bin/python
# HEMA ExplorerMAP
# Download tiles from http://skippy.hema-labs.com/AUS/ExplorerMap_v1_2/
# To remove empty files when it finishes use: find . -type d -empty -delete
# To compress the files use: advpng -z4
# To build an .mbtiles flies from the resulting folders, use https://github.com/mapbox/mbutil
import sys
import os
import math
import requests