Hi,
I have a situation where I have a polygon feature with x,y values for all vertices that I want to keep. Now I want to raise some of them and give them z value. However, I don't want to assign the z-value for all vertices manually since there are a lot of them. For example, I want to raise Vertex 1 (+ 1m) and Vertex 5 (+ 4m). Vertex 2,3,4 should then get a z-value assuming there is a straight line between Vertex 1 and 5.
Is there a tool that I can use to achieve this? The only way I have found is to raise all vertices that should have a given z-value, then remove and again add vertices inbetween and move them back to x,y position. This would be an acceptable solution if there weren't so many vertices in my feature.
Thanks in advance!
/Max
Solved! Go to Solution.
It's currently not possible to interpolate z's in the way you suggest. I think it's similar to this Idea: https://community.esri.com/t5/arcgis-pro-ideas/provide-z-tools-similar-to-route-editing-tools/idi-p/...
It is still manual but via Edit > Edit Vertices you can assign a Z value to vertices you have selected.
Select the line or polygon and all vertices will appear (my example also shows parts from a multipart feature)
Next you can select the vertices in the list or in the map.
Click on the Z and you can assign a new Z value to the selected vertices
That is not a solution to my issue as I don't know what the values are going to be for vertex 2, 3 and 4. Therefore I don't know the z-value to assign the vertices.
Its not entirely clear where you are obtaining these Z values, typically it would be from another dataset such as a DEM or TIN. If this is what you are doing then explore the interpolation tools in the 3D Analyst toolbox > 3D Features > Interpolation. Update Feature Z is probably where you want to start?
There's a way to change the z's of selected vertices while maintaining their relative positions, which is part of what you are asking for:
This might help you. I'm not sure.
-Scott
Hi @Scott_Harris ,
Yes, I'm aware that I can lift the vertices individually. What I'm trying to achieve is lifting only 2 to a desired z-value and then having the rest of the vertices inbetween interpolate to a value representing a line between the two lifted vertices.
It's currently not possible to interpolate z's in the way you suggest. I think it's similar to this Idea: https://community.esri.com/t5/arcgis-pro-ideas/provide-z-tools-similar-to-route-editing-tools/idi-p/...
Thank you @Scott_Harris . The suggestion about interpolating values in that post is what I am looking for. I don't feel hopeful that it will be added since the post is from 2011, but are there any plans for more options in editing z-values?
@MaxNilsson I updated the status of that Idea to "under consideration" to better reflect the current state. We think it's a good idea and we have an issue in our backlog to enhance z editing. Feel free to add your use case to the Idea page, as it helps us to understand what your requirements are.
Thanks!
-Scott
I found this old post in which @XanderBakker wrote a python script to interpolate the missing z-values. maybe it can be some help?