In the agricultural locality Pohranice were measured soil moisture values for the selected control points. Over these points we put the B-spline surface, which relatively detailed description we supply. On a simple example of 4 x 4 points we debugged program for generation of base functions. Furthermore, we verified process to generate knots of B-spline surface, which we subsequently used for the programming of the surface itself. In this manner formed algorithms we applied to 11 x 11 measured values of soil moisture. Discrete values of measurements were by clamped B-spline surface smoothed and its corner values constitute the edge measurement points. Evenly spaced points at a distance of 1 m in both directions slightly simplified the procedure, which can deal with irregular layout of points.