Skip to main content
Solved

Hi guys. I need to add the lengths of all the parallel lines in an DWG file using FME. I used the FuzzyParallelLineFinder to try and accomplish this. After using a Tester to filter out all the "Attribute is Missing" results I am stuck.


It appears I now need to add all the _match_id(s) with their correlating unique _line_id by length.. Any tips on how to do this?

 

Thanks in advance,

 

Fred

Best answer by daveatsafe

Hi @fredtaylor​ ,

One way might be to use an AttributeCreator to multiply the length of the line by the match_overlap to get a match length, then use an Aggregator to group by the match_id and sum the match lengths.

View original
Did this help you find an answer to your question?

2 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • Best Answer
  • August 7, 2020

Hi @fredtaylor​ ,

One way might be to use an AttributeCreator to multiply the length of the line by the match_overlap to get a match length, then use an Aggregator to group by the match_id and sum the match lengths.


  • Author
  • August 10, 2020
daveatsafe wrote:

Hi @fredtaylor​ ,

One way might be to use an AttributeCreator to multiply the length of the line by the match_overlap to get a match length, then use an Aggregator to group by the match_id and sum the match lengths.

Thanks Dave! That helped a lot. Cheers


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings