Fix polygon parser bug
This commit is contained in:
parent
0aff86bc57
commit
77804f5e1d
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ def parse_poly(text: str):
|
||||||
|
|
||||||
points.append([parse_lon(lon), parse_lat(lat)])
|
points.append([parse_lon(lon), parse_lat(lat)])
|
||||||
|
|
||||||
points.append([parse_lon(coords[0]), parse_lat(coords[1])])
|
points.append([parse_lon(coords[1]), parse_lat(coords[0])])
|
||||||
|
|
||||||
return shapely.Polygon(points)
|
return shapely.Polygon(points)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue