Database-Optimization and Tests with Geolocation