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.
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
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.