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.

  • August 7, 2020
  • 2 replies
  • 54 views

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.

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.

2 replies

daveatsafe
Safer
Forum|alt.badge.img+20
  • 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

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