Question

Combine the lines if the line is smaller than certain amount

  • 16 April 2019
  • 4 replies
  • 6 views

Badge +1

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

Userlevel 4
Badge +30

Hi @jugoslaviaa

 

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

Did you try this option?

 

Thanks,

Danilo

Badge +1

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.
Badge

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.

Badge +1

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

Reply