exportgeo function