Skip to main content
Question

Extract Only Trunk Lines

  • July 18, 2018
  • 7 replies
  • 78 views

parashari
Forum|alt.badge.img+2

Hi, I have a road network(polygon) from where I extracted the center line. But, since there are donuts and holes in between the areas, it is not getting possible to extract the center line on a medial axis using CenterLineReplacer, so I am using the straight skeleton mode. But, it has too many short lines connecting the trunk line. I have tried using topology builder and list element counter to find the junction nodes to remove the nodes having just 1 junction. But, since there are multiple short lines connected, it is still not possible.

Is there a way to do it?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

7 replies

david_r
Celebrity
  • July 18, 2018

You may want to try the FME 2019 beta, apparently the CenterlineReplacer has gotten a new setting that should improve such cases, see the comment by Mark here:

https://knowledge.safe.com/questions/31926/cleaning-gps-line-work.html

Since I cannot find the 2019 beta on the download page just yet, you may need to contact Safe support to try it out.


Forum|alt.badge.img+2

You may want to try the FME 2019 beta, apparently the CenterlineReplacer has gotten a new setting that should improve such cases, see the comment by Mark here:

https://knowledge.safe.com/questions/31926/cleaning-gps-line-work.html

Since I cannot find the 2019 beta on the download page just yet, you may need to contact Safe support to try it out.

FME 2019.0 betas should be available to download by the end of July!

 

 


parashari
Forum|alt.badge.img+2
  • Author
  • July 19, 2018

You may want to try the FME 2019 beta, apparently the CenterlineReplacer has gotten a new setting that should improve such cases, see the comment by Mark here:

https://knowledge.safe.com/questions/31926/cleaning-gps-line-work.html

Since I cannot find the 2019 beta on the download page just yet, you may need to contact Safe support to try it out.

Thanks, @david_r, and @hollyatsafe

 

Any other workaround till then? Like there are problems like below as well. If I try to use centerline replacer, the output goes in rejected( my data is single feature).

 


david_r
Celebrity
  • July 19, 2018
Thanks, @david_r, and @hollyatsafe

 

Any other workaround till then? Like there are problems like below as well. If I try to use centerline replacer, the output goes in rejected( my data is single feature).

 

I would be mighty impressed if the new CenterlineReplacer was able to do anything sensible out of the box with that polygon...

fmelizard
Safer
Forum|alt.badge.img+21
  • Safer
  • July 19, 2018
I would be mighty impressed if the new CenterlineReplacer was able to do anything sensible out of the box with that polygon...

@david_r @hellblazer Here's what I get with the new Approximate Center Line mode in 2019:

 


parashari
Forum|alt.badge.img+2
  • Author
  • July 20, 2018

You may want to try the FME 2019 beta, apparently the CenterlineReplacer has gotten a new setting that should improve such cases, see the comment by Mark here:

https://knowledge.safe.com/questions/31926/cleaning-gps-line-work.html

Since I cannot find the 2019 beta on the download page just yet, you may need to contact Safe support to try it out.

Wow. Well, that's the closest output that I have seen with just one transformer. I hope this will reduce at least 10 transformers(since I am working on parallel data) thereby reducing time and effort. I suppose the unwanted small lines can be removed using generalizer or topology builder. Thanks @DanAtSafe

david_r
Celebrity
  • July 20, 2018
I would be mighty impressed if the new CenterlineReplacer was able to do anything sensible out of the box with that polygon...
@DanAtSafe I'm impressed :-)