maps4fs 1.0.4__tar.gz → 1.0.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {maps4fs-1.0.4 → maps4fs-1.0.5}/PKG-INFO +1 -1
- {maps4fs-1.0.4 → maps4fs-1.0.5}/maps4fs/generator/background.py +1 -1
- {maps4fs-1.0.4 → maps4fs-1.0.5}/maps4fs/generator/dem.py +3 -3
- {maps4fs-1.0.4 → maps4fs-1.0.5}/maps4fs.egg-info/PKG-INFO +1 -1
- {maps4fs-1.0.4 → maps4fs-1.0.5}/pyproject.toml +1 -1
- {maps4fs-1.0.4 → maps4fs-1.0.5}/LICENSE.md +0 -0
- {maps4fs-1.0.4 → maps4fs-1.0.5}/README.md +0 -0
- {maps4fs-1.0.4 → maps4fs-1.0.5}/maps4fs/__init__.py +0 -0
- {maps4fs-1.0.4 → maps4fs-1.0.5}/maps4fs/generator/__init__.py +0 -0
- {maps4fs-1.0.4 → maps4fs-1.0.5}/maps4fs/generator/component.py +0 -0
- {maps4fs-1.0.4 → maps4fs-1.0.5}/maps4fs/generator/config.py +0 -0
- {maps4fs-1.0.4 → maps4fs-1.0.5}/maps4fs/generator/game.py +0 -0
- {maps4fs-1.0.4 → maps4fs-1.0.5}/maps4fs/generator/grle.py +0 -0
- {maps4fs-1.0.4 → maps4fs-1.0.5}/maps4fs/generator/i3d.py +0 -0
- {maps4fs-1.0.4 → maps4fs-1.0.5}/maps4fs/generator/map.py +0 -0
- {maps4fs-1.0.4 → maps4fs-1.0.5}/maps4fs/generator/path_steps.py +0 -0
- {maps4fs-1.0.4 → maps4fs-1.0.5}/maps4fs/generator/qgis.py +0 -0
- {maps4fs-1.0.4 → maps4fs-1.0.5}/maps4fs/generator/texture.py +0 -0
- {maps4fs-1.0.4 → maps4fs-1.0.5}/maps4fs/generator/tile.py +0 -0
- {maps4fs-1.0.4 → maps4fs-1.0.5}/maps4fs/logger.py +0 -0
- {maps4fs-1.0.4 → maps4fs-1.0.5}/maps4fs/toolbox/__init__.py +0 -0
- {maps4fs-1.0.4 → maps4fs-1.0.5}/maps4fs/toolbox/background.py +0 -0
- {maps4fs-1.0.4 → maps4fs-1.0.5}/maps4fs/toolbox/dem.py +0 -0
- {maps4fs-1.0.4 → maps4fs-1.0.5}/maps4fs.egg-info/SOURCES.txt +0 -0
- {maps4fs-1.0.4 → maps4fs-1.0.5}/maps4fs.egg-info/dependency_links.txt +0 -0
- {maps4fs-1.0.4 → maps4fs-1.0.5}/maps4fs.egg-info/requires.txt +0 -0
- {maps4fs-1.0.4 → maps4fs-1.0.5}/maps4fs.egg-info/top_level.txt +0 -0
- {maps4fs-1.0.4 → maps4fs-1.0.5}/setup.cfg +0 -0
- {maps4fs-1.0.4 → maps4fs-1.0.5}/tests/test_generator.py +0 -0
@@ -103,7 +103,7 @@ class DEM(Component):
|
|
103
103
|
north, south, east, west = self.bbox
|
104
104
|
|
105
105
|
dem_output_resolution = self.get_output_resolution()
|
106
|
-
self.logger.
|
106
|
+
self.logger.debug("DEM output resolution: %s.", dem_output_resolution)
|
107
107
|
|
108
108
|
tile_path = self._srtm_tile()
|
109
109
|
if not tile_path:
|
@@ -260,7 +260,7 @@ class DEM(Component):
|
|
260
260
|
else:
|
261
261
|
tile_name = f"{latitude_band}E{abs(tile_longitude):03d}"
|
262
262
|
|
263
|
-
self.logger.
|
263
|
+
self.logger.debug(
|
264
264
|
"Detected tile name: %s for coordinates: lat %s, lon %s.", tile_name, lat, lon
|
265
265
|
)
|
266
266
|
return latitude_band, tile_name
|
@@ -300,7 +300,7 @@ class DEM(Component):
|
|
300
300
|
|
301
301
|
decompressed_file_path = os.path.join(self.hgt_dir, f"{tile_name}.hgt")
|
302
302
|
if os.path.isfile(decompressed_file_path):
|
303
|
-
self.logger.
|
303
|
+
self.logger.debug(
|
304
304
|
"Decompressed tile already exists: %s, skipping download.",
|
305
305
|
decompressed_file_path,
|
306
306
|
)
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "maps4fs"
|
7
|
-
version = "1.0.
|
7
|
+
version = "1.0.5"
|
8
8
|
description = "Generate map templates for Farming Simulator from real places."
|
9
9
|
authors = [{name = "iwatkot", email = "iwatkot@gmail.com"}]
|
10
10
|
license = {text = "MIT License"}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|