Skip to main content

Hi,

 

Is there a way to test if a polygon geometry contains curve? I dont find any transformer that explicitely achieve that.

 

Thank you!

@bgeorges​ What type of data are you reading in? There may be format attributes that we can pull that info from.


@bgeorges​ What type of data are you reading in? There may be format attributes that we can pull that info from.

Its from an Esri file geodatabase (gdb)


Its from an Esri file geodatabase (gdb)

On your reader feature type, if you expose your fme_type or geodb_type I believe it will contain _ellipse if the feature contains a curve. From there, you can run it through a Tester or TestFilter.image


Hi @bgeorges​ ,

In case you haven't solved this already you could try the GeometryPartExtractor with the following parameters:

imageAny polygon with an arc will be split up and arcs will be sent out of the Extracted port. See the attached workspace and let me know if you have any questions 😃


If you just want to test for arcs without splitting the geometry up then takashi's python solution here might help you

https://community.safe.com/s/question/0D54Q000080hAD2SAM/filter-polygons-composed-of-linearc-preserve-geometry


Reply