Skip to main content

I have a set of features, all with IFMELine geometry, where some are closed and others are not. The closed ones vary between 2D and 3D closure. I can inspect these features and see the Closed propery right there in the Feature Information:

image(The straight line to the lower left of highlighted box has Closed = No, as one would expect.) So, for every line in the set, Closed is visible in the Feature Information window and has a value of Closed In 2D, Closed In 3D, or No; however, when I then run this set of features through a GeometryPropertyExtractor, all features are Rejected with the MISSING_GEOMETRY_PROPERTY error. The setup for this transformer in my workspace looks as follows:

imageThe transformer was working yesterday. Today, it isn't, and I swear I haven't changed anything. (OK, yes, apparently I did, but I can't for the life of me think what.) Am I missing something simple here? (Feels like a "facepalm" situation, for sure.) Thanks, All.

Hi @tcrossman​,

The closure status of a line is not a property that can be extracted with the GeometryPropertyExtractor. However, FME does have the ClosedCurveFilter transformer that is designed to filter the closure status, and can be set to test in 2D or 3D.


Thank you, @daveatsafe​. That works for me; however, what properties are available in the GeometryPropertyExtractor, then? Is there a comprehensive listing of them?


Thank you, @daveatsafe​. That works for me; however, what properties are available in the GeometryPropertyExtractor, then? Is there a comprehensive listing of them?

The GeometryPropertyExtractor can be used to extract the geometry Name or Traits. A Trait is similar to a feature attribute, but one that is stored at the geometry level, rather than on the root feature. This allows FME to better support hierarchical structured data. For example, Sketchup files may have level names set on each branch of the model. Traits allow FME to retain that level information at each branch. A lot of XML data is also hierarchical.

There is no set schema for Traits - they are as free-form as feature attributes. Reader created Traits will be list in the reader documentation.


The GeometryPropertyExtractor can be used to extract the geometry Name or Traits. A Trait is similar to a feature attribute, but one that is stored at the geometry level, rather than on the root feature. This allows FME to better support hierarchical structured data. For example, Sketchup files may have level names set on each branch of the model. Traits allow FME to retain that level information at each branch. A lot of XML data is also hierarchical.

There is no set schema for Traits - they are as free-form as feature attributes. Reader created Traits will be list in the reader documentation.

Got it. Sure would be nice, though, to be able to access the value of that "Closed," well, whatever-it-is that is listed in the Feature Information window right below the IFME geometry type. Thanks, again.


Reply