Skip to main content
Solved

Edit Vertex Z value in polygon

  • February 7, 2014
  • 2 replies
  • 53 views

venu
Contributor
Forum|alt.badge.img+5
I would like to change z value in a polygon for particular vertex is there any way in FME.

 

 

I have more than 1000 polygon.

 

 

3rd and 4th vertex z values are need to change.

 

 

Please guide me

 

 

 

Thanks in advance

Best answer by takashi

Hi,

 

 

A possible way I can think of is:

 

1) Transform a polygon into individual vertices (Chopper).

 

2) Add sequential number to the vertices (Counter: use polygon ID as Counter Name).

 

3) Determine if vertex is 3rt or 4th one (Tester), and change z value of  them (3DForcer).

 

4) Connect all vertices to re-create the original polygon (PointConnector: use polygon ID as Connection Break Attributes).

 

If you need to restore original attributes, consider using the FeatureMerger after.

 

 

Takashi
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.

2 replies

takashi
Celebrity
  • Best Answer
  • February 7, 2014
Hi,

 

 

A possible way I can think of is:

 

1) Transform a polygon into individual vertices (Chopper).

 

2) Add sequential number to the vertices (Counter: use polygon ID as Counter Name).

 

3) Determine if vertex is 3rt or 4th one (Tester), and change z value of  them (3DForcer).

 

4) Connect all vertices to re-create the original polygon (PointConnector: use polygon ID as Connection Break Attributes).

 

If you need to restore original attributes, consider using the FeatureMerger after.

 

 

Takashi

venu
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • February 7, 2014
Thanks, works fine