Skip to main content
Question

how to create a area using line geometry in below scenario?


saravanakumar
Supporter
Forum|alt.badge.img+5

Hi all,

How to join the line geometries to make area in below scenario? I tried with area builder transformer it could able to convert few lines only !

imageIs there any other ways?

my input data is dwg file.

 

Thanks in advance!

saravanakumar

10 replies

dustin
Influencer
Forum|alt.badge.img+30
  • Influencer
  • December 20, 2022

Try the LineExtender prior to the AreaBuilder. I've had some datasets where an Intersector was also needed after the LineExtender. The likely cause is the lines not overlapping given the tolerances in FME. I'm guessing a small extension value will be needed, something like .0001. If you go too large it can produce unwanted results.


DanAtSafe
Safer
Forum|alt.badge.img+18
  • Safer
  • December 20, 2022

Or use the Snapper; this will also insert a vertex on the snapped-to line.


saravanakumar
Supporter
Forum|alt.badge.img+5
  • Author
  • Supporter
  • December 21, 2022

Thank you @dustin​  and @danatsafe​ 

That both transformers are creating same result.

But they don't joining the corner ones where other line's endpoints joining. I wish to close remaining 3 sides with highlighted one to create polygon from that.

Is it possible with any transformers?

image 

TanQ,

Saravanakumar


stefanh
Contributor
Forum|alt.badge.img+8
  • Contributor
  • December 21, 2022

It should be working with the AreaBuilder.

Could you perhaps add the DWG as attachment?

And which version of FME are you using?


Forum|alt.badge.img+2
  • December 22, 2022

@saravanakumar​ AreaBuilder should work on it's own as @stefanh​ suggests. Use the Snapping Pre-Processing parameters to set the Snapping Type & Snapping Tolerance.


saravanakumar
Supporter
Forum|alt.badge.img+5
  • Author
  • Supporter
  • December 23, 2022

Hello @stefanh​ and @Mark Stoakes​ ,

Apologies for the delay reply !

I tried with snapping but it could not process all the lines !

@stefanh​ I can share you dwg file you can try !

 and My FME version 2021.2.6(32 bit)

 

Thank you,

saravanakumar


Forum|alt.badge.img+2
  • December 29, 2022

@saravanakumar​ Many of your lines are not well noded as shown below:

imageAIf you use Snapper followed by Intersector, as suggested by others above, that will address most of the problems. But... the line work in the DWG does not close - in some cases there are gaps - in this case about 2m, as shown below:

imageBSo these need to be cleaned up with a larger snapper tolerance


saravanakumar
Supporter
Forum|alt.badge.img+5
  • Author
  • Supporter
  • January 2, 2023
markatsafe wrote:

@saravanakumar​ Many of your lines are not well noded as shown below:

imageAIf you use Snapper followed by Intersector, as suggested by others above, that will address most of the problems. But... the line work in the DWG does not close - in some cases there are gaps - in this case about 2m, as shown below:

imageBSo these need to be cleaned up with a larger snapper tolerance

hello @Mark Stoakes​ ,

Thank you for valuable answer and I accept that, those data need to be use with high tolerance than usual.

Thank you for your support guys !

 

regards,

saravanakumar

 


stefanh
Contributor
Forum|alt.badge.img+8
  • Contributor
  • January 3, 2023
saravanakumar wrote:

Hello @stefanh​ and @Mark Stoakes​ ,

Apologies for the delay reply !

I tried with snapping but it could not process all the lines !

@stefanh​ I can share you dwg file you can try !

 and My FME version 2021.2.6(32 bit)

 

Thank you,

saravanakumar

Hello @saravanakumar​ ,

I am glad the issue is solved. I couldn't reply earlier, I was outdoors last week.

regards, Stefan

 


saravanakumar
Supporter
Forum|alt.badge.img+5
  • Author
  • Supporter
  • January 3, 2023
stefanh wrote:

Hello @saravanakumar​ ,

I am glad the issue is solved. I couldn't reply earlier, I was outdoors last week.

regards, Stefan

 

Hi @stefanh​ ,

 

Thanks for your support !

 

Regards,

saravanakumar

 


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