Since ESRI put the customer number and phone number as protection from customers in I cannot find any other way...
Using ArcGIS in version 10.3 and retrieving the count for selected features in a feature class utilizing
, the minimum number delivered back is 1.
To illustrate the problem a bit...
Figure 1: Two polygon feature classes, where the circle is a buffer created around a point. The question at hand is, if there is any polygon from the other feature class intersecting with the buffer. As visible in the image, there is no intersecting feature.
Figure 2: The attempt to find intersecting features, using the SelectLayerByLocation function. No feature is selected, but when requesting the number of objects through the Describe function, the length of the list is one and not zero! The length of the list is not correct since the Describe function delivers an empty string back in case there is no intersecting feature.
Figure 4: Again, the SelectLayerByLocation function used to select intersecting features, and the Describe function utilized to retrieve the number of intersecting features. While the length of the list is the same, the list item itself is holding this time the correct FID of the intersecting feature.
Not really nice, when you want to exclude buffers that do not have any intersecting features in another feature class, and/or want to work with buffers that have only a single object intersecting.
Finally: The system to submit bug reports is flawed. Why does not have any user the possibility to submit bug reports, no matter if you have a customer number at hand or not? My technical support is not available, due to working hours, and I will not invest the time to find out the customer number and the phone number connected to the account to contact ESRI via a 'Support Request Form'.
Just my fifty cents,