Text this: Fundamentals of signal processing in metric spaces with lattice properties