Skip to main content
Solved

Edit Vertex Z value in polygon

  • February 7, 2014
  • 2 replies
  • 38 views

venu
Contributor
Forum|alt.badge.img+5
  • Contributor
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
View original
Did this help you find an answer to your question?
<strong>This post is closed to further activity.</strong><br /> It may be a question with a best answer, an implemented idea, or just a post needing no comment.<br /> If you have a follow-up or related question, please <a href="https://community.safe.com/topic/new">post a new question or idea</a>.<br /> If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

takashi
Evangelist
  • 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

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