Feature request #5646
GRASS region corruption
|Pull Request or Patch supplied:||No||Resolution:|
|Easy fix?:||No||Copied to github as #:||15207|
The QGIS GUI can be used to set the GRASS region. However there need to be greater error checking. If you drag the mouse in the wrong manner you can create an invalid region. Additionaly there is no way to recover from within QGIS.
See attached GRASS 'location' folder uk_epsg900913.7z
This location was created by QGIS.
If you place this file in your GRASS directory and try to select this location you will receive a pop-up message...
"Cannot read current region: is invalid <North must be larger than SOuth>"
The only way I found to recover form this was to shut-down QGIS and replace the WIND file with an old one. Or, delete the location and start again.
1) Can QGIS have greater error checking so corrupted GRASS regions cannot be created.
2) If QGIS detects an error in the WIND file, provide a means to reset it to a known-good default one.