Skip to main content
Question

I need to extract lines from polygon

  • February 26, 2019
  • 7 replies
  • 124 views

checcosisani
Contributor
Forum|alt.badge.img+12

Hi All

 

there are some discussion about centerline replacer

I've tried to run to extract centerline of a poligons (taht represent roads) but I received

 

2019-02-26 13:45:14| 2.2| 0.5|WARN |CenterLineReplacer: Unable to prepare geometry for skeleton construction

2019-02-26 13:45:14| 2.3| 0.1|WARN |CenterLineReplacer: Unable to prepare geometry for skeleton construction

 

So can you suggest the correct workflow to obtai9n tjhe centerlineS ?

thx

 

Francesco

7 replies

fmelizard
Safer
Forum|alt.badge.img+18
  • Safer
  • February 26, 2019

Hi @checcosisani Try the new 'Approximate Center Line' mode, available in FME 2019 betas - www.safe.com/beta


itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • February 26, 2019

HI @checcosisani,

The calculation of a center line can take up a lot of time, depending on the feature complexity (e.i. the number of vertices) using a Generalizer transformer can help speed up the process.

Hope this helps,

Itay


checcosisani
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • February 26, 2019
itay wrote:

HI @checcosisani,

The calculation of a center line can take up a lot of time, depending on the feature complexity (e.i. the number of vertices) using a Generalizer transformer can help speed up the process.

Hope this helps,

Itay

Hy Itay

 

done with 5m

 

which settings you suggest ?

 

thx

 

Francesco


checcosisani
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • February 27, 2019
fmelizard wrote:

Hi @checcosisani Try the new 'Approximate Center Line' mode, available in FME 2019 betas - www.safe.com/beta

Hy Dan

 

thx for suggestion !

 

Amazing tool !

 

one question how I can try to avoid situations like this (see bmp)

 

 

 

Thx

 

Francesco


fmelizard
Safer
Forum|alt.badge.img+18
  • Safer
  • February 27, 2019
checcosisani wrote:

Hy Dan

 

thx for suggestion !

 

Amazing tool !

 

one question how I can try to avoid situations like this (see bmp)

 

 

 

Thx

 

Francesco

Hi @checcosisani That looks bad :( I assume you're displaying the coordinates on the lines? We're still making refinements to this approximate mode. Can you send us your source data via https://www.safe.com/support/report-a-problem/ ? Thanks!


itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • February 27, 2019
checcosisani wrote:

Hy Itay

 

done with 5m

 

which settings you suggest ?

 

thx

 

Francesco

Hi @checcosisani,

Any settings that don't distort the original shape of the objects but reduce the number of vertices would help, so the any of the Generalizing algorithms should do the trick.

Itay


itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • February 27, 2019
checcosisani wrote:

Hy Dan

 

thx for suggestion !

 

Amazing tool !

 

one question how I can try to avoid situations like this (see bmp)

 

 

 

Thx

 

Francesco

From the looks of it a Dissolver might help.


Reply


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