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

Bugfix/zfill version #197

Closed harry-gibson closed 3 years ago

harry-gibson commented 3 years ago

Fixes #194

Version numbers are now specified as 2 digits throughout and with lowercase v, to match those generated by MapChef.

E.g. MA001-v01

This affects the display of the version on the layout, the folder that exported files go into, and the version parameter in the UTM tag of the QR code URL.

If the MXD filename also contains a reference to MA number and version (e.g. MA001-v01-MyLovelyMap.mxd) then the tool will check that the versions described there match those on the map, and will warn the user to rename the MXD if not.

Finally, reference to the git commit hash of the code from which the tool was compiled is now baked in and displayed in the About dialog.