I'm using a version of Solution 2 of the selected answer here to build a new shapefile of all points that fall within a given polygon object (i.e. a clip).
When run against 27K points, it takes about 9 minutes. In arcpy it takes < 10 seconds.
I cant find any documentation on the Clip_analysis() code (is it proprietary?) so I am curious as to how it can execute the checks of 27K so fast?
Is it multi-processed? Is it calling some type of map() on the iterable of points?
arcpy.Clip_analysis()for whatever it is wrapping vs 14 lines of Python usingcsv,shapefileandshapely. I was just curious ifarcpywas processing the points asynchronously. – pstatix Sep 07 '17 at 00:43