Answers for "shapely polygon from string"

1

shapely polygon from string

import shapely.wkt

P = shapely.wkt.loads('POLYGON ((51.0 3.0, 51.3 3.61, 51.3 3.0, 51.0 3.0))')
print(P)
Posted by: Guest on April-29-2020

Python Answers by Framework

Browse Popular Code Answers by Language