Geospatial Algebraic Computations: Theory and Applications