Skip to main content

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?

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.


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!

 

 


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

 


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

 


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
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 :-)

 


Reply