Added require rgdal and corrected for W and S hemispheres