Try and import the GDAL-dependent maptools.py function but raise an exception if GDAL is not installed