I have point shapefile. Some points have Z value and others not. I have to determin somehow missing values.I want to do next:0.) find a point(1) without Z value1.) select two points(2,3) with Z value on the opposit side of first point(1)2.) calculate average Z of points(2,3)3.) select point(1) and write calculated average Z in Z column of point(1)I had once code for this in Avenue (AV 3.3), but now is different.Can you give me some advice?
If I simplify whole procedure.
I have point shapefile (manholes).Each manhole should have data about invert elevation and terrain elevation.But some manholes don't have invert elevation data.
Is possible in Python to do next task in one move (click):1.) Selecting 3 points.2.) Calculating (z1+z3)/2 from point which have data and assign this value to point where is no data (0)
(see Picture belowe).
kind regards
Les membres connectés peuvent publier, suivre les mises à jour et bien plus encore. Vous êtes nouveau ici ? Créez un compte gratuit.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.