Skip to main content
Solved

Select/filter nested geometry


umapper1
Contributor
Forum|alt.badge.img+5

Hi community,

I have a data set that contains polygons which have arcs in them and others that do not. I'm looking for a way to select or filter the polygons that contain the arcs so I can do some editing on them but I'm not sure how/if I can extract these attribute properties to work with. Below are two sample images of properties that I'm referring to. Any help would be appreciated.

Best answer by david_r

I really like the solution proposed by @redgeographics, but an alternative could be to use the PathSplitter and the GeometryFilter. The difference is that the PathSplitter will create separate features for each path segment of the geometry, i.e. you would get the actual arcs as separate features.

View original
Did this help you find an answer to your question?

4 replies

redgeographics
Celebrity
Forum|alt.badge.img+50

You can use a GeometryPartExtractor to check if any part of the object is an arc:


david_r
Celebrity
  • Best Answer
  • July 27, 2020

I really like the solution proposed by @redgeographics, but an alternative could be to use the PathSplitter and the GeometryFilter. The difference is that the PathSplitter will create separate features for each path segment of the geometry, i.e. you would get the actual arcs as separate features.


umapper1
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • July 27, 2020

Both great solutions, thank you both!


takashi
Evangelist
  • July 27, 2020

Another thought, extract geometry XML with the GeometryExtractor (Geometry Encoding: FME XML) and test if the XML contains <arc>.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings