Calculate Z Geometry of a point feature with value from a field in Attribute table

3436
6
Jump to solution
02-24-2021 10:40 AM
MelissaSalich
Occasional Contributor

I need to populate the Z Geometry Attribute of a point feature class.
I have the Z value as a field in the attribute table.
How can I script this process to avoid having to hand type the elevation valves when I have the data already?

Pro 2.7, file gdb.

MelissaSalich_0-1614191872660.png

Field in Attribute table:

MelissaSalich_1-1614191921895.png

 

0 Kudos
1 Solution

Accepted Solutions
DanPatterson
MVP Esteemed Contributor
6 Replies
DanPatterson
MVP Esteemed Contributor

If you have the 3D analyst extension

Feature To 3D By Attribute (3D Analyst)—ArcGIS Pro | Documentation


... sort of retired...
MelissaSalich
Occasional Contributor

thank you! exactly what i was looking for!

0 Kudos
by Anonymous User
Not applicable

If you know Python, you can also update(replace) the Z value from an attribute field.

Take a look at the answer from the following for a starter to update(replace) the Z

https://gis.stackexchange.com/questions/329511/updating-z-value-of-geometry-using-updatecursor

MelissaSalich
Occasional Contributor

thank you, I'm bookmarking this for future reference! I used Feature to 3D By Attribute for this situation.

0 Kudos
jchester73
New Contributor III

Does Feature to 3D by Attribute create an entirely new feature class or can this be used to replace z values on an existing one?

0 Kudos
MelissaSalich
Occasional Contributor

creates new feature class

0 Kudos