Skip to Content

wkt

  1. >>> from shapely.wkt import loads
  2. >>> poly1 = loads('POLYGON ((1 2, 2 5, 6 5, 7 2, 5 1, 1 2))')