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

@@ -706,7 +706,11 @@ class Texture(Component):
706
706
  Generator[np.ndarray, None, None]: Numpy array of polygon points.
707
707
  """
708
708
  for _, obj in objects_utm.iterrows():
709
- polygon = self._to_polygon(obj, width)
709
+ try:
710
+ polygon = self._to_polygon(obj, width)
711
+ except Exception as e: # pylint: disable=W0703
712
+ self.logger.warning("Error converting object to polygon: %s.", e)
713
+ continue
710
714
  if polygon is None:
711
715
  continue
712
716
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: maps4fs
3
- Version: 1.4.7
3
+ Version: 1.4.8
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
@@ -10,12 +10,12 @@ maps4fs/generator/grle.py,sha256=onhZovvRtireDfw7wEOL0CZmOmoVzRPY-R4TlvbOUMI,175
10
10
  maps4fs/generator/i3d.py,sha256=qeZYqfuhbhRPlSAuQHXaq6RmIO7314oMN68Ivebp1YQ,24786
11
11
  maps4fs/generator/map.py,sha256=13RazKCPqKk5BDDdjQacoebP2H9orv12Jm_IA_JUmec,11721
12
12
  maps4fs/generator/qgis.py,sha256=Es8hLuqN_KH8lDfnJE6He2rWYbAKJ3RGPn-o87S6CPI,6116
13
- maps4fs/generator/texture.py,sha256=geS99ddVG3t-5nX9LPQQ1lJ77Lt2uVV-xQZAP-8KL84,30672
13
+ maps4fs/generator/texture.py,sha256=-gfqM2ZiqeZ17NA_ZDpBhkgE0mBhUQFKu0paQqoOmXs,30860
14
14
  maps4fs/toolbox/__init__.py,sha256=zZMLEkGzb4z0xql650gOtGSvcgX58DnJ2yN3vC2daRk,43
15
15
  maps4fs/toolbox/background.py,sha256=9BXWNqs_n3HgqDiPztWylgYk_QM4YgBpe6_ZNQAWtSc,2154
16
16
  maps4fs/toolbox/dem.py,sha256=z9IPFNmYbjiigb3t02ZenI3Mo8odd19c5MZbjDEovTo,3525
17
- maps4fs-1.4.7.dist-info/LICENSE.md,sha256=pTKD_oUexcn-yccFCTrMeLkZy0ifLRa-VNcDLqLZaIw,10749
18
- maps4fs-1.4.7.dist-info/METADATA,sha256=T3U8-UtvdUZGRzUR6MWLTvDd5U_oNNsIEmq6c4kxFFs,32421
19
- maps4fs-1.4.7.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
20
- maps4fs-1.4.7.dist-info/top_level.txt,sha256=Ue9DSRlejRQRCaJueB0uLcKrWwsEq9zezfv5dI5mV1M,8
21
- maps4fs-1.4.7.dist-info/RECORD,,
17
+ maps4fs-1.4.8.dist-info/LICENSE.md,sha256=pTKD_oUexcn-yccFCTrMeLkZy0ifLRa-VNcDLqLZaIw,10749
18
+ maps4fs-1.4.8.dist-info/METADATA,sha256=liNcbsXemVkgnJ92Qwfcf1Ic0BzkVaRDD3CIY2B6lU0,32421
19
+ maps4fs-1.4.8.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
20
+ maps4fs-1.4.8.dist-info/top_level.txt,sha256=Ue9DSRlejRQRCaJueB0uLcKrWwsEq9zezfv5dI5mV1M,8
21
+ maps4fs-1.4.8.dist-info/RECORD,,