Skip to main content
Question

Combine the lines if the line is smaller than certain amount

  • April 16, 2019
  • 4 replies
  • 65 views

jugoslaviaa
Enthusiast
Forum|alt.badge.img+6

Hi all,

I have street centerline dataset, In the datasets, there are some lines that smaller than 80 feet. I would like to combine those small lines with adjacent centerline. However, I could not find a way how i can use line combiner based on such condition.

The line in the image is 70 feet so i would like to combine it either the lines behind or ahead.

 

Any idea? Thanks in advance.

 

Best,

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.

4 replies

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • April 16, 2019

Hi @jugoslaviaa

 

Inside the transformer LineCombiner there is the option Combine On Attributes:

Did you try this option?

 

Thanks,

Danilo


jugoslaviaa
Enthusiast
Forum|alt.badge.img+6
  • Author
  • Enthusiast
  • 89 replies
  • April 16, 2019

Hi @jugoslaviaa

 

Inside the transformer LineCombiner there is the option Combine On Attributes:

Did you try this option?

 

Thanks,

Danilo

I need to combine a line with neighbouring line if _length is smaller than 80 feets. It seems to be to this parameter allows combine if the length of two lines are the same. Just added a picture.

Forum|alt.badge.img
  • 97 replies
  • April 16, 2019

you can use Aggregator and group by name, then use Deaggregator (that will give you a prat_number).

Then use tester (if the length is less than 80 feet : change the part_number to part_number minus 1)

after that you can combine lines using group by name and part_number.


jugoslaviaa
Enthusiast
Forum|alt.badge.img+6
  • Author
  • Enthusiast
  • 89 replies
  • April 17, 2019

I have solved the problem with combination of Tester, NeighborFinder and LineCombiner. Thanks for the answers.