Tabulate Intersection on multiprocessing

المشرف العام

Administrator
طاقم الإدارة
I got this script from Duncan Hornby to clip polygons on multiprocessing. I would like to adapt it to make a Tabular Intersection.

I thought it would be an easy task since the idea is quite similar -- select each polygon and find the intersections. Obviously it's not.

I tried replacing:

arcpy.Clip_analysis(tobeclipped,"clipper_" + str(oid),outFC)with

arcpy.TabulateIntersection_analysis(clipper, oid, tobeclipped, outFC, "mmsi")where clipper = my polygons feature class (500000) and tobeclipped = my lines feature class (3000 lines).

I would like to test how fast Tabulate Intersection is on multiprocessing. The previous tests I made without multiprocessing revealed that this operation would take days.



أكثر...
 
أعلى