Skip to main content
Question

Merge Lines


mr_fme
Enthusiast
Forum|alt.badge.img+9

Hi,

 

I would like to merge the two lines below into a single line, since they have the same ID field number, and the other information is the same, except VARIED, which can be any value, either BBC2 or BBC4.

 

How can I do that?

tb 

Thank´s

 

4 replies

geomancer
Evangelist
Forum|alt.badge.img+50
  • Evangelist
  • September 6, 2023

Hi, if you want to combine line geometries, take a look at the LineCombiner. You can set the attributes that must be identical.

This transformer only works when the line geometries are connected at their start/end points.


geomancer
Evangelist
Forum|alt.badge.img+50
  • Evangelist
  • September 6, 2023

If you want to combine features that have no geometry, you can use a DuplicateFilter to select the feature (with certain attributes) that enters first. Or you can use an Aggregator in 'Attributes Only' mode.


mr_fme
Enthusiast
Forum|alt.badge.img+9
  • Author
  • Enthusiast
  • September 6, 2023
geomancer wrote:

Hi, if you want to combine line geometries, take a look at the LineCombiner. You can set the attributes that must be identical.

This transformer only works when the line geometries are connected at their start/end points.

Sorry. No lines geometry, are rows from excel file


mr_fme
Enthusiast
Forum|alt.badge.img+9
  • Author
  • Enthusiast
  • September 6, 2023
geomancer wrote:

If you want to combine features that have no geometry, you can use a DuplicateFilter to select the feature (with certain attributes) that enters first. Or you can use an Aggregator in 'Attributes Only' mode.

Good


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