Skip to main content
Solved

Select/filter nested geometry

  • July 27, 2020
  • 4 replies
  • 53 views

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3700 replies
  • July 27, 2020

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


david_r
Celebrity
  • 8392 replies
  • 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
  • 41 replies
  • July 27, 2020

Both great solutions, thank you both!


takashi
Celebrity
  • 7843 replies
  • July 27, 2020

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