Skip to main content

I'm brand new to FME, and I know this is likely a basic question. I am converting a CAD .dgn to ESRI shape files. I want to take the centroids of several cells (polygon features) and export those to shape file. The documentation tells me  x, y, and z attributes are output but I have no idea how to get them to Esri shape file.

 

http://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Transformers/Transformers/centerpointextractor.htm

 

When I put together a workflow, I get no output. What am I doing wrong?

Hi @rab_usace​ 

 

I suggest you use the transformer CenterPointReplacer.

 

Thanks in Advance,

 

Danilo


Hi @rab_usace​,

The CenterPointExtractor provides the X,Y and Z coordinates as attributes on the feature. I think you may prefer the CenterPointReplacer, which replaces the input polygon geometry with point geometry of the centroid.


Thanks, the CenterPointReplacer works perfectly. I suspected this was an easy fix but couldn't find the right tool.


Thanks, the CenterPointReplacer works perfectly. I suspected this was an easy fix but couldn't find the right tool.

Nice @rab_usace​ !

good teamwork @daveatsafe​ 


Reply