Im new to FME, I can't find the solution to this problem in the knowledge base.
Im trying to count the purple horizontal lines in the picture as following: 5, 10, 15, 25 etc. I think this can be achieved with the counter transformer.
But when the underlying vertical line feature changes the counter has to reset.
Any advice would be of great help.
Best answer by jdh
If the underlying lines do not have a unique ID, use a Counter on them to create one.
Then use a SpatialRelator or SpatialFilter (merge attributes) to assign the lineUID to the hatches.
Then use a Counter on the hatches with the counter name set to the lineUID attribute.
That way the count of each hatch is grouped by each underlying line.
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.