Skip to main content
Solved

GeometryPropertyExtractor doesn't recognise area as a geometry?

  • Nov 16, 2026 7:27 AM UTC
  • 5 replies
  • 28 views

ferdinandbogman
Contributor
Forum|alt.badge.img+6

Dear Feature Manipulation Experts,

The GeometryPropertyExtractor is a transformer I never used before. So of course, my first experiment  with it failed.

I wanted to know what type of geometry the GeometryValidator spits out after having repaired them. I put in areas (polygons) and expected all output, whether repaired or not, to be areas as well. Sometimes, however this was not the case. I used the GeometryFilter to separate the areas from other geometries.

In an attempt to find out what the others are, I discovered the GeometryPropertyExtractor. To see how it works, I attached it to the area-output of the GeometryFilter, expecting to find a geometryproperty (area or polygon) attached to all features. Instead, all input is rejected!

As you can see in the Feature Information pane, the rejected features do have a geometry (polygon) and a type (area):

As I am writing this I wonder why I did not think of simply using these FME attributes. I blame friday afternoon for that.

But still I wonder: why are all features rejected?

Perhaps one of you knows the answer.

Kind regards,
Ferdinand.

PS: you’re looking at FME Form 2024.2

Best answer by ebygomm

GeometryPropertyExtractor extracts geometry labels or traits, it is not designed to extract geometry type. Your features have no labels or traits so they get rejected

 

To get the value fme_polygon or similar in an attribute you can use @GeometryType() in an attributecreator/manager

View original

5 replies

ferdinandbogman
Contributor
Forum|alt.badge.img+6

It gets a bit weirder, this Monday morning. Alternatively, I try to expose the attributes fme_type and fme_geometry. Only the first is actually exposed:
 

This may cause the GeometryPropertyExposer to reject features, but still: why?


ebygomm
Evangelist
Forum|alt.badge.img+54
  • Evangelist
  • Best Answer
  • Nov 16, 2026 9:19 AM UTC

GeometryPropertyExtractor extracts geometry labels or traits, it is not designed to extract geometry type. Your features have no labels or traits so they get rejected

 

To get the value fme_polygon or similar in an attribute you can use @GeometryType() in an attributecreator/manager


ferdinandbogman
Contributor
Forum|alt.badge.img+6

Hm, that answer confuses me:

  • the name of the transformer is GeometryPropertyExtractor
  • the Help says: “Extracts selected geometry names or traits to feature attributes.”
  • you say it extracts labels

What is the difference?

Thanks for the workaround, by the way. I used the AttributeExposer and AttributeCreator to get to the same result, but I see it can be done in one transformer.


ebygomm
Evangelist
Forum|alt.badge.img+54
  • Evangelist
  • Nov 16, 2026 9:53 AM UTC

They’ve updated the help :-)

Geometry Concepts


ferdinandbogman
Contributor
Forum|alt.badge.img+6

🤣

Now all they need to do is rename the transformer to GeometryLabelOrTraitExtractor.

But seriously, I now understand that a label or trait is a geometry property. It is something different than the “kind” of geometry (fme_geometry) or the type of geometry (fme_type).

Thanks for helping me out!