classes and methods for spatio-temporal data