Skip to main content
Question

How to extract the coordinates (x,y,z) of all vertices of a polygon and add it as attribut

  • June 21, 2018
  • 4 replies
  • 704 views

Forum|alt.badge.img

Hi,

I am new in using FME and it seems that there are something that I am missing, I found the

"CoordinateConcatenator" transformer that I think can do what I need. I open my shape file as a reader ,I choose the CoordinateConcatenator transformer and then I choose a new shapefile file as writer (output).

It runs with no error but no new attributes containng the coordinated of the vertices in the output file.

I tried to add attribuet creator, attribute writer ,nothing works ,what am I missing?

Thanks for your help!

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

jdh
Contributor
Forum|alt.badge.img+36
  • Contributor
  • 2001 replies
  • June 21, 2018

Is the attribute containing the coordinates listed on the shapefile writer feature type? If your user attribute definition is not set to automatic, you'll have to add it manually.


Forum|alt.badge.img
  • Author
  • 19 replies
  • June 21, 2018

Thanks for your answer! does this what do you mean? userattributes.jpg


Forum|alt.badge.img
  • Author
  • 19 replies
  • June 21, 2018

the-coordinat is the name of the field that i creat with coordinateConcatenatot transformer


Forum|alt.badge.img
  • Author
  • 19 replies
  • June 21, 2018

actually ,it worked when the geometry was lines . When I use polygons ,the shape file name changes to "fme_feature_type" and no output