I have a large set of data I need to find out if are within a certain polygonal shape for my research. I have found some code and have tried to adapt it to my own needs. It runs