Interpolation 2 points

Discussion created by Liberator on Nov 12, 2013
Latest reply on Oct 7, 2014 by Liberator
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 value
1.) 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?