write_geo function

Write a spatial file with gdal