I have a set of circles as shown in the picture below, and I wanna count the number of overlapping circles two by two. which means whenever there is overlapping couple of 2 circles there is an overlap to count.
For the example below, the result must be 6.
is there a way to do it ?
Best answer by jdh
I'm assuming you don't want the number of overlaps for a given segment, but rather the unique combination of overlapping pairs.
I didn't quite have time to finish this before the long weekend, but all that really needs to be done, is in the PythonCaller change the print statements in the close method to creating a new feature and adding the attributes.
I'm assuming you don't want the number of overlaps for a given segment, but rather the unique combination of overlapping pairs.
I didn't quite have time to finish this before the long weekend, but all that really needs to be done, is in the PythonCaller change the print statements in the close method to creating a new feature and adding the attributes.
I'm assuming you don't want the number of overlaps for a given segment, but rather the unique combination of overlapping pairs.
I didn't quite have time to finish this before the long weekend, but all that really needs to be done, is in the PythonCaller change the print statements in the close method to creating a new feature and adding the attributes.
Thank you for your answer, I've seen the workspace but i didn't know how to use it properly, i've never used Python in FME nor elsewhere. How can I get the wanted result from it ?
I'm assuming you don't want the number of overlaps for a given segment, but rather the unique combination of overlapping pairs.
I didn't quite have time to finish this before the long weekend, but all that really needs to be done, is in the PythonCaller change the print statements in the close method to creating a new feature and adding the attributes.
I'm assuming you don't want the number of overlaps for a given segment, but rather the unique combination of overlapping pairs.
I didn't quite have time to finish this before the long weekend, but all that really needs to be done, is in the PythonCaller change the print statements in the close method to creating a new feature and adding the attributes.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.