Skip to main content
 Combining the outputs of two transformers and converting them to polygons,

 

 

 

I wanted to build workbench that first combines the outputs of two transformers and then the combined output is converted to polygons.

 

 

 

The model below (of ArcGIS) works perfectly where its equivalent workbench fails to provide satisfactory results.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The dwg file is stored in the link below

 

http://www.mediafire.com/download/qqry2r29rpof9nr/UMP.dwg

 

 

 

 

 

What might be the issue here?

 

 

 

Thank you

 

 

 

Best

 

 

 

Jamal

 

 
The result of the fme workspace is exactly as you created it.

 

The roads are in the "outside" port of the clipper. But you need to filter out the parts outside of the boundary.

 

 

The dwg you posted is full of misaligned and borken lines in the roadlayer btw.

 

 

 

 

 
Hi,

 

As per my experience, FME does not build polygons like ARCGIS. Each software have its own capabilities and constraints. 

 

As per your drawing file...

 

    1. There are so many arcs instead of lines as well as they are not touching each other to build polygons. So It has to be cleaned before using area builder...

 

    2. Check before and after GeometryCoercer in viewer whether FME is changing them as lines as well as converted lines are closed / touching… This will be most important cause for not building polygons.

 

 

Pratap

 


Else, Just create a new dwg file by converting the arcs to lines using the "GeometryCoercer" and provide the output file as input to your workbench. This may look odd we will do quite often the results are not as required 🙂... I have cleaned the data and build the polygon and matched the output with 2 polygons as Incomplete.

 

 

Pratap
 

 

Thank you Gio and Pratap for offering help,

 

 

 

Correct. My dwg is not 100% clean. But how the ArcGIS can handle it and produce fantastic results where the FME fails to do so?

 

 

 

The clip is preformed based on the boundary. This should preserve all polygons inside it (boundary) and “remove” the ones outside. This is how the clip should behave.

 

 

 

Please, have a look on the results of the ArcGIS Model. It behaves exactly as expected.

 

 

 

 

 

 

 

 

 


Hi,

 

 

As per my previous comment, Each software have its own capabilities and constraints. I don’t want to compare or debate :)…

 

As I said earlier, I got the results with your data as desired (screenshot attached below for reference). Approach has to be changed when we are working in FME.

 

 

 

 

Pratap
Thank you Pratap for the prompt help,

 

 

 

Could you please share the workbench that has provided the result?

 

 
Sure but there is option to attach workbench here.. could you please provide your email id I will fwd it

 

 

Pratap
Thank you Pratap.

 

 

 

My e-mail is jamal432@mail.com

 

 
mail.com or gmail.com?
Apologies Pratap for the mistake.

 

 

 

It is jamal432@gmail.com

 

 
Hi Gio,

 

 

 

In my case, I have large number of “dirty” CAD files. All what I need at the moment is to derive the polygons from lines as described in my posts.

 

 

 

It will be very time consuming if we go back to the CAD files to clean them first.

 

 

 

I tried the ArcStrok, AnchoredSnapper, Extender, etc. but with no luck to have satisfactory results.

 

 
I have tried the workbench you have already provided by Pratap but I got the result below

 

 

 

 

 

Thanks Pratap

Reply