Skip to main content
Solved

How to count vertexes in a dgn or shapefile

  • July 2, 2020
  • 3 replies
  • 32 views

geouser97
Contributor
Forum|alt.badge.img+1
bonjour j'ai un fichier dgn que je souhaite calculer le nombre de sommets qu'il contient puis afficher le résultat dans un fichier Excel. des idées commentent le faire avec fme.

Best answer by jdh

Le transformer VertexCounter donne le nombre de sommets par feature. Le StatisticsCalculater peut donner le totale pour la base de données.

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.

3 replies

danilo_fme
Celebrity
Forum|alt.badge.img+52
  • Celebrity
  • July 2, 2020

Hi @imanmeliana

You can use the transformer VertexCounter.

This transformer generate a new attribute to hold this value count.

Thanks,

Danilo


david_r
Celebrity
  • July 2, 2020

Bonjour, vous pouvez utiliser le transformer VertexCounter pour générer un attribut qui contient le nombre de sommets (vertices) et ensuite l'écrire dans Excel. Par exemple:

Reader SHAPE -> VertexCounter -> Writer EXCEL


jdh
Contributor
Forum|alt.badge.img+40
  • Contributor
  • Best Answer
  • July 2, 2020

Le transformer VertexCounter donne le nombre de sommets par feature. Le StatisticsCalculater peut donner le totale pour la base de données.