maps4fs 1.6.2__tar.gz → 1.6.3__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.
Files changed (33) hide show
  1. {maps4fs-1.6.2 → maps4fs-1.6.3}/PKG-INFO +1 -1
  2. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs/generator/dtm/usgs.py +6 -1
  3. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs.egg-info/PKG-INFO +1 -1
  4. {maps4fs-1.6.2 → maps4fs-1.6.3}/pyproject.toml +1 -1
  5. {maps4fs-1.6.2 → maps4fs-1.6.3}/LICENSE.md +0 -0
  6. {maps4fs-1.6.2 → maps4fs-1.6.3}/README.md +0 -0
  7. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs/__init__.py +0 -0
  8. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs/generator/__init__.py +0 -0
  9. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs/generator/background.py +0 -0
  10. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs/generator/component.py +0 -0
  11. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs/generator/config.py +0 -0
  12. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs/generator/dem.py +0 -0
  13. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs/generator/dtm/__init__.py +0 -0
  14. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs/generator/dtm/dtm.py +0 -0
  15. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs/generator/dtm/srtm.py +0 -0
  16. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs/generator/game.py +0 -0
  17. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs/generator/grle.py +0 -0
  18. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs/generator/i3d.py +0 -0
  19. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs/generator/map.py +0 -0
  20. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs/generator/qgis.py +0 -0
  21. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs/generator/satellite.py +0 -0
  22. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs/generator/settings.py +0 -0
  23. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs/generator/texture.py +0 -0
  24. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs/logger.py +0 -0
  25. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs/toolbox/__init__.py +0 -0
  26. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs/toolbox/background.py +0 -0
  27. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs/toolbox/dem.py +0 -0
  28. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs.egg-info/SOURCES.txt +0 -0
  29. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs.egg-info/dependency_links.txt +0 -0
  30. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs.egg-info/requires.txt +0 -0
  31. {maps4fs-1.6.2 → maps4fs-1.6.3}/maps4fs.egg-info/top_level.txt +0 -0
  32. {maps4fs-1.6.2 → maps4fs-1.6.3}/setup.cfg +0 -0
  33. {maps4fs-1.6.2 → maps4fs-1.6.3}/tests/test_generator.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: maps4fs
3
- Version: 1.6.2
3
+ Version: 1.6.3
4
4
  Summary: Generate map templates for Farming Simulator from real places.
5
5
  Author-email: iwatkot <iwatkot@gmail.com>
6
6
  License: MIT License
@@ -33,6 +33,11 @@ class USGS1mProvider(DTMProvider):
33
33
  _settings = USGS1mProviderSettings
34
34
  _author = "[ZenJakey](https://github.com/ZenJakey)"
35
35
  _is_community = True
36
+ _instructions = (
37
+ "ℹ️ Set the max local elevation to approx the local max elevation for your area in"
38
+ " meters. This will allow you to use heightScale 255 in GE with minimal tweaking."
39
+ " Setting this value too low can cause a flat map!"
40
+ )
36
41
 
37
42
  _url = (
38
43
  "https://tnmaccess.nationalmap.gov/api/v1/products?prodFormats=GeoTIFF,IMG&prodExtents="
@@ -123,7 +128,7 @@ class USGS1mProvider(DTMProvider):
123
128
  datasets = [rasterio.open(file) for file in input_files]
124
129
 
125
130
  # Merge datasets
126
- mosaic, out_transform = merge(datasets)
131
+ mosaic, out_transform = merge(datasets, nodata=0)
127
132
 
128
133
  # Get metadata from the first file and update it for the output
129
134
  out_meta = datasets[0].meta.copy()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: maps4fs
3
- Version: 1.6.2
3
+ Version: 1.6.3
4
4
  Summary: Generate map templates for Farming Simulator from real places.
5
5
  Author-email: iwatkot <iwatkot@gmail.com>
6
6
  License: MIT License
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "maps4fs"
7
- version = "1.6.2"
7
+ version = "1.6.3"
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