insert the x11 () in the map_functions, and add the test script
minor changes geographic functions
updated