I am having a weird issue with extracting items with same z-coordinates.
In this example, I have more than four pieces having their centroid having the same z value but it’s not coming out to be right.
The tagging of centroids with respect to their z values is coming fine but the extraction isn’t happneing properly. What’s going wrong here and how to solve it?