-
-
Save pelson/9785576 to your computer and use it in GitHub Desktop.
Excellent. I'm excited to put this to the test for something I'm working on!
Is it possible to add the method .intersects to this too? For my use case, I need the points that intersects with the border too, not "just" points within. This solution is the fastest by far in terms of time, and easiest in terms of syntax, so it would be really nice if it could use intersect too.
This is quite old now. I think geopandas has done a great job of vectorisation of this kind of predicate, and that would be my first point-of-call if I was looking to do this today.
This is quite old now. I think geopandas has done a great job of vectorisation of this kind of predicate, and that would be my first point-of-call if I was looking to do this today.
Hi, can you direct me about how to get a geopandas based solution. I am not familier with geopandas and don't know how to do it there.
Thanks for the code!
Just found out that my Python 3.7.0 requires
'NAME'
to be uppercase in