Try shapely.ops.cascaded_union

  >>> q = cascaded_union(MultiPolygon([p2, p3, p4, p5]))
  >>> q
  <shapely.geometry.polygon.Polygon object at 0x16584fb0>

I used descartes.patch.PolygonPatch to render ``q`` with matplotlib
and see the thin donut shape you're looking for. I haven't tried
Polygon.union yet, but you should almost always be using
cascaded_union instead.

Cheers,

On Wed, Jun 9, 2010 at 2:38 PM, Emmanuel Lambert
<[email protected]> wrote:
> Hello Sean
>
> Attached is an archive with the WKT-files.
>
> thanks in advance for looking into this.
>
> Emmanuel
>

-- 
Sean
_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community

Reply via email to