# ------------------------------------------------------------------- # ORTHOGRAPHIC # Your personal aerial satellite. Always on. At any altitude.* # Developed by MarStrMind # License: Open Software License 3.0 # Up to date version always on marstr.online # ------------------------------------------------------------------- # tilegen.py # Generates ZL16 tiles from the generated material, while checking on # presence of airports, and keeping ZL18 tiles of the specified # radius in defines.py. This also writes down the correspoding .ter # files for X-Plane. Be careful: the unneeded ZL18 tiles will be # removed. # ------------------------------------------------------------------- from PIL import Image, ImageFilter from log import * from functions import * from tiledb import * class mstr_tilegen: # We only need some values. Also sets up connection to DB def __init__(self, lat, lng, lngw, vstep): self._lat = lat self._lng = lng self._lngw = lngw self._vstep = vstep # Connection to DB self._tiledb = mstr_tiledb(lat, lng) # Generates the ZL16 tiles and stores them def genTiles(self): pass