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:
parent
f455988334
commit
2aed6ee8a3
@ -3,7 +3,7 @@
|
|||||||
# ORTHOGRAPHIC
|
# ORTHOGRAPHIC
|
||||||
# Your personal aerial satellite. Always on. At any altitude.*
|
# Your personal aerial satellite. Always on. At any altitude.*
|
||||||
# Developed by MarStrMind
|
# Developed by MarStrMind
|
||||||
# License: MIT
|
# License: Open Software License 3.0
|
||||||
# Up to date version always on marstr.online
|
# Up to date version always on marstr.online
|
||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
# defines.py
|
# defines.py
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# ORTHOGRAPHIC
|
# ORTHOGRAPHIC
|
||||||
# Your personal aerial satellite. Always on. At any altitude.*
|
# Your personal aerial satellite. Always on. At any altitude.*
|
||||||
# Developed by MarStrMind
|
# Developed by MarStrMind
|
||||||
# License: MIT
|
# License: Open Software License 3.0
|
||||||
# Up to date version always on marstr.online
|
# Up to date version always on marstr.online
|
||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
# functions.py
|
# functions.py
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# ORTHOGRAPHIC
|
# ORTHOGRAPHIC
|
||||||
# Your personal aerial satellite. Always on. At any altitude.*
|
# Your personal aerial satellite. Always on. At any altitude.*
|
||||||
# Developed by MarStrMind
|
# Developed by MarStrMind
|
||||||
# License: MIT
|
# License: Open Software License 3.0
|
||||||
# Up to date version always on marstr.online
|
# Up to date version always on marstr.online
|
||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
# layergen.py
|
# layergen.py
|
||||||
|
2
log.py
2
log.py
@ -3,7 +3,7 @@
|
|||||||
# ORTHOGRAPHIC
|
# ORTHOGRAPHIC
|
||||||
# Your personal aerial satellite. Always on. At any altitude.*
|
# Your personal aerial satellite. Always on. At any altitude.*
|
||||||
# Developed by MarStrMind
|
# Developed by MarStrMind
|
||||||
# License: MIT
|
# License: Open Software License 3.0
|
||||||
# Up to date version always on marstr.online
|
# Up to date version always on marstr.online
|
||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
# log.py
|
# log.py
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# ORTHOGRAPHIC
|
# ORTHOGRAPHIC
|
||||||
# Your personal aerial satellite. Always on. At any altitude.*
|
# Your personal aerial satellite. Always on. At any altitude.*
|
||||||
# Developed by MarStrMind
|
# Developed by MarStrMind
|
||||||
# License: MIT
|
# License: Open Software License 3.0
|
||||||
# Up to date version always on marstr.online
|
# Up to date version always on marstr.online
|
||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
# maskgen.py
|
# maskgen.py
|
||||||
|
2
og.py
2
og.py
@ -9,7 +9,7 @@ from defines import *
|
|||||||
# ORTHOGRAPHIC
|
# ORTHOGRAPHIC
|
||||||
# Your personal aerial satellite. Always on. At any altitude.*
|
# Your personal aerial satellite. Always on. At any altitude.*
|
||||||
# Developed by MarStrMind
|
# Developed by MarStrMind
|
||||||
# License: MIT
|
# License: Open Software License 3.0
|
||||||
# Up to date version always on marstr.online
|
# Up to date version always on marstr.online
|
||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
# og.py
|
# og.py
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# ORTHOGRAPHIC
|
# ORTHOGRAPHIC
|
||||||
# Your personal aerial satellite. Always on. At any altitude.*
|
# Your personal aerial satellite. Always on. At any altitude.*
|
||||||
# Developed by MarStrMind
|
# Developed by MarStrMind
|
||||||
# License: MIT
|
# License: Open Software License 3.0
|
||||||
# Up to date version always on marstr.online
|
# Up to date version always on marstr.online
|
||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
# orthographic.py
|
# orthographic.py
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# ORTHOGRAPHIC
|
# ORTHOGRAPHIC
|
||||||
# Your personal aerial satellite. Always on. At any altitude.*
|
# Your personal aerial satellite. Always on. At any altitude.*
|
||||||
# Developed by MarStrMind
|
# Developed by MarStrMind
|
||||||
# License: MIT
|
# License: Open Software License 3.0
|
||||||
# Up to date version always on marstr.online
|
# Up to date version always on marstr.online
|
||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
# osmxml.py
|
# osmxml.py
|
||||||
|
@ -9,7 +9,7 @@ from log import *
|
|||||||
# ORTHOGRAPHIC
|
# ORTHOGRAPHIC
|
||||||
# Your personal aerial satellite. Always on. At any altitude.*
|
# Your personal aerial satellite. Always on. At any altitude.*
|
||||||
# Developed by MarStrMind
|
# Developed by MarStrMind
|
||||||
# License: MIT
|
# License: Open Software License 3.0
|
||||||
# Up to date version always on marstr.online
|
# Up to date version always on marstr.online
|
||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
# photogen.py
|
# photogen.py
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# ORTHOGRAPHIC
|
# ORTHOGRAPHIC
|
||||||
# Your personal aerial satellite. Always on. At any altitude.*
|
# Your personal aerial satellite. Always on. At any altitude.*
|
||||||
# Developed by MarStrMind
|
# Developed by MarStrMind
|
||||||
# License: MIT
|
# License: Open Software License 3.0
|
||||||
# Up to date version always on marstr.online
|
# Up to date version always on marstr.online
|
||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
# tiledb.py
|
# tiledb.py
|
||||||
|
35
tilegen.py
Normal file
35
tilegen.py
Normal 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
|
Loading…
x
Reference in New Issue
Block a user