Looking at the title of your issue, you might consider using a CenterLineReplacer. Often it will give you some shorter lines at the end as well, but those can be cleaned afterwards.
Looking at the title of your issue, you might consider using a CenterLineReplacer. Often it will give you some shorter lines at the end as well, but those can be cleaned afterwards.
@larsatomkeere i tired to use that but it's not working with this. it generates te line with multiple small lines connected to main central line.
@larsatomkeere i tired to use that but it's not working with this. it generates te line with multiple small lines connected to main central line.
If you only want to keep the long lines and continue from there, you could use a deaggregator to extract the smaller lines and subsequent use a Tester or a TestFilter to filter out the smaller lines based on their @Length() value.
@larsatomkeere i tired to use that but it's not working with this. it generates te line with multiple small lines connected to main central line.
What version of FME are you using? There was a recent update to the CenterLineReplacer that I found very useful. I can't recall if it was 2018 or 2019 though - ah, I checked and it's 2019 (see this question:
https://knowledge.safe.com/questions/31926/cleaning-gps-line-work.html). It does seem like it would solve the issue of the multiple small lines though.
Looking at the title of your issue, you might consider using a CenterLineReplacer. Often it will give you some shorter lines at the end as well, but those can be cleaned afterwards.
@Mark2AtSafe i am using FME 2018.1 for this conversion
If you only want to keep the long lines and continue from there, you could use a deaggregator to extract the smaller lines and subsequent use a Tester or a TestFilter to filter out the smaller lines based on their @Length() value.
@lars_de_vries i tested with this using length option but it removes the line which are needed to create the central line also.
@Mark2AtSafe i am using FME 2018.1 for this conversion
Right, I think you would need to use the 2019 beta to get the ideal solution with the CenterLineReplacer. In 2018 all I can really think of is to use a Bufferer with a negative value to make your polygons a bit smaller. Then the 2018 CenterLineReplacer might create the centre line without so many small, side lines.