I have problems with setting g.region - I always get an error message like the follows:
region for current mapset <projection field missing>
However, I defined the projection globally in the PERMANENT mapset of my location.
I am using grass 6.4 on the Mac with the frameworks of William Kyngesbury. The PROJ framework is also installed and I can browse the list with epsg codes.
Anyone knows what could be wrong - why g.region is complaining about the missing projection field?
Thanks a lot,
Andreas
--
--
Andreas Neumann
Switzerland
Email: a.neumann@carto.net
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:
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: