GMT mapping routines -- major refactoring
added sql.execute.ecomod.r to run sql in-situ