Ugly hack on polygon discontinuity
This commit is contained in:
parent
de2e3aed9b
commit
12442ad084
1 changed files with 1 additions and 3 deletions
|
@ -78,9 +78,7 @@ def each_poly(parts: list[str]):
|
|||
|
||||
for part in parts:
|
||||
if part == '99999999':
|
||||
points.append(points[0])
|
||||
yield shapely.Polygon(points)
|
||||
points = list()
|
||||
continue
|
||||
else:
|
||||
points.append(parse_coord(part))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue