[Community] Ticket 229 - Error Shapely Contains

Sean Gillies sean.gillies at gmail.com
Thu Aug 26 19:24:34 EEST 2010


On Sat, Aug 21, 2010 at 8:37 PM, Luiz Motta <motta.luiz at gmail.com> wrote:
> Hi Devs,
>
> I post the ticket 229, where, i have problem with use contains (shapely
> libray).
>
> I would like receive the suggest for this.
>
> My target is populate the table with all parcels, where, the primary key
> (identifier) is the string "[value-of-x] _ [value-of-y]" of center.
>
> First i calculate center by centroid, if not inside the polygon, i calculate
> by GEOSPointOnSurface.
>
> But i have problem with test polygon contains centroid.
>
> Regards,
> Luiz Motta

Hi Luiz,

Thank you for attaching a script, but I'm unable to reproduce the
problem. See http://trac.gispython.org/lab/ticket/229#comment:1.

Cheers,

-- 
Sean


More information about the Community mailing list