Skip to main content

Hello,

I wanna please You for advice with generalization of lines.

My situation is following: I got big amount of lines (waterlines) after schemamapper, where many nodes between lines were purposedly lost. Now, I need to merge waterlines according to their attribute values and their end node touch. It will be merged till touch of node...

How could I solve it in the simpliest way please?

Thank You very much for tips!

Lubo

I'm not sure I completely understand your question, but maybe the LineJoiner is what you're looking for.


I'm not sure I completely understand your question, but maybe the LineJoiner is what you're looking for.

Yes, thanks for the tip. But how can I continue if I need to keep all input atrributes please? Because Linejoiner tools offers me only group by option, but no possibility to keep input attributes...


Yes, thanks for the tip. But how can I continue if I need to keep all input atrributes please? Because Linejoiner tools offers me only group by option, but no possibility to keep input attributes...

Look at the "Generate list" option in the LineJoiner, it will store all the attributes from the joined elements.

Or use the Group By, the LineJoiner will preserve all attributes specified there.


Look at the "Generate list" option in the LineJoiner, it will store all the attributes from the joined elements.

Or use the Group By, the LineJoiner will preserve all attributes specified there.

"Generate list" equals "List name"? And I checked documentation of Linejoiner and I cannot find in my workspace possibility "Break accross group"? How can I reach this function please?


"Generate list" equals "List name"? And I checked documentation of Linejoiner and I cannot find in my workspace possibility "Break accross group"? How can I reach this function please?

I guess that your workspace contains an old version of the LineJoiner, created with an older version of FME. That would explain why the parameters do not match the most current documentation.

Try upgrading the LineJoiner by right-clicking and selecting "Upgrade transformer".


Unfortunately, transformer doentt offer me upgrade 😞 I have version 2016.0.0.0, please check my printscreen @david_r


Unfortunately, transformer doentt offer me upgrade 😞 I have version 2016.0.0.0, please check my printscreen @david_r

Maybe try deleting the current LineJoiner and creating it again. The parameter dialog looks like this in FME 2016.1.0.1

As you can see it is pretty different.


Maybe try deleting the current LineJoiner and creating it again. The parameter dialog looks like this in FME 2016.1.0.1

As you can see it is pretty different.

I made it, but it still shows me the same dialogue :-(


I made it, but it still shows me the same dialogue :-(

Guess that's the way it looks in FME 2016.0 then. No problems, the functionality should be mostly the same.

Specify the List Name attribute name and look in the Inspector what happens.


Guess that's the way it looks in FME 2016.0 then. No problems, the functionality should be mostly the same.

Specify the List Name attribute name and look in the Inspector what happens.

Yeah, it works, thanks a lot! 🙂 Unfortunately, i have one more question. I have big amount of line features and I want to process spatial analyze with another data point source. I want to join lines, which touch together, into one feature and then create from them polygons. After that I can analyze if point is in area of polygon.

For example arrow on pic below - Now, it has 4 elements, I wanna join them into one and then create polygon around arrow. I have thousands similar objects. How can I continue to progress please?


Guess that's the way it looks in FME 2016.0 then. No problems, the functionality should be mostly the same.

Specify the List Name attribute name and look in the Inspector what happens.

And one more question to Linejoiner - is there any possibility to substitute "Break across group" parameter? Because I´m in situation when I have many lines in one source and many points features in second data source... I wanna to join lines according to attribute values but simultaneously lines should respect location of point features to get topologically clean dataset. How can I continue please?


Guess that's the way it looks in FME 2016.0 then. No problems, the functionality should be mostly the same.

Specify the List Name attribute name and look in the Inspector what happens.

The LineJoiner probably can't do everything for you, it will probably be necessary to use several transformers, all depending on the data.

To break lines at points, look at the Intersector or the PointOnLineOverlayer.

The TopologyBuilder might also be helpful to detect arrows (hint: analyze node connectivity).


@david_r Thank You so much for tips... I think that it can work in my case :-)


Reply