maps4fs 1.8.12__py3-none-any.whl → 1.8.13__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/canada.py +37 -0
- {maps4fs-1.8.12.dist-info → maps4fs-1.8.13.dist-info}/METADATA +1 -1
- {maps4fs-1.8.12.dist-info → maps4fs-1.8.13.dist-info}/RECORD +7 -6
- {maps4fs-1.8.12.dist-info → maps4fs-1.8.13.dist-info}/LICENSE.md +0 -0
- {maps4fs-1.8.12.dist-info → maps4fs-1.8.13.dist-info}/WHEEL +0 -0
- {maps4fs-1.8.12.dist-info → maps4fs-1.8.13.dist-info}/top_level.txt +0 -0
maps4fs/__init__.py
CHANGED
@@ -7,6 +7,7 @@ from maps4fs.generator.dtm.bavaria import BavariaProvider
|
|
7
7
|
from maps4fs.generator.dtm.niedersachsen import NiedersachsenProvider
|
8
8
|
from maps4fs.generator.dtm.hessen import HessenProvider
|
9
9
|
from maps4fs.generator.dtm.england import England1MProvider
|
10
|
+
from maps4fs.generator.dtm.canada import CanadaProvider
|
10
11
|
from maps4fs.generator.game import Game
|
11
12
|
from maps4fs.generator.map import Map
|
12
13
|
from maps4fs.generator.settings import (
|
@@ -0,0 +1,37 @@
|
|
1
|
+
"""This module contains provider of Canada data."""
|
2
|
+
|
3
|
+
from maps4fs.generator.dtm.base.wcs import WCSProvider
|
4
|
+
from maps4fs.generator.dtm.dtm import DTMProvider
|
5
|
+
|
6
|
+
|
7
|
+
class CanadaProvider(WCSProvider, DTMProvider):
|
8
|
+
"""Provider of Canada data."""
|
9
|
+
|
10
|
+
_code = "canada"
|
11
|
+
_name = "Canada HRDEM"
|
12
|
+
_region = "CN"
|
13
|
+
_icon = "🇨🇦"
|
14
|
+
_resolution = 1
|
15
|
+
_author = "[kbrandwijk](https://github.com/kbrandwijk)"
|
16
|
+
_is_community = True
|
17
|
+
_is_base = False
|
18
|
+
_extents = (76.49491845750764, 33.66564101989275, -26.69697497450798, -157.7322455868316)
|
19
|
+
_instructions = (
|
20
|
+
"HRDEM coverage for Canada is limited. Make sure to check the "
|
21
|
+
"[coverage map](https://geo.ca/imagery/high-resolution-digital"
|
22
|
+
"-elevation-model-hrdem-canelevation-series/)."
|
23
|
+
)
|
24
|
+
|
25
|
+
_url = "https://datacube.services.geo.ca/ows/elevation"
|
26
|
+
_wcs_version = "1.1.1"
|
27
|
+
_source_crs = "EPSG:3979"
|
28
|
+
_tile_size = 1000
|
29
|
+
|
30
|
+
def get_wcs_parameters(self, tile: tuple[float, float, float, float]) -> dict:
|
31
|
+
return {
|
32
|
+
"identifier": "dtm",
|
33
|
+
"gridbasecrs": "urn:ogc:def:crs:EPSG::3979",
|
34
|
+
"boundingbox": f"{tile[1]},{tile[0]},{tile[3]},{tile[2]},urn:ogc:def:crs:EPSG::3979",
|
35
|
+
"format": "image/geotiff",
|
36
|
+
"timeout": 600,
|
37
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
maps4fs/__init__.py,sha256=
|
1
|
+
maps4fs/__init__.py,sha256=j-7p1Qew6slQDJZ2zib0a9MbvhdPJ_R6ISY4Lmlvwms,909
|
2
2
|
maps4fs/logger.py,sha256=B-NEYpMjPAAqlV4VpfTi6nbBFnEABVtQOaYe6nMpidg,1489
|
3
3
|
maps4fs/generator/__init__.py,sha256=zZMLEkGzb4z0xql650gOtGSvcgX58DnJ2yN3vC2daRk,43
|
4
4
|
maps4fs/generator/background.py,sha256=p6rciVwGXgmx7o_LoeugjqUY6JLqVdaID9vt33W9Seg,24774
|
@@ -18,6 +18,7 @@ maps4fs/generator/component/base/component.py,sha256=U3XJae0GUvHN08psv2j24Y4PBAA
|
|
18
18
|
maps4fs/generator/component/base/component_xml.py,sha256=DLSUobR0GtVCdBWOCwZ9VLJv5vY9da5l4fzp86W8QhE,3446
|
19
19
|
maps4fs/generator/dtm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
20
20
|
maps4fs/generator/dtm/bavaria.py,sha256=7njrEvSCYAC8ZVyvS-_84iXHhWA0oHKrEqSzxdnZuGs,4293
|
21
|
+
maps4fs/generator/dtm/canada.py,sha256=lYONwm6aNX5cjVggR3AiZZF9dlCDAWg0M8RMaObog8s,1288
|
21
22
|
maps4fs/generator/dtm/dtm.py,sha256=tbYPlpDbFS374ywHrYIJwRflRRzGzi7M5mmcVqwCYBw,22880
|
22
23
|
maps4fs/generator/dtm/england.py,sha256=YyCYwnNUJuBeeMNUozfKIj_yNjHpGeuH1Mz0NiAJL-U,1122
|
23
24
|
maps4fs/generator/dtm/hessen.py,sha256=dYu7TUXICaFMI1sc2l1i3ZDdM5fecXkj5jcz5ZuXIOw,964
|
@@ -32,8 +33,8 @@ maps4fs/toolbox/__init__.py,sha256=zZMLEkGzb4z0xql650gOtGSvcgX58DnJ2yN3vC2daRk,4
|
|
32
33
|
maps4fs/toolbox/background.py,sha256=ym9a6TjZpRC2ButAUaQ_rwhOEuAo2ScwUQsXdJrV_Hs,2111
|
33
34
|
maps4fs/toolbox/custom_osm.py,sha256=X6ZlPqiOhNjkmdD_qVroIfdOl9Rb90cDwVSLDVYgx80,1892
|
34
35
|
maps4fs/toolbox/dem.py,sha256=z9IPFNmYbjiigb3t02ZenI3Mo8odd19c5MZbjDEovTo,3525
|
35
|
-
maps4fs-1.8.
|
36
|
-
maps4fs-1.8.
|
37
|
-
maps4fs-1.8.
|
38
|
-
maps4fs-1.8.
|
39
|
-
maps4fs-1.8.
|
36
|
+
maps4fs-1.8.13.dist-info/LICENSE.md,sha256=pTKD_oUexcn-yccFCTrMeLkZy0ifLRa-VNcDLqLZaIw,10749
|
37
|
+
maps4fs-1.8.13.dist-info/METADATA,sha256=1LYrpLhWYaCMzExdg4c8VvuiLH1qHKiwp0FvEGqgeCk,42156
|
38
|
+
maps4fs-1.8.13.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
39
|
+
maps4fs-1.8.13.dist-info/top_level.txt,sha256=Ue9DSRlejRQRCaJueB0uLcKrWwsEq9zezfv5dI5mV1M,8
|
40
|
+
maps4fs-1.8.13.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|