maps4fs 2.9.33__py3-none-any.whl → 2.9.34__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.

Potentially problematic release.


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

@@ -7,7 +7,6 @@ import os
7
7
  import shutil
8
8
  import warnings
9
9
  from collections import defaultdict
10
- from time import perf_counter
11
10
  from typing import Any, Callable, Generator, Optional
12
11
 
13
12
  import cv2
@@ -816,7 +815,6 @@ class Texture(ImageComponent):
816
815
 
817
816
  ox_settings.use_cache = self.map.texture_settings.use_cache
818
817
  ox_settings.requests_timeout = 30
819
- ox_settings.log_console = True
820
818
 
821
819
  objects = self.fetch_osm_data(tags)
822
820
  if objects is None or objects.empty:
@@ -845,14 +843,7 @@ class Texture(ImageComponent):
845
843
  warnings.simplefilter("ignore", FutureWarning)
846
844
  objects = ox.features_from_xml(self.map.custom_osm, tags=tags)
847
845
  else:
848
- ox_start_time = perf_counter()
849
- self.logger.info("------------------------------------------")
850
- self.logger.info("Fetching OSM data for tags: %s.", tags)
851
846
  objects = ox.features_from_bbox(bbox=self.new_bbox, tags=tags)
852
- self.logger.info("Fetched %s objects for tags: %s.", len(objects), tags)
853
- ox_end_time = perf_counter()
854
- self.logger.info("OSM data fetch time: %.2f seconds.", ox_end_time - ox_start_time)
855
- self.logger.info("------------------------------------------")
856
847
  except Exception as e:
857
848
  self.logger.debug("Error fetching objects for tags: %s. Error: %s.", tags, e)
858
849
  return None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maps4fs
3
- Version: 2.9.33
3
+ Version: 2.9.34
4
4
  Summary: Generate map templates for Farming Simulator from real places.
5
5
  Author-email: iwatkot <iwatkot@gmail.com>
6
6
  License: GNU Affero General Public License v3.0
@@ -18,14 +18,14 @@ maps4fs/generator/component/grle.py,sha256=FAcGmG7yq0icOElRoO4QMsVisZMsNrLhfNSWv
18
18
  maps4fs/generator/component/i3d.py,sha256=qB18jQWfWjlTiaZ4fHd16vv359hN2YHRLzGTZuJnbbU,27166
19
19
  maps4fs/generator/component/layer.py,sha256=-MHnIXyJ7Xth9wOcjJCX-XkXBIYYv23lRRGbQ0XlHdU,7602
20
20
  maps4fs/generator/component/satellite.py,sha256=1bPqd8JqAPqU0tEI9m-iuljMW9hXqlaCIxvq7kdpMY0,5219
21
- maps4fs/generator/component/texture.py,sha256=tr0hyTdQew388FbqeK_gCEdzMJ9mX_5NPLkNN6uCg24,39108
21
+ maps4fs/generator/component/texture.py,sha256=pmX8KE96dJAwzhnOe_ed-1In6sOLXs8-qdJ0aPc-ePM,38526
22
22
  maps4fs/generator/component/base/__init__.py,sha256=zZMLEkGzb4z0xql650gOtGSvcgX58DnJ2yN3vC2daRk,43
23
23
  maps4fs/generator/component/base/component.py,sha256=-7H3donrH19f0_rivNyI3fgLsiZkntXfGywEx4tOnM4,23924
24
24
  maps4fs/generator/component/base/component_image.py,sha256=GXFkEFARNRkWkDiGSjvU4WX6f_8s6R1t2ZYqZflv1jk,9626
25
25
  maps4fs/generator/component/base/component_mesh.py,sha256=2wGe_-wAZVRljMKzzVJ8jdzIETWg7LjxGj8A3inH5eI,25550
26
26
  maps4fs/generator/component/base/component_xml.py,sha256=MT-VhU2dEckLFxAgmxg6V3gnv11di_94Qq6atfpOLdc,5342
27
- maps4fs-2.9.33.dist-info/licenses/LICENSE.md,sha256=Ptw8AkqJ60c4tRts6yuqGP_8B0dxwOGmJsp6YJ8dKqM,34328
28
- maps4fs-2.9.33.dist-info/METADATA,sha256=WV4lKidF0KkY8h1Nx4sqGGq-jy6dvsTAX7vmZX3T0HI,10213
29
- maps4fs-2.9.33.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
30
- maps4fs-2.9.33.dist-info/top_level.txt,sha256=Ue9DSRlejRQRCaJueB0uLcKrWwsEq9zezfv5dI5mV1M,8
31
- maps4fs-2.9.33.dist-info/RECORD,,
27
+ maps4fs-2.9.34.dist-info/licenses/LICENSE.md,sha256=Ptw8AkqJ60c4tRts6yuqGP_8B0dxwOGmJsp6YJ8dKqM,34328
28
+ maps4fs-2.9.34.dist-info/METADATA,sha256=N8RjSki41ECPZSKqYO5R97NgpGKcpeonB6SyWKI_m8c,10213
29
+ maps4fs-2.9.34.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
30
+ maps4fs-2.9.34.dist-info/top_level.txt,sha256=Ue9DSRlejRQRCaJueB0uLcKrWwsEq9zezfv5dI5mV1M,8
31
+ maps4fs-2.9.34.dist-info/RECORD,,