maps4fs 1.8.228__py3-none-any.whl → 1.8.229__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/generator/component/background.py +3 -0
- {maps4fs-1.8.228.dist-info → maps4fs-1.8.229.dist-info}/METADATA +1 -1
- {maps4fs-1.8.228.dist-info → maps4fs-1.8.229.dist-info}/RECORD +6 -6
- {maps4fs-1.8.228.dist-info → maps4fs-1.8.229.dist-info}/LICENSE.md +0 -0
- {maps4fs-1.8.228.dist-info → maps4fs-1.8.229.dist-info}/WHEEL +0 -0
- {maps4fs-1.8.228.dist-info → maps4fs-1.8.229.dist-info}/top_level.txt +0 -0
@@ -402,6 +402,9 @@ class Background(MeshComponent, ImageComponent):
|
|
402
402
|
if not self.water_resources_path:
|
403
403
|
self.logger.warning("Water resources texture not found.")
|
404
404
|
return
|
405
|
+
if not os.path.isfile(self.water_resources_path):
|
406
|
+
self.logger.warning("Water resources texture was not generated, skipping subtraction.")
|
407
|
+
return
|
405
408
|
|
406
409
|
water_resources_image = cv2.imread(self.water_resources_path, cv2.IMREAD_UNCHANGED)
|
407
410
|
dem_image = cv2.imread(self.output_path, cv2.IMREAD_UNCHANGED)
|
@@ -8,7 +8,7 @@ maps4fs/generator/qgis.py,sha256=Es8hLuqN_KH8lDfnJE6He2rWYbAKJ3RGPn-o87S6CPI,611
|
|
8
8
|
maps4fs/generator/settings.py,sha256=d3NaMpyFh-IZWtHV2UQMMqUfuPP76lv7mIN2d7mORqA,6747
|
9
9
|
maps4fs/generator/statistics.py,sha256=JfhiGDZf2-VoWZbL-Kikzv4_DqerYwKcseccVL9qzXo,1783
|
10
10
|
maps4fs/generator/component/__init__.py,sha256=s01yVVVi8R2xxNvflu2D6wTd9I_g73AMM2x7vAC7GX4,490
|
11
|
-
maps4fs/generator/component/background.py,sha256=
|
11
|
+
maps4fs/generator/component/background.py,sha256=7YkSFrbPHN_dTh4xB1lM60mloLJXOdXZw19T0Gs4x1k,18971
|
12
12
|
maps4fs/generator/component/config.py,sha256=RitKgFDZPzjA1fi8GcEi1na75qqaueUvpcITHjBvCXc,3674
|
13
13
|
maps4fs/generator/component/grle.py,sha256=kCx00SJdYEDr0tcHFvHC99928e9Eke2t_LwNxkqfvBg,18984
|
14
14
|
maps4fs/generator/component/i3d.py,sha256=tUvN-nA0Zl-HMplvWJSuHI22aUSMZQqXMXYJFPnhnug,20146
|
@@ -53,8 +53,8 @@ maps4fs/toolbox/__init__.py,sha256=zZMLEkGzb4z0xql650gOtGSvcgX58DnJ2yN3vC2daRk,4
|
|
53
53
|
maps4fs/toolbox/background.py,sha256=RclEqxEWLbMxuEkkegQP8jybzugwQ1_R3rdfDe0s21U,2104
|
54
54
|
maps4fs/toolbox/custom_osm.py,sha256=X6ZlPqiOhNjkmdD_qVroIfdOl9Rb90cDwVSLDVYgx80,1892
|
55
55
|
maps4fs/toolbox/dem.py,sha256=z9IPFNmYbjiigb3t02ZenI3Mo8odd19c5MZbjDEovTo,3525
|
56
|
-
maps4fs-1.8.
|
57
|
-
maps4fs-1.8.
|
58
|
-
maps4fs-1.8.
|
59
|
-
maps4fs-1.8.
|
60
|
-
maps4fs-1.8.
|
56
|
+
maps4fs-1.8.229.dist-info/LICENSE.md,sha256=pTKD_oUexcn-yccFCTrMeLkZy0ifLRa-VNcDLqLZaIw,10749
|
57
|
+
maps4fs-1.8.229.dist-info/METADATA,sha256=stdFrrXDKGXfH9ei3nd71zN1LbF1k_vK4HVfT2PYmB0,45770
|
58
|
+
maps4fs-1.8.229.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
59
|
+
maps4fs-1.8.229.dist-info/top_level.txt,sha256=Ue9DSRlejRQRCaJueB0uLcKrWwsEq9zezfv5dI5mV1M,8
|
60
|
+
maps4fs-1.8.229.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|