mapaction / mapaction-toolbox

A collection of tools to help streamline the process of producing maps including data renaming and map exports.
GNU General Public License v3.0
3 stars 1 forks source link

Create version subfolder #189

Closed harry-gibson closed 4 years ago

harry-gibson commented 4 years ago

Closes #178 : Output folder is now <root set in export dialog>\<MA_Number>\V<Version_Number>

Additional checking logic implemented:

If there is no write access to the root export folder then the user will be warned.

If the folder already exists and contains files other than those that will be re-generated by this export, the user will be warned and asked if they wish to continue because this implies that the MXD and/or map name has changed or that the MA or version number may have been set wrongly.

If files already exist and cannot be overwritten (e.g. the PDF or ZIP from a previous export is open) then the user will be warned.