Added code to check proper activation of GDAL. Removed hardcoded database host from tests. Bugfix for test_spectral_resampler. Former-commit-id: 4fda9e47 Former-commit-id: 8547efe6