Skip to main content
Solved

Vertex counter

  • April 14, 2015
  • 1 reply
  • 107 views

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?

Best answer by takashi

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
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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.

1 reply

takashi
Contributor
  • Best Answer
  • April 14, 2015
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

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