fix deprecation warning

pull/1803/head
Lex Neva 2023-02-18 16:48:32 -05:00
rodzic be699bf892
commit 7fa3fec534
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -100,7 +100,7 @@ def clamp_path_to_polygon(path, polygon):
if not exit_point.intersects(entry_point):
# Now break the border into pieces using those points.
border = find_border(polygon, exit_point)
border_pieces = border.difference(MultiPolygon((entry_point, exit_point)))
border_pieces = border.difference(MultiPolygon((entry_point, exit_point))).geoms
border_pieces = fix_starting_point(border_pieces)
# Pick the shortest way to get from the exiting to the