wxGUI/dbmgr: fix show attribute table for vector map from another mapset#3081
Conversation
petrasovaa
left a comment
There was a problem hiding this comment.
GUI shouldn't be temporarily changing mapsets. The way to do it is to use gs.create_environment and pass that environment to db.connect.
Yes you are right, thanks for your explanation. |
|
I think this could still be useful if the mapset is created manually without initialization. The only thing I would perhaps modify is relying on vectname to include mapset, using find_file may be a good idea. |
Ok, I'm reopening this PR and have incorporated your suggestion. |
Fixes #3078.