maps4fs 1.8.175__tar.gz → 1.8.176__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.

Potentially problematic release.


This version of maps4fs might be problematic. Click here for more details.

Files changed (56) hide show
  1. {maps4fs-1.8.175 → maps4fs-1.8.176}/PKG-INFO +22 -8
  2. {maps4fs-1.8.175 → maps4fs-1.8.176}/README.md +21 -7
  3. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/__init__.py +1 -0
  4. maps4fs-1.8.176/maps4fs/generator/dtm/denmark.py +47 -0
  5. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs.egg-info/PKG-INFO +22 -8
  6. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs.egg-info/SOURCES.txt +1 -0
  7. {maps4fs-1.8.175 → maps4fs-1.8.176}/pyproject.toml +1 -1
  8. {maps4fs-1.8.175 → maps4fs-1.8.176}/LICENSE.md +0 -0
  9. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/__init__.py +0 -0
  10. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/component/__init__.py +0 -0
  11. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/component/background.py +0 -0
  12. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/component/base/__init__.py +0 -0
  13. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/component/base/component.py +0 -0
  14. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/component/base/component_image.py +0 -0
  15. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/component/base/component_mesh.py +0 -0
  16. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/component/base/component_xml.py +0 -0
  17. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/component/config.py +0 -0
  18. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/component/grle.py +0 -0
  19. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/component/i3d.py +0 -0
  20. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/component/satellite.py +0 -0
  21. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/dem.py +0 -0
  22. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/dtm/__init__.py +0 -0
  23. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/dtm/base/wcs.py +0 -0
  24. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/dtm/base/wms.py +0 -0
  25. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/dtm/bavaria.py +0 -0
  26. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/dtm/canada.py +0 -0
  27. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/dtm/dtm.py +0 -0
  28. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/dtm/england.py +0 -0
  29. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/dtm/finland.py +0 -0
  30. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/dtm/flanders.py +0 -0
  31. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/dtm/france.py +0 -0
  32. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/dtm/hessen.py +0 -0
  33. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/dtm/italy.py +0 -0
  34. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/dtm/niedersachsen.py +0 -0
  35. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/dtm/norway.py +0 -0
  36. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/dtm/nrw.py +0 -0
  37. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/dtm/scotland.py +0 -0
  38. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/dtm/spain.py +0 -0
  39. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/dtm/srtm.py +0 -0
  40. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/dtm/usgs.py +0 -0
  41. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/dtm/utils.py +0 -0
  42. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/game.py +0 -0
  43. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/map.py +0 -0
  44. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/qgis.py +0 -0
  45. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/settings.py +0 -0
  46. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/generator/texture.py +0 -0
  47. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/logger.py +0 -0
  48. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/toolbox/__init__.py +0 -0
  49. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/toolbox/background.py +0 -0
  50. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/toolbox/custom_osm.py +0 -0
  51. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs/toolbox/dem.py +0 -0
  52. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs.egg-info/dependency_links.txt +0 -0
  53. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs.egg-info/requires.txt +0 -0
  54. {maps4fs-1.8.175 → maps4fs-1.8.176}/maps4fs.egg-info/top_level.txt +0 -0
  55. {maps4fs-1.8.175 → maps4fs-1.8.176}/setup.cfg +0 -0
  56. {maps4fs-1.8.175 → maps4fs-1.8.176}/tests/test_generator.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: maps4fs
3
- Version: 1.8.175
3
+ Version: 1.8.176
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
@@ -682,13 +682,27 @@ The generator supports adding the own DTM providers, please refer to the [DTM Pr
682
682
 
683
683
  ### Supported DTM providers
684
684
 
685
- - [SRTM 30m](https://dwtkns.com/srtm30m/) - the 30 meters resolution DEM data from the SRTM mission for the whole world.
686
- - [USGS 1m](https://portal.opentopography.org/raster?opentopoID=OTNED.012021.4269.3) - the 1-meter resolution DEM data from the USGS for the USA. Developed by [ZenJakey](https://github.com/ZenJakey).
687
- - England 1m DTM. 1-meter resolution DEM data for England, UK. Developed by [kbrandwijk](https://github.com/kbrandwijk).
688
- - Hessen DGM1 - 1-meter resolution DEM data for Hessen, Germany. Developed by [kbrandwijk](https://github.com/kbrandwijk).
689
- - Niedersachsen DGM1 - 1-meter resolution DEM data for Lower Saxony, Germany. Developed by [kbrandwijk](https://github.com/kbrandwijk).
690
- - Bayern DGM1 - 1-meter resolution DEM data for Bavaria, Germany. Developed by [H4rdB4se](https://github.com/H4rdB4se).
691
- - Nordrhein-Westfalen DGM1 - 1-meter resolution DEM data for North Rhine-Westphalia, Germany. Developed by [kbrandwijk](https://github.com/kbrandwijk).
685
+ ![coverage map](https://github.com/user-attachments/assets/fc78e755-13e2-4187-b846-4de5cb407dbf)
686
+
687
+ In addition to SRTM 30m, which provides global coverage, the map above highlights all countries and/or regions where higher resolution coverage is provided by one of the DTM providers.
688
+
689
+ | Provider Name | Resolution | Developer |
690
+ | ------------------------------- | ------------ | ------------------------------------------- |
691
+ | 🌎 SRTM30 | 30 meters | [iwatkot](https://github.com/iwatkot) |
692
+ | 🇺🇸 USGS | 1-90 meters | [ZenJakey](https://github.com/ZenJakey) |
693
+ | 🏴󠁧󠁢󠁥󠁮󠁧󠁿 England | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
694
+ | 🏴󠁧󠁢󠁳󠁣󠁴󠁿 Scotland | 0.25-1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
695
+ | 🇩🇪 Hessen, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
696
+ | 🇩🇪 Niedersachsen, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
697
+ | 🇩🇪 Bayern, Germany | 1 meter | [H4rdB4se](https://github.com/H4rdB4se) |
698
+ | 🇩🇪 Nordrhein-Westfalen, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
699
+ | 🇨🇦 Canada | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
700
+ | 🇧🇪 Flanders, Belgium | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
701
+ | 🇫🇷 France | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
702
+ | 🇮🇹 Italy | 10 meter | [kbrandwijk](https://github.com/kbrandwijk) |
703
+ | 🇳🇴 Norway | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
704
+ | 🇪🇸 Spain | 5 meter | [kbrandwijk](https://github.com/kbrandwijk) |
705
+ | 🇫🇮 Finland | 2 meter | [kbrandwijk](https://github.com/kbrandwijk) |
692
706
 
693
707
  ## Special thanks
694
708
 
@@ -656,13 +656,27 @@ The generator supports adding the own DTM providers, please refer to the [DTM Pr
656
656
 
657
657
  ### Supported DTM providers
658
658
 
659
- - [SRTM 30m](https://dwtkns.com/srtm30m/) - the 30 meters resolution DEM data from the SRTM mission for the whole world.
660
- - [USGS 1m](https://portal.opentopography.org/raster?opentopoID=OTNED.012021.4269.3) - the 1-meter resolution DEM data from the USGS for the USA. Developed by [ZenJakey](https://github.com/ZenJakey).
661
- - England 1m DTM. 1-meter resolution DEM data for England, UK. Developed by [kbrandwijk](https://github.com/kbrandwijk).
662
- - Hessen DGM1 - 1-meter resolution DEM data for Hessen, Germany. Developed by [kbrandwijk](https://github.com/kbrandwijk).
663
- - Niedersachsen DGM1 - 1-meter resolution DEM data for Lower Saxony, Germany. Developed by [kbrandwijk](https://github.com/kbrandwijk).
664
- - Bayern DGM1 - 1-meter resolution DEM data for Bavaria, Germany. Developed by [H4rdB4se](https://github.com/H4rdB4se).
665
- - Nordrhein-Westfalen DGM1 - 1-meter resolution DEM data for North Rhine-Westphalia, Germany. Developed by [kbrandwijk](https://github.com/kbrandwijk).
659
+ ![coverage map](https://github.com/user-attachments/assets/fc78e755-13e2-4187-b846-4de5cb407dbf)
660
+
661
+ In addition to SRTM 30m, which provides global coverage, the map above highlights all countries and/or regions where higher resolution coverage is provided by one of the DTM providers.
662
+
663
+ | Provider Name | Resolution | Developer |
664
+ | ------------------------------- | ------------ | ------------------------------------------- |
665
+ | 🌎 SRTM30 | 30 meters | [iwatkot](https://github.com/iwatkot) |
666
+ | 🇺🇸 USGS | 1-90 meters | [ZenJakey](https://github.com/ZenJakey) |
667
+ | 🏴󠁧󠁢󠁥󠁮󠁧󠁿 England | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
668
+ | 🏴󠁧󠁢󠁳󠁣󠁴󠁿 Scotland | 0.25-1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
669
+ | 🇩🇪 Hessen, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
670
+ | 🇩🇪 Niedersachsen, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
671
+ | 🇩🇪 Bayern, Germany | 1 meter | [H4rdB4se](https://github.com/H4rdB4se) |
672
+ | 🇩🇪 Nordrhein-Westfalen, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
673
+ | 🇨🇦 Canada | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
674
+ | 🇧🇪 Flanders, Belgium | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
675
+ | 🇫🇷 France | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
676
+ | 🇮🇹 Italy | 10 meter | [kbrandwijk](https://github.com/kbrandwijk) |
677
+ | 🇳🇴 Norway | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
678
+ | 🇪🇸 Spain | 5 meter | [kbrandwijk](https://github.com/kbrandwijk) |
679
+ | 🇫🇮 Finland | 2 meter | [kbrandwijk](https://github.com/kbrandwijk) |
666
680
 
667
681
  ## Special thanks
668
682
 
@@ -15,6 +15,7 @@ from maps4fs.generator.dtm.flanders import FlandersProvider
15
15
  from maps4fs.generator.dtm.spain import SpainProvider
16
16
  from maps4fs.generator.dtm.france import FranceProvider
17
17
  from maps4fs.generator.dtm.norway import NorwayProvider
18
+ from maps4fs.generator.dtm.denmark import DenmarkProvider
18
19
  from maps4fs.generator.game import Game
19
20
  from maps4fs.generator.map import Map
20
21
  from maps4fs.generator.settings import (
@@ -0,0 +1,47 @@
1
+ """This module contains provider of Denmark data."""
2
+
3
+ from maps4fs.generator.dtm.base.wcs import WCSProvider
4
+ from maps4fs.generator.dtm.dtm import DTMProvider, DTMProviderSettings
5
+
6
+
7
+ class DenmarkProviderSettings(DTMProviderSettings):
8
+ """Settings for the Denmark provider."""
9
+
10
+ token: str = ""
11
+
12
+
13
+ class DenmarkProvider(WCSProvider, DTMProvider):
14
+ """Provider of Denmark data."""
15
+
16
+ _code = "denmark"
17
+ _name = "Denmark"
18
+ _region = "DK"
19
+ _icon = "🇩🇰"
20
+ _resolution = 0.4
21
+ _author = "[kbrandwijk](https://github.com/kbrandwijk)"
22
+ _is_community = True
23
+ _is_base = False
24
+ _settings = DenmarkProviderSettings
25
+ _extents = (57.7690657013977, 54.4354651516217, 15.5979112056959, 8.00830949937517)
26
+
27
+ _instructions = (
28
+ "ℹ️ This provider requires an access token. See [here](https://confluence"
29
+ ".sdfi.dk/display/MYD/How+to+create+a+user) for more information on "
30
+ "how to create one, then enter it below in the settings field for token."
31
+ )
32
+
33
+ _url = "https://api.dataforsyningen.dk/dhm_wcs_DAF"
34
+ _wcs_version = "1.0.0"
35
+ _source_crs = "EPSG:25832"
36
+ _tile_size = 1000
37
+
38
+ def get_wcs_parameters(self, tile):
39
+ return {
40
+ "identifier": "dhm_terraen",
41
+ "bbox": (tile[1], tile[0], tile[3], tile[2]),
42
+ "crs": "EPSG:25832",
43
+ "width": 2500,
44
+ "height": 2500,
45
+ "format": "GTiff",
46
+ "token": self.user_settings.token,
47
+ }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: maps4fs
3
- Version: 1.8.175
3
+ Version: 1.8.176
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
@@ -682,13 +682,27 @@ The generator supports adding the own DTM providers, please refer to the [DTM Pr
682
682
 
683
683
  ### Supported DTM providers
684
684
 
685
- - [SRTM 30m](https://dwtkns.com/srtm30m/) - the 30 meters resolution DEM data from the SRTM mission for the whole world.
686
- - [USGS 1m](https://portal.opentopography.org/raster?opentopoID=OTNED.012021.4269.3) - the 1-meter resolution DEM data from the USGS for the USA. Developed by [ZenJakey](https://github.com/ZenJakey).
687
- - England 1m DTM. 1-meter resolution DEM data for England, UK. Developed by [kbrandwijk](https://github.com/kbrandwijk).
688
- - Hessen DGM1 - 1-meter resolution DEM data for Hessen, Germany. Developed by [kbrandwijk](https://github.com/kbrandwijk).
689
- - Niedersachsen DGM1 - 1-meter resolution DEM data for Lower Saxony, Germany. Developed by [kbrandwijk](https://github.com/kbrandwijk).
690
- - Bayern DGM1 - 1-meter resolution DEM data for Bavaria, Germany. Developed by [H4rdB4se](https://github.com/H4rdB4se).
691
- - Nordrhein-Westfalen DGM1 - 1-meter resolution DEM data for North Rhine-Westphalia, Germany. Developed by [kbrandwijk](https://github.com/kbrandwijk).
685
+ ![coverage map](https://github.com/user-attachments/assets/fc78e755-13e2-4187-b846-4de5cb407dbf)
686
+
687
+ In addition to SRTM 30m, which provides global coverage, the map above highlights all countries and/or regions where higher resolution coverage is provided by one of the DTM providers.
688
+
689
+ | Provider Name | Resolution | Developer |
690
+ | ------------------------------- | ------------ | ------------------------------------------- |
691
+ | 🌎 SRTM30 | 30 meters | [iwatkot](https://github.com/iwatkot) |
692
+ | 🇺🇸 USGS | 1-90 meters | [ZenJakey](https://github.com/ZenJakey) |
693
+ | 🏴󠁧󠁢󠁥󠁮󠁧󠁿 England | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
694
+ | 🏴󠁧󠁢󠁳󠁣󠁴󠁿 Scotland | 0.25-1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
695
+ | 🇩🇪 Hessen, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
696
+ | 🇩🇪 Niedersachsen, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
697
+ | 🇩🇪 Bayern, Germany | 1 meter | [H4rdB4se](https://github.com/H4rdB4se) |
698
+ | 🇩🇪 Nordrhein-Westfalen, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
699
+ | 🇨🇦 Canada | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
700
+ | 🇧🇪 Flanders, Belgium | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
701
+ | 🇫🇷 France | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
702
+ | 🇮🇹 Italy | 10 meter | [kbrandwijk](https://github.com/kbrandwijk) |
703
+ | 🇳🇴 Norway | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
704
+ | 🇪🇸 Spain | 5 meter | [kbrandwijk](https://github.com/kbrandwijk) |
705
+ | 🇫🇮 Finland | 2 meter | [kbrandwijk](https://github.com/kbrandwijk) |
692
706
 
693
707
  ## Special thanks
694
708
 
@@ -29,6 +29,7 @@ maps4fs/generator/component/base/component_xml.py
29
29
  maps4fs/generator/dtm/__init__.py
30
30
  maps4fs/generator/dtm/bavaria.py
31
31
  maps4fs/generator/dtm/canada.py
32
+ maps4fs/generator/dtm/denmark.py
32
33
  maps4fs/generator/dtm/dtm.py
33
34
  maps4fs/generator/dtm/england.py
34
35
  maps4fs/generator/dtm/finland.py
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "maps4fs"
7
- version = "1.8.175"
7
+ version = "1.8.176"
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