Make parse_coord() return shapely.Point
This commit is contained in:
parent
afad8898c7
commit
b980943b10
1 changed files with 2 additions and 4 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue