Hi All I am trying to use shapely to fix an invalid polygon with a massive bowtie:
import shapely from shapely.wkt import loads p1 = loads('POLYGON((0 0, 2 2, 2 0, 0 2 ,0 0))') p2 = p1.buffer(0) p2.wkt returns 'POLYGON ((1 1, 2 2, 2 0, 1 1))' I am losing half the original polygon. How can I get a full valid polygon back? Many thanks, Robert Sanson This email and any attachments are confidential and intended solely for the addressee(s). If you are not the intended recipient, please notify us immediately and then delete this email from your system. This message has been scanned for Malware and Viruses by Websense Hosted Security. www.websense.com _______________________________________________ Community mailing list Community@lists.gispython.org http://lists.gispython.org/mailman/listinfo/community