maps4fs 2.0.2__tar.gz → 2.0.4__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 (65) hide show
  1. {maps4fs-2.0.2 → maps4fs-2.0.4}/PKG-INFO +13 -54
  2. {maps4fs-2.0.2 → maps4fs-2.0.4}/README.md +11 -53
  3. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs/__init__.py +3 -2
  4. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs/generator/component/dem.py +1 -2
  5. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs/generator/map.py +2 -1
  6. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs.egg-info/PKG-INFO +13 -54
  7. maps4fs-2.0.4/maps4fs.egg-info/SOURCES.txt +31 -0
  8. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs.egg-info/requires.txt +1 -0
  9. {maps4fs-2.0.2 → maps4fs-2.0.4}/pyproject.toml +2 -1
  10. maps4fs-2.0.2/maps4fs/generator/dtm/__init__.py +0 -27
  11. maps4fs-2.0.2/maps4fs/generator/dtm/arctic.py +0 -74
  12. maps4fs-2.0.2/maps4fs/generator/dtm/baden.py +0 -31
  13. maps4fs-2.0.2/maps4fs/generator/dtm/base/wcs.py +0 -80
  14. maps4fs-2.0.2/maps4fs/generator/dtm/base/wms.py +0 -71
  15. maps4fs-2.0.2/maps4fs/generator/dtm/bavaria.py +0 -113
  16. maps4fs-2.0.2/maps4fs/generator/dtm/canada.py +0 -37
  17. maps4fs-2.0.2/maps4fs/generator/dtm/czech.py +0 -36
  18. maps4fs-2.0.2/maps4fs/generator/dtm/denmark.py +0 -50
  19. maps4fs-2.0.2/maps4fs/generator/dtm/dtm.py +0 -543
  20. maps4fs-2.0.2/maps4fs/generator/dtm/england.py +0 -31
  21. maps4fs-2.0.2/maps4fs/generator/dtm/finland.py +0 -56
  22. maps4fs-2.0.2/maps4fs/generator/dtm/flanders.py +0 -34
  23. maps4fs-2.0.2/maps4fs/generator/dtm/france.py +0 -69
  24. maps4fs-2.0.2/maps4fs/generator/dtm/hessen.py +0 -31
  25. maps4fs-2.0.2/maps4fs/generator/dtm/italy.py +0 -40
  26. maps4fs-2.0.2/maps4fs/generator/dtm/lithuania.py +0 -66
  27. maps4fs-2.0.2/maps4fs/generator/dtm/mv.py +0 -42
  28. maps4fs-2.0.2/maps4fs/generator/dtm/niedersachsen.py +0 -38
  29. maps4fs-2.0.2/maps4fs/generator/dtm/norway.py +0 -41
  30. maps4fs-2.0.2/maps4fs/generator/dtm/nrw.py +0 -30
  31. maps4fs-2.0.2/maps4fs/generator/dtm/rema.py +0 -74
  32. maps4fs-2.0.2/maps4fs/generator/dtm/sachsenanhalt.py +0 -36
  33. maps4fs-2.0.2/maps4fs/generator/dtm/scotland.py +0 -118
  34. maps4fs-2.0.2/maps4fs/generator/dtm/spain.py +0 -33
  35. maps4fs-2.0.2/maps4fs/generator/dtm/srtm.py +0 -122
  36. maps4fs-2.0.2/maps4fs/generator/dtm/switzerland.py +0 -104
  37. maps4fs-2.0.2/maps4fs/generator/dtm/thuringia.py +0 -60
  38. maps4fs-2.0.2/maps4fs/generator/dtm/usgs_wcs.py +0 -35
  39. maps4fs-2.0.2/maps4fs/generator/dtm/utils.py +0 -61
  40. maps4fs-2.0.2/maps4fs/generator/dtm/wales.py +0 -123
  41. maps4fs-2.0.2/maps4fs.egg-info/SOURCES.txt +0 -62
  42. {maps4fs-2.0.2 → maps4fs-2.0.4}/LICENSE.md +0 -0
  43. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs/generator/__init__.py +0 -0
  44. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs/generator/component/__init__.py +0 -0
  45. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs/generator/component/background.py +0 -0
  46. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs/generator/component/base/__init__.py +0 -0
  47. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs/generator/component/base/component.py +0 -0
  48. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs/generator/component/base/component_image.py +0 -0
  49. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs/generator/component/base/component_mesh.py +0 -0
  50. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs/generator/component/base/component_xml.py +0 -0
  51. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs/generator/component/config.py +0 -0
  52. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs/generator/component/grle.py +0 -0
  53. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs/generator/component/i3d.py +0 -0
  54. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs/generator/component/layer.py +0 -0
  55. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs/generator/component/satellite.py +0 -0
  56. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs/generator/component/texture.py +0 -0
  57. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs/generator/game.py +0 -0
  58. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs/generator/qgis.py +0 -0
  59. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs/generator/settings.py +0 -0
  60. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs/generator/statistics.py +0 -0
  61. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs/logger.py +0 -0
  62. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs.egg-info/dependency_links.txt +0 -0
  63. {maps4fs-2.0.2 → maps4fs-2.0.4}/maps4fs.egg-info/top_level.txt +0 -0
  64. {maps4fs-2.0.2 → maps4fs-2.0.4}/setup.cfg +0 -0
  65. {maps4fs-2.0.2 → maps4fs-2.0.4}/tests/test_generator.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maps4fs
3
- Version: 2.0.2
3
+ Version: 2.0.4
4
4
  Summary: Generate map templates for Farming Simulator from real places.
5
5
  Author-email: iwatkot <iwatkot@gmail.com>
6
6
  License: Apache License 2.0
@@ -26,10 +26,11 @@ Requires-Dist: pygmdl
26
26
  Requires-Dist: owslib
27
27
  Requires-Dist: tqdm
28
28
  Requires-Dist: scipy
29
+ Requires-Dist: pydtmdl
29
30
  Dynamic: license-file
30
31
 
31
32
  ⚠️ Learn more about the 2.0 changes in the [migration guide](docs/migration.md).
32
- ⚠️ Some components are deprecated and there are major changes in the project structure.
33
+ ⚠️ Some components are deprecated, and there are major changes in the project structure.
33
34
 
34
35
 
35
36
  <p align="center">
@@ -37,7 +38,9 @@ Dynamic: license-file
37
38
  <a href="https://github.com/iwatkot/maps4fsui">maps4fs UI</a> •
38
39
  <a href="https://github.com/iwatkot/maps4fsapi">maps4fs API</a> •
39
40
  <a href="https://github.com/iwatkot/maps4fsstats">maps4fs Stats</a> •
40
- <a href="https://github.com/iwatkot/maps4fsbot">maps4fs Bot</a>
41
+ <a href="https://github.com/iwatkot/maps4fsbot">maps4fs Bot</a><br>
42
+ <a href="https://github.com/iwatkot/pygmdl">pygmdl</a> •
43
+ <a href="https://github.com/iwatkot/pydtmdl">pydtmdl</a>
41
44
  </p>
42
45
 
43
46
  <div align="center" markdown>
@@ -49,6 +52,7 @@ Dynamic: license-file
49
52
  <a href="#Quick-Start">Quick Start</a> •
50
53
  <a href="#Overview">Overview</a> •
51
54
  <a href="docs/step_by_step.md">Create a map in 10 steps</a> •
55
+ <a href="docs/recommendations.md">Practical recommendations</a> •
52
56
  <a href="#How-To-Run">How-To-Run</a><br>
53
57
  <a href="docs/FAQ.md">FAQ</a> •
54
58
  <a href="docs/map_structure.md">Map Structure</a> •
@@ -65,7 +69,6 @@ Dynamic: license-file
65
69
  <a href="#Resources">Resources</a> •
66
70
  <a href="#Bugs-and-feature-requests">Bugs and feature requests</a><br>
67
71
  <a href="docs/procedural_generation.md">Procedural Generation</a> •
68
- <a href="#DTM-Providers">DTM Providers</a> •
69
72
  <a href="#Special-thanks">Special thanks</a>
70
73
  </p>
71
74
 
@@ -73,12 +76,11 @@ Dynamic: license-file
73
76
  [![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/iwatkot/maps4fs)](https://github.com/iwatkot/maps4fs/releases)
74
77
  [![PyPI - Version](https://img.shields.io/pypi/v/maps4fs)](https://pypi.org/project/maps4fs)
75
78
  [![Docker Pulls](https://img.shields.io/docker/pulls/iwatkot/maps4fs)](https://hub.docker.com/repository/docker/iwatkot/maps4fs/general)
76
- [![GitHub issues](https://img.shields.io/github/issues/iwatkot/maps4fs)](https://github.com/iwatkot/maps4fs/issues)
77
- [![Maintainability](https://api.codeclimate.com/v1/badges/b922fd0a7188d37e61de/maintainability)](https://codeclimate.com/github/iwatkot/maps4fs/maintainability)<br>
79
+ [![GitHub issues](https://img.shields.io/github/issues/iwatkot/maps4fs)](https://github.com/iwatkot/maps4fs/issues)<br>
78
80
  [![PyPI - Downloads](https://img.shields.io/pypi/dm/maps4fs)](https://pypi.org/project/maps4fs)
79
81
  [![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/)
80
82
  [![Build Status](https://github.com/iwatkot/maps4fs/actions/workflows/checks.yml/badge.svg)](https://github.com/iwatkot/maps4fs/actions)
81
- [![Test Coverage](https://api.codeclimate.com/v1/badges/b922fd0a7188d37e61de/test_coverage)](https://codeclimate.com/github/iwatkot/maps4fs/test_coverage)
83
+ [![codecov](https://codecov.io/gh/iwatkot/maps4fs/graph/badge.svg?token=NSKPFSKJXI)](https://codecov.io/gh/iwatkot/maps4fs)
82
84
  [![GitHub Repo stars](https://img.shields.io/github/stars/iwatkot/maps4fs)](https://github.com/iwatkot/maps4fs/stargazers)<br>
83
85
 
84
86
  </div>
@@ -87,7 +89,7 @@ Dynamic: license-file
87
89
  🔗 Generate maps using an [API](https://github.com/iwatkot/maps4fsapi) 🆕<br>
88
90
  ✂️ Supports map scaling<br>
89
91
  🔄 Support map rotation<br>
90
- 🌐 Supports custom [DTM Providers](#DTM-Providers)<br>
92
+ 🌐 Supports custom [DTM Providers](https://github.com/iwatkot/pydtmdl)<br>
91
93
  🌾 Automatically generates fields<br>
92
94
  🌽 Automatically generates farmlands<br>
93
95
  🌿 Automatically generates decorative foliage<br>
@@ -130,10 +132,7 @@ Dynamic: license-file
130
132
  <img width="480" src="https://github.com/user-attachments/assets/4d1fa879-5d60-438b-a84e-16883bcef0ec"><br>
131
133
  🌽 Automatic farmlands generation based on the fields.<br><br>
132
134
 
133
- 📹 WIP: Check out the complete playlist of video turorials on [YouTube](https://www.youtube.com/watch?v=hPbJZ0HoiDE&list=PLug0g7UYHX8D1Jik6NkJjQhdxqS-NOtB9). 🆕<br>
134
-
135
- 📹 A complete step-by-step video tutorial is here!
136
- <a href="https://www.youtube.com/watch?v=Nl_aqXJ5nAk" target="_blank"><img src="https://github.com/user-attachments/assets/4845e030-0e73-47ab-a5a3-430308913060"/></a>
135
+ 📹 Check out the complete playlist of video turorials on [YouTube](https://www.youtube.com/watch?v=hPbJZ0HoiDE&list=PLug0g7UYHX8D1Jik6NkJjQhdxqS-NOtB9). 🆕<br>
137
136
 
138
137
  <p align="center"><i>How to Generate a Map for Farming Simulator 25 and 22 from a real place using maps4FS.</i></p>
139
138
 
@@ -149,7 +148,7 @@ There are several ways to use the tool. You obviously need the **first one**, bu
149
148
 
150
149
  **Option 1:** Open the [maps4fs](https://maps4fs.xyz) and generate a map template in a few clicks.<br>
151
150
 
152
- ![Basic WebUI](https://github.com/user-attachments/assets/52f499cc-f28a-4da3-abef-0e818abe8dbe)
151
+ ![Basic WebUI](https://github.com/iwatkot/maps4fs/releases/download/2.0.0/maps4fs_wui.png)
153
152
 
154
153
  ### 😎 For advanced users
155
154
 
@@ -362,7 +361,7 @@ You can also specify any custom size of the map. Be aware that Giants Editor sup
362
361
  This setting can be useful if you want add some scaling to your map. For example, you can select a region of 3000 meters in real world and set the output size to 2048 meters. In this case, the map will be generated with a size of 2048x2048 meters, but it will contain the region of 3000x3000 meters in real world.
363
362
 
364
363
  ### DTM Provider
365
- DTM Provider is a source of the height map data. will find the list of available providers in the [DTM Providers](#dtm-providers) section. The default provider is `SRTM30Provider` which is available all aroung the globe, but the resolution is not very high. If you want to use a different provider, you can select it in the dropdown list. You will only see the providers that are available for the selected region. It's better to use the provider that has the highest resolution for the selected region.
364
+ DTM Provider is a source of the height map data. will find the list of available providers in the [pydtmdl](https://github.com/iwatkot/pydtmdl) repository. The default provider is `SRTM30Provider` which is available all aroung the globe, but the resolution is not very high. If you want to use a different provider, you can select it in the dropdown list. You will only see the providers that are available for the selected region. It's better to use the provider that has the highest resolution for the selected region.
366
365
  **NOTE:** Some of the providers are community-developed and may not work properly. I do not provide any support for them. If you have any issues with them, please contact the provider's author.
367
366
 
368
367
  ### Map Rotation
@@ -711,46 +710,6 @@ To create a basic map, you only need the Giants Editor. But if you want to creat
711
710
  ➡️ Please, before creating an issue or asking some questions, check the [FAQ](docs/FAQ.md) section.<br>
712
711
  If you find a bug or have an idea for a new feature, please create an issue [here](https://github.com/iwatkot/maps4fs/issues) or contact me directly on [Telegram](https://t.me/iwatkot) or on Discord: `iwatkot`.
713
712
 
714
- ## DTM Providers
715
-
716
- The generator supports adding the own DTM providers, please refer to the [DTM Providers](docs/dtm_providers.md) section to learn how to add the custom DTM provider.
717
-
718
- ### Supported DTM providers
719
-
720
- ![coverage map](https://github.com/user-attachments/assets/be5c5ce1-7318-4352-97eb-efba7ec587cd)
721
-
722
- 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.
723
-
724
- | Provider Name | Resolution | Developer |
725
- | ---------------------------------- | ------------ | ------------------------------------------- |
726
- | 🌎 SRTM30 | 30 meters | [iwatkot](https://github.com/iwatkot) |
727
- | 🌎 ArcticDEM | 2 meters | [kbrandwijk](https://github.com/kbrandwijk) |
728
- | 🌎 REMA Antarctica | 2 meters | [kbrandwijk](https://github.com/kbrandwijk) |
729
- | 🇺🇸 USGS | 1-90 meters | [ZenJakey](https://github.com/ZenJakey) |
730
- | 🏴󠁧󠁢󠁥󠁮󠁧󠁿 England | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
731
- | 🏴󠁧󠁢󠁳󠁣󠁴󠁿 Scotland | 0.25-1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
732
- | 🏴󠁧󠁢󠁷󠁬󠁳󠁿󠁧󠁢󠁷󠁬󠁳󠁿 Wales | 1 meter | [garnwenshared](https://github.com/garnshared) |
733
- | 🇩🇪 Hessen, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
734
- | 🇩🇪 Niedersachsen, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
735
- | 🇩🇪 Bayern, Germany | 1 meter | [H4rdB4se](https://github.com/H4rdB4se) |
736
- | 🇩🇪 Nordrhein-Westfalen, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
737
- | 🇩🇪 Mecklenburg-Vorpommern, Germany | 1-25 meter | [kbrandwijk](https://github.com/kbrandwijk) |
738
- | 🇩🇪 Baden-Württemberg, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
739
- | 🇩🇪 Sachsen-Anhalt, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
740
- | 🇩🇪 Thüringen, Germany | 1 meter | [H4rdB4se](https://github.com/H4rdB4se) |
741
- | 🇨🇦 Canada | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
742
- | 🇧🇪 Flanders, Belgium | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
743
- | 🇫🇷 France | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
744
- | 🇮🇹 Italy | 10 meter | [kbrandwijk](https://github.com/kbrandwijk) |
745
- | 🇳🇴 Norway | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
746
- | 🇪🇸 Spain | 5 meter | [kbrandwijk](https://github.com/kbrandwijk) |
747
- | 🇫🇮 Finland | 2 meter | [kbrandwijk](https://github.com/kbrandwijk) |
748
- | 🇩🇰 Denmark | 0.4 meter | [kbrandwijk](https://github.com/kbrandwijk) |
749
- | 🇨🇭 Switzerland | 0.5-2 meter | [kbrandwijk](https://github.com/kbrandwijk) |
750
- | 🇨🇿 Czech Republic | 5 meter | [kbrandwijk](https://github.com/kbrandwijk) |
751
- | 🇱🇹 Lithuania | 1 meter | [Tox3](https://github.com/Tox3) |
752
-
753
-
754
713
  ## Special thanks
755
714
 
756
715
  Of course, first of all, thanks to the direct [contributors](https://github.com/iwatkot/maps4fs/graphs/contributors) of the project.
@@ -1,5 +1,5 @@
1
1
  ⚠️ Learn more about the 2.0 changes in the [migration guide](docs/migration.md).
2
- ⚠️ Some components are deprecated and there are major changes in the project structure.
2
+ ⚠️ Some components are deprecated, and there are major changes in the project structure.
3
3
 
4
4
 
5
5
  <p align="center">
@@ -7,7 +7,9 @@
7
7
  <a href="https://github.com/iwatkot/maps4fsui">maps4fs UI</a> •
8
8
  <a href="https://github.com/iwatkot/maps4fsapi">maps4fs API</a> •
9
9
  <a href="https://github.com/iwatkot/maps4fsstats">maps4fs Stats</a> •
10
- <a href="https://github.com/iwatkot/maps4fsbot">maps4fs Bot</a>
10
+ <a href="https://github.com/iwatkot/maps4fsbot">maps4fs Bot</a><br>
11
+ <a href="https://github.com/iwatkot/pygmdl">pygmdl</a> •
12
+ <a href="https://github.com/iwatkot/pydtmdl">pydtmdl</a>
11
13
  </p>
12
14
 
13
15
  <div align="center" markdown>
@@ -19,6 +21,7 @@
19
21
  <a href="#Quick-Start">Quick Start</a> •
20
22
  <a href="#Overview">Overview</a> •
21
23
  <a href="docs/step_by_step.md">Create a map in 10 steps</a> •
24
+ <a href="docs/recommendations.md">Practical recommendations</a> •
22
25
  <a href="#How-To-Run">How-To-Run</a><br>
23
26
  <a href="docs/FAQ.md">FAQ</a> •
24
27
  <a href="docs/map_structure.md">Map Structure</a> •
@@ -35,7 +38,6 @@
35
38
  <a href="#Resources">Resources</a> •
36
39
  <a href="#Bugs-and-feature-requests">Bugs and feature requests</a><br>
37
40
  <a href="docs/procedural_generation.md">Procedural Generation</a> •
38
- <a href="#DTM-Providers">DTM Providers</a> •
39
41
  <a href="#Special-thanks">Special thanks</a>
40
42
  </p>
41
43
 
@@ -43,12 +45,11 @@
43
45
  [![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/iwatkot/maps4fs)](https://github.com/iwatkot/maps4fs/releases)
44
46
  [![PyPI - Version](https://img.shields.io/pypi/v/maps4fs)](https://pypi.org/project/maps4fs)
45
47
  [![Docker Pulls](https://img.shields.io/docker/pulls/iwatkot/maps4fs)](https://hub.docker.com/repository/docker/iwatkot/maps4fs/general)
46
- [![GitHub issues](https://img.shields.io/github/issues/iwatkot/maps4fs)](https://github.com/iwatkot/maps4fs/issues)
47
- [![Maintainability](https://api.codeclimate.com/v1/badges/b922fd0a7188d37e61de/maintainability)](https://codeclimate.com/github/iwatkot/maps4fs/maintainability)<br>
48
+ [![GitHub issues](https://img.shields.io/github/issues/iwatkot/maps4fs)](https://github.com/iwatkot/maps4fs/issues)<br>
48
49
  [![PyPI - Downloads](https://img.shields.io/pypi/dm/maps4fs)](https://pypi.org/project/maps4fs)
49
50
  [![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/)
50
51
  [![Build Status](https://github.com/iwatkot/maps4fs/actions/workflows/checks.yml/badge.svg)](https://github.com/iwatkot/maps4fs/actions)
51
- [![Test Coverage](https://api.codeclimate.com/v1/badges/b922fd0a7188d37e61de/test_coverage)](https://codeclimate.com/github/iwatkot/maps4fs/test_coverage)
52
+ [![codecov](https://codecov.io/gh/iwatkot/maps4fs/graph/badge.svg?token=NSKPFSKJXI)](https://codecov.io/gh/iwatkot/maps4fs)
52
53
  [![GitHub Repo stars](https://img.shields.io/github/stars/iwatkot/maps4fs)](https://github.com/iwatkot/maps4fs/stargazers)<br>
53
54
 
54
55
  </div>
@@ -57,7 +58,7 @@
57
58
  🔗 Generate maps using an [API](https://github.com/iwatkot/maps4fsapi) 🆕<br>
58
59
  ✂️ Supports map scaling<br>
59
60
  🔄 Support map rotation<br>
60
- 🌐 Supports custom [DTM Providers](#DTM-Providers)<br>
61
+ 🌐 Supports custom [DTM Providers](https://github.com/iwatkot/pydtmdl)<br>
61
62
  🌾 Automatically generates fields<br>
62
63
  🌽 Automatically generates farmlands<br>
63
64
  🌿 Automatically generates decorative foliage<br>
@@ -100,10 +101,7 @@
100
101
  <img width="480" src="https://github.com/user-attachments/assets/4d1fa879-5d60-438b-a84e-16883bcef0ec"><br>
101
102
  🌽 Automatic farmlands generation based on the fields.<br><br>
102
103
 
103
- 📹 WIP: Check out the complete playlist of video turorials on [YouTube](https://www.youtube.com/watch?v=hPbJZ0HoiDE&list=PLug0g7UYHX8D1Jik6NkJjQhdxqS-NOtB9). 🆕<br>
104
-
105
- 📹 A complete step-by-step video tutorial is here!
106
- <a href="https://www.youtube.com/watch?v=Nl_aqXJ5nAk" target="_blank"><img src="https://github.com/user-attachments/assets/4845e030-0e73-47ab-a5a3-430308913060"/></a>
104
+ 📹 Check out the complete playlist of video turorials on [YouTube](https://www.youtube.com/watch?v=hPbJZ0HoiDE&list=PLug0g7UYHX8D1Jik6NkJjQhdxqS-NOtB9). 🆕<br>
107
105
 
108
106
  <p align="center"><i>How to Generate a Map for Farming Simulator 25 and 22 from a real place using maps4FS.</i></p>
109
107
 
@@ -119,7 +117,7 @@ There are several ways to use the tool. You obviously need the **first one**, bu
119
117
 
120
118
  **Option 1:** Open the [maps4fs](https://maps4fs.xyz) and generate a map template in a few clicks.<br>
121
119
 
122
- ![Basic WebUI](https://github.com/user-attachments/assets/52f499cc-f28a-4da3-abef-0e818abe8dbe)
120
+ ![Basic WebUI](https://github.com/iwatkot/maps4fs/releases/download/2.0.0/maps4fs_wui.png)
123
121
 
124
122
  ### 😎 For advanced users
125
123
 
@@ -332,7 +330,7 @@ You can also specify any custom size of the map. Be aware that Giants Editor sup
332
330
  This setting can be useful if you want add some scaling to your map. For example, you can select a region of 3000 meters in real world and set the output size to 2048 meters. In this case, the map will be generated with a size of 2048x2048 meters, but it will contain the region of 3000x3000 meters in real world.
333
331
 
334
332
  ### DTM Provider
335
- DTM Provider is a source of the height map data. will find the list of available providers in the [DTM Providers](#dtm-providers) section. The default provider is `SRTM30Provider` which is available all aroung the globe, but the resolution is not very high. If you want to use a different provider, you can select it in the dropdown list. You will only see the providers that are available for the selected region. It's better to use the provider that has the highest resolution for the selected region.
333
+ DTM Provider is a source of the height map data. will find the list of available providers in the [pydtmdl](https://github.com/iwatkot/pydtmdl) repository. The default provider is `SRTM30Provider` which is available all aroung the globe, but the resolution is not very high. If you want to use a different provider, you can select it in the dropdown list. You will only see the providers that are available for the selected region. It's better to use the provider that has the highest resolution for the selected region.
336
334
  **NOTE:** Some of the providers are community-developed and may not work properly. I do not provide any support for them. If you have any issues with them, please contact the provider's author.
337
335
 
338
336
  ### Map Rotation
@@ -681,46 +679,6 @@ To create a basic map, you only need the Giants Editor. But if you want to creat
681
679
  ➡️ Please, before creating an issue or asking some questions, check the [FAQ](docs/FAQ.md) section.<br>
682
680
  If you find a bug or have an idea for a new feature, please create an issue [here](https://github.com/iwatkot/maps4fs/issues) or contact me directly on [Telegram](https://t.me/iwatkot) or on Discord: `iwatkot`.
683
681
 
684
- ## DTM Providers
685
-
686
- The generator supports adding the own DTM providers, please refer to the [DTM Providers](docs/dtm_providers.md) section to learn how to add the custom DTM provider.
687
-
688
- ### Supported DTM providers
689
-
690
- ![coverage map](https://github.com/user-attachments/assets/be5c5ce1-7318-4352-97eb-efba7ec587cd)
691
-
692
- 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.
693
-
694
- | Provider Name | Resolution | Developer |
695
- | ---------------------------------- | ------------ | ------------------------------------------- |
696
- | 🌎 SRTM30 | 30 meters | [iwatkot](https://github.com/iwatkot) |
697
- | 🌎 ArcticDEM | 2 meters | [kbrandwijk](https://github.com/kbrandwijk) |
698
- | 🌎 REMA Antarctica | 2 meters | [kbrandwijk](https://github.com/kbrandwijk) |
699
- | 🇺🇸 USGS | 1-90 meters | [ZenJakey](https://github.com/ZenJakey) |
700
- | 🏴󠁧󠁢󠁥󠁮󠁧󠁿 England | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
701
- | 🏴󠁧󠁢󠁳󠁣󠁴󠁿 Scotland | 0.25-1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
702
- | 🏴󠁧󠁢󠁷󠁬󠁳󠁿󠁧󠁢󠁷󠁬󠁳󠁿 Wales | 1 meter | [garnwenshared](https://github.com/garnshared) |
703
- | 🇩🇪 Hessen, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
704
- | 🇩🇪 Niedersachsen, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
705
- | 🇩🇪 Bayern, Germany | 1 meter | [H4rdB4se](https://github.com/H4rdB4se) |
706
- | 🇩🇪 Nordrhein-Westfalen, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
707
- | 🇩🇪 Mecklenburg-Vorpommern, Germany | 1-25 meter | [kbrandwijk](https://github.com/kbrandwijk) |
708
- | 🇩🇪 Baden-Württemberg, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
709
- | 🇩🇪 Sachsen-Anhalt, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
710
- | 🇩🇪 Thüringen, Germany | 1 meter | [H4rdB4se](https://github.com/H4rdB4se) |
711
- | 🇨🇦 Canada | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
712
- | 🇧🇪 Flanders, Belgium | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
713
- | 🇫🇷 France | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
714
- | 🇮🇹 Italy | 10 meter | [kbrandwijk](https://github.com/kbrandwijk) |
715
- | 🇳🇴 Norway | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
716
- | 🇪🇸 Spain | 5 meter | [kbrandwijk](https://github.com/kbrandwijk) |
717
- | 🇫🇮 Finland | 2 meter | [kbrandwijk](https://github.com/kbrandwijk) |
718
- | 🇩🇰 Denmark | 0.4 meter | [kbrandwijk](https://github.com/kbrandwijk) |
719
- | 🇨🇭 Switzerland | 0.5-2 meter | [kbrandwijk](https://github.com/kbrandwijk) |
720
- | 🇨🇿 Czech Republic | 5 meter | [kbrandwijk](https://github.com/kbrandwijk) |
721
- | 🇱🇹 Lithuania | 1 meter | [Tox3](https://github.com/Tox3) |
722
-
723
-
724
682
  ## Special thanks
725
683
 
726
684
  Of course, first of all, thanks to the direct [contributors](https://github.com/iwatkot/maps4fs/graphs/contributors) of the project.
@@ -1,8 +1,9 @@
1
1
  # pylint: disable=missing-module-docstring
2
+ import pydtmdl.providers as dtm
3
+ from pydtmdl import DTMProvider
4
+
2
5
  import maps4fs.generator.component as component
3
- import maps4fs.generator.dtm as dtm
4
6
  import maps4fs.generator.settings as settings
5
- from maps4fs.generator.dtm.dtm import DTMProvider
6
7
  from maps4fs.generator.game import Game
7
8
  from maps4fs.generator.map import Map
8
9
  from maps4fs.logger import Logger
@@ -5,12 +5,12 @@ from typing import Any
5
5
 
6
6
  import cv2
7
7
  import numpy as np
8
+ from pydtmdl import DTMProvider
8
9
 
9
10
  # import rasterio # type: ignore
10
11
  from pympler import asizeof # type: ignore
11
12
 
12
13
  from maps4fs.generator.component.base.component_image import ImageComponent
13
- from maps4fs.generator.dtm.dtm import DTMProvider
14
14
 
15
15
 
16
16
  # pylint: disable=R0903, R0902
@@ -46,7 +46,6 @@ class DEM(ImageComponent):
46
46
  size=self.map_rotated_size,
47
47
  directory=self.temp_dir,
48
48
  logger=self.logger,
49
- map=self.map,
50
49
  )
51
50
 
52
51
  self.info: dict[str, Any] = {}
@@ -11,9 +11,10 @@ from xml.etree import ElementTree as ET
11
11
  import osmnx as ox
12
12
  from geopy.geocoders import Nominatim
13
13
  from osmnx._errors import InsufficientResponseError
14
+ from pydtmdl import DTMProvider
15
+ from pydtmdl.base.dtm import DTMProviderSettings
14
16
 
15
17
  from maps4fs.generator.component import Background, Component, Layer, Texture
16
- from maps4fs.generator.dtm.dtm import DTMProvider, DTMProviderSettings
17
18
  from maps4fs.generator.game import FS25, Game
18
19
  from maps4fs.generator.settings import (
19
20
  BackgroundSettings,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maps4fs
3
- Version: 2.0.2
3
+ Version: 2.0.4
4
4
  Summary: Generate map templates for Farming Simulator from real places.
5
5
  Author-email: iwatkot <iwatkot@gmail.com>
6
6
  License: Apache License 2.0
@@ -26,10 +26,11 @@ Requires-Dist: pygmdl
26
26
  Requires-Dist: owslib
27
27
  Requires-Dist: tqdm
28
28
  Requires-Dist: scipy
29
+ Requires-Dist: pydtmdl
29
30
  Dynamic: license-file
30
31
 
31
32
  ⚠️ Learn more about the 2.0 changes in the [migration guide](docs/migration.md).
32
- ⚠️ Some components are deprecated and there are major changes in the project structure.
33
+ ⚠️ Some components are deprecated, and there are major changes in the project structure.
33
34
 
34
35
 
35
36
  <p align="center">
@@ -37,7 +38,9 @@ Dynamic: license-file
37
38
  <a href="https://github.com/iwatkot/maps4fsui">maps4fs UI</a> •
38
39
  <a href="https://github.com/iwatkot/maps4fsapi">maps4fs API</a> •
39
40
  <a href="https://github.com/iwatkot/maps4fsstats">maps4fs Stats</a> •
40
- <a href="https://github.com/iwatkot/maps4fsbot">maps4fs Bot</a>
41
+ <a href="https://github.com/iwatkot/maps4fsbot">maps4fs Bot</a><br>
42
+ <a href="https://github.com/iwatkot/pygmdl">pygmdl</a> •
43
+ <a href="https://github.com/iwatkot/pydtmdl">pydtmdl</a>
41
44
  </p>
42
45
 
43
46
  <div align="center" markdown>
@@ -49,6 +52,7 @@ Dynamic: license-file
49
52
  <a href="#Quick-Start">Quick Start</a> •
50
53
  <a href="#Overview">Overview</a> •
51
54
  <a href="docs/step_by_step.md">Create a map in 10 steps</a> •
55
+ <a href="docs/recommendations.md">Practical recommendations</a> •
52
56
  <a href="#How-To-Run">How-To-Run</a><br>
53
57
  <a href="docs/FAQ.md">FAQ</a> •
54
58
  <a href="docs/map_structure.md">Map Structure</a> •
@@ -65,7 +69,6 @@ Dynamic: license-file
65
69
  <a href="#Resources">Resources</a> •
66
70
  <a href="#Bugs-and-feature-requests">Bugs and feature requests</a><br>
67
71
  <a href="docs/procedural_generation.md">Procedural Generation</a> •
68
- <a href="#DTM-Providers">DTM Providers</a> •
69
72
  <a href="#Special-thanks">Special thanks</a>
70
73
  </p>
71
74
 
@@ -73,12 +76,11 @@ Dynamic: license-file
73
76
  [![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/iwatkot/maps4fs)](https://github.com/iwatkot/maps4fs/releases)
74
77
  [![PyPI - Version](https://img.shields.io/pypi/v/maps4fs)](https://pypi.org/project/maps4fs)
75
78
  [![Docker Pulls](https://img.shields.io/docker/pulls/iwatkot/maps4fs)](https://hub.docker.com/repository/docker/iwatkot/maps4fs/general)
76
- [![GitHub issues](https://img.shields.io/github/issues/iwatkot/maps4fs)](https://github.com/iwatkot/maps4fs/issues)
77
- [![Maintainability](https://api.codeclimate.com/v1/badges/b922fd0a7188d37e61de/maintainability)](https://codeclimate.com/github/iwatkot/maps4fs/maintainability)<br>
79
+ [![GitHub issues](https://img.shields.io/github/issues/iwatkot/maps4fs)](https://github.com/iwatkot/maps4fs/issues)<br>
78
80
  [![PyPI - Downloads](https://img.shields.io/pypi/dm/maps4fs)](https://pypi.org/project/maps4fs)
79
81
  [![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/)
80
82
  [![Build Status](https://github.com/iwatkot/maps4fs/actions/workflows/checks.yml/badge.svg)](https://github.com/iwatkot/maps4fs/actions)
81
- [![Test Coverage](https://api.codeclimate.com/v1/badges/b922fd0a7188d37e61de/test_coverage)](https://codeclimate.com/github/iwatkot/maps4fs/test_coverage)
83
+ [![codecov](https://codecov.io/gh/iwatkot/maps4fs/graph/badge.svg?token=NSKPFSKJXI)](https://codecov.io/gh/iwatkot/maps4fs)
82
84
  [![GitHub Repo stars](https://img.shields.io/github/stars/iwatkot/maps4fs)](https://github.com/iwatkot/maps4fs/stargazers)<br>
83
85
 
84
86
  </div>
@@ -87,7 +89,7 @@ Dynamic: license-file
87
89
  🔗 Generate maps using an [API](https://github.com/iwatkot/maps4fsapi) 🆕<br>
88
90
  ✂️ Supports map scaling<br>
89
91
  🔄 Support map rotation<br>
90
- 🌐 Supports custom [DTM Providers](#DTM-Providers)<br>
92
+ 🌐 Supports custom [DTM Providers](https://github.com/iwatkot/pydtmdl)<br>
91
93
  🌾 Automatically generates fields<br>
92
94
  🌽 Automatically generates farmlands<br>
93
95
  🌿 Automatically generates decorative foliage<br>
@@ -130,10 +132,7 @@ Dynamic: license-file
130
132
  <img width="480" src="https://github.com/user-attachments/assets/4d1fa879-5d60-438b-a84e-16883bcef0ec"><br>
131
133
  🌽 Automatic farmlands generation based on the fields.<br><br>
132
134
 
133
- 📹 WIP: Check out the complete playlist of video turorials on [YouTube](https://www.youtube.com/watch?v=hPbJZ0HoiDE&list=PLug0g7UYHX8D1Jik6NkJjQhdxqS-NOtB9). 🆕<br>
134
-
135
- 📹 A complete step-by-step video tutorial is here!
136
- <a href="https://www.youtube.com/watch?v=Nl_aqXJ5nAk" target="_blank"><img src="https://github.com/user-attachments/assets/4845e030-0e73-47ab-a5a3-430308913060"/></a>
135
+ 📹 Check out the complete playlist of video turorials on [YouTube](https://www.youtube.com/watch?v=hPbJZ0HoiDE&list=PLug0g7UYHX8D1Jik6NkJjQhdxqS-NOtB9). 🆕<br>
137
136
 
138
137
  <p align="center"><i>How to Generate a Map for Farming Simulator 25 and 22 from a real place using maps4FS.</i></p>
139
138
 
@@ -149,7 +148,7 @@ There are several ways to use the tool. You obviously need the **first one**, bu
149
148
 
150
149
  **Option 1:** Open the [maps4fs](https://maps4fs.xyz) and generate a map template in a few clicks.<br>
151
150
 
152
- ![Basic WebUI](https://github.com/user-attachments/assets/52f499cc-f28a-4da3-abef-0e818abe8dbe)
151
+ ![Basic WebUI](https://github.com/iwatkot/maps4fs/releases/download/2.0.0/maps4fs_wui.png)
153
152
 
154
153
  ### 😎 For advanced users
155
154
 
@@ -362,7 +361,7 @@ You can also specify any custom size of the map. Be aware that Giants Editor sup
362
361
  This setting can be useful if you want add some scaling to your map. For example, you can select a region of 3000 meters in real world and set the output size to 2048 meters. In this case, the map will be generated with a size of 2048x2048 meters, but it will contain the region of 3000x3000 meters in real world.
363
362
 
364
363
  ### DTM Provider
365
- DTM Provider is a source of the height map data. will find the list of available providers in the [DTM Providers](#dtm-providers) section. The default provider is `SRTM30Provider` which is available all aroung the globe, but the resolution is not very high. If you want to use a different provider, you can select it in the dropdown list. You will only see the providers that are available for the selected region. It's better to use the provider that has the highest resolution for the selected region.
364
+ DTM Provider is a source of the height map data. will find the list of available providers in the [pydtmdl](https://github.com/iwatkot/pydtmdl) repository. The default provider is `SRTM30Provider` which is available all aroung the globe, but the resolution is not very high. If you want to use a different provider, you can select it in the dropdown list. You will only see the providers that are available for the selected region. It's better to use the provider that has the highest resolution for the selected region.
366
365
  **NOTE:** Some of the providers are community-developed and may not work properly. I do not provide any support for them. If you have any issues with them, please contact the provider's author.
367
366
 
368
367
  ### Map Rotation
@@ -711,46 +710,6 @@ To create a basic map, you only need the Giants Editor. But if you want to creat
711
710
  ➡️ Please, before creating an issue or asking some questions, check the [FAQ](docs/FAQ.md) section.<br>
712
711
  If you find a bug or have an idea for a new feature, please create an issue [here](https://github.com/iwatkot/maps4fs/issues) or contact me directly on [Telegram](https://t.me/iwatkot) or on Discord: `iwatkot`.
713
712
 
714
- ## DTM Providers
715
-
716
- The generator supports adding the own DTM providers, please refer to the [DTM Providers](docs/dtm_providers.md) section to learn how to add the custom DTM provider.
717
-
718
- ### Supported DTM providers
719
-
720
- ![coverage map](https://github.com/user-attachments/assets/be5c5ce1-7318-4352-97eb-efba7ec587cd)
721
-
722
- 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.
723
-
724
- | Provider Name | Resolution | Developer |
725
- | ---------------------------------- | ------------ | ------------------------------------------- |
726
- | 🌎 SRTM30 | 30 meters | [iwatkot](https://github.com/iwatkot) |
727
- | 🌎 ArcticDEM | 2 meters | [kbrandwijk](https://github.com/kbrandwijk) |
728
- | 🌎 REMA Antarctica | 2 meters | [kbrandwijk](https://github.com/kbrandwijk) |
729
- | 🇺🇸 USGS | 1-90 meters | [ZenJakey](https://github.com/ZenJakey) |
730
- | 🏴󠁧󠁢󠁥󠁮󠁧󠁿 England | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
731
- | 🏴󠁧󠁢󠁳󠁣󠁴󠁿 Scotland | 0.25-1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
732
- | 🏴󠁧󠁢󠁷󠁬󠁳󠁿󠁧󠁢󠁷󠁬󠁳󠁿 Wales | 1 meter | [garnwenshared](https://github.com/garnshared) |
733
- | 🇩🇪 Hessen, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
734
- | 🇩🇪 Niedersachsen, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
735
- | 🇩🇪 Bayern, Germany | 1 meter | [H4rdB4se](https://github.com/H4rdB4se) |
736
- | 🇩🇪 Nordrhein-Westfalen, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
737
- | 🇩🇪 Mecklenburg-Vorpommern, Germany | 1-25 meter | [kbrandwijk](https://github.com/kbrandwijk) |
738
- | 🇩🇪 Baden-Württemberg, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
739
- | 🇩🇪 Sachsen-Anhalt, Germany | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
740
- | 🇩🇪 Thüringen, Germany | 1 meter | [H4rdB4se](https://github.com/H4rdB4se) |
741
- | 🇨🇦 Canada | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
742
- | 🇧🇪 Flanders, Belgium | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
743
- | 🇫🇷 France | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
744
- | 🇮🇹 Italy | 10 meter | [kbrandwijk](https://github.com/kbrandwijk) |
745
- | 🇳🇴 Norway | 1 meter | [kbrandwijk](https://github.com/kbrandwijk) |
746
- | 🇪🇸 Spain | 5 meter | [kbrandwijk](https://github.com/kbrandwijk) |
747
- | 🇫🇮 Finland | 2 meter | [kbrandwijk](https://github.com/kbrandwijk) |
748
- | 🇩🇰 Denmark | 0.4 meter | [kbrandwijk](https://github.com/kbrandwijk) |
749
- | 🇨🇭 Switzerland | 0.5-2 meter | [kbrandwijk](https://github.com/kbrandwijk) |
750
- | 🇨🇿 Czech Republic | 5 meter | [kbrandwijk](https://github.com/kbrandwijk) |
751
- | 🇱🇹 Lithuania | 1 meter | [Tox3](https://github.com/Tox3) |
752
-
753
-
754
713
  ## Special thanks
755
714
 
756
715
  Of course, first of all, thanks to the direct [contributors](https://github.com/iwatkot/maps4fs/graphs/contributors) of the project.
@@ -0,0 +1,31 @@
1
+ LICENSE.md
2
+ README.md
3
+ pyproject.toml
4
+ maps4fs/__init__.py
5
+ maps4fs/logger.py
6
+ maps4fs.egg-info/PKG-INFO
7
+ maps4fs.egg-info/SOURCES.txt
8
+ maps4fs.egg-info/dependency_links.txt
9
+ maps4fs.egg-info/requires.txt
10
+ maps4fs.egg-info/top_level.txt
11
+ maps4fs/generator/__init__.py
12
+ maps4fs/generator/game.py
13
+ maps4fs/generator/map.py
14
+ maps4fs/generator/qgis.py
15
+ maps4fs/generator/settings.py
16
+ maps4fs/generator/statistics.py
17
+ maps4fs/generator/component/__init__.py
18
+ maps4fs/generator/component/background.py
19
+ maps4fs/generator/component/config.py
20
+ maps4fs/generator/component/dem.py
21
+ maps4fs/generator/component/grle.py
22
+ maps4fs/generator/component/i3d.py
23
+ maps4fs/generator/component/layer.py
24
+ maps4fs/generator/component/satellite.py
25
+ maps4fs/generator/component/texture.py
26
+ maps4fs/generator/component/base/__init__.py
27
+ maps4fs/generator/component/base/component.py
28
+ maps4fs/generator/component/base/component_image.py
29
+ maps4fs/generator/component/base/component_mesh.py
30
+ maps4fs/generator/component/base/component_xml.py
31
+ tests/test_generator.py
@@ -11,3 +11,4 @@ pygmdl
11
11
  owslib
12
12
  tqdm
13
13
  scipy
14
+ pydtmdl
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "maps4fs"
7
- version = "2.0.2"
7
+ version = "2.0.4"
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 = "Apache License 2.0"}
@@ -30,6 +30,7 @@ dependencies = [
30
30
  "owslib",
31
31
  "tqdm",
32
32
  "scipy",
33
+ "pydtmdl",
33
34
  ]
34
35
 
35
36
  [project.urls]
@@ -1,27 +0,0 @@
1
- # pylint: disable=missing-module-docstring
2
- from maps4fs.generator.dtm.arctic import ArcticProvider
3
- from maps4fs.generator.dtm.baden import BadenWurttembergProvider
4
- from maps4fs.generator.dtm.bavaria import BavariaProvider
5
- from maps4fs.generator.dtm.canada import CanadaProvider
6
- from maps4fs.generator.dtm.czech import CzechProvider
7
- from maps4fs.generator.dtm.denmark import DenmarkProvider
8
- from maps4fs.generator.dtm.england import England1MProvider
9
- from maps4fs.generator.dtm.finland import FinlandProvider
10
- from maps4fs.generator.dtm.flanders import FlandersProvider
11
- from maps4fs.generator.dtm.france import FranceProvider
12
- from maps4fs.generator.dtm.hessen import HessenProvider
13
- from maps4fs.generator.dtm.italy import ItalyProvider
14
- from maps4fs.generator.dtm.lithuania import LithuaniaProvider
15
- from maps4fs.generator.dtm.mv import MecklenburgVorpommernProvider
16
- from maps4fs.generator.dtm.niedersachsen import NiedersachsenProvider
17
- from maps4fs.generator.dtm.norway import NorwayProvider
18
- from maps4fs.generator.dtm.nrw import NRWProvider
19
- from maps4fs.generator.dtm.rema import REMAProvider
20
- from maps4fs.generator.dtm.sachsenanhalt import SachsenAnhaltProvider
21
- from maps4fs.generator.dtm.scotland import ScotlandProvider
22
- from maps4fs.generator.dtm.spain import SpainProvider
23
- from maps4fs.generator.dtm.srtm import SRTM30Provider
24
- from maps4fs.generator.dtm.switzerland import SwitzerlandProvider
25
- from maps4fs.generator.dtm.thuringia import ThuringiaProvider
26
- from maps4fs.generator.dtm.usgs_wcs import USGSWCSProvider
27
- from maps4fs.generator.dtm.wales import WalesProvider