Changed licensing model info, beginning of tilegen - the class which completes the entire degree of latitude and longitude, once all orthos have been generated

This commit is contained in:
marstr 2024-08-27 21:55:25 +02:00
parent f455988334
commit 2aed6ee8a3
11 changed files with 45 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -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

2
log.py
View File

@ -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

View File

@ -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

2
og.py
View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

35
tilegen.py Normal file
View File

@ -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