Hi Sean, Thanks for your reply.
I am actually interested in the coordinates of the final geometry so I can write them onto a csv file. This would be the last step of the geometry construction, and there should not be any further operations needed, so I will try to write an algorithm for this. Thanks. cheers, anartz On Wed, Jun 24, 2009 at 4:02 PM, Sean Gillies <[email protected]>wrote: > On Jun 24, 2009, at 12:36 AM, Anartz Unamuno wrote: > > > Hi, > > > > Is there a way of asking Shapely (or any other python module) to > > concatenate hole coordinates into the geometry exterior coordinates. > > This way, instead of getting a polygon with holes, I get a simple > > polygon where the holes are in the exterior boundary. Something > > similar to the example attached (left is what I know how to get from > > Shapely, right is what I would like to get) > > > > Thanks > > > > regards, anartz > > > > <example.png>_______________________________________________ > > There's no method in Shapely or GEOS to do this, though you could > write your own algorithm. The cutlines would probably render the > polygons invalid as far as GEOS is concerned, and you wouldn't be able > to perform any spatial operations on them. > > Cheers, > Sean > > -- > Sean Gillies > Software Engineer > Institute for the Study of the Ancient World > New York University > > _______________________________________________ > Community mailing list > [email protected] > http://lists.gispython.org/mailman/listinfo/community >
_______________________________________________ Community mailing list [email protected] http://lists.gispython.org/mailman/listinfo/community
