A spatial gradient is a gradient whose components are spatial derivatives, i.e., rate of change of a given scalar physical quantity with respect to the position coordinates in physical space. Homogeneous regions have spatial gradient vector norm equal to zero.When evaluated over vertical position (altitude or depth), it is called vertical derivative or vertical gradient; the remainder is called horizontal gradient component, the vector projection of the full gradient onto the horizontal plane.
Examples: