wxPy loc'n wiz: don't auto-launch into PERMANENT
|Reported by:||hamish||Owned by:|
a change a while back changed things so that after you complete setting up a new location, and after it asks you if you want to set the default bounds, it automatically launches in the PERMANENT mapset.
Day to day use of PERMANENT as your working mapset is not good practice and the auto-launch behaviour should be reverted. Instead it should act like the text location creation tool and ask you if you want to create a new mapset, auto-filling in the $user name as a suggestion for what to call it.
If "create mapset" name is left blank, it should quietly return to the location/mapset as if you'd pressed cancel, instead of giving a python error. From there you can work with just PERMANENT if you are really dead-set on doing that. If an invalid name is given it should give an error message about that and either return you to the create new mapset prompt or the main startup window.
Then back on the startup window it should present you with that mapset highlighted and leave you to press "start grass". e.g., what if you have a new system and want to set up 10 new locations? I do appreciate the spirit of helpfulness and assisting with the workflow, but it shouldn't go so far as executing decisions on the users' behalf.
Perhaps this came in with the code to automatically import the georeferenced map you created a new location from? (and that one should ask you first, e.g. the geofile may be massive and you don't want to import it)
ps- the location wizard, on the whole, continues to be really awesome and a brilliant first impression for new users