Skip to main content
Question

Combine the lines if the line is smaller than certain amount


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,

4 replies

danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • 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
  • April 16, 2019
danilo_fme wrote:

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

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
  • April 17, 2019

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


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