You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm also seeing the same issue when working with real world coords:
raise ValueError('{} is not a WKT string'.format(wkt))
ValueError: POLYGON ((-6.328125 55.24155203565252,-5.888671875 55.32914440840507,-5.592041015625 55.29162848682989,-5.47119140625 55.70235509327093,...
OK
wkt = 'POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10))'
print(convert.wkt_to_geojson(wkt))
OK
wkt = 'POLYGON ((30.5 10.3, -40.5 40.1, 20.5 40.3, 10.5 20.6, 30.5 10.3))'
print(convert.wkt_to_geojson(wkt))
KO
wkt = 'POLYGON ((30.5 10.3, -40.5 -40.1, 20.5 40.3, 10.5 20.6, 30.5 10.3))'
print(convert.wkt_to_geojson(wkt))
ValueError: POLYGON ((30.5 10.3, -40.5 -40.1, 20.5 40.3, 10.5 20.6, 30.5 10.3)) is not a WKT string
The text was updated successfully, but these errors were encountered: