From: marstr Date: Tue, 27 Aug 2024 19:55:25 +0000 (+0200) Subject: Changed licensing model info, beginning of tilegen - the class which completes the... X-Git-Url: https://marstr.online/code/gitweb.cgi?a=commitdiff_plain;h=2aed6ee8a32dc9e223d4233f524d0205fa1ac273;p=orthographic Changed licensing model info, beginning of tilegen - the class which completes the entire degree of latitude and longitude, once all orthos have been generated --- diff --git a/defines.py b/defines.py index 0318f8e..0421b43 100644 --- a/defines.py +++ b/defines.py @@ -3,7 +3,7 @@ # ORTHOGRAPHIC # Your personal aerial satellite. Always on. At any altitude.* # Developed by MarStrMind -# License: MIT +# License: Open Software License 3.0 # Up to date version always on marstr.online # ------------------------------------------------------------------- # defines.py diff --git a/functions.py b/functions.py index b4a8511..cc89aeb 100644 --- a/functions.py +++ b/functions.py @@ -3,7 +3,7 @@ # ORTHOGRAPHIC # Your personal aerial satellite. Always on. At any altitude.* # Developed by MarStrMind -# License: MIT +# License: Open Software License 3.0 # Up to date version always on marstr.online # ------------------------------------------------------------------- # functions.py diff --git a/layergen.py b/layergen.py index b4da8c8..bc0ded0 100644 --- a/layergen.py +++ b/layergen.py @@ -3,7 +3,7 @@ # ORTHOGRAPHIC # Your personal aerial satellite. Always on. At any altitude.* # Developed by MarStrMind -# License: MIT +# License: Open Software License 3.0 # Up to date version always on marstr.online # ------------------------------------------------------------------- # layergen.py diff --git a/log.py b/log.py index 57d2dcc..e7ad68a 100644 --- a/log.py +++ b/log.py @@ -3,7 +3,7 @@ # ORTHOGRAPHIC # Your personal aerial satellite. Always on. At any altitude.* # Developed by MarStrMind -# License: MIT +# License: Open Software License 3.0 # Up to date version always on marstr.online # ------------------------------------------------------------------- # log.py diff --git a/maskgen.py b/maskgen.py index 4f4823c..4c4a97a 100644 --- a/maskgen.py +++ b/maskgen.py @@ -3,7 +3,7 @@ # ORTHOGRAPHIC # Your personal aerial satellite. Always on. At any altitude.* # Developed by MarStrMind -# License: MIT +# License: Open Software License 3.0 # Up to date version always on marstr.online # ------------------------------------------------------------------- # maskgen.py diff --git a/og.py b/og.py index dbd1bbe..90a469e 100644 --- a/og.py +++ b/og.py @@ -9,7 +9,7 @@ from defines import * # ORTHOGRAPHIC # Your personal aerial satellite. Always on. At any altitude.* # Developed by MarStrMind -# License: MIT +# License: Open Software License 3.0 # Up to date version always on marstr.online # ------------------------------------------------------------------- # og.py diff --git a/orthographic.py b/orthographic.py index ba10abe..efa7fc0 100644 --- a/orthographic.py +++ b/orthographic.py @@ -3,7 +3,7 @@ # ORTHOGRAPHIC # Your personal aerial satellite. Always on. At any altitude.* # Developed by MarStrMind -# License: MIT +# License: Open Software License 3.0 # Up to date version always on marstr.online # ------------------------------------------------------------------- # orthographic.py diff --git a/osmxml.py b/osmxml.py index 63d62e8..e7c5cf8 100644 --- a/osmxml.py +++ b/osmxml.py @@ -3,7 +3,7 @@ # ORTHOGRAPHIC # Your personal aerial satellite. Always on. At any altitude.* # Developed by MarStrMind -# License: MIT +# License: Open Software License 3.0 # Up to date version always on marstr.online # ------------------------------------------------------------------- # osmxml.py diff --git a/photogen.py b/photogen.py index 320ca8b..5e19951 100644 --- a/photogen.py +++ b/photogen.py @@ -9,7 +9,7 @@ from log import * # ORTHOGRAPHIC # Your personal aerial satellite. Always on. At any altitude.* # Developed by MarStrMind -# License: MIT +# License: Open Software License 3.0 # Up to date version always on marstr.online # ------------------------------------------------------------------- # photogen.py diff --git a/tiledb.py b/tiledb.py index bb118f8..5109484 100644 --- a/tiledb.py +++ b/tiledb.py @@ -3,7 +3,7 @@ # ORTHOGRAPHIC # Your personal aerial satellite. Always on. At any altitude.* # Developed by MarStrMind -# License: MIT +# License: Open Software License 3.0 # Up to date version always on marstr.online # ------------------------------------------------------------------- # tiledb.py diff --git a/tilegen.py b/tilegen.py new file mode 100644 index 0000000..a1fcb52 --- /dev/null +++ b/tilegen.py @@ -0,0 +1,35 @@ + +# ------------------------------------------------------------------- +# 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 \ No newline at end of file