Using a generic spatial access method for caching and efficient retrieval of vario-scale data in a server-client architecture