Skip to main content
Hey,

 

 

I am trying to count the vertici of a polygon, so I can select polygons with a certain amount of vertici and remove them from the original polygon. I have tried a lot, but it's not working. Anyone?
Hi,

 

 

If your purpose is just to count the number of vertices, you can use the FME Feature Function called "NumCoords" with the ExpressionEvaluator or the AttributeCreator.

 

Note that the number returned by the function includes the number of parts by default if the geometry is an aggregate (multi-part).

 

If the input geometry may be an aggregate, use "FLATTEN_AGGREGATE" option so that the resulting number excludes the number of parts.

 

 

 

Takashi

Reply