Skip to main content

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

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.


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


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


It should be working with the AreaBuilder.

Could you perhaps add the DWG as attachment?

And which version of FME are you using?


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


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


@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​ 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

 


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

 


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

 


Reply