exportgeo function
remove print stmts