[GRASS-user] g.region, problem with projection

Andreas Neumann a.neumann at carto.net
Wed Jan 28 01:36:04 EST 2009


Hi Glynn,

Here is what my WIND file looks like:

proj:       99
zone:       0
north:      1
south:      0
east:       743000
west:       707000
cols:       36000
rows:       1
e-w resol:  1
n-s resol:  1
top:        206000
bottom:     182000
cols3:      36000
rows3:      1
depths:     24000
e-w resol3: 1
n-s resol3: 1
t-b resol:  1

-------

When creating the location and MAPSET I used epsg 21781 (the Swiss 
coordinate system).

Then I checked the output of the env command. There is neither a 
WIND_OVERRIDE environment variable set, nor a GRASS_REGION variable.

Do you see something wrong in my WIND file?

Thanks,
Andreas

Glynn Clements wrote:
> Andreas Neumann wrote:
>
>   
>> I have problems with setting g.region - I always get an error message 
>> like the follows:
>>
>> region for current mapset <projection field missing>
>>     
>
> This error message indicates a missing "proj" key in the region
> definition (the WIND file, or a named region specified by the
> WIND_OVERRIDE environment variable, or the contents of the
> GRASS_REGION environment variable).
>
> The "proj" key is the first one to be tested, so if the region
> definition is completely empty, you would also get the above error.
>
> First, check whether either WIND_OVERRIDE or GRASS_REGION are set, by
> examining the output from the "env" command. Assuming that they aren't
> examine the WIND file in the current mapset. A typical WIND file
> should look like:
>
> proj:       1
> zone:       13
> north:      4928010
> south:      4913700
> east:       609000
> west:       589980
> cols:       634
> rows:       477
> e-w resol:  30
> n-s resol:  30
>
>   


-- 
--
Andreas Neumann
Böschacherstrasse 6
CH-8624 Grüt (Gossau ZH)
Switzerland
Phone: ++41-44-2736668
Email: a.neumann at carto.net

Web: http://www.carto.net/neumann/
SVG Examples: http://www.carto.net/papers/svg/samples/
SVG.Open: http://www.svgopen.org/



More information about the grass-user mailing list