[GRASSLIST:5129] Significance of the "WIND" file in a location

-----BEGIN PGP SIGNED MESSAGE-----

Can someone explain the "WIND" file or point me to some documentation that
explains it's function in GRASS? It seems to have an important role in
whether a map layer projects appropriately or not. I looked in Neteler and
Mitasova, but have not found mention and I have not located it in the Grass5
documentation, so far, either.

JWDougherty

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3in
Charset: noconv

iQEVAwUBPesuw3lbleuWrPajAQGJQgf/UPX16E4bDaXkNEv/MvGGZng14NvQIr/E
OUA9uoJWEAotuiZFjm9fimnQCxdBBEd2zfG64rjSZ7gKUeVVeq5tL1ZorUvfQV0c
IqyQjprYDaiPscE1jaTafikDoYMsixF138Zj0EjGtPhG7qmziK1KyS1Gq3FTK7zS
cSTJxCXdwKtI1eXQvh3oNrqkhkBODmXDWvgHPZudcayH8ZrLapxEMkeaoCtintSv
YM+AfanU6l2G6nhySX1lOAGmOETm1EGBl6UwxvpIEiHFTba6Y1iR/mQEdd7P91k9
MXc3LM2Bu1hJDhFk4J13CfBDsl++ITGiTGzstvhtSEeDRLNp+Pa3Gw==
=gnTQ
-----END PGP SIGNATURE-----

John Dougherty wrote:

Can someone explain the "WIND" file or point me to some documentation that
explains it's function in GRASS? It seems to have an important role in
whether a map layer projects appropriately or not. I looked in Neteler and
Mitasova, but have not found mention and I have not located it in the Grass5
documentation, so far, either.

The "WIND" file holds the current region. Hopefully the documentation
will describe the concept, as it is central to many operations. It may
not mention the WIND file directly as that is part of GRASS'
internals, and shouldn't be relevant to the user.

Briefly: you can view the current region settings with "g.region -p",
and change them with other options to g.region, or with d.zoom. GRASS
commands which operate upon a specific region normally operate upon
the current region, rather than on the region covered by any
particular map; e.g. commands which operate upon raster maps usually
resample the maps according to the current region settings.

--
Glynn Clements <glynn.clements@virgin.net>

On Monday 02 December 2002 07:08, Glynn Clements wrote:
. . .

The "WIND" file holds the current region. Hopefully the documentation
will describe the concept, as it is central to many operations. It may
not mention the WIND file directly as that is part of GRASS'
internals, and shouldn't be relevant to the user.

Briefly: you can view the current region settings with "g.region -p",
and change them with other options to g.region, or with d.zoom. GRASS
commands which operate upon a specific region normally operate upon
the current region, rather than on the region covered by any
particular map; e.g. commands which operate upon raster maps usually
resample the maps according to the current region settings.

Glynn,

Thanks for the information. This is kind of involved. I have been - very
slowly - learning about GRASS. I have a location which was giving me
problems displaying a vector map (grid of USGS quadrangles covering
California). I added another vector mapset that was supposed to display soil
polygons for the state. Neither of these two displayed properly. Since
experimentation is learning, I added yet another mapset that duplicated the
first, but I imported the data from an e00 file instead of the sdts version.
I was surprised to find that on starting GRASS, if I set the mapset to the
last added, I could display the earlier two without problems. Copying the
newest WIND file to the other mapsets corrected the display if I used them.
Anyway, the short of it was that neither g.projinfo nor g.regions seemed to
fix the problem. WIND however overrode problem values. I am reasonably sure
that this has to do with how poorly I understand setting up locations, but I
did think more information about WIND could be relevant as well.

Again, thanks
jwd

On Mon, Dec 02, 2002 at 03:08:49PM +0000, Glynn Clements wrote:

John Dougherty wrote:

> Can someone explain the "WIND" file or point me to some documentation that
> explains it's function in GRASS? It seems to have an important role in
> whether a map layer projects appropriately or not. I looked in Neteler and
> Mitasova, but have not found mention and I have not located it in the Grass5
> documentation, so far, either.

The "WIND" file holds the current region. Hopefully the documentation
will describe the concept, as it is central to many operations.

The GRASS Programmer's manual (chapter 4) describes it.

It may
not mention the WIND file directly as that is part of GRASS'
internals, and shouldn't be relevant to the user.

That's why it is not mentioned in "Neteler and Mitasova".

Best regards

Markus Neteler