[GRASS-user] GRASS region corruption

When I launch GRASS, after selecting the mapset I get an error:
"Unable to get current geographic extent. Force quitting wxGUI..."
The error started after I tried to set the region using QGIS's region
setting gui.
So I guess the region has become corrupted.
Does anyone know where what file the region is set in? I.e. is there some
file I can delete to reset it.

I'm on GRASS 6.4.2, Windows 7 64-bit
Thanks.

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/GRASS-region-corruption-tp4977148.html
Sent from the Grass - Users mailing list archive at Nabble.com.

On 26/05/2012 20:26, spiderplant0 wrote:

Does anyone know where what file the region is set in? I.e. is there some
file I can delete to reset it.

Look for a file named WIND, in the given mapset.

I was about to point you to [1], then I noted that this page tells you the name of the default region (PERMANENT/DEFAULT_WIND), the location of saved regions (in a given mapset, under the windows directory) but doesn't tell you that WIND keeps the values of the current region.

Hermann

[1] http://grass.osgeo.org/grass64/manuals/html64_user/g.region.html

spiderplant0 wrote:

When I launch GRASS, after selecting the mapset I get an error:
"Unable to get current geographic extent. Force quitting wxGUI..."
The error started after I tried to set the region using QGIS's region
setting gui.
So I guess the region has become corrupted.
Does anyone know where what file the region is set in? I.e. is there some
file I can delete to reset it.

I'm on GRASS 6.4.2, Windows 7 64-bit

Try looking in a text file called "WIND" in your mapset directory.
It sets the region WINDow. There should be a DEFAULT_WIND file in that
location's PERMANENT mapset which you can use as a template to replace
the broken WIND file.

Hamish

ps- wouldn't hurt to file a bug with qgis either, with before & after versions of what it did to the WIND file.

Thanks

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/GRASS-region-corruption-tp4977148p4977206.html
Sent from the Grass - Users mailing list archive at Nabble.com.