On Thu, Mar 8, 2012 at 10:21 AM, Dharhas Pothina <
dharhas.poth...@twdb.texas.gov> wrote:
>
> + one on this issue. One of the big advantages of the nxutils points in
> poly is that you could pass it a large numpy array of points and get back a
> mask. We found this to be significantly faster than using looping through
> the single point in poly algorithms from packages like shapely. Echoing
> Jorge's question how would we do this using contains_point().
>
>
> - dharhas
>
>
>
> >>> Jorge Scandaliaris <jorgesmbox...@yahoo.es> 3/8/2012 3:33 AM >>>
>
> Benjamin Root <ben.root@...> writes:
>
> <snip>
> >
> > Essentially, you make a Path object using the vertices, and then use its
> > contains_point() method.
> > Ben Root
> >
>
> OK, but given that contains_point works with a *single* point at a time, I
> have
> to call it for all my points which is a bit more cumbersome, or am I
> missing
> something?
>
> Jorge
>
>
>
+1 as well. I just took another look at the Path object and I see no such
function. The lack of this function is a problem for me as well in my
existing apps. In order to deprecate nxutils, this functionality needs to
be added to Path. Otherwise, nxutils *must* be reinstated before the next
release.
Ben Root
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users