Skip to content

Instantly share code, notes, and snippets.

View dietercastel's full-sized avatar
💭
🤔

Dieter Castel dietercastel

💭
🤔
View GitHub Profile
@dietercastel
dietercastel / osm_tiles_downloader
Last active June 10, 2020 15:10 — forked from tonyrewin/osm_tiles_downloader
small script to download OSM tiles
#!/usr/local/bin/python3
# Initially converted with 2to3.py and then tweaked at bit
# from the original script by tonyrewin at https://gist.github.com/tonyrewin/9444410
# Author: tonyrewin & Dieter Castel
from sys import argv
import os
import math
import urllib.request, urllib.error, urllib.parse
import random
import os.path