On Tue, Jun 8, 2010 at 5:14 PM, Emmanuel Lambert
<[email protected]> wrote:
>
> Hi,
>
> When I take the union of the 4 polygons shown in pictures
> "polygon_PPLAYER_WG-INL_1.png" to "polygon_PPLAYER_WG-INL_4.png",
> Shapely wrongly creates a filled disk (see "result_of_union.png").
>
> Is this a bug, or am I doing something wrong?
>
> I expect a circle path with a certain width, not a full disk.
>
> (please ignore the color differences in the pictures attached).
>
> I am using the following code :
>
> #create new polygon
> p = Polygon(pts)
> #make union with already existing polygon
> if (not hasattr(self,'polygon_union')):
>    self.polygon_union = p
> else:
>    self.polygon_union = self.polygon_union.union(p)
>
> This snippet is executed 4 times for each of the pieces...
>
> Please advice...
>
> thanks.
> Emmanuel Lambert
>

Hi Emmanuel,

Can you provide the points (in WKT or Python code) of the 4 polygon
pieces? If so, I will try to reproduce this.

Cheers,

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

Reply via email to