maps4fs 1.8.175__py3-none-any.whl → 1.8.176__py3-none-any.whl
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/__init__.py +1 -0
- maps4fs/generator/dtm/denmark.py +47 -0
- {maps4fs-1.8.175.dist-info → maps4fs-1.8.176.dist-info}/METADATA +22 -8
- {maps4fs-1.8.175.dist-info → maps4fs-1.8.176.dist-info}/RECORD +7 -6
- {maps4fs-1.8.175.dist-info → maps4fs-1.8.176.dist-info}/LICENSE.md +0 -0
- {maps4fs-1.8.175.dist-info → maps4fs-1.8.176.dist-info}/WHEEL +0 -0
- {maps4fs-1.8.175.dist-info → maps4fs-1.8.176.dist-info}/top_level.txt +0 -0
maps4fs/__init__.py
CHANGED
@@ -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.
|
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
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
685
|
+

|
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
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
maps4fs/__init__.py,sha256=
|
1
|
+
maps4fs/__init__.py,sha256=Jq1Zp0vSkv-beVXfebt_0ELxlrV3ZJX4cT4oaCFda_0,1365
|
2
2
|
maps4fs/logger.py,sha256=B-NEYpMjPAAqlV4VpfTi6nbBFnEABVtQOaYe6nMpidg,1489
|
3
3
|
maps4fs/generator/__init__.py,sha256=zZMLEkGzb4z0xql650gOtGSvcgX58DnJ2yN3vC2daRk,43
|
4
4
|
maps4fs/generator/dem.py,sha256=oLN02bWNax73HzFsseRBOV47Azl_1L7qdrzuxHh4i_c,11886
|
@@ -21,6 +21,7 @@ maps4fs/generator/component/base/component_xml.py,sha256=6OO1dKoceO1ACk7-k1oGtnk
|
|
21
21
|
maps4fs/generator/dtm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
22
22
|
maps4fs/generator/dtm/bavaria.py,sha256=7njrEvSCYAC8ZVyvS-_84iXHhWA0oHKrEqSzxdnZuGs,4293
|
23
23
|
maps4fs/generator/dtm/canada.py,sha256=lYONwm6aNX5cjVggR3AiZZF9dlCDAWg0M8RMaObog8s,1288
|
24
|
+
maps4fs/generator/dtm/denmark.py,sha256=GMB9PPxXth6V1v3XuURVWVabJf4xlr158bKfeIIisek,1476
|
24
25
|
maps4fs/generator/dtm/dtm.py,sha256=L824mwmd_cNTujwWBsRg7RZLq9KEXf0-xIzKx8M3y1Q,16872
|
25
26
|
maps4fs/generator/dtm/england.py,sha256=YyCYwnNUJuBeeMNUozfKIj_yNjHpGeuH1Mz0NiAJL-U,1122
|
26
27
|
maps4fs/generator/dtm/finland.py,sha256=Chi3-3sanLIYpipjtPpTu9tqnL3DYcnygSDCPm1s24c,1753
|
@@ -42,8 +43,8 @@ maps4fs/toolbox/__init__.py,sha256=zZMLEkGzb4z0xql650gOtGSvcgX58DnJ2yN3vC2daRk,4
|
|
42
43
|
maps4fs/toolbox/background.py,sha256=RclEqxEWLbMxuEkkegQP8jybzugwQ1_R3rdfDe0s21U,2104
|
43
44
|
maps4fs/toolbox/custom_osm.py,sha256=X6ZlPqiOhNjkmdD_qVroIfdOl9Rb90cDwVSLDVYgx80,1892
|
44
45
|
maps4fs/toolbox/dem.py,sha256=z9IPFNmYbjiigb3t02ZenI3Mo8odd19c5MZbjDEovTo,3525
|
45
|
-
maps4fs-1.8.
|
46
|
-
maps4fs-1.8.
|
47
|
-
maps4fs-1.8.
|
48
|
-
maps4fs-1.8.
|
49
|
-
maps4fs-1.8.
|
46
|
+
maps4fs-1.8.176.dist-info/LICENSE.md,sha256=pTKD_oUexcn-yccFCTrMeLkZy0ifLRa-VNcDLqLZaIw,10749
|
47
|
+
maps4fs-1.8.176.dist-info/METADATA,sha256=I9-DP2FK54RysOcG-xoJRdB9zaVTVYx83ATpxXClKpo,44023
|
48
|
+
maps4fs-1.8.176.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
49
|
+
maps4fs-1.8.176.dist-info/top_level.txt,sha256=Ue9DSRlejRQRCaJueB0uLcKrWwsEq9zezfv5dI5mV1M,8
|
50
|
+
maps4fs-1.8.176.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|