Added "import os"
Removed the old "import Thuban.UI.mainwindow" code.
(tbextent_to_map): Removed the extra function and at the code direct to "thuban_to_map" function.
(write_creatorcomment): Added. Now a short comment is added to the beginning of an generated mapfile.
(export_mapfile): Now the Path and filename are saved in to variables and not together in one variable. This is needed for the new write_creatorcomment function.
|