Make parse_coord() return shapely.Point

This commit is contained in:
XANTRONIX 2025-03-22 14:17:30 -04:00
parent afad8898c7
commit b980943b10

View file

@ -68,10 +68,8 @@ def parse_coord(coord: str) -> tuple[float, float]:
if lon <= 6100:
lon += 10000
return (
0.01 * -lon,
0.01 * int(coord[0:4])
)
return shapely.Point(0.01 * -lon,
0.01 * int(coord[0:4]))
def each_poly(parts: list[str]):
points = list()