I am using ArcMap 10.2.2.
Currently my code looks like this:
count = 0features = arcpy.da.SearchCursor(fc, subtype)for feat in features: if feat == (100161,): count += 1print countThis will just count the number of the feature I am looking for. I want to lessen that number to the amount of features that intersect 5 of the same feature (just a different value).
I was thinking to use arcpy.SelectLayerByLocation(sample * 5), but I am not sure if you can do an intersect selection looking for 5 features.
أكثر...
Currently my code looks like this:
count = 0features = arcpy.da.SearchCursor(fc, subtype)for feat in features: if feat == (100161,): count += 1print countThis will just count the number of the feature I am looking for. I want to lessen that number to the amount of features that intersect 5 of the same feature (just a different value).
I was thinking to use arcpy.SelectLayerByLocation(sample * 5), but I am not sure if you can do an intersect selection looking for 5 features.
أكثر...